- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for wrap (0.2 sec)
-
src/bufio/bufio_test.go
b := NewReaderSize(strings.NewReader("hello world"), BufSize) // Does it recognize itself? b1 := NewReaderSize(b, BufSize) if b1 != b { t.Error("NewReaderSize did not detect underlying Reader") } // Does it wrap if existing buffer is too small? b2 := NewReaderSize(b, 2*BufSize) if b2 == b { t.Error("NewReaderSize did not enlarge buffer") } } func TestNewWriterSizeIdempotent(t *testing.T) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
doc/go1.17_spec.html
the <a href="#Numeric_types">unsigned integer</a>'s type. Loosely speaking, these unsigned integer operations discard high bits upon overflow, and programs may rely on "wrap around". </p> <p> For signed integers, the operations <code>+</code>, <code>-</code>, <code>*</code>, <code>/</code>, and <code><<</code> may legally
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/cgo/doc.go
// C data with explicit length to Go []byte func C.GoBytes(unsafe.Pointer, C.int) []byte As a special case, C.malloc does not call the C library malloc directly but instead calls a Go helper function that wraps the C library malloc but guarantees never to return nil. If C's malloc indicates out of memory, the helper function crashes the program, like when Go itself runs out
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const IFT_AFLANE8025 = 60 pkg syscall (netbsd-arm64-cgo), const IFT_AFLANE8025 ideal-int pkg syscall (netbsd-arm64-cgo), const IFT_ARAP = 88 pkg syscall (netbsd-arm64-cgo), const IFT_ARAP ideal-int pkg syscall (netbsd-arm64-cgo), const IFT_ARCNET = 35 pkg syscall (netbsd-arm64-cgo), const IFT_ARCNET ideal-int pkg syscall (netbsd-arm64-cgo), const IFT_ARCNETPLUS = 36
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
doc/go_spec.html
computed modulo 2<sup><i>n</i></sup>, where <i>n</i> is the bit width of the unsigned integer's type. Loosely speaking, these unsigned integer operations discard high bits upon overflow, and programs may rely on "wrap around". </p> <p> For signed integers, the operations <code>+</code>, <code>-</code>, <code>*</code>, <code>/</code>, and <code><<</code> may legally
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0) -
src/bytes/bytes.go
if 'A' <= sr && sr <= 'Z' && tr == sr+'a'-'A' { continue } return false } // General case. SimpleFold(x) returns the next equivalent rune > x // or wraps around to smaller values. r := unicode.SimpleFold(sr) for r != sr && r < tr { r = unicode.SimpleFold(r) } if r == tr { continue } return false }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (freebsd-386), const IFT_ADSL = 94 pkg syscall (freebsd-386), const IFT_AFLANE8023 = 59 pkg syscall (freebsd-386), const IFT_AFLANE8025 = 60 pkg syscall (freebsd-386), const IFT_ARAP = 88 pkg syscall (freebsd-386), const IFT_ARCNET = 35 pkg syscall (freebsd-386), const IFT_ARCNETPLUS = 36 pkg syscall (freebsd-386), const IFT_ASYNC = 84 pkg syscall (freebsd-386), const IFT_ATM = 37
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (freebsd-386-cgo), const IFT_ADSL ideal-int pkg syscall (freebsd-386-cgo), const IFT_AFLANE8023 ideal-int pkg syscall (freebsd-386-cgo), const IFT_AFLANE8025 ideal-int pkg syscall (freebsd-386-cgo), const IFT_ARAP ideal-int pkg syscall (freebsd-386-cgo), const IFT_ARCNET ideal-int pkg syscall (freebsd-386-cgo), const IFT_ARCNETPLUS ideal-int pkg syscall (freebsd-386-cgo), const IFT_ASYNC ideal-int
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2) -
src/cmd/cgo/gcc.go
// to _cgoCheckPointer, as done in checkIndex and checkAddr. // // When the function argument is a conversion to unsafe.Pointer, // we unwrap the conversion before checking the pointer, // and then wrap again when calling C.f. This lets us check // the real type of the pointer in some cases. See issue #25941. // // When the call to C.f is deferred, we use an additional function
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
src/archive/tar/reader_test.go
} if v.wantErr == nil && r.Len() == 0 { t.Errorf("test %d, canary byte unexpectedly consumed", i) } } } // testNonEmptyReader wraps an io.Reader and ensures that // Read is never called with an empty buffer. type testNonEmptyReader struct{ io.Reader } func (r testNonEmptyReader) Read(b []byte) (int, error) { if len(b) == 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0)