Searched refs:max (Results 1 - 25 of 290) sorted by relevance

1234567891011>>

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/List/Util/t/
H A Dmax.t17 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 Drand.t46 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 Ddie_exit.t43 my $max = keys %tests;
45 print "1..$max\n";
50 foreach my $test (1 .. $max) {
H A Dreaddir.t27 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 Dinit_color.c128 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 Dstrap-analyze.t39 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 Dtest-harness.t38 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 Dstrap.t66 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 DSLPGetRefreshInterval.c50 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 Duu_strtoint.c165 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 Dwmemcpy.c41 size_t max = SIZE_MAX / sizeof (wchar_t); local
43 if (n <= max) {
51 if (n > max) {
52 len = max;
H A Dwmemmove.c40 size_t max = SIZE_MAX / sizeof (wchar_t); local
42 if (n <= max) {
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dpt-common.h20 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 Dpt-tools.h28 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 DDistribution.java167 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 Dlook.pl14 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 Dmechstr.c101 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 Dcache.c66 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 Ddnsglue.h132 #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 Ddemo4.pl4 : Purpose(to store max storage capacity for files)
/osnet-11/usr/src/grub/grub2/grub-core/bus/usb/
H A Dusbtrans.c76 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 DNetra-X4200-M2-disk-hc-topology.xmlgen32 <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 DSun-Fire-X4200-M2-disk-hc-topology.xmlgen32 <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 DSun-Fire-X4200-Server-disk-hc-topology.xmlgen32 <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 DSun-Fire-X4600-M2-disk-hc-topology.xmlgen32 <range name='bay' min='0' max='3'>
63 <range name='disk' min='0' max='0'>

Completed in 78 milliseconds

1234567891011>>