Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for EOF (0.42 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. .github/workflows/update-jdks.yml

            # https://github.com/gradle/gradle-private/issues/4518
            run: |
              cat << 'EOF' > .teamcity/jdks.yaml.tmp
              # To verify the change, run the build with:
              # @bot-gradle test ReadyForNightly
              # ```
              # stopGradleDaemons=true
              # ```
              EOF
              # Append everything from "version:" onwards
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 22:14:16 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. 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)
  7. .github/workflows/check-commits.yml

          - name: Read output file
            id: read_output
            if: ${{ always() }}
            run: |
              cat output.txt
              OUTPUT=$(cat output.txt)
              echo "OUTPUT<<EOF" >> $GITHUB_ENV
              echo "$OUTPUT" >> $GITHUB_ENV
              echo "EOF" >> $GITHUB_ENV
          - name: Comment on PR if check failed
            if: ${{ failure() }}
            uses: actions/github-script@v8
            with:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 22:15:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top