Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for EOF (0.02 sec)

  1. ci/official/utilities/code_check_full.bats

    @com_github_grpc_grpc//src/compiler
    @platforms//os
    @ruy//
    @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
    //third_party/mkl
    //third_party/mkl_dnn
    @absl_py//
    @bazel_tools//src
    @bazel_tools//platforms
    @bazel_tools//tools/
    @org_tensorflow//tensorflow
    @com_google_absl//
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 18:48:35 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    		t.Errorf(`Peek(4) on "abcd", EOF = %q, %v; want "abcd", nil`, string(s), err)
    	}
    	if n, err := buf.Read(p[0:5]); string(p[0:n]) != "abcd" || err != nil {
    		t.Fatalf("Read after peek = %q, %v; want abcd, EOF", p[0:n], err)
    	}
    	if n, err := buf.Read(p[0:1]); string(p[0:n]) != "" || err != io.EOF {
    		t.Fatalf(`second Read after peek = %q, %v; want "", EOF`, p[0:n], err)
    	}
    }
    
    type dataAndEOFReader string
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                this.expression = expression;
            }
    
            public int peekChar() {
                return idx < expression.length() ? expression.charAt(idx) : EOF;
            }
    
            public int skipChar() {
                return idx < expression.length() ? expression.charAt(idx++) : EOF;
            }
    
            public String nextToken(char delimiter) {
                int start = idx;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/bytes/buffer.go

    // 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].
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                valueLines = new ArrayList<>();
                this.maybeTyped = maybeTyped;
            }
    
            /**
             * Reads a property line. Returns null if Stream is
             * at EOF. Concatenates lines ending with "\".
             * Skips lines beginning with "#" or "!" and empty lines.
             * The return value is a property definition (<code>&lt;name&gt;</code>
             * = <code>&lt;value&gt;</code>)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    // that is not io.EOF.
    func diskHealthCheckOK(ctx context.Context, err error) bool {
    	// Check if context has a disk health check.
    	tracker, ok := ctx.Value(healthDiskCtxKey{}).(*healthDiskCtxValue)
    	if !ok {
    		// No tracker, return
    		return err == nil || errors.Is(err, io.EOF)
    	}
    	if err == nil || errors.Is(err, io.EOF) {
    		tracker.logSuccess()
    		return true
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSource.java

       * #lengthIfKnown}, returning true if it's known to be zero and false if it's known to be
       * non-zero. If the length is not known, it falls back to opening a stream and checking for EOF.
       *
       * <p>Note that, in cases where {@code lengthIfKnown} returns zero, it is <i>possible</i> that
       * chars are actually available for reading. This means that a source may return {@code true} from
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    	// Fetch buffer for I/O, returns from the pool if not allocates a new one and returns.
    	var buffer []byte
    	switch size := data.Size(); {
    	case size == 0:
    		buffer = make([]byte, 1) // Allocate at least a byte to reach EOF
    	case size >= fi.Erasure.BlockSize:
    		buffer = globalBytePoolCap.Load().Get()
    		defer globalBytePoolCap.Load().Put(buffer)
    	case size < fi.Erasure.BlockSize:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    }
    
    // ReadFile reads exactly len(buf) bytes into buf. It returns the
    // number of bytes copied. The error is EOF only if no bytes were
    // read. On return, n == len(buf) if and only if err == nil. n == 0
    // for io.EOF.
    //
    // If an EOF happens after reading some but not all the bytes,
    // ReadFile returns ErrUnexpectedEOF.
    //
    // If the BitrotVerifier is not nil or not verified ReadFile
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2.go

    			// Extend since we have enough space.
    			buf = buf[:n]
    		} else {
    			buf = append(buf, make([]byte, extra)...)
    		}
    		_, err := io.ReadFull(r, buf[has:])
    		if err != nil {
    			if errors.Is(err, io.EOF) {
    				// Returned if we read nothing.
    				err = io.ErrUnexpectedEOF
    			}
    			return fmt.Errorf("readXLMetaNoData(readMore): %w", err)
    		}
    		return nil
    	}
    	tmp, major, minor, err := checkXL2V1(buf)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top