代码搜索:SWAP
找到约 10,000 项符合「SWAP」的源代码
代码结果 10,000
www.eeworm.com/read/126100/14445846
h m_swap.h
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id:$
//
// Copyright (C) 1993-1996 by id Software, Inc.
//
// Th
www.eeworm.com/read/124283/14579900
c test_swap.c
#include
#include
#include
#include
#include "tests.h"
void
test_swap (void) {
const double flteps = 1e-4, dbleps = 1e-6;
www.eeworm.com/read/124283/14581695
c swap_source.c
/* vector/swap_source.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms
www.eeworm.com/read/124283/14581797
c swap_source.c
/* matrix/swap_source.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms
www.eeworm.com/read/223007/14664738
c swap2.c
/*
** Exchange two integers in the calling program.
*/
void
swap( int *x, int *y )
{
int temp;
temp = *x;
*x = *y;
*y = temp;
}
www.eeworm.com/read/223007/14664750
c swap1.c
/*
** Exchange two integers in the calling program (doesn't work!).
*/
void
swap( int x, int y )
{
int temp;
temp = x;
x = y;
y = temp;
}
www.eeworm.com/read/122349/14698920
cc swap_rows.cc
//
// Copyright 1997, University of Notre Dame.
// Authors: Andrew Lumsdaine, Jeremy G. Siek
//
// This file is part of the Matrix Template Library
//
// You should have received a copy of the License
www.eeworm.com/read/122349/14698946
cc vecvec_swap.cc
#include
#include
#include
/*
example output:
[2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1]
[1,1,1,1,1,1,1,1,1,1]
*/
int
main()
{
using namespace mt
www.eeworm.com/read/119982/14815153
cpp swap_b.cpp
#include
#include "Swap_B.h"
#if defined (WIN32)
#define IS_WIN32 TRUE
#else
#define IS_WIN32 FALSE
#endif
#define IS_NT IS_WIN32 && (BOOL)(GetVersion() < 0x8000000
www.eeworm.com/read/119982/14815154
rc swap_b.rc
#include "windows.h"
#include "Swap_B.h"
MYAPP ICON DISCARDABLE "GENERIC.ICO"
MYAPP MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit",