Home
last modified time | relevance | path

Searched +full:test2 +full:. +full:zeros (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/tools/regression/nfsmmap/test2/
H A DMakefile2 PROG= test2
5 CLEANFILES= test2.zeros test2.good test2.data test2.scratch
7 all: test2 test2.zeros test2.good
8 @cp ${.OBJDIR}/test2.zeros ${.OBJDIR}/test2.data
10 ssh ${NFSSERVER} touch ${.OBJDIR}/test2.data; \
12 @cd ${.OBJDIR}; ${.OBJDIR}/test2
13 @if cmp -s ${.OBJDIR}/test2.data ${.OBJDIR}/test2.good && \
14 cmp -s ${.OBJDIR}/test2.scratch ${.OBJDIR}/test2.good ; then \
20 test2.zeros: test2.zeros.uu target
23 test2.good: test2.good.uu
[all …]
H A Dtest2.c1 #include <sys/types.h>
4 #include <unistd.h>
10 char zeros[4096]; in main() local
13 memset(zeros, 0, sizeof zeros); in main()
16 unlink("test2.data"); in main()
17 fd = open("test2.data", O_RDWR|O_CREAT, 0666); in main()
20 if (write(fd, zeros, sizeof zeros) < 0) in main()
21 err(1, "writing zeros"); in main()
25 fd = open("test2.data", O_RDWR); in main()
37 unlink("test2.scratch"); in main()
[all …]
H A Dtest2.zeros.uu1 begin 644 test2.zeros
/freebsd-14.2/contrib/ntp/sntp/libevent/test/
H A Dregress_buffer.c2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu>
737 sz = v[0].iov_len + v[1].iov_len; in test_evbuffer_reserve_many()
753 sz = v[0].iov_len + v[1].iov_len + v[2].iov_len; in test_evbuffer_reserve_many()
1535 "The all-zeros character which may serve\0" in test_evbuffer_readln()
1547 tt_line_eq("The all-zeros character which may serve"); in test_evbuffer_readln()
1720 printf("Allocated: %u.\nWasted: %u.\nUsed: %u.", in test_evbuffer_iterative()
1734 const char* test2 = "1234567890\r"; in test_evbuffer_find() local
1747 evbuffer_add(buf, (unsigned char*)test2, strlen(test2)); in test_evbuffer_find()
1756 evbuffer_drain(buf, strlen(test2)); in test_evbuffer_find()
2534 "Fluttered all winter long into a lake..."; in test_evbuffer_freeze()
[all …]
/freebsd-14.2/contrib/libevent/test/
H A Dregress_buffer.c2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu>
737 sz = v[0].iov_len + v[1].iov_len; in test_evbuffer_reserve_many()
753 sz = v[0].iov_len + v[1].iov_len + v[2].iov_len; in test_evbuffer_reserve_many()
1535 "The all-zeros character which may serve\0" in test_evbuffer_readln()
1547 tt_line_eq("The all-zeros character which may serve"); in test_evbuffer_readln()
1720 printf("Allocated: %u.\nWasted: %u.\nUsed: %u.", in test_evbuffer_iterative()
1734 const char* test2 = "1234567890\r"; in test_evbuffer_find() local
1747 evbuffer_add(buf, (unsigned char*)test2, strlen(test2)); in test_evbuffer_find()
1756 evbuffer_drain(buf, strlen(test2)); in test_evbuffer_find()
2534 "Fluttered all winter long into a lake..."; in test_evbuffer_freeze()
[all …]
/freebsd-14.2/contrib/ntp/ntpd/
H A Dntp_proto.c338 * Make sure that the extra field in the packet is all zeros in valid_NAK()
399 * is intricate... in transmit()
1244 * if has_mac != 0 ... in receive()
1962 peer->bogusorg++; /* for TEST2 or TEST3 */ in receive()
2115 peer->flash |= TEST2; /* bogus */ in receive()
2132 /* Should we set TEST2 if we decide to try xleave? */ in receive()
2134 peer->flash |= TEST2; /* bogus */ in receive()
2175 peer->flash |= TEST2; /* bogus */ in receive()
2689 * paper at www.eecis.udel.edu/~mills for details. in process_packet()
2858 DPRINTF(2, ("packet: del %.6lf r21 %.1lf r34 %.1lf %.6lf\n", in process_packet()
[all …]
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc970 // ...in the middle... in TEST_F()
975 // ...at the end... in TEST_F()
980 // ...and past the end. in TEST_F()
992 // ...in the middle... in TEST_F()
997 // ...and at the end. in TEST_F()
1405 // ... and 3 TestResult objects.
2821 TEST_F(FloatTest, Zeros) { in TEST_F() argument
2978 TEST_F(DoubleTest, Zeros) { in TEST_F() argument
5024 TEST_F(TestLifeCycleTest, Test2) { in TEST_F() argument
5025 // After Test1 is done and Test2 is started, there should still be in TEST_F()
[all …]
/freebsd-14.2/sys/fs/nfs/
H A Dnfs_commonsubs.c5 * The Regents of the University of California. All rights reserved.
325 * place.
683 /* Not Yet.. */ in nfsm_mbufuio()
928 * Called once to initialize data structures...
1512 vp->v_mount->mnt_stat.f_fsid.val[0] || in nfsv4_loadattr()
1514 vp->v_mount->mnt_stat.f_fsid.val[1]) in nfsv4_loadattr()
2629 * And the NFSv4 ACL... in nfsv4_fillattr()
4420 * "nfsv4-test:/sub2,nfsv4-test2:/user/mnt,nfsv4-test2:/user/mnt2"
4581 * doesn't set an upper bound on the side, so...
4924 * just be zeros. in nfsv4_setsequence()
[all …]
/freebsd-14.2/contrib/ntp/
H A DChangeLog557 * Allow .../N to specify subnet bits for IPs in ntp.keys. HStenn, JPerlinger.
560 * Update ntp.keys .../N documentation. HStenn.
897 Danny Mayer. Log incoming packets that fail TEST2. Harlan Stenn.
1086 timespecops.c, timevalops.c, uglydate.c, vi64ops.c, ymd2yd.c.
1092 msyslog.c, prettydate.c, recvbuff.c, sfptostr.c, tstotv.c, tvtots.c,
1524 -- change reading the hash line code: NIST omits leading zeros.
1939 * Distribute ntp.conf.def and ntp.keys.def.
3183 "restrict ... limited" is used.
3672 "restrict ... limited" is used.
4498 * ntp.isc.org -> ntp.org cleanup.
[all …]
H A DCommitLog28228 Log incoming packets that fail TEST2. Harlan Stenn.
28231 Log incoming packets that fail TEST2. Harlan Stenn.
28234 Log incoming packets that fail TEST2. Harlan Stenn.
67002 -- change reading the hash line code: NIST omits leading zeros.
67006 -- change reading the hash line code: NIST omits leading zeros.
67010 -- change reading the hash line code: NIST omits leading zeros.
146279 Silence Microsoft C warning that const var 'zeros' should be initialized.
149134 Correct missing leading zeros in sntp tv_usec display from tv_to_str().
149137 Correct missing leading zeros in sntp tv_usec display from tv_to_str().
177417 use %g printf format instead of %f to trim uninformative zeros
[all …]