码迷,mamicode.com
首页 >  
搜索关键字:out    ( 35870个结果
BASE64Encoder 的使用
publicstaticvoidmain(String[]args)throwsIOException{ BASE64Encoderencoder=newBASE64Encoder(); System.out.println("Pleaseinputusername:"); Stringusername=newBufferedReader(newInputStreamReader(System.in)).readLine(); System.out.println(encoder.encode(us..
分类:Web程序   时间:2015-04-14 07:23:16    阅读次数:137
protoc-gen-php --php_out: protoc-gen-php: Plugin output is unparseable.
背景业务需要用protobuffer 进行通讯。client: phpserver: c++在github 上找到Protobuf-PHP(https://github.com/drslump/Protobuf-PHP) 的评分不错,故采用它作为协议生成库来生成PHP侧的交互协议。问题生成php p...
分类:Web程序   时间:2015-04-14 00:34:44    阅读次数:309
清晰了解String
classStringTest{ publicstaticvoidmain(String[]args){Strings=newString("abc");Strings1="abc";Strings2=newString("abc");System.out.println(s==s1);System...
分类:其他好文   时间:2015-04-13 18:52:08    阅读次数:151
Combinations -- leetcode
Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For example, If n = 4 and k = 2, a solution is: [ [2,4], [3,4], [2,3], [1,2], [1,3], [1,4], ]...
分类:其他好文   时间:2015-04-13 16:52:09    阅读次数:116
【转】linux grep命令详解
简介grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包括grep、egrep和fgr...
分类:系统相关   时间:2015-04-13 16:36:41    阅读次数:203
ssh-copy-id报错: Host key verification failed
/workspace:$ ssh-copy-id root@10.103.xx.xx -p 22022/usr/local/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that ...
分类:其他好文   时间:2015-04-13 16:27:46    阅读次数:2098
Samurai Framework 学习笔记--samurai中的宏魔法(待更新)
samurai中的宏魔法文件 Samurai_Predefine.h Samurai里的一些预设宏// 这3个宏是在定义属性 @prop_assign( NSInteger, page IN)的时候标记这个数据流的方向时用的. #define IN #define OUT #define INOUT // 函数属性限定符: __attribute__((unused)) 这个限定符属性禁止编译器在...
分类:其他好文   时间:2015-04-13 14:43:15    阅读次数:149
字符串替换函数
//参数说明://in,源字符串//out,存放最后结果的字符串//outlen,out最大的大小//src,要替换的字符串//dst,替换成什么字符串/*********************************************************************Function:str_replace()*Description:在一个字符串中查找一个子串,并且..
分类:其他好文   时间:2015-04-13 13:00:24    阅读次数:119
如何理解Java中参数传递只能传值?
以前学习C#的时候,是完全在工作岗位上学习,一些底层较为深入的道理都不是很清楚。如今学习了Java,对于Java参数传递只能传值,不能传引用(指针)感到很困惑,在C#中不是常常说把某个引用传递到函数中吗?甚至C#有相当简便的ref、out参数,明明白白的传引用。经过一番探索,得出的结论表明,Java...
分类:编程语言   时间:2015-04-13 10:51:47    阅读次数:188
StringBuffer的insert()方法和append()方法
//StringBuffer的insert()方法和append()方法class aa{ public static void main (String[] args) { StringBuffer str = new StringBuffer("wlf"); System.out.pri...
分类:移动开发   时间:2015-04-13 09:24:55    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!