baidu / common Goto Github PK
View Code? Open in Web Editor NEWCommon library
License: BSD 3-Clause "New" or "Revised" License
Common library
License: BSD 3-Clause "New" or "Revised" License
house.baidu.com
06/21 15:17:58.445392 25152 [INFO][test_logging.cc:14:writelog]|helloworld111111 06/21 15:17:58.445428 25150 [DEBUG][test_logging.cc:33:main]|helloworld2222 06/21 15:17:58.445431 25153 [DEBUG][test_logging.cc:16:writelog]|helloworld2222
这样就好了 方便根据日志级别grep
比如bfs的sdk发现cs的buffer满了,当前的做法是delay一段时间后重试,或许应该适时改变一下sdk的发送窗口大小?
为什么将日志级别按2、4、8..进行赋值,而不是按0、1、2、3..
thread_pool.h中 ThreadProc函数,是否应该在进行统计耗时和任务数前就Lock
或者通过volatile对耗时和任务数做修饰?
日志里突然出现一个线程tid 12345,但好像不知道当初是哪个线程把tid 12345丢进来的,不便于追查日志。
Add EXIT
level for log
rt,可以避免每次在栈上分配内存
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.