- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 139 for EOF (0.01 seconds)
-
internal/s3select/jstream/scanner.go
defer func() { atomic.StoreInt64(&sr.end, rpos) close(sr.fillReady) }() for range sr.fillReq { scan: n, err := r.Read(sr.nbuf[:]) if n == 0 { switch err { case io.EOF: // reader is exhausted return case nil: // no data and no error, retry fill goto scan default: // unexpected reader error sr.readerErr = err return } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Sep 23 19:35:41 GMT 2024 - 2.5K bytes - Click Count (0) -
src/cmd/asm/internal/asm/parse.go
value, err := strconv.ParseFloat(str, 64) if err != nil { p.errorf("%s", err) } return value } // EOF represents the end of input. var EOF = lex.Make(scanner.EOF, "EOF") func (p *Parser) next() lex.Token { if !p.more() { return EOF } tok := p.input[p.inputPos] p.inputPos++ return tok } func (p *Parser) back() { if p.inputPos == 0 {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Nov 12 03:59:40 GMT 2025 - 37.3K bytes - Click Count (0) -
src/cmd/asm/internal/lex/lex.go
func IsRegisterShift(r ScanToken) bool { return ROT <= r && r <= LSH // Order looks backwards because these are negative. } func (t ScanToken) String() string { switch t { case scanner.EOF: return "EOF" case scanner.Ident: return "identifier" case scanner.Int: return "integer constant" case scanner.Float: return "float constant" case scanner.Char: return "rune constant"
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 4.1K bytes - Click Count (0) -
docs/bucket/versioning/DESIGN.md
| xlHeader | [4]byte | `'X', 'L', '2', ' '` | xlVersion | [4]byte | `'1', ' ', ' ', ' '` | xlMetaV2 | msgp object | All versions as single messagepack object | [EOF] | | ### v1.1+ Version 1.1 added inline data, which will be placed after the metadata. Therefore, the metadata is wrapped as a binary array for easy skipping. | Entry | Encoding | Content
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jul 17 15:43:14 GMT 2022 - 5.8K bytes - Click Count (0) -
src/bufio/net_test.go
"strings" "sync" "testing" ) // TestCopyUnixpacket tests that we can use bufio when copying // across a unixpacket socket. This used to fail due to an unnecessary // empty Write call that was interpreted as an EOF. func TestCopyUnixpacket(t *testing.T) { tmpDir := t.TempDir() socket := filepath.Join(tmpDir, "unixsock") // Start a unixpacket server. addr := &net.UnixAddr{ Name: socket, Net: "unixpacket", }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Feb 07 19:37:07 GMT 2025 - 1.9K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
i, b1, b2) } // Check if stream has ended if (e1 == io.ErrUnexpectedEOF && e2 == io.ErrUnexpectedEOF) || (e1 == io.EOF && e2 == io.EOF) { break } if e1 != nil || e2 != nil { return false, fmt.Sprintf("Got unexpected error values: %v == %v", e1, e2) } } return true, "" } func TestCmpReaders(t *testing.T) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
internal/grid/muxserver.go
m.recvMu.Lock() defer m.recvMu.Unlock() if cap(m.inbound) == 0 { m.disconnect("did not expect inbound message", true) return } // Note, on EOF no value can be sent. if msg.Flags&FlagEOF != 0 { if len(msg.Payload) > 0 { gridLogIf(m.ctx, fmt.Errorf("muxServer: EOF message with payload")) } if m.inbound != nil { xioutil.SafeClose(m.inbound) m.inbound = nil } return } select {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 9.7K bytes - Click Count (0) -
.github/workflows/check-commits.yml
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Nov 20 22:15:20 GMT 2025 - 3K bytes - Click Count (0) -
internal/ioutil/ioutil.go
remaining := totalSize - written if remaining < int64(len(buf)) { buf = buf[:remaining] } } nr, err := io.ReadFull(r, buf) eof := errors.Is(err, io.EOF) || errors.Is(err, io.ErrUnexpectedEOF) if err != nil && !eof { return written, err } buf = buf[:nr] var ( n int un int nw int64 ) remain := len(buf) % DirectioAlignSize
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
ci/official/envs/rbe
cat <<EOF ERROR: RBE was enabled via the 'rbe' env in the 'TFCI' variable. TFCI: $TFCI TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX is "$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX". But in .bazelrc, there is no "rbe_$TFCI_BAZEL_TARGET_SELECTING_CONFIG_PREFIX". That setting must exist for this script to function correctly. EOF exit 1 fi
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Aug 09 16:05:18 GMT 2024 - 2.7K bytes - Click Count (0)