码迷,mamicode.com
首页 >  
搜索关键字:hash    ( 10449个结果)
共享池之六:shared pool latch/ library cache latch /lock pin 简介
latch:library cache --desc v$librarycache;latch:library cache用于保护hash bucket.library cache lock保护HANDLE。library cache pin保护library cache object--LCO.从...
分类:系统相关   时间:2014-12-30 11:36:42    阅读次数:215
#!--->hashbang技术
url中的#!URL 中的 # 本来的用途是跳转到页内锚点。一个 URL 中 # 后的值 (hash tag) 不影响所访问网页的内容,所以搜索引擎在处理仅仅 hash tag 不同的多个 URL 时会当做相同内容从而忽略hash tag。但近年来 hash tag 越来越多地被用于 AJAX 请求...
分类:其他好文   时间:2014-12-30 01:40:36    阅读次数:114
hdu 3973 字符串hash+线段树
http://acm.hdu.edu.cn/showproblem.php?pid=3973 Problem Description You are given some words {Wi}. Then our stupid AC will give you a very long string S. AC is stupid and always wants to know w...
分类:其他好文   时间:2014-12-29 20:04:34    阅读次数:259
ERROR 1372 (HY000): Password hash should be a 41-digit hexadecimal number;
rpm 安装了 mysql 5.6 的版本遇到的问题1. 提示与5.1版本的有冲突. 解决方式, 是 rpm --force -ivh rpm包.rpm 进行强制安装2. 启动 mysql 后,MySQL 5.6 版本使用空密码无法登陆. 解决方式: mysql 5.6 安装完成后, 会生成一个随....
分类:其他好文   时间:2014-12-29 20:01:01    阅读次数:219
大数据量,海量数据 处理方法总结
转自:http://blog.csdn.net/zuiaituantuan/article/details/59009811.Bloom filter适用范围:可以用来实现数据字典,进行数据的判重,或者集合求交集基本原理及要点: 对于原理来说很简单,位数组+k个独立hash函数。将hash函数对应....
分类:其他好文   时间:2014-12-29 18:04:10    阅读次数:215
hdu 1496 hash+暴力
http://acm.hdu.edu.cn/showproblem.php?pid=1496 Problem Description Consider equations having the following form:  a*x1^2+b*x2^2+c*x3^2+d*x4^2=0 a, b, c, d are integers from the interval [-...
分类:其他好文   时间:2014-12-29 12:10:59    阅读次数:152
sequence.c
/* * sequence.c */#include #include /* * SM3算法产生的哈希值大小(单位:字节) */#define SM3_HASH_SIZE 32 /* * SM3上下文 */typedef struct SM3Context{ unsigned int inte...
分类:其他好文   时间:2014-12-29 11:56:49    阅读次数:204
[Miller-Rabin][CODEVS1702]素数判定2 解题报告
题面描述:判定一个数P∈[1,2^63-1]∩N是素数么。 按照朴素的判定素数方法,至少也需要O(P^0.5)的,但这道题就是霸气到连这样的时间复杂度都过不了的地步。 实在是不会做了,就学习了传说中的Miller-Rabin素数判定法。 两个引理: ①费马小定理: 设p为质数,且不满足p|a, 则a^(p-1)=a(mod p). 证: 又一个引理,若n与p互质,且a与p互质,则n...
分类:其他好文   时间:2014-12-28 22:17:43    阅读次数:182
[COCI 2013/2014 ROUND 6] hash
分析: 很容易想到时间复杂度为O(26n)的暴力枚举算法,但由于n=6,且1 2 #define maxn 1N)13 {14 f[b]++;15 return;16 }17 for (int i=1;iM)37 {38 ...
分类:其他好文   时间:2014-12-28 18:10:58    阅读次数:136
各种加密解密函数(URL加密解密、sha1加密解密、des加密解密)
普通hash函数如md5、sha1、base64等都是不可逆函数。虽然我们利用php可以利用这些函数写出可逆函数来。但是跨语言时这类可逆函数非常难搞定。所以这时尽量使用AES DES RC4 Rabbit TripleDes这些方法。包含超时的加密解密函数 1 /** 2 * 加密 3 ...
分类:Web程序   时间:2014-12-28 14:06:52    阅读次数:738
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!