代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/162614/5539567
cc swap.cc
// Copyright (C) 2004, 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms
www.eeworm.com/read/162614/5539578
cc swap.cc
// Copyright (C) 2004 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the
www.eeworm.com/read/162614/5539623
cc swap.cc
// Copyright (C) 2004, 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms
www.eeworm.com/read/162614/5539633
cc swap.cc
// Copyright (C) 2004, 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms
www.eeworm.com/read/162614/5539660
cc swap.cc
// Copyright (C) 2004, 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms
www.eeworm.com/read/162614/5540212
cc swap.cc
// Copyright (C) 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the
www.eeworm.com/read/162614/5540217
cc swap.cc
// Copyright (C) 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the
www.eeworm.com/read/159825/5580830
h swap.h
#ifndef _LINUX_SWAP_H
#define _LINUX_SWAP_H
#define SWAP_FLAG_PREFER 0x8000 /* set if swap priority specified */
#define SWAP_FLAG_PRIO_MASK 0x7fff
#define SWAP_FLAG_PRIO_SHIFT 0
#define MAX_
www.eeworm.com/read/158106/5598423
h swap.h
/*
* Copyright (c) 2001 Greg Haerr
*
* Byte and word swapping header file for big/little endian mapping
*/
#include
#include
#if __BYTE_ORDER == __BIG_E
www.eeworm.com/read/233441/6788006
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;
}