- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Min (0.32 sec)
-
src/builtin/builtin.go
// 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 // 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, // min will return NaN. func min[T cmp.Ordered](x T, y ...T) T
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/asm/internal/asm/expr_test.go
// Unary {"-0", 0, true}, {"~0", -1, true}, {"~0*0", 0, true}, {"+3", 3, true}, {"-3", -3, true}, {"-9223372036854775808", -9223372036854775808, true}, // min int64 // Binary {"3+4", 3 + 4, true}, {"3-4", 3 - 4, true}, {"2|5", 2 | 5, true}, {"3^4", 3 ^ 4, true}, {"3*4", 3 * 4, true}, {"14/4", 14 / 4, true}, {"3<<4", 3 << 4, true}, {"48>>3", 48 >> 3, true},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.2K bytes - Viewed (0) -
src/archive/tar/writer.go
var nf int // Bytes written in fragment dataStart, dataEnd := sw.sp[0].Offset, sw.sp[0].endOffset() if sw.pos < dataStart { // In a hole fragment bf := b[:min(int64(len(b)), dataStart-sw.pos)] nf, err = zeroWriter{}.Write(bf) } else { // In a data fragment bf := b[:min(int64(len(b)), dataEnd-sw.pos)] nf, err = sw.fw.Write(bf) } b = b[nf:] sw.pos += int64(nf) if sw.pos >= dataEnd && len(sw.sp) > 1 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
doc/go1.17_spec.html
} </pre> <p> A function declaration may omit the body. Such a declaration provides the signature for a function implemented outside Go, such as an assembly routine. </p> <pre> func min(x int, y int) int { if x < y { return x } return y } func flushICache(begin, end uintptr) // implemented externally </pre> <h3 id="Method_declarations">Method declarations</h3>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
doc/go_spec.html
var s []string _ = min(s...) // invalid: slice arguments are not permitted t := max("", "foo", "bar") // t == "foo" (string kind) </pre> <p> For numeric arguments, assuming all NaNs are equal, <code>min</code> and <code>max</code> are commutative and associative: </p> <pre> min(x, y) == min(y, x) min(x, y, z) == min(min(x, y), z) == min(x, min(y, z)) </pre>
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) -
src/bufio/scan.go
if len(s.buf) >= s.maxTokenSize || len(s.buf) > maxInt/2 { s.setErr(ErrTooLong) return false } newSize := len(s.buf) * 2 if newSize == 0 { newSize = startBufSize } newSize = min(newSize, s.maxTokenSize) newBuf := make([]byte, newSize) copy(newBuf, s.buf[s.start:s.end]) s.buf = newBuf s.end -= s.start s.start = 0 }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), const DLT_MATCHING_MAX = 246 pkg syscall (freebsd-arm64), const DLT_MATCHING_MAX ideal-int pkg syscall (freebsd-arm64), const DLT_MATCHING_MIN = 104 pkg syscall (freebsd-arm64), const DLT_MATCHING_MIN ideal-int pkg syscall (freebsd-arm64), const DLT_MFR = 182 pkg syscall (freebsd-arm64), const DLT_MFR ideal-int pkg syscall (freebsd-arm64), const DLT_MOST = 211
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
misc/ios/clangwrap.sh
export IPHONEOS_DEPLOYMENT_TARGET=5.1 # cmd/cgo doesn't support llvm-gcc-4.2, so we have to use clang. CLANG=`xcrun --sdk $SDK --find clang`
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 02 16:48:07 GMT 2021 - 626 bytes - Viewed (0) -
src/archive/zip/zip_test.go
part := &r.buf[i] return part.off+part.n > off }) parts := r.buf[skipParts:] if len(parts) > 0 { skipBytes := off - parts[0].off for _, part := range parts { repeat := int(min(part.n-skipBytes, int64(len(p)-n))) memset(p[n:n+repeat], part.b) n += repeat if n == len(p) { return } skipBytes = 0 } } if n != len(p) { err = io.ErrUnexpectedEOF }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
src/archive/zip/writer.go
// written here or in the trailing data descriptor based on the header // flags. if h.raw && !h.hasDataDescriptor() { b.uint32(h.CRC32) b.uint32(uint32(min(h.CompressedSize64, uint32max))) b.uint32(uint32(min(h.UncompressedSize64, uint32max))) } else { // When this package handle the compression, these values are // always written to the trailing data descriptor. b.uint32(0) // crc32
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)