代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/209559/4968763
h swap.h
#ifndef _LINUX_SWAP_H
#define _LINUX_SWAP_H
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/209211/4984026
c swap.c
#include
#include
void error(char *);
void
main(int argc, char **argv)
{
Dir *d;
int swapfd, cswfd;
char buf[128], *p;
int i, j;
if(argc != 2) {
print("Usage: swap path\n");
www.eeworm.com/read/209211/4985751
c swap.c
#include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "../port/error.h"
static int canflush(Proc*, Segment*);
static void executeio(void);
static int nee
www.eeworm.com/read/209211/4986166
c swap.c
#include
/*
* big-endian short
*/
ushort
beswab(ushort s)
{
uchar *p;
p = (uchar*)&s;
return (p[0]
www.eeworm.com/read/204040/5035554
asm swap.asm
TITLE SWAP - Swap values
PAGE 56,132
;***
; SWAP - Swap values
;
; Copyright 1986, Microsoft Corporation
;
;Purpose:
;
; BASIC Syntax mapping to included runtime entry points:
;
;
;
www.eeworm.com/read/199943/5074713
h swap.h
#ifndef SWAP_H
#define SWAP_H
#include "system.h"
uint32_t swap_32bit(uint32_t x);
#endif
www.eeworm.com/read/198501/5086930
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/196133/5104319
h swap.h
/* $Id: swap.h,v 1.1 2002/02/06 02:17:07 linfusheng Exp $
*/
#ifndef __SYS_SWAP_BYTES_H
#define __SYS_SWAP_BYTES_H
#undef ntohs
#undef htons
#undef ntohl
#undef htonl
#define ntohs(x)
www.eeworm.com/read/195013/5119201
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