Home
last modified time | relevance | path

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

/freebsd-12.1/tools/regression/nfsmmap/test2/
H A DMakefile3 PROG= test2
6 CLEANFILES= test2.zeros test2.good test2.data test2.scratch
8 all: test2 test2.zeros test2.good
9 @cp ${.OBJDIR}/test2.zeros ${.OBJDIR}/test2.data
11 ssh ${NFSSERVER} touch ${.OBJDIR}/test2.data; \
13 @cd ${.OBJDIR}; ${.OBJDIR}/test2
14 @if cmp -s ${.OBJDIR}/test2.data ${.OBJDIR}/test2.good && \
15 cmp -s ${.OBJDIR}/test2.scratch ${.OBJDIR}/test2.good ; then \
21 test2.zeros: test2.zeros.uu target
24 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-12.1/contrib/ntp/sntp/libevent/test/
H A Dregress_buffer.c2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu>
462 sz = v[0].iov_len + v[1].iov_len; in test_evbuffer_reserve_many()
478 sz = v[0].iov_len + v[1].iov_len + v[2].iov_len; in test_evbuffer_reserve_many()
1098 "The all-zeros character which may serve\0" in test_evbuffer_readln()
1110 tt_line_eq("The all-zeros character which may serve"); in test_evbuffer_readln()
1283 printf("Allocated: %u.\nWasted: %u.\nUsed: %u.", in test_evbuffer_iterative()
1297 const char* test2 = "1234567890\r"; in test_evbuffer_find() local
1310 evbuffer_add(buf, (u_char*)test2, strlen(test2)); in test_evbuffer_find()
1319 evbuffer_drain(buf, strlen(test2)); in test_evbuffer_find()
2008 "Fluttered all winter long into a lake..."; in test_evbuffer_freeze()
[all …]
/freebsd-12.1/sys/dev/sn/
H A Dif_sn.c60 * Serge Babkin babkin@hq.icb.chel.su
65 * o "smc9194.c:v0.10(FIXED) 02/15/96 by Erik Stahlman (erik@vt.edu)"
80 * Multicast support by Kei TANAKA <kei@pal.xerox.com>
320 * Set the transmitter control. We want it enabled. in sninit_locked()
502 * and the status word (set to zeros) in snstart_locked()
546 * desired. in snstart_locked()
589 * packets.
701 * and the status word (set to zeros) in snresume()
1136 * changes.
1313 device_printf(dev, "test2 failed\n"); in sn_probe()
[all …]
/freebsd-12.1/contrib/libevent/test/
H A Dregress_buffer.c2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu>
604 sz = v[0].iov_len + v[1].iov_len; in test_evbuffer_reserve_many()
620 sz = v[0].iov_len + v[1].iov_len + v[2].iov_len; in test_evbuffer_reserve_many()
1345 "The all-zeros character which may serve\0" in test_evbuffer_readln()
1357 tt_line_eq("The all-zeros character which may serve"); in test_evbuffer_readln()
1530 printf("Allocated: %u.\nWasted: %u.\nUsed: %u.", in test_evbuffer_iterative()
1544 const char* test2 = "1234567890\r"; in test_evbuffer_find() local
1557 evbuffer_add(buf, (unsigned char*)test2, strlen(test2)); in test_evbuffer_find()
1566 evbuffer_drain(buf, strlen(test2)); in test_evbuffer_find()
2282 "Fluttered all winter long into a lake..."; in test_evbuffer_freeze()
[all …]
/freebsd-12.1/contrib/gcc/
H A Difcvt.c1635 /* ??? Reject modes with NaNs or signed zeros since we don't know how in noce_try_minmax()
1637 to get the target to tell us... */ in noce_try_minmax()
2129 /* Call target hook to avoid the effects of -fpic etc.... */ in noce_mem_write_may_trap_or_fault_p()
2185 (1) if (...) x = a; else x = b; in noce_process_if_block()
2186 (2) x = b; if (...) x = a; in noce_process_if_block()
2187 (3) if (...) x = a; // as if with an initial x = x. in noce_process_if_block()
3315 if (test2) goto F;
3316 ...
3325 if (test2) goto F;
3339 if (test2) goto F;
[all …]
/freebsd-12.1/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()
1202 * if has_mac != 0 ... in receive()
1892 peer->bogusorg++; /* for TEST2 or TEST3 */ in receive()
2036 peer->flash |= TEST2; /* bogus */ in receive()
2050 /* Should we set TEST2 if we decide to try xleave? */ in receive()
2052 peer->flash |= TEST2; /* bogus */ in receive()
2094 peer->flash |= TEST2; /* bogus */ in receive()
2614 * paper at www.eecis.udel.edu/~mills for details. in process_packet()
2784 DPRINTF(2, ("packet: del %.6lf r21 %.1lf r34 %.1lf %.6lf\n", in process_packet()
[all …]
/freebsd-12.1/contrib/gcc/doc/
H A Drtl.texi5 @c For copying conditions, see the file gcc.texi.
188 @code{CALL_INSN}. @xref{Insns}.
849 once. Stored in the @code{used} field.
1345 must be sign extended to full width (e.g., with @code{gen_int_mode}).
1958 When used with floating point, if both operands are zeros, or if either
2106 if the relation holds, or of zeros if it does not, for comparison operators
2207 @item (cond [@var{test1} @var{value1} @var{test2} @var{value2} @dots{}] @var{default})
2209 @var{test2}, @dots{} is performed in turn. The result of this expression is
2252 are filled to an entire word with zeros instead of by sign-extension.
3098 @file{final.c}.
[all …]
H A Dmd.texi634 etc.).
2734 @item 0..9:
3408 if both operands are zeros, or if either operand is @code{NaN}, then
4679 @c tetex-1.0.7, known to work: tetex-2.0.2.
6142 @itemx (ior @var{test1} @var{test2})
6143 @itemx (and @var{test1} @var{test2})
7199 "@var{test2}"
7213 "(@var{test2}) && (@var{test1})"
7419 (define_insn ...
7420 (sign_extend:LONG (match_operand:<LONG:SHORT> ...)) ...)
[all …]
/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc919 // ...in the middle... in TEST_F()
924 // ...at the end... in TEST_F()
929 // ...and past the end. in TEST_F()
941 // ...in the middle... in TEST_F()
946 // ...and at the end. in TEST_F()
1363 // ... and 3 TestResult objects.
2775 TEST_F(FloatTest, Zeros) { in TEST_F() argument
2948 TEST_F(DoubleTest, Zeros) { in TEST_F() argument
5087 TEST_F(TestLifeCycleTest, Test2) { in TEST_F() argument
5088 // After Test1 is done and Test2 is started, there should still be in TEST_F()
[all …]
/freebsd-12.1/sys/fs/nfs/
H A Dnfs_commonsubs.c5 * The Regents of the University of California. All rights reserved.
284 * place.
335 nfsv4_opflag[nfsv4_opmap[procnum].op].needscfh; in nfscl_reqstart()
607 /* Not Yet.. */ in nfsm_mbufuio()
653 * cases.
824 * Called once to initialize data structures...
2224 * NULL.
2491 * And the NFSv4 ACL... in nfsv4_fillattr()
4166 * "nfsv4-test:/sub2,nfsv4-test2:/user/mnt,nfsv4-test2:/user/mnt2"
4327 * doesn't set an upper bound on the side, so...
[all …]
/freebsd-12.1/contrib/gperf/
H A DChangeLog4 * src/version.cc: Bump to 3.0.3.
5 * tests/*.exp: Bump to 3.0.3 in header.
6 * doc/gperf.1: Regenerate with gperf 3.0.3.
33 * src/config.h.in: Likewise.
34 * src/config.h.msvc: Likewise.
55 * tests/test2.c (in_word_set): Likewise.
1675 * tests/lang-ucs2.gperf, tests/test2.c, tests/lang-ucs2.in,
2829 2. Initialize the boolean array to zeros, and consider the first
3021 weren't so bad after all.... ;-).
3034 program....
[all …]
/freebsd-12.1/contrib/ntp/
H A DChangeLog288 * Allow .../N to specify subnet bits for IPs in ntp.keys. HStenn, JPerlinger.
291 * Update ntp.keys .../N documentation. HStenn.
628 Danny Mayer. Log incoming packets that fail TEST2. Harlan Stenn.
817 timespecops.c, timevalops.c, uglydate.c, vi64ops.c, ymd2yd.c.
823 msyslog.c, prettydate.c, recvbuff.c, sfptostr.c, tstotv.c, tvtots.c,
1255 -- change reading the hash line code: NIST omits leading zeros.
1670 * Distribute ntp.conf.def and ntp.keys.def.
2914 "restrict ... limited" is used.
3403 "restrict ... limited" is used.
4229 * ntp.isc.org -> ntp.org cleanup.
[all …]
H A DCommitLog18159 Log incoming packets that fail TEST2. Harlan Stenn.
18162 Log incoming packets that fail TEST2. Harlan Stenn.
18165 Log incoming packets that fail TEST2. Harlan Stenn.
56933 -- change reading the hash line code: NIST omits leading zeros.
56937 -- change reading the hash line code: NIST omits leading zeros.
56941 -- change reading the hash line code: NIST omits leading zeros.
136210 Silence Microsoft C warning that const var 'zeros' should be initialized.
139065 Correct missing leading zeros in sntp tv_usec display from tv_to_str().
139068 Correct missing leading zeros in sntp tv_usec display from tv_to_str().
167348 use %g printf format instead of %f to trim uninformative zeros
[all …]