代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/192089/8407523
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/190158/8446834
c swap.c
#include
main()
{
int byte1, byte2;
byte1 = getchar();
byte2 = getchar();
while (byte2 != EOF) {
putchar((byte2 & 0xFF));
putchar((byte1 & 0xFF));
byte1 = getchar();
www.eeworm.com/read/290548/8477037
c swap.c
/*
* linux/kernel/power/swap.c
*
* This file provides functions for reading the suspend image from
* and writing it to a swap partition.
*
* Copyright (C) 1998,2001-2005 Pavel Machek
www.eeworm.com/read/289731/8531923
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/388784/8576473
cpp swap.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/388784/8576894
cpp swap.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/288910/8594628
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/287520/8684271
c swap.c
/* swap.c -- swap two complex numbers (by their addresses) */
#include
void swap(a,b)
complex *a, *b;
{
complex t;
t = *a;
*a = *b;
*b = t;
}
www.eeworm.com/read/431013/8713795
c swap.c
#include
#define LENGTH 80
main(int argc, char *argv[])
{
char c1[LENGTH],
c2[LENGTH],
rep[LENGTH],
string[LENGTH],
string2[LENGTH];
FILE
www.eeworm.com/read/386806/8724525
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