Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 165 for EOF (0.13 sec)

  1. cmd/metacache-server-pool.go

    		// Marker not common with prefix is not implemented. Send an empty response
    		if !HasPrefix(o.Marker, o.Prefix) {
    			return entries, io.EOF
    		}
    	}
    
    	// With max keys of zero we have reached eof, return right here.
    	if o.Limit == 0 {
    		return entries, io.EOF
    	}
    
    	// For delimiter and prefix as '/' we do not list anything at all
    	// along // with the prefix. On a flat namespace with 'prefix'
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4.go

    	_, err = io.ReadFull(cr.reader, signature[:])
    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil {
    		cr.err = err
    		return n, cr.err
    	}
    	if !bytes.HasPrefix(signature[:], []byte("chunk-signature=")) {
    		cr.err = errMalformedEncoding
    		return n, cr.err
    	}
    	b, err := cr.reader.ReadByte()
    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	if err != nil {
    		cr.err = err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  3. internal/ioutil/read_file.go

    	OsOpenFile = os.OpenFile
    )
    
    // ReadFileWithFileInfo reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    // Because ReadFile reads the whole file, it does not treat an EOF from Read
    // as an error to be reported.
    func ReadFileWithFileInfo(name string) ([]byte, fs.FileInfo, error) {
    	f, err := OsOpenFile(name, readMode, 0o666)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 09 18:17:51 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  4. src/bytes/reader_test.go

    	}
    
    	if n, err := (&Reader{}).Read(nil); n != 0 || err != io.EOF {
    		t.Errorf("Read: got %d, %v; want 0, io.EOF", n, err)
    	}
    
    	if n, err := (&Reader{}).ReadAt(nil, 11); n != 0 || err != io.EOF {
    		t.Errorf("ReadAt: got %d, %v; want 0, io.EOF", n, err)
    	}
    
    	if b, err := (&Reader{}).ReadByte(); b != 0 || err != io.EOF {
    		t.Errorf("ReadByte: got %d, %v; want 0, io.EOF", b, err)
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  5. src/bytes/buffer.go

    // what is required to hold the contents of r, ReadFrom will not grow the
    // underlying buffer.
    const MinRead = 512
    
    // ReadFrom reads data from r until EOF and appends it to the buffer, growing
    // the buffer as needed. The return value n is the number of bytes read. Any
    // error except io.EOF encountered during the read is also returned. If the
    // buffer becomes too large, ReadFrom will panic with [ErrTooLarge].
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  6. internal/grid/grid.go

    		internalByteBuffer.Put(&b)
    		return
    	}
    }
    
    // readAllInto reads from r and appends to b until an error or EOF and returns the data it read.
    // A successful call returns err == nil, not err == EOF. Because readAllInto is
    // defined to read from src until EOF, it does not treat an EOF from Read
    // as an error to be reported.
    func readAllInto(b []byte, r *wsutil.Reader) ([]byte, error) {
    	for {
    		if len(b) == cap(b) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. cmd/metacache-stream_test.go

    	r := loadMetacacheSample(t)
    	defer r.Close()
    	entries, err := r.readN(-1, false, true, false, "")
    	if err != io.EOF {
    		t.Fatal(err)
    	}
    
    	return entries
    }
    
    func Test_metacacheReader_readNames(t *testing.T) {
    	r := loadMetacacheSample(t)
    	defer r.Close()
    	names, err := r.readNames(-1)
    	if err != io.EOF {
    		t.Fatal(err)
    	}
    	want := loadMetacacheSampleNames
    	if !reflect.DeepEqual(names, want) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 15K bytes
    - Viewed (0)
  8. 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++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. .github/workflows/go-fips.yml

              echo Detected go version $GO_VERSION
              cat > Dockerfile.fips.test <<EOF
              FROM golang:${GO_VERSION}
              COPY . /minio
              WORKDIR /minio
              ENV GOEXPERIMENT=boringcrypto
              RUN make
              EOF
    
          - name: Build
            uses: docker/build-push-action@v3
            with:
              context: .
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

      cat > $BATS_TEST_TMPDIR/allowed_to_be_missing <<EOF
    @absl_py//absl
    @bazel_tools//platforms
    @bazel_tools//third_party/
    @bazel_tools//tools
    @local
    @com_google_absl//absl
    @org_tensorflow//
    @com_github_googlecloudplatform_google_cloud_cpp//google
    @com_github_grpc_grpc//src/compiler
    @platforms//os
    @ruy//
    EOF
    
      # grep patterns for targets which are allowed to be extra licenses
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
Back to top