- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for EOF (0.42 sec)
-
src/archive/tar/reader_test.go
{data2[:2048] + trash, 1, ErrHeader}, {data2[:2560], 1, io.EOF}, // Exactly 2 empty blocks (normal end-of-stream) {data2[:2560] + trash[:1], 1, io.EOF}, {data2[:2560] + trash[:511], 1, io.EOF}, {data2[:2560] + trash, 1, io.EOF}, {data2[:3072], 1, io.EOF}, {pax, 0, io.EOF}, // PAX header without data is a "valid" tar file {pax + trash[:1], 0, io.ErrUnexpectedEOF},Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 15 16:34:13 UTC 2025 - 47.5K bytes - Viewed (0) -
ci/official/utilities/code_check_full.bats
@platforms//os @ml_dtypes_py//ml_dtypes @ruy// @rules_java_builtin//toolchains @rules_ml_toolchain// @rules_python// @stablehlo//stablehlo/experimental EOF # grep patterns for targets which are allowed to be extra licenses cat > $BATS_TEST_TMPDIR/allowed_to_be_extra <<EOF @local_xla//third_party/mkl @local_xla//third_party/mkl_dnn @absl_py// @bazel_tools//src @bazel_tools//platforms @bazel_tools//tools
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Fri Dec 19 18:47:57 UTC 2025 - 13.5K bytes - Viewed (0) -
src/bytes/buffer_test.go
buf.Reset() // check at EOF if err := buf.UnreadRune(); err == nil { t.Fatal("UnreadRune at EOF: got no error") } if _, _, err := buf.ReadRune(); err == nil { t.Fatal("ReadRune at EOF: got no error") } if err := buf.UnreadRune(); err == nil { t.Fatal("UnreadRune after ReadRune at EOF: got no error") } // check not at EOF buf.Write(b) for r := rune(0); r < NRune; r++ {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 19.4K bytes - Viewed (0) -
src/bytes/buffer.go
// If Peek returns fewer than n bytes, it also returns [io.EOF]. // The slice is only valid until the next call to a read or write method. // The slice aliases the buffer content at least until the next buffer modification, // so immediate changes to the slice will affect the result of future reads. func (b *Buffer) Peek(n int) ([]byte, error) { if b.Len() < n { return b.buf[b.off:], io.EOF } return b.buf[b.off : b.off+n], nil }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 16.5K bytes - Viewed (0) -
.github/workflows/update-jdks.yml
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 09 22:14:16 UTC 2025 - 2.1K bytes - Viewed (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 {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Nov 12 03:59:40 UTC 2025 - 37.3K bytes - Viewed (0) -
.github/workflows/check-commits.yml
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Nov 20 22:15:20 UTC 2025 - 3K bytes - Viewed (0) -
src/cmd/asm/internal/lex/input.go
name := in.Stack.Text() macro := in.macros[name] if macro != nil { nesting++ in.invokeMacro(macro) continue } fallthrough default: if tok == scanner.EOF && len(in.ifdefStack) > 0 { // We're skipping text but have run out of input with no #endif. in.Error("unclosed #ifdef or #ifndef") } in.beginningOfLine = tok == '\n' if in.enabled() {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Nov 12 03:59:40 UTC 2025 - 12.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java
assertEquals('d', stream.read()); assertEquals('a', stream.read()); assertEquals('t', stream.read()); assertEquals('a', stream.read()); assertEquals(-1, stream.read()); // EOF } // File should be deleted after close // Note: FileUtil.deleteInBackground() is async, so we can't reliably test this } public void test_available() throws Exception {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 7.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
assertEquals('A', stream.read()); assertEquals('B', stream.read()); assertEquals('C', stream.read()); assertEquals(-1, stream.read()); // EOF } public void test_readBytes_delegatesToUnderlying() throws IOException { // Test that read(byte[]) delegates to underlying stream byte[] data = "Hello World".getBytes();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0)