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

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D990404-1.c10 int i, mi, max; local
11 max = 0;
13 if (x[i] > max) {
14 max = x[i];
18 if (max == 0)
/openbsd-current/games/trek/
H A Dranf.c38 ranf(int max) argument
42 if (max <= 0)
45 return (t % max);
/openbsd-current/gnu/usr.bin/perl/cpan/IPC-Cmd/t/src/
H A Doutput.pl8 my $max = shift || 4;
9 for ( 1..$max ) {
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dmissed-error2.C11 inline int max(int a, int b) {return a > b ? a : b;}; // ERROR - candidate function
12 inline double max(double a, double b) {return a > b ? a : b;}; // ERROR - candidate function
24 std::cout << "Max(int): " << max(i,j) << " Max(double): " <<
25 max(x,y) << '\n';
26 std::cout << "Max(int, double): " << max(i, y) << '\n';// ERROR -
H A Darm5.C10 int & max( int & a, int & b) { function
17 int & c = max( a, b);
/openbsd-current/regress/usr.sbin/bgpd/integrationtests/
H A Dbgpd.maxcomm.rdomain1.conf15 match from any max-communities 0 set metric +1
16 match from any max-ext-communities 0 set metric +10
17 match from any max-large-communities 0 set metric +100
19 match from any max-communities 2 set metric +2
20 match from any max-ext-communities 2 set metric +20
21 match from any max-large-communities 2 set metric +200
23 match from any max-communities 1 max-ext-communities 1 max-large-communities 1 \
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dcrash12.C4 inline float max(float x, float y) { return (x>y)?x:y; } function
8 float f = (y<x)?x:(max<y)?z:y; // ERROR -
H A Dtemplate19.C2 template <class T> T max (const T a, const T b) { return a>b?a:b; } function
7 int c = max (a, b);
8 int d = max ((const int)a, (const int)b);
/openbsd-current/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/
H A Dmax.t7 use List::Util qw(max);
11 ok(defined &max, 'defined');
13 $v = max(1);
16 $v = max (1,2);
19 $v = max(2,1);
24 $v = max(@a);
31 $v = max($one,$two,$thr);
34 $v = max($thr,$two,$one);
57 $v = max($v1,$v2,$v1,$v3,$v1);
60 $v = max(
[all...]
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb79.C7 T max(T a, T b) function
13 double max<>(double, double); // ERROR - bogus code
14 // int max(int, int);
22 cout << max(d, i) << endl; // #1
23 cout << max(i, d) << endl; // #2
/openbsd-current/gnu/usr.bin/perl/dist/ExtUtils-ParseXS/t/
H A D101-standard_typemap_locations.t25 my $max = $#INC;
26 $max = $#stl if $#stl < $max;
27 foreach my $i (0.. $max) {
28 $max = $i, last if $stl[$i] =~ /\Q$updir\E/;
32 ( 0 < (grep -f $_, @stl[0..$max]) ),
/openbsd-current/usr.bin/vis/
H A Dfoldit.c35 int foldit(char *chunk, int col, int max);
38 foldit(char *chunk, int col, int max) argument
64 if (col > (max - 2)) {
/openbsd-current/regress/sys/kern/sosplice/tcp/
H A Dargs-max-time.pl13 max => 63,
18 max => 63,
H A Dargs-max-sleep-client-nonblock.pl14 max => 113,
H A Dargs-max-sleep-client-short.pl13 max => 113,
H A Dargs-max-sleep-client.pl14 max => 32117,
H A Dargs-max-sleep-relay-short.pl13 max => 113,
/openbsd-current/sys/lib/libkern/
H A Dmax.c1 /* $OpenBSD: max.c,v 1.4 2004/08/07 00:38:32 deraadt Exp $ */
2 /* $NetBSD: max.c,v 1.3 1996/03/14 18:52:12 christos Exp $ */
39 max(unsigned int a, unsigned int b) function
/openbsd-current/gnu/llvm/clang/utils/ABITest/return-types-32/
H A DMakefile7 TESTARGS += --max-args 0
/openbsd-current/gnu/llvm/clang/utils/ABITest/return-types-64/
H A DMakefile7 TESTARGS += --max-args 0
/openbsd-current/gnu/llvm/clang/utils/ABITest/single-args-32/
H A DMakefile7 TESTARGS += --no-function-return --max-args 1
/openbsd-current/gnu/llvm/clang/utils/ABITest/single-args-64/
H A DMakefile13 TESTARGS += --no-function-return --max-args 1
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/25_algorithms/
H A Dmin_max.cc27 const int& x = std::max(1, 2);
28 const int& y = std::max(3, 4);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/template/
H A Dcrash2.C7 static const EnumType size = max; // { dg-error "" }
16 enum E { max = 5 }; enumerator in enum:N::E
/openbsd-current/lib/libc/gen/
H A Dgetbsize.c40 long n, max, mul, blocksize; local
58 max = MAXB / GB;
63 max = MAXB / KB;
68 max = MAXB / MB;
72 max = MAXB;
78 max = MAXB;
82 if (n > max) {
84 n = max;

Completed in 278 milliseconds

1234567891011>>