代码搜索:Check
找到约 10,000 项符合「Check」的源代码
代码结果 10,000
www.eeworm.com/read/346457/3182750
svn-base check_time1.c.svn-base
/* Basic time functionality test: check that milliseconds are
incremented for each syscall (does not work on host). */
#include
#include
#include
#include
www.eeworm.com/read/346457/3182755
svn-base check_addiv32.s.svn-base
# mach: crisv32
# output: 4455aa77\n4455aa77\nee19ccff\nff22\n4455aa77\nff224455\n55aa77ff\n
.include "testutils.inc"
.data
x:
.dword 0x55aa77ff
.dword 0xccff2244
.dword 0x88ccee19
start
setf
www.eeworm.com/read/346457/3182757
svn-base check_clearfv32.s.svn-base
# mach: crisv32
# output: ef\nef\n
; Check that "clearf x" doesn't trivially fail.
.include "testutils.inc"
start
setf puixnzvc
clearf x ; Actually, x would be cleared by almost-all other insns.
www.eeworm.com/read/346457/3182763
svn-base check_mmap3.c.svn-base
/*
#notarget: cris*-*-elf
*/
#define _GNU_SOURCE
#include
#include
#include
#include
#include
#include
#include
int
www.eeworm.com/read/346457/3182764
svn-base check_stat1.c.svn-base
#include
#include
#include
#include
#include
int main (void)
{
struct stat buf;
if (stat (".", &buf) != 0
|| !S_ISDIR (buf.st_mod
www.eeworm.com/read/346457/3182774
svn-base check_movemrv32.s.svn-base
# mach: crisv32
# output: 15\n7\n2\nffff1234\nb\n16\nf\n2\nffffffef\nf\nffff1234\nf\nfffffff4\nd\nfffffff2\n10\nfffffff2\nd\n
.include "testutils.inc"
.data
x:
.dword 8,9,10,11
y:
.dword -12,13,-
www.eeworm.com/read/346457/3182775
svn-base check_stat2.c.svn-base
/*
#notarget: cris*-*-elf
*/
#include
#include
#include
#include
#include
int main (void)
{
struct stat buf;
if (lstat (".", &buf) !=
www.eeworm.com/read/346457/3182777
svn-base check_openpf5.c.svn-base
/* Check that TRT happens when error on too many opened files.
#notarget: cris*-*-elf
#sim: --sysroot=@exedir@
*/
#include
#include
#include
#include
#includ
www.eeworm.com/read/346457/3182778
svn-base check_movprv32.s.svn-base
# mach: crisv32
# output: ffffff20\nbb113344\n
# Test v32-specific special registers. FIXME: more registers.
.include "testutils.inc"
start
moveq -1,r3
setf zcvn
move vr,r3
test_cc 1 1 1 1
c
www.eeworm.com/read/346457/3182779
svn-base check_int64.c.svn-base
#include
#include
#include
#include "sys.h"
#include "crisutils.h"
extern inline int64_t add64(const int64_t a, const int64_t b) {
return a + b;
}
extern inline int