代码搜索:test1
找到约 3,239 项符合「test1」的源代码
代码结果 3,239
www.eeworm.com/read/162614/5530781
c 20020607-2.c
/* Copyright (C) 2002 Free Software Foundation.
Test for correctness of floating point comparisons.
Written by Roger Sayle, 3rd June 2002. */
/* { dg-do run } */
/* { dg-options "-O2 -ffast-
www.eeworm.com/read/370004/9625702
makefile
CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall -g
TARGETS = test1 test2 test4 test5
all: $(TARGETS)
clean:
rm -f *~ $(TARGETS) *.o
www.eeworm.com/read/237563/13944967
c ini_test.c
/*************************************************************************
created: 2005/10/19
created: 19:10:2005 13:54
filename: ini_test.c
file path: .\INIMa
www.eeworm.com/read/461848/1549538
m test1.m
function varargout = test1(varargin)
% TEST1 M-file for test1.fig
% TEST1, by itself, creates a new TEST1 or raises the existing
% singleton*.
%
% H = TEST1 returns the handle to a
www.eeworm.com/read/229983/14309705
makefile
COMP = vcom
FLAGS = -work work -check_synthesis
#rtl -level source codes
RTL_SRC = \
src/bytepermutation.vhd \
src/bytepermutation_fwd_rtl.vhd \
src/keyexpansion.vhd \
src/keyexpansion_fwd_rtl.vhd \
www.eeworm.com/read/162614/5526604
c 20000715-1.c
void abort(void);
void exit(int);
void
test1(void)
{
int x = 3, y = 2;
if ((x < y ? x++ : y++) != 2)
abort ();
if (x != 3)
abort ();
if (y != 3)
abort ();
}
void
test2(void)
{
www.eeworm.com/read/162614/5527511
c divcmp-2.c
extern void abort (void);
int test1(int x)
{
return x/10 == 2;
}
int test2(int x)
{
return x/10 == 0;
}
int test3(int x)
{
return x/10 == -2;
}
int test4(int x)
{
return x/-10 == 2;
}
int
www.eeworm.com/read/162614/5531483
c pr9814-1.c
/* PR tree-optimization/9814 */
/* { dg-do run } */
/* { dg-options "-O2" } */
extern void abort(void);
int test1(int x)
{
if (x & 2)
x |= 2;
return x;
}
int test2(int x)
{
if (!(x & 2))