码迷,mamicode.com
首页 >  
搜索关键字:class struct    ( 200435个结果
Helloworld
Hello,world Java代码: public class Hello{ public static void main(String[] args){ System.out.print("Hello,world!"); }} 编译: javac Hello.java //编译生成class文 ...
分类:其他好文   时间:2021-05-24 14:06:34    阅读次数:0
如何在 CentOS 系统中安装和配置 nginx 服务? 原创
由于目前负责公司 DevOps 平台的前端开发工作的原因,工作中会经常遇到 nginx 服务器相关的维护工作,通过学习和工作实践积累了一些 nginx 服务器的相关配置经验和知识积累。 在之前的《前端性能优化 – 启用 GZip 压缩》一文中就给大家介绍过如何在 nginx 中开启 gzip。并且也 ...
分类:其他好文   时间:2021-05-24 14:01:55    阅读次数:0
QTcpSocket 发送结构体
发送方式一: struct data{ int a = 123; int b = 465; } *m_data; m_data = new data; QByteArray data; data.resize(sizeof(struct data)); memcpy(data.data(), m_d ...
分类:其他好文   时间:2021-05-24 14:00:37    阅读次数:0
leetcode 146 LRU 缓存机制
简介 使用了C++自带的实现deque 和 unordered_map code class LRUCache { public: unordered_map<int, bool> map; unordered_map<int, int> mapV; deque<int> q; int capaci ...
分类:其他好文   时间:2021-05-24 13:58:51    阅读次数:0
layui实现数据分页功能
页面引入layui.css、 layui.js 1 <div id="pTable" style="width: 1200px;"> 2 <table class="layui-table" id="layui_table_id" lay-filter="test"> 3 </table> 4 <d ...
分类:其他好文   时间:2021-05-24 13:50:20    阅读次数:0
用python写九九乘法表
for i in range(1,10): for j in range(1,i+1): print(i,"*",j,"=",i*j, "\t",end="") else: print("") 1 * 1 = 1 2 * 1 = 2 2 * 2 = 4 3 * 1 = 3 3 * 2 = 6 3 * ...
分类:编程语言   时间:2021-05-24 13:38:54    阅读次数:0
php单列设计模型
<?php class One{ private static $_one; private function __construct(){} private function __clone(){} public static function getOne(){ if(!self::$_one ...
分类:Web程序   时间:2021-05-24 13:36:59    阅读次数:0
布尔类型
bool #布尔类型 True #真 False #假 l = [1,2,3,4] print( 1>2 ) #False print( 4 in l) #True print(1 not in l) #False print( len(l) > 3) #True 比如,想写个while的死循环,可 ...
分类:其他好文   时间:2021-05-24 13:31:59    阅读次数:0
CountDownLatch
countDownLatch这个类使一个线程等待其他线程各自执行完毕后再执行。 public class CountDownLatchDemo { public static void main(String[] args) throws InterruptedException{ /** * * ...
分类:其他好文   时间:2021-05-24 13:31:31    阅读次数:0
element plus中tree组件的使用以及自定义图标
<el-tree :data="data" node-key="id" ref="tree" icon-class="el-icon-share" :props="defaultProps"> <template #default="scope"> <div class="custom-node"> ...
分类:其他好文   时间:2021-05-24 13:29:53    阅读次数:0
200435条   上一页 1 ... 89 90 91 92 93 ... 20044 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!