Home
last modified time | relevance | path

Searched +full:test1 +full:. +full:zeros (Results 1 – 8 of 8) sorted by relevance

/freebsd/tools/regression/nfsmmap/test1/
H A DMakefile1 PROG= test1
3 NFSSERVER?= herring.nlsystems.com
4 CLEANFILES= test1.zeros test1.good test1.data test1.scratch
6 all: test1 test1.zeros test1.good
7 @cp ${.OBJDIR}/test1.zeros ${.OBJDIR}/test1.data
9 ssh ${NFSSERVER} touch ${.OBJDIR}/test1.data; \
11 @cd ${.OBJDIR}; ${.OBJDIR}/test1
12 @if cmp -s ${.OBJDIR}/test1.data ${.OBJDIR}/test1.good && \
13 cmp -s ${.OBJDIR}/test1.scratch ${.OBJDIR}/test1.good ; then \
19 test1.zeros: test1.zeros.uu target
[all …]
H A Dtest1.c1 #include <sys/types.h>
2 #include <sys/fcntl.h>
3 #include <sys/mman.h>
4 #include <unistd.h>
10 char zeros[4096]; in main() local
13 memset(zeros, 0, sizeof zeros); in main()
16 unlink("test1.data"); in main()
17 fd = open("test1.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()
[all …]
HDtest1.zeros.uu1 begin 644 test1.zeros
/freebsd/crypto/heimdal/doc/
H A Dlayman.asc1 A Layman's Guide to a Subset of ASN.1, BER, and DER
4 Burton S. Kaliski Jr.
9 NIST/OSI Implementors' Workshop document SEC-SIG-91-17.
11 <pkcs@rsa.com>.
14 Data Security, Inc. License to copy this document is granted
15 provided that it is identified as "RSA Data Security, Inc.
17 mentioning or referencing this document.
21 Abstract. This note gives a layman's introduction to a
22 subset of OSI's Abstract Syntax Notation One (ASN.1), Basic
24 (DER). The particular purpose of this note is to provide
[all …]
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_buffer.c2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu>
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
12 * documentation and/or other materials provided with the distribution.
13 * 3. The name of the author may not be used to endorse or promote products
14 * derived from this software without specific prior written permission.
18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 #include "util-internal.h"
[all …]
/freebsd/contrib/libevent/test/
H A Dregress_buffer.c2 * Copyright (c) 2003-2007 Niels Provos <provos@citi.umich.edu>
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
12 * documentation and/or other materials provided with the distribution.
13 * 3. The name of the author may not be used to endorse or promote products
14 * derived from this software without specific prior written permission.
18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 #include "util-internal.h"
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc1 // Copyright 2005, Google Inc.
2 // All rights reserved.
9 // notice, this list of conditions and the following disclaimer.
13 // distribution.
14 // * Neither the name of Google Inc. nor the names of its
16 // this software without specific prior written permission.
21 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
28 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 // Tests for Google Test itself. This verifies that the basic constructs of
32 // Google Test work.
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_proto.c2 * ntp_proto.c - NTP version 4 protocol machinery
5 * (Harlan will be discussing these changes with Dave Mills.)
9 #include <config.h>
12 #include "ntpd.h"
13 #include "ntp_stdlib.h"
14 #include "ntp_unixtime.h"
15 #include "ntp_control.h"
16 #include "ntp_string.h"
17 #include "ntp_leapsec.h"
18 #include "ntp_psl.h"
[all …]