码迷,mamicode.com
首页 >  
搜索关键字:make: command not fo    ( 1841个结果
单调栈
1 int main() { 2 vector<int> nums{ 5,4,2,6,7,3,9 }; 3 int length = nums.size(); 4 5 stack<vector<int>>sk1; 6 vector<int>rightFirstMax(length, 0); 7 fo ...
分类:其他好文   时间:2020-09-17 16:13:12    阅读次数:18
集合是什么?以及collection的两大接口介绍!
集合 1、是什么: 是java的容器,是存储数据和保存数据的容器! 2、数组和集合区别: 数据:长度不可变,存储数据都是同一类型的 集合:长度可变,存储对象,而对象类型时不一样的! 3、两大接口的区别: list接口: 有序集合(存储和取出的元素顺序是相同的) 允许存储重复元素 有牵引,可以使用fo ...
分类:其他好文   时间:2020-09-14 18:55:52    阅读次数:38
【延时队列】-Timer
1. 使用方法2. 源码解析构造方法设定任务举例3. 总结 Timer 1. 使用方法 public class TimerTest { public static void main(String[] args) { Timer timer = new Timer(); System.out.fo ...
分类:其他好文   时间:2020-07-30 18:20:44    阅读次数:85
3js
数组 <script> var arr = [] for (var i = 0;i <= 9;i++) { arr[i] = i + 1 } console.log(arr) </script> <script> var arr = [1,22,3,44,5] var new_arr = [] fo ...
分类:Web程序   时间:2020-07-28 14:32:26    阅读次数:96
Python all() 函数
描述 all() 函数用于判断给定的可迭代参数 iterable 中的所有元素是否都为 TRUE,如果是返回 True,否则返回 False。 元素除了是 0、空、None、False 外都算 True。每组词 www.cgewang.com 函数等价于: def all(iterable): fo ...
分类:编程语言   时间:2020-07-26 15:02:02    阅读次数:72
Centos7安装jq
jq可以给shell提供json解析功能,但托管在epel仓库 yum -y install epel-release yum clean all yum makecache yum -y install jq 若安装过程遇到如下问题: yum Cannot retrieve metalink fo ...
分类:其他好文   时间:2020-07-24 19:06:44    阅读次数:97
linux内核模块编译makefile
1、编译进内核的模块 如果需要将一个模块配置进内核,需要在makefile中进行配置: obj-y += foo.o 2、编译可加载的模块 所有在配置文件中标记为-m的模块将被编译成可加载模块.ko文件。 如果需要将一个模块配置为可加载模块,需要在makefile中进行配置: obj-m += fo ...
分类:系统相关   时间:2020-07-22 11:35:13    阅读次数:85
swoole协程通道channel
swoole 协程通道 为了协程直接互相通讯传递数据 和go的通道很相似 Co\run(function(){ $chan = new Swoole\Coroutine\Channel(1); Swoole\Coroutine::create(function () use ($chan) { fo ...
分类:其他好文   时间:2020-07-19 23:38:57    阅读次数:108
1019 数字黑洞 (20分)/1069 The Black Hole of Numbers (20分)
#include<iostream> #include<algorithm> #include<cstdio> using namespace std; bool cmp(int a,int b){ return a>b; } void to_array(int n,int num []) { fo ...
分类:其他好文   时间:2020-07-18 11:39:12    阅读次数:78
时间戳转年月日-基于vue
一般在src/utils里新建date.js import Vue from 'vue'; // 时间戳转换为 YYYY-MM-DD HH:mm:ss Vue.filter('formatDate', function(timeStamp, format) { if (timeStamp) { fo ...
分类:其他好文   时间:2020-07-14 21:52:52    阅读次数:216
1841条   上一页 1 2 3 4 5 6 ... 185 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!