代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/161587/10394854
cpp swap.cpp
// exchange values of two elements
#include
#include "swap.h"
void main(void)
{
int a = 2, b = 3;
Swap(a,b);
cout
www.eeworm.com/read/279369/10443224
bas swap.bas
'--------------------------------------------------------------
' (c) 1997-2000 MCS Electronics
'--------------------------------------------------------------
' file: SWAP.BAS
'
www.eeworm.com/read/424281/10474551
c swap.c
#include
#include
#include
#define BASE_GSL_COMPLEX_LONG
#include "templates_on.h"
#include "swap_source.c"
#include "templates_off.h"
#undef BASE_GSL
www.eeworm.com/read/424281/10474780
c swap.c
#include
#include
#include
#include
#define BASE_GSL_COMPLEX_LONG
#include "templates_on.h"
#include "swap_source.c"
#include "templ
www.eeworm.com/read/278816/10504524
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/352754/10515069
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/278575/10527591
h swap.h
#ifndef __SWAP_H__
#define __SWAP_H__
// swaps two elements
template inline void Swap(T& x, T& y)
{
T temp;
temp = x;
x = y;
y = temp;
}
// swaps two elements and returns
www.eeworm.com/read/160176/10560616
vhd swap.vhd
www.eeworm.com/read/160176/10560696
vhd swap.vhd
www.eeworm.com/read/159946/10585235
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;
}