代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/165650/10055347
dsp swap.dsp
# Microsoft Developer Studio Project File - Name="swap" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Cons
www.eeworm.com/read/164463/10106585
h swap.h
#ifndef _LINUX_SWAP_H
#define _LINUX_SWAP_H
#include
#include
#define SWAP_FLAG_PREFER 0x8000 /* set if swap priority specified */
#define SWAP_FLAG_PRIO_MASK 0x7fff
www.eeworm.com/read/360190/10107110
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/360190/10107339
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/163079/10175352
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/358784/10179627
asm swap.asm
TITLE Swap Procedure Example (Swap.asm)
; Demonstration of the Swap procedure, using
; PROTO, PROC, and INVOKE.
; Chapter 5 example. Last update: 07/22/01
INCLUDE Irvine32.inc
www.eeworm.com/read/358191/10194244
h swap.h
#ifndef Swap_
#define Swap_
template
inline void Swap(T& a, T& b)
{// Swap a and b.
T temp = a; a = b; b = temp;
}
#endif
www.eeworm.com/read/358191/10194563
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/357878/10198971