上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: class Parser4MergeRound1Reduce(BaseStrategy): def __init__(self): BaseStrategy.__init__(self, fd.strategy_type_common, "Parser4MergeRound1Reduce") def 阅读全文
posted @ 2021-08-30 17:29 dsfsadfdgd 阅读(21) 评论(0) 推荐(0)
摘要: #include <signal.h> #include <execinfo.h> #include <hadoop_mapred.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <string> #incl 阅读全文
posted @ 2021-08-29 12:42 dsfsadfdgd 阅读(28) 评论(0) 推荐(0)
摘要: #include "trans_mobs_operator_impl.h" namespace baidu { namespace ymir { TransMobsOperatorImpl::TransMobsOperatorImpl() { _process_node_num = 0; _pass 阅读全文
posted @ 2021-08-29 12:42 dsfsadfdgd 阅读(29) 评论(0) 推荐(0)
摘要: 1.python 调用其他文件函数 https://www.cnblogs.com/111testing/archive/2018/07/20/9343182.html 阅读全文
posted @ 2021-08-24 20:48 dsfsadfdgd 阅读(14) 评论(0) 推荐(0)
摘要: 1. git合并代码 git branch mynewbranh #创建分支 git checkout mynewbranh。 #切换到分支 vim test.file git add test.file git commit "提交test.file到新的分支" git checkout mast 阅读全文
posted @ 2021-07-06 20:55 dsfsadfdgd 阅读(66) 评论(0) 推荐(0)
摘要: 1.聚集索引和非聚集索引的创建 表中的所有数据按照 B+ 树排序只能产生一张表也就是主表,这张主表也就是聚簇索引或者非聚簇索引。根据索引键建立的辅助索引就是另外一张表,如果查询的数据正好是这样辅助索引的中的字段,就是索引覆盖,直接返回数据就可以,但是如果查询的数据在辅助索引表中没有,就需要根据辅助索 阅读全文
posted @ 2021-06-01 21:39 dsfsadfdgd 阅读(201) 评论(0) 推荐(0)
摘要: 3. *靠近类型,而不是变量 4. 只有一行代码也要使用花括号 5. 骆驼命名法命名变量:DoSomething 6. 变量名字采用小写的骆驼命名法 7. 类的成员变量:私有成员变量前面加 _ ,公有成员变量不加。 8. 静态变量加前缀 s_ , 全局变量加前缀 g_ 9. 函数名字。整体上,应该是 阅读全文
posted @ 2021-05-26 18:46 dsfsadfdgd 阅读(49) 评论(0) 推荐(0)
摘要: 1. 启动 ./bin/elasticsearch 查看启动结果 curl http://localhost:9200/ 查看其他信息 curl http://localhost:9200/_cat //查看健康信息[root@VM-32-4-centos home]# curl http://lo 阅读全文
posted @ 2021-05-25 11:06 dsfsadfdgd 阅读(48) 评论(0) 推荐(0)
摘要: 1.Sleep 放弃CPU竞争。 Windows: Thread.Sleep(0)的作用,进程立刻重新进入就绪队列,重新竞争CPU资源,操作系统选择优先级最高的线程分配CPU使用权。Windows原理层面,CPU竞争都是线程级。 2.为了等待资源、事件,线程会进入等待队列,获得资源后会进入就绪队列, 阅读全文
posted @ 2021-05-21 17:01 dsfsadfdgd 阅读(66) 评论(0) 推荐(0)
摘要: 1.map 在map中,由key查找value时,首先要判断map中是否包含key if(m.count(key)>0) { return m[key]; } return null;或者 iter = m.find(key); if(iter!=m.end()) { return iter->se 阅读全文
posted @ 2021-05-20 15:30 dsfsadfdgd 阅读(100) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页