/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/t/ |
H A D | max.t | 17 use List::Util qw(max); 21 print "not " unless defined &max; 24 print "not " unless max(1) == 1; 27 print "not " unless max(1,2) == 2; 30 print "not " unless max(2,1) == 2; 35 print "not " unless max(@a) == $b[-1];
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/ |
H A D | rand.t | 46 my($max, $min, $sum); # Characteristics of rand 50 $max = $min = rand(1); 70 $max = $n if $n > $max; 84 unless (ok( !$max <= 0 or $max >= (2 ** $randbits))) {# Just in case... 86 # max=[$max] min=[$min] 100 $off = log($max) / log(2); # log2 104 print "# max [all...] |
H A D | die_exit.t | 43 my $max = keys %tests; 45 print "1..$max\n"; 50 foreach my $test (1 .. $max) {
|
H A D | readdir.t | 27 my ($min, $max) = (115, 135); 28 if (@D > $min && @D < $max) { print "ok 2\n"; } 30 printf "not ok 2 # counting op/*.t, expect $min < %d < $max files\n",
|
/osnet-11/usr/src/lib/libcurses/screen/ |
H A D | init_color.c | 128 double max, min; local 132 max = MAX(r, g, b); 137 l = (max + min) / 2; 141 if (max == min) { 146 s = (max - min) / (max + min); 148 s = (max - min) / (2 - max - min); 152 rc = (max - r) / (max [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Test/Harness/t/ |
H A D | strap-analyze.t | 39 max => 10, 77 max => 5, 109 max => 10, 127 max => 4, 145 max => 4, 163 max => 4, 183 max => 0, 200 max => 5, 218 max => 5, 240 max [all...] |
H A D | test-harness.t | 38 max => 5, 54 max => 5, 72 max => 5, 88 max => 5, 106 max => 5, 122 max => 3, 138 max => 5, 154 max => 1, 171 max => 10, 189 max [all...] |
H A D | strap.t | 66 ok( (!grep { exists $strap->{$_} } qw(max todo skip_all)), 67 " max, todo and skip_all are not set" ); 71 my @attribs = qw(max skip_all todo); 73 '1..2' => { max => 2 }, 74 '1..1' => { max => 1 }, 75 '1..0' => { max => 0, 78 '1..0 # Skipped: no leverage found' => { max => 0, 81 '1..4 # Skipped: no leverage found' => { max => 4, 84 '1..0 # skip skip skip because' => { max => 0, 87 '1..10 todo 2 4 10' => { max [all...] |
/osnet-11/usr/src/lib/libslp/clib/ |
H A D | SLPGetRefreshInterval.c | 50 int mr = 0; /* max results placeholder */ 51 unsigned short max = 0; /* max interval result cookie */ local 79 &max, &collator, &mr); 83 &max, &collator, &mr); 91 return (max); 98 unsigned short *max = (unsigned short *)cookie; local 106 *max = 0; 119 if (anint > *max) { 120 *max [all...] |
/osnet-11/usr/src/lib/libuutil/common/ |
H A D | uu_strtoint.c | 165 int64_t min, int64_t max) 170 if (min > max) 175 if (max > INT8_MAX || min < INT8_MIN) 179 if (max > INT16_MAX || min < INT16_MIN) 183 if (max > INT32_MAX || min < INT32_MIN) 187 if (max > INT64_MAX || min < INT64_MIN) 194 if (min == 0 && max == 0) { 196 max = (1ULL << (8 * sz - 1)) - 1; 207 } else if (val > max) { 236 uint64_t min, uint64_t max) 164 uu_strtoint(const char *s, void *v, size_t sz, int base, int64_t min, int64_t max) argument 235 uu_strtouint(const char *s, void *v, size_t sz, int base, uint64_t min, uint64_t max) argument [all...] |
/osnet-11/usr/src/lib/libc/port/i18n/ |
H A D | wmemcpy.c | 41 size_t max = SIZE_MAX / sizeof (wchar_t); local 43 if (n <= max) { 51 if (n > max) { 52 len = max;
|
H A D | wmemmove.c | 40 size_t max = SIZE_MAX / sizeof (wchar_t); local 42 if (n <= max) {
|
/osnet-11/usr/src/lib/libparted/common/libparted/labels/ |
H A D | pt-common.h | 20 PedSector max; \ 21 int err = ptt_partition_max_start_sector (#PT_type, &max); \ 23 return max; \ 29 PedSector max; \ 30 int err = ptt_partition_max_length (#PT_type, &max); \ 32 return max; \
|
H A D | pt-tools.h | 28 int ptt_partition_max_start_sector (char const *pt_type, PedSector *max); 29 int ptt_partition_max_length (char const *pt_type, PedSector *max);
|
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | Distribution.java | 167 long max; // next bucket minus one 168 long[] range; // two element array: { min, max } 173 max = range[1]; 174 bucket = new Distribution.Bucket(min, max, frequencies[i]); 210 long max = range[1]; 216 if (bucket.getMax() != max) { 217 throw new IllegalArgumentException("bucket max " + 218 bucket.getMax() + " at index " + i + ", expected " + max); 350 * Distribution} are consecutive, such that the max of one bucket is 363 private final long max; field in class:Distribution.Bucket [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | look.pl | 14 local($max,$min,$mid,$_); 20 $max = int($size / $blksize); 21 while ($max - $min > 1) { 22 $mid = int(($max + $min) / 2); 33 $max = $mid;
|
/osnet-11/usr/src/lib/libsoftcrypto/common/ |
H A D | mechstr.c | 101 static const int max = sizeof (mechstrlist) / sizeof (mechstr_t); local 107 pos = snprintf(s, MAXSTRLEN, "%d:", max); 108 for (i = 0; i < max; i++) 126 static const int max = sizeof (mechstrlist) / sizeof (mechstr_t); local 132 for (i = 0; i < max; i++) {
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | cache.c | 66 int i, max, rc; local 91 max = GRABSIZE; 94 if ( i == (max - 1) ) { 95 max += GRABSIZE; 97 sizeof(LDAPMod *) * max ); 130 if ( i == (max - 1) ) { 131 max++; 133 sizeof(LDAPMod *) * max );
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnsglue.h | 132 #define INCR_OK(base, max, ptr, incr) \ 133 ((incr) <= (max) - ((const unsigned char *)(ptr) \ 144 #define SAFE_GETUINT16(base, max, ptr, incr, s, label) \ 146 if (!INCR_OK(base, max, ptr, incr)) goto label; \
|
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Attribute/Handlers/demo/ |
H A D | demo4.pl | 4 : Purpose(to store max storage capacity for files)
|
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/ |
H A D | usbtrans.c | 76 unsigned int max; local 116 max = dev->descdev.maxsize0; 118 max = 64; 122 datablocks = (size + max - 1) / max; 131 transfer->max = max; 162 tr->size = (size > max) ? max : size; 170 tr->data = data_addr + i * max; 208 unsigned int max; local [all...] |
/osnet-11/usr/src/lib/fm/topo/maps/SUNW,Netra-X4200-M2/ |
H A D | Netra-X4200-M2-disk-hc-topology.xmlgen | 32 <range name='bay' min='0' max='3'> 63 <range name='disk' min='0' max='0'>
|
/osnet-11/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4200-M2/ |
H A D | Sun-Fire-X4200-M2-disk-hc-topology.xmlgen | 32 <range name='bay' min='0' max='3'> 63 <range name='disk' min='0' max='0'>
|
/osnet-11/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4200-Server/ |
H A D | Sun-Fire-X4200-Server-disk-hc-topology.xmlgen | 32 <range name='bay' min='0' max='3'> 63 <range name='disk' min='0' max='0'>
|
/osnet-11/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4600-M2/ |
H A D | Sun-Fire-X4600-M2-disk-hc-topology.xmlgen | 32 <range name='bay' min='0' max='3'> 63 <range name='disk' min='0' max='0'>
|