- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 32 for max (0.17 sec)
-
src/builtin/builtin.go
// unbuffered. func make(t Type, size ...IntegerType) Type // The max built-in function returns the largest value of a fixed number of // arguments of [cmp.Ordered] types. There must be at least one argument. // If T is a floating-point type and any of the arguments are NaNs, // max will return NaN. func max[T cmp.Ordered](x T, y ...T) T // The min built-in function returns the smallest value of a fixed number of
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cthread_unix.c
static void* goDummyCallbackThread(void* p) { int i, max; max = *(int*)p; for(i=0; i<max; i++) goDummy(); return NULL; } int callGoInCThread(int max) { pthread_t thread; if (pthread_create(&thread, NULL, goDummyCallbackThread, (void*)(&max)) != 0) return -1; if (pthread_join(thread, NULL) != 0) return -1; return max;
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed May 17 21:53:11 GMT 2023 - 1K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (freebsd-386), const IP_MAXPACKET = 65535 pkg syscall (freebsd-386), const IP_MAX_GROUP_SRC_FILTER = 512 pkg syscall (freebsd-386), const IP_MAX_MEMBERSHIPS = 4095 pkg syscall (freebsd-386), const IP_MAX_SOCK_MUTE_FILTER = 128 pkg syscall (freebsd-386), const IP_MAX_SOCK_SRC_FILTER = 128 pkg syscall (freebsd-386), const IP_MAX_SOURCE_FILTER = 1024 pkg syscall (freebsd-386), const IP_MF = 8192
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
doc/go_spec.html
(and similarly for <code>max</code>). If all arguments are constant, the result is constant. </p> <pre> var x, y int m := min(x) // m == x m := min(x, y) // m is the smaller of x and y m := max(x, y, 10) // m is the larger of x and y but at least 10 c := max(1, 2.0, 10) // c == 10.0 (floating-point kind) f := max(0, float32(x)) // type of f is float32
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
api/except.txt
pkg syscall (darwin-amd64-cgo), const ImplementsGetwd = false pkg syscall (darwin-amd64-cgo), func Fchflags(string, int) error pkg syscall (freebsd-386), const AF_MAX = 38 pkg syscall (freebsd-386), const DLT_MATCHING_MAX = 242 pkg syscall (freebsd-386), const ELAST = 94 pkg syscall (freebsd-386), const ImplementsGetwd = false pkg syscall (freebsd-386), const O_CLOEXEC = 0
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 25 00:13:30 GMT 2023 - 34.6K bytes - Viewed (0) -
src/bufio/scan_test.go
} // slowReader is a reader that returns only a few bytes at a time, to test the incremental // reads in Scanner.Scan. type slowReader struct { max int buf io.Reader } func (sr *slowReader) Read(p []byte) (n int, err error) { if len(p) > sr.max { p = p[0:sr.max] } return sr.buf.Read(p) } // genLine writes to buf a predictable but non-trivial line of text of length
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (freebsd-386-cgo), const IP_MAX_GROUP_SRC_FILTER ideal-int pkg syscall (freebsd-386-cgo), const IP_MAX_MEMBERSHIPS ideal-int pkg syscall (freebsd-386-cgo), const IP_MAX_SOCK_MUTE_FILTER ideal-int pkg syscall (freebsd-386-cgo), const IP_MAX_SOCK_SRC_FILTER ideal-int pkg syscall (freebsd-386-cgo), const IP_MAX_SOURCE_FILTER ideal-int pkg syscall (freebsd-386-cgo), const IP_MF ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2) -
src/archive/zip/writer.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/riscv64.s
CLZ X20, X21 // 931a0a60 CLZW X21, X22 // 1b9b0a60 CPOP X22, X23 // 931b2b60 CPOPW X23, X24 // 1b9c2b60 CTZ X24, X25 // 931c1c60 CTZW X25, X26 // 1b9d1c60 MAX X26, X28, X29 // b36eae0b MAX X26, X28 // 336eae0b MAXU X28, X29, X30 // 33ffce0b MAXU X28, X29 // b3fece0b MIN X29, X30, X5 // b342df0b MIN X29, X30 // 334fdf0b MINU X30, X5, X6 // 33d3e20b
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 22 04:42:21 GMT 2024 - 16.7K bytes - Viewed (1) -
src/bufio/bufio.go
func NewReaderSize(rd io.Reader, size int) *Reader { // Is it already a Reader? b, ok := rd.(*Reader) if ok && len(b.buf) >= size { return b } r := new(Reader) r.reset(make([]byte, max(size, minReadBufferSize)), rd) return r } // NewReader returns a new [Reader] whose buffer has the default size. func NewReader(rd io.Reader) *Reader { return NewReaderSize(rd, defaultBufSize) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 12 14:39:08 GMT 2023 - 21.8K bytes - Viewed (0)