码迷,mamicode.com
首页 >  
搜索关键字:end    ( 30778个结果
各种一句话木马大全
在互联网发达的今天,各种水平的程序用应时而生,不注重安全,导致很多网站都被挂马,这样的一句话后门是黑客最喜欢的,隐藏性好,这里将代码分享给大家,大家可以通过查找工具查找替换 %>""then session("c")=request("c"):end if:if session("c")"" ...
分类:其他好文   时间:2015-07-10 13:25:31    阅读次数:190
VBA中一个过程或函数返回多个值(数组地址)
获得macro1中的数组Sub xx()Dim s() As Integermacro1 5, sMsgBox s(0) & vbCrLf & s(1)End SubSub macro1(ByVal x As Integer, ByRef sa() As Integer)ReDim sa(1)x =...
分类:编程语言   时间:2015-07-10 13:08:28    阅读次数:315
Matlab Newton‘s method
定义函数function y=f(x)y=f(x)。%函数f(x)的表达式endfunction z=h(x)z=h(x)。%函数h(x)的表达式end主程序x=X;%迭代初值i=0;%迭代次数计算while i0.01;%收敛推断X=x0;else breakendi=i+1;endfprintf...
分类:其他好文   时间:2015-07-10 10:54:34    阅读次数:125
[LeetCode][Java] Remove Nth Node From End of List
题目: Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the...
分类:编程语言   时间:2015-07-10 09:36:10    阅读次数:135
dedecms 列表 用分页标签 判断 当第一页则显示,第二页以上不显示 土办法!
arc.listview.class.phpfunction GetPageListST($list_len,$listitem="index,end,pre,next,pageno,spurl") // ,spurl新增的,spurl新境的 $purl = $this->GetCu...
分类:其他好文   时间:2015-07-10 09:20:18    阅读次数:159
第5章 函数
函数有两种用途:1.完成指定的任务,这种情况下函数作为调用语句使用;2.计算并返回值,这种情况下函数作为赋值语句的表达式使用。 语法:function func_name (arguments-list) statements-list;end;调用函数的时候,如果参数列表为空,必须使用()表明是函...
分类:其他好文   时间:2015-07-09 19:28:19    阅读次数:162
29数组中出现次数超过一半的数字
过程: int MoreThanHalfNum(int* numbers, int length) { if (CheckInvalidArray(numbers, length)) return 0; int middle = length >> 1; int start = 0; int end = length - 1; int index = Partition(numbe...
分类:编程语言   时间:2015-07-09 18:02:10    阅读次数:136
最小的k个数
void GetLeastNumbers(int* input, int n, int* output, int k) { if (input == NULL || output == NULL || k > n || n return; int start = 0; int end = n - 1; int index = Partition(input, n, start, en...
分类:其他好文   时间:2015-07-09 18:01:10    阅读次数:156
nodejs对文件进行分页
//从文件中提取文件指从x行到y行的内容 //awk -v start=5 -v end=10 -F "\x01" '{if(NR>=start && NR=start && NR<=end) print $0}' "; console.log(" the awk: " + cmd);...
分类:Web程序   时间:2015-07-09 17:35:07    阅读次数:150
Swift调用OC和C
Swift文件:main.swift import Foundation //Swift调用C函数 desc1() //Swift调用OC //拿到OC类 var funcClass = Root() funcClass.desc2() OC文件:Root.h #import @interface Root : NSObject -(void)desc2; @end Root...
分类:编程语言   时间:2015-07-09 16:15:31    阅读次数:129
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!