代码搜索:increment
找到约 5,376 项符合「increment」的源代码
代码结果 5,376
www.eeworm.com/read/239312/4602424
do_increment
#!/bin/bash
# Scriptname: do_increment
increment () {
local sum; # sum is known only in this function
let "sum=$1 + 1"
return $sum # Return the value of sum to the script
}
echo
www.eeworm.com/read/239312/4602599
do_increment
#!/bin/ksh
# Scriptname: do_increment
# Using the return Command)
function increment {
typeset sum # sum is a local variable.
(( sum = $1 + 1 ))
return $sum # Return the value of su
www.eeworm.com/read/239312/4602662
do_increment
#!/bin/sh
# Scriptname: do_increment
increment () {
sum=`expr $1 + 1`
return $sum # Return the value of sum to the script.
}
echo -n "The sum is "
increment 5 # Call function increment; pass
www.eeworm.com/read/205824/5016630
c increment.c
/*
* PROJECT: ReactOS system libraries
* LICENSE: GPL - See COPYING in the top level directory
* FILE: lib/intrlck/i386/increment.c
* PURPOSE: Inter lock increments
* PROG
www.eeworm.com/read/199846/5075209
java increment.java
/*
* This file is part of JGAP.
*
* JGAP offers a dual license model containing the LGPL as well as the MPL.
*
* For licencing information please see the file license.txt included with JGAP
www.eeworm.com/read/197970/5090378
java increment.java
package examples.jsp.tagext.counter;
import java.io.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
/**
* This class displays the page-hits count in a JSP page.
*/
p
www.eeworm.com/read/197004/5098580
java increment.java
/*
* This file is part of JGAP.
*
* JGAP offers a dual license model containing the LGPL as well as the MPL.
*
* For licencing information please see the file license.txt included with JGAP
www.eeworm.com/read/179213/5309097
java increment.java
public class Increment {
public static void main(String[] args) {
int j = 0;
for (int i = 0; i < 100; i++)
j = j++;
System.out.println(j);
}
}
www.eeworm.com/read/178760/5313579
c increment.c
/** Simple test for increment
type: signed char, int, long
storage: static,
attr: volatile
*/
#include
static void
testIncrement(void)
{
{attr} {storage} {type} i;
i
www.eeworm.com/read/347830/3162726
java increment.java
/*
* This file is part of JGAP.
*
* JGAP offers a dual license model containing the LGPL as well as the MPL.
*
* For licensing information please see the file license.txt included with JGAP