码迷,mamicode.com
首页 >  
搜索关键字:seek    ( 696个结果
安卓手动新增SDK
一:下载SDK 比如,我正要使用sdk5.0,于是我随便找了一个源下载:http://download.csdn.net/detail/dan_seek/8216801 二:整合进eclipse 解压。 找到路径android-sdk-windows,放到platforms下,如: 此刻,要重启ec...
分类:移动开发   时间:2016-02-19 21:49:20    阅读次数:252
POJ 2752 Seek the Name, Seek the Fame
对字符串建一个next表,然后逆推即可。 #include<iostream>#include<cstdio>#include<cstring>#define maxn 400005using namespace std;char p[maxn];int next[maxn],t[maxn],l,t
分类:其他好文   时间:2016-02-05 19:24:03    阅读次数:133
python文件操作--字符串替换
如把test.txt文件的 所有 AAA 字符串 替换成 aaaaa 1 with open('test.txt','+r') as f: 2 t = f.read() 3 t = d.replace('AAA', 'aaaaaa') 4 #读写偏移位置移到最开始处 5 f.seek(0, 0) 6
分类:编程语言   时间:2016-01-29 03:24:51    阅读次数:346
python 协程小程序(草稿有待完善)
#description下面这个小程序就像linux中命tail -f /var/log/messages一样,当运行时可以动态的显示文本文件里的信息哦! import time import sys import os def tail(f): f.seek(0,2) #跳转到文本文件的最后的位置
分类:编程语言   时间:2016-01-27 21:01:37    阅读次数:134
IO流 管道流
package com.yyq;import java.io.*;/* * 管道流 * RandomAccessFile * 随机访问文件,自身具备读写的方法 * 通过 SkipBytes(int x)seek(int x) * 结合多线程技术 管道流 * properties io+集合相结...
分类:其他好文   时间:2016-01-24 16:47:29    阅读次数:102
HDU 3377 Plan
Problem DescriptionOne day, Resty comes to an incredible world to seek Eve -- The origin of life. Lilith, the sister of Eve, comes with him. Although ...
分类:其他好文   时间:2016-01-17 14:54:25    阅读次数:161
POJ2182(排队问题)
Lost CowsTime Limit:1000MSMemory Limit:65536KTotal Submissions:10695Accepted:6865DescriptionN (2 =0;i--) { int pos=seek(deg[i]+1); ...
分类:其他好文   时间:2016-01-15 15:54:43    阅读次数:210
python文件学习
f=open('test'.txt','w')//写入文件f=open('test.txt','a')//追加写入文件read()一次性读取readline()读取一行readlines()读取一行,并保留为一个list里面seek(0)文件指针指向开头tell()显示目前指针位置os和stat模块...
分类:编程语言   时间:2016-01-08 21:51:11    阅读次数:233
Python 删除文件特定字符的行
import re p=re.compile("gmail|aol|yahoo") f = open("test.txt",'r+')lines = [line for line in f.readlines() if p.search(line) is None]f.seek(0)f.trunca...
分类:编程语言   时间:2016-01-06 21:35:01    阅读次数:228
Partition Table 查询性能
分区表的高效的查询性能是基于Partition Elimination 和 Partition Parallelism实现的。Partition Elimination 是指在执行TSql查询的时候,不是seek表的所有分区,而是根据Partition column排除部分分区,在符合 filter...
分类:其他好文   时间:2015-12-12 18:44:46    阅读次数:297
696条   上一页 1 ... 52 53 54 55 56 ... 70 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!