- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for nb (0.2 sec)
-
src/archive/tar/writer.go
type regFileWriter struct { w io.Writer // Underlying Writer nb int64 // Number of remaining bytes to write } func (fw *regFileWriter) Write(b []byte) (n int, err error) { overwrite := int64(len(b)) > fw.nb if overwrite { b = b[:fw.nb] } if len(b) > 0 { n, err = fw.w.Write(b) fw.nb -= int64(n) } switch { case err != nil: return n, err case overwrite:
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) -
src/bufio/bufio_test.go
s += s1 } return s } // Call Read to accumulate the text of a file func reads(buf *Reader, m int) string { var b [1000]byte nb := 0 for { n, err := buf.Read(b[nb : nb+m]) nb += n if err == io.EOF { break } } return string(b[0:nb]) } type bufReader struct { name string fn func(*Reader) string } var bufreaders = []bufReader{
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) -
src/bytes/bytes.go
chunkMax = chunkLimit / len(b) * len(b) if chunkMax == 0 { chunkMax = len(b) } } nb := bytealg.MakeNoZero(n)[:n:n] bp := copy(nb, b) for bp < n { chunk := bp if chunk > chunkMax { chunk = chunkMax } bp += copy(nb[bp:], nb[:chunk]) } return nb } // ToUpper returns a copy of the byte slice s with all Unicode letters mapped to // their upper case.
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.13.txt
pkg syscall (netbsd-arm64-cgo), const IXON ideal-int pkg syscall (netbsd-arm64-cgo), const LOCK_EX = 2 pkg syscall (netbsd-arm64-cgo), const LOCK_EX ideal-int pkg syscall (netbsd-arm64-cgo), const LOCK_NB = 4 pkg syscall (netbsd-arm64-cgo), const LOCK_NB ideal-int pkg syscall (netbsd-arm64-cgo), const LOCK_SH = 1 pkg syscall (netbsd-arm64-cgo), const LOCK_SH ideal-int pkg syscall (netbsd-arm64-cgo), const LOCK_UN = 8
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) -
api/go1.1.txt
pkg syscall (darwin-386), const IXON = 512 pkg syscall (darwin-386), const IXON ideal-int pkg syscall (darwin-386), const ImplementsGetwd = false pkg syscall (darwin-386), const LOCK_EX = 2 pkg syscall (darwin-386), const LOCK_NB = 4 pkg syscall (darwin-386), const LOCK_SH = 1 pkg syscall (darwin-386), const LOCK_UN = 8 pkg syscall (darwin-386), const MADV_CAN_REUSE = 9 pkg syscall (darwin-386), const MADV_DONTNEED = 4
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 IXOFF ideal-int pkg syscall (freebsd-386-cgo), const IXON ideal-int pkg syscall (freebsd-386-cgo), const LOCK_EX ideal-int pkg syscall (freebsd-386-cgo), const LOCK_NB ideal-int pkg syscall (freebsd-386-cgo), const LOCK_SH ideal-int pkg syscall (freebsd-386-cgo), const LOCK_UN ideal-int pkg syscall (freebsd-386-cgo), const MADV_AUTOSYNC 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/archive/tar/reader.go
// special headers that contain no data section. func (tr *Reader) handleRegularFile(hdr *Header) error { nb := hdr.Size if isHeaderOnlyType(hdr.Typeflag) { nb = 0 } if nb < 0 { return ErrHeader } tr.pad = blockPadding(nb) tr.curr = ®FileReader{r: tr.r, nb: nb} return nil } // handleSparseFile checks if the current file is a sparse format of any type
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0) -
api/go1.16.txt
pkg syscall (darwin-arm64), const IXON ideal-int pkg syscall (darwin-arm64), const LOCK_EX = 2 pkg syscall (darwin-arm64), const LOCK_EX ideal-int pkg syscall (darwin-arm64), const LOCK_NB = 4 pkg syscall (darwin-arm64), const LOCK_NB ideal-int pkg syscall (darwin-arm64), const LOCK_SH = 1 pkg syscall (darwin-arm64), const LOCK_SH ideal-int pkg syscall (darwin-arm64), const LOCK_UN = 8
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), const IXON ideal-int pkg syscall (freebsd-arm64), const LOCK_EX = 2 pkg syscall (freebsd-arm64), const LOCK_EX ideal-int pkg syscall (freebsd-arm64), const LOCK_NB = 4 pkg syscall (freebsd-arm64), const LOCK_NB ideal-int pkg syscall (freebsd-arm64), const LOCK_SH = 1 pkg syscall (freebsd-arm64), const LOCK_SH ideal-int pkg syscall (freebsd-arm64), const LOCK_UN = 8
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
api/go1.txt
pkg syscall (darwin-386), const IP_TRAFFIC_MGT_BACKGROUND ideal-int pkg syscall (darwin-386), const IP_UNBLOCK_SOURCE ideal-int pkg syscall (darwin-386), const LOCK_EX ideal-int pkg syscall (darwin-386), const LOCK_NB ideal-int pkg syscall (darwin-386), const LOCK_SH ideal-int pkg syscall (darwin-386), const LOCK_UN ideal-int pkg syscall (darwin-386), const MADV_CAN_REUSE ideal-int pkg syscall (darwin-386), const MADV_DONTNEED ideal-int
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)