- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for complement (0.18 sec)
-
src/archive/tar/strconv.go
// // If operating in binary mode, this assumes strict GNU binary mode; which means // that the first byte can only be either 0x80 or 0xff. Thus, the first byte is // equivalent to the sign bit in two's complement form. func fitsInBase256(n int, x int64) bool { binBits := uint(n-1) * 8 return n >= 9 || (x >= -1<<binBits && x < 1<<binBits) } // parseNumeric parses the input as being encoded in either base-256 or octal.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 01 14:28:42 GMT 2023 - 9K bytes - Viewed (0) -
doc/go1.17_spec.html
byte alias for uint8 rune alias for int32 </pre> <p> The value of an <i>n</i>-bit integer is <i>n</i> bits wide and represented using <a href="https://en.wikipedia.org/wiki/Two's_complement">two's complement arithmetic</a>. </p> <p> There is also a set of predeclared numeric types with implementation-specific sizes: </p> <pre class="grammar"> uint either 32 or 64 bits
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) -
src/cmd/cgo/doc.go
system object code because cmd/link is not sophisticated enough to process the real code. The main benefits of this system are that cmd/link remains relatively simple (it does not need to implement a complete ELF and Mach-O linker) and that gcc is not needed after the package is compiled. For example, package net uses cgo for access to name resolution functions provided
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) -
src/bufio/bufio_test.go
srcBuf.Reset() src.Reset(srcBuf) dstBuf.Reset() io.Copy(dst, src) } } func BenchmarkReaderCopyUnoptimal(b *testing.B) { // Unoptimal case is where the underlying reader doesn't implement io.WriterTo srcBuf := bytes.NewBuffer(make([]byte, 8192)) src := NewReader(onlyReader{srcBuf}) dstBuf := new(bytes.Buffer) dst := onlyWriter{dstBuf} for i := 0; i < b.N; i++ { srcBuf.Reset()
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/go_spec.html
byte alias for uint8 rune alias for int32 </pre> <p> The value of an <i>n</i>-bit integer is <i>n</i> bits wide and represented using <a href="https://en.wikipedia.org/wiki/Two's_complement">two's complement arithmetic</a>. </p> <p> There is also a set of predeclared integer types with implementation-specific sizes: </p> <pre class="grammar"> uint either 32 or 64 bits
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/example_test.go
fmt.Println(len(scanner.Bytes()) == 6) } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string") } // Output: // true } // Use a Scanner to implement a simple word-count utility by scanning the // input as a sequence of space-delimited tokens. func ExampleScanner_words() { // An artificial input source.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
doc/asm.html
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
src/bytes/reader.go
func (r *Reader) ReadByte() (byte, error) { r.prevRune = -1 if r.i >= int64(len(r.s)) { return 0, io.EOF } b := r.s[r.i] r.i++ return b, nil } // UnreadByte complements [Reader.ReadByte] in implementing the [io.ByteScanner] interface. func (r *Reader) UnreadByte() error { if r.i <= 0 { return errors.New("bytes.Reader.UnreadByte: at beginning of slice") } r.prevRune = -1 r.i--
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 3.9K bytes - Viewed (1) -
api/go1.4.txt
pkg image/png, type Encoder struct pkg image/png, type Encoder struct, CompressionLevel CompressionLevel # CL 101750048 math: implement Nextafter32, Robert Griesemer <******@****.***> pkg math, func Nextafter32(float32, float32) float32 # CL 93550043 math/big: implement Rat.Float32, Robert Griesemer <******@****.***> pkg math/big, method (*Rat) Float32() (float32, bool)
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 12 03:01:01 GMT 2014 - 34K bytes - Viewed (0) -
src/archive/tar/stat_unix.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 3.2K bytes - Viewed (0)