码迷,mamicode.com
首页 >  
搜索关键字:return null    ( 92144个结果
数据库学习第三天
查询排序order by,正序asc 倒序desc。 分组查询group by,分组查询后筛选使用having; 默认值约束 default; 非空约束not null;注:非空字段必须赋值。唯一约束unique; 主键(非空+唯一)primary key; 自增长zerofill; 外键CONST ...
分类:数据库   时间:2021-06-17 16:52:03    阅读次数:0
使用位运算查找只出现一次的数字
一个数组中只有一个数字出现一次,其他数字都出现两次,请找出这个数字 class Solution { public int singleNumber(int[] nums) { int res = 0; for (int num : nums) { res ^= num; } return res; ...
分类:其他好文   时间:2021-06-17 16:49:19    阅读次数:0
05 函数
函数的定义 # 方式一 start () { echo "nginx start .... [OK]" #return 0 } stop () { echo "nginx stop .... [FAIL]" } # 方式二 function start { echo "nginx start ... ...
分类:其他好文   时间:2021-06-17 16:37:05    阅读次数:0
vue3 组件
基本实例 <div id="vm"> <button-counter></button-counter> </div> <script> const v = Vue.createApp({ data() { return { count: 0 } }, template: `<button @cli ...
分类:其他好文   时间:2021-06-17 16:30:09    阅读次数:0
mbuf double free
#include <stdio.h> #include <string.h> #include <stdint.h> #include <errno.h> #include <sys/queue.h> #include <rte_launch.h> #include <rte_eal.h> #inc ...
分类:其他好文   时间:2021-06-17 16:28:03    阅读次数:0
API 读写cookie的方法
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Net.Http; ...
分类:Windows程序   时间:2021-06-17 16:27:43    阅读次数:0
微信小程序 -- 基于 movable-view 实现拖拽排序
微信小程序 -- 基于 movable-view 实现拖拽排序 项目基于colorui样式组件 ColorUI组件库 (color-ui.com) 1.实现效果 2. 设计思路 movable-view 绑定块移动事件的 块ID ,块移动的坐标 移动结束后触发moveEnd事件,根据Y坐标对对象数组 ...
分类:微信   时间:2021-06-17 16:25:50    阅读次数:0
876. 链表的中间结点
1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * struct ListNode *next; 6 * }; 7 */ 8 9 10 struct ListNode* middleN ...
分类:其他好文   时间:2021-06-16 18:35:48    阅读次数:0
将文件写入到本地磁盘-IO流使用
/** * 将文件写入到本地磁盘 * @param dirPath 目录路径 * @param fileName 文件名,包含文件后缀 * @param buffer 文件 * @return 文件路径 */ public String writeToFile(String dirPath, Str ...
分类:其他好文   时间:2021-06-16 18:22:56    阅读次数:0
VC++线程同步之临界区(CriticalSection)
1、相关文件和接口 #include <windows.h> CRITICAL_SECTION cs;//定义临界区对象 InitializeCriticalSection(&cs);//初始化临界区 EnterCriticalSection(&cs);//进入临界区 LeaveCriticalSe ...
分类:编程语言   时间:2021-06-16 18:17:29    阅读次数:0
92144条   上一页 1 ... 17 18 19 20 21 ... 9215 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!