码迷,mamicode.com
首页 >  
搜索关键字:tail    ( 8573个结果
[LeetCode]146 LRU Cache
https://oj.leetcode.com/problems/lru-cache/http://blog.csdn.net/linhuanmars/article/details/21310633publicclassLRUCache{ publicLRUCache(intcapacity){ map=newHashMap<>(); head=null; tail=null; this.size=0; this.capacity=capacity; } publicintget(intke..
分类:系统相关   时间:2015-01-09 01:49:29    阅读次数:220
LINUX 安装错误笔记ins_ctx.mk
现象:[root@L-AP-89-10logs]#tail-finstallActions2015-01-08_10-51-56AM.logINFO:collect2:ldreturned1exitstatusINFO:make:***[ctxhx]Error1INFO:Endoutputfromspawnedprocess.INFO:----------------------------------INFO:Exceptionthrownfromaction:makeExceptionName:Ma..
分类:系统相关   时间:2015-01-08 15:43:34    阅读次数:1173
LINUX 安装错误笔记ins_sysman.mk
现象:[root@L-AP-89-10logs]#tail-finstallActions2015-01-08_10-51-56AM.logINFO:make[1]:***[/usr/local/oracle/product/10201/sysman/lib/libnmemso.so]Error1make:***[libnmemso]Error2INFO:Endoutputfromspawnedprocess.INFO:----------------------------------INFO:Exc..
分类:系统相关   时间:2015-01-08 15:39:47    阅读次数:470
linux 如何显示一个文件的某几行(中间几行)
linux 如何显示一个文件的某几行(中间几行) 分解: tail -n 1000:显示最后1000行 tail -n +1000:从1000行开始显示,显示1000行以后的 head -n 1000:显示前面1000行...
分类:系统相关   时间:2015-01-08 11:27:14    阅读次数:149
centos 安装phpmyadmin报500错误
在安装phpmyadmin后,打开www.phpmyadmin.com报500错误1:检查apache日志[root@gwbtest~]#tail/etc/httpd/logs/error_log[WedJan0717:47:122015][error][client192.168.3.2]PHPFatalerror:Calltoundefinedfunctionmb_detect_encoding()in/var/www/phpmyadmin/libraries/php-get..
分类:Web程序   时间:2015-01-07 19:02:45    阅读次数:307
线性队列
#include "stdafx.h"#include using namespace std;typedef int DataType;#define SIZE 100typedef struct { DataType data[SIZE]; int head,tail;}SqQueue;//初始...
分类:其他好文   时间:2015-01-07 12:36:22    阅读次数:131
基数排序
基数排序:时间O(d(n+rd)) d:关键字个数,n:元素数,rd:关键字的取值范围 空间O(rd) 注:对于数值类排序,只能从低位到高位进行基数排序,能有序,(高到低,不行) void RadixSort(int *&p,int r,int d)//p为带排序的单链表指针,r为基数,d为关键字位数 { int *head[MAXR],*tail[MAXR],*t; in...
分类:编程语言   时间:2015-01-06 18:05:39    阅读次数:143
【转】linux tail命令使用方法详解
原文网址:http://www.111cn.net/sys/linux/46902.htmlinux tail命令用途是按照要求将指定的文件的最后部分输出到标准设备,一般是终端,通俗讲来,就是把某个档案文件的最后几行显示到终端上,如果该档案有更新,tail会自动刷新,确保你看到最新的档案内容。一、t...
分类:系统相关   时间:2015-01-06 17:25:03    阅读次数:254
Ruby版快速排序
class Array def quick_sort return [] if self.empty? k = self[0] head = 0 tail = self.length - 1 while head k self[tail], self[head] = self[head], sel....
分类:编程语言   时间:2015-01-06 13:22:00    阅读次数:189
《转》探寻微博背后的大数据原理:微博推荐算法简述
“We are leaving the age of information and entering the age of recommendation” — Chris Anderson in The Long Tail。我们正在远离信息,而进入推荐时代。——克里斯·安德森 在介绍微博推荐算法....
分类:编程语言   时间:2015-01-04 13:24:10    阅读次数:248
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!