代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/430646/8736403
class swap.class
www.eeworm.com/read/430646/8736405
java swap.java
package chap03;
public class Swap {
public static void swap(Object a, Object b){
Object temp = a;
a = b;
b = temp;
}
public static void main(String[] args) {
Inte
www.eeworm.com/read/384965/8826383
cpp swap.cpp
// swap() does not swap the value of the arguments!
void swap( int v1, int v2 ) {
int tmp = v2;
v2 = v1;
v1 = tmp;
}
www.eeworm.com/read/285526/8833076
cpp swap.cpp
/*此函数接受两个参数,并且交换两个参数的值,并且影响到实际参数*/
template
void Swap(T & x,T & y)
{
T tmp;
tmp=x;
x=y;
y=tmp;
}
www.eeworm.com/read/186780/8910553
cod swap.cod
=== COMPILE PL0 ===
0 PROGRAM SSWAP;
0 VAR
1 A,B:INTEGER;
1 FUNCTION SWAP(VAR C,D:INTEGER):INTEGER;
1 VAR
2 TEMP:INTEGER;
2 BEGIN
3 TEMP:
www.eeworm.com/read/383713/8923773
c swap.c
/*
* linux/mm/swap.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
/*
* This file should contain most things doing the swapping from/to disk.
* Started 18.12.91
*/
#include
www.eeworm.com/read/284173/8957161
vhd swap.vhd
www.eeworm.com/read/382928/8990039
vhd swap.vhd
www.eeworm.com/read/282865/9055488
vhd swap.vhd
www.eeworm.com/read/184946/9064096
m swap.m
function ndata=swap(data,N)
temp1 =zeros(1,N/2);
temp2=temp1;
ii=2;
n=1;
while ii