cpp加油站 cpp加油站
4年前
题解5道c++面试题第一期(含解题思路、答案解析和实现代码)
本篇文章送上5道c/c面试题目,并附上答案、解题思路以及扩展知识。1.求下面函数的返回值cinclude<stdio.hintfunc(intx)intiCnt0;while(x)iCnt;xx&(x1);returniCnt;intmain()printf("cnt%d\n",func(9999
Stella981 Stella981
3年前
Flume实战案例运维篇
Flume实战案例运维篇作者:尹正杰版权声明:原创作品,谢绝转载!否则将追究法律责任。一.Flume概述1.什么是Flume !(https://oscimg.oschina.net/oscnet/cfdbbae527024a725bbc602ba7b8e01d94f.png)
Stella981 Stella981
3年前
Android Binder——framework
上一篇BindermRemote的前世今生(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.jianshu.com%2Fp%2F72bc48d59f0e)PowerManger.isScreenOn()的调用流程已经调用到了BinderProxy.transact();
Stella981 Stella981
3年前
Python获取并输出当前日期时间
1234567取得当前时间戳importtimeprinttime.time()格式化时间戳为标准格式printtime.strftime('%Y.%m.%d',time.localtime(time.time()))获取30天前的时间(通过加减秒数来获取现在或者未来某个时间点)printtime.strftime('%Y.
Wesley13 Wesley13
3年前
(转)Linux开启路由转发功能
原文:https://www.linuxidc.com/Linux/201612/138661.htm标记一下,今天想让一台RedHat(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.linuxidc.com%2Ftopicnews.aspx%3Ftid%3D10) En
Stella981 Stella981
3年前
1024 快乐,Jelly 带你探访凹凸实验室
1024程序员日,JELLYSTORE带来了一期凹凸实验室专题,带你探访凹凸实验室~!(https://oscimg.oschina.net/oscnet/9398b16179f25a551180b49bf9304972409.jpg)!(https://oscimg.oschina.net/oscnet/17a3d302eb4
Easter79 Easter79
3年前
SpringBoot整合mongoDB
前提:下载安装MongoDB,!(https://oscimg.oschina.net/oscnet/9ab49da444d8a3fa13effcf70cf333772a8.png)安装完成之后,找到安装路径,点击如下文件打开界面:!(https://oscimg.oschina.net/oscnet/712fe4fb4428391093
Stella981 Stella981
3年前
Spring 容器的初始化
!(https://oscimg.oschina.net/oscnet/fcd1a205419c1d45a47c4414820c77f024f.png)点击上方「蓝字」关注我们读完这篇文章你将会收获到了解到Spring容器初始化流程ThreadLocal在Spring中的最佳实践
Stella981 Stella981
3年前
JVM故障处理工具,使用总结
持续坚持原创输出,点击蓝字关注我吧!(https://oscimg.oschina.net/oscnet/f6e5942c41ee4278b0d90ebcee03adc9.png)作者:小傅哥博客:https://bugstack.cn❝沉淀、分享、成长,让自己和他人都能有所收获!😜❞
Stella981 Stella981
3年前
OSChina 周五乱弹 —— 你挣的钱够买西医的药么
Osc乱弹歌单(2018)请戳(这里(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmusic.163.com%2F%23%2Fmy%2Fm%2Fmusic%2Fplaylist%3Fid%3D2040211015))【今日歌曲】@ndonny(https:/