码迷,mamicode.com
首页 >  
搜索关键字:priority rules    ( 3247个结果
解决proto文件转换时提示“Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. ”
前言: 想将.proto文件转换成.pb文件时一直报错,一开始以为是文件编码格式的问题,后来将文件改成windows下的utf-8格式后,又出现了新的报错(见下图)。百度了很久,才找到解决方法。 这个报错的意思是:“building_produce”在整个放pb文件的“WNet”文件夹中必须是唯一的 ...
分类:编程语言   时间:2020-05-01 18:21:36    阅读次数:100
ORACLE:start with ... connect by prior
--start with ... connect by prior --case1 select * from org o --excute order=>first:start with connect by prior, then where condition where o.flag = ' ...
分类:数据库   时间:2020-05-01 10:30:14    阅读次数:86
vue项目使用scss
一、安装sass 依赖包 npm install sass-loader --save-dev npm install node-sass --sava-dev 二、在build文件夹下的webpack.base.conf.js的rules里面添加配置 { test: /\.scss$/, load ...
分类:Web程序   时间:2020-04-29 18:19:07    阅读次数:206
手写堆
手写堆 算法思想 堆是一颗完全二叉树 STL里的堆就是优先队列priority_queue 用一维数组存储 下标一定是从1开始,避免0的左儿子2x还是0的冲突 核心操作:down(x)下移节点 up(x)上移节点 插入一个数 heap[++size] = x; up(size); 求集合当中的最小值 ...
分类:其他好文   时间:2020-04-29 12:33:48    阅读次数:52
Xray-POC编写示例1
最近在使用Xray编写一些简单的漏洞验证POC,发现的一些问题和学习记录。 先放上自己参考其他人写的一个,并修正了其中的一些小问题。 name: Rails_file_content_disclosure_CVE-2019-5418 rules: - method: GET path: /robot ...
分类:其他好文   时间:2020-04-28 17:17:29    阅读次数:85
vue el-form多规则rules验证
当我们在使用vue el-form的时候,经常会根据传入的值来动态验证表单信息,比如新建,编辑表单,不同的情况下,需要的验证方式不一样。根据这样的需求,我们有两种方法解决: 1.在data()中定义两个rule规则,用computed根据值动态验证。 <el-form class="dialog-b ...
分类:其他好文   时间:2020-04-28 10:03:29    阅读次数:249
elementui form resetFields()方法的使用
<el-form :span="18" :model="dataForm" :rules="dataRule" ref="dataFormRef" @keyup.enter.native="dataFormSubmit()" label-width="80px"> //必须放到$nextTick() ...
分类:其他好文   时间:2020-04-27 19:23:48    阅读次数:111
浏览器内核拿到html文件后,渲染流程是怎么样?
解析html元素,构建dom 树 解析CSS,生成页面css规则树(Style Rules) 将dom树 和 css规则树关联起来,生成render树 布局(layout/ reflow),浏览器会为Render树上的每个节点确定在屏幕上的尺寸、位置 绘制Render树,绘制页面像素信息到屏幕上,这 ...
分类:Web程序   时间:2020-04-26 20:39:23    阅读次数:95
antd 表单的两种校验方式
1.声明式表单验证: <Form.Item name="username" rules={[ { required: true, message: 'Please input your Username!', }, { max: 20, message: '最长20位!', }, { min: 5, ...
分类:其他好文   时间:2020-04-25 19:12:36    阅读次数:66
355. 设计推特
1 class Twitter 2 { 3 public: 4 unordered_map<int,priority_queue<pair<int,int>,vector<pair<int,int>>,greater<pair<int,int>>>> u;//用户 -> (出现的次数,推文) 小根堆 ...
分类:其他好文   时间:2020-04-22 23:00:19    阅读次数:114
3247条   上一页 1 ... 19 20 21 22 23 ... 325 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!