Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 923 for read1 (0.06 sec)

  1. guava/src/com/google/common/hash/HashingInputStream.java

        if (b != -1) {
          hasher.putByte((byte) b);
        }
        return b;
      }
    
      /**
       * Reads the specified bytes of data from the underlying input stream and updates the hasher with
       * the bytes read.
       */
      @Override
      @CanIgnoreReturnValue
      public int read(byte[] bytes, int off, int len) throws IOException {
        int numOfBytesRead = in.read(bytes, off, len);
        if (numOfBytesRead != -1) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3K bytes
    - Viewed (0)
  2. pkg/test/kube/util.go

    		}
    		if len(eps.Subsets) == 0 {
    			return fmt.Errorf("%s/%v endpoint not ready: no subsets", ns, name)
    		}
    
    		for _, subset := range eps.Subsets {
    			if len(subset.Addresses) > 0 && len(subset.NotReadyAddresses) == 0 {
    				service = s
    				endpoints = eps
    				return nil
    			}
    		}
    		return fmt.Errorf("%s/%v endpoint not ready: no ready addresses", ns, name)
    	}, newRetryOptions(opts...)...)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  3. pkg/api/testing/node_example.json

                "memory": "1745152Ki"
            },
            "conditions": [
                {
                    "type": "Ready",
                    "status": "True",
                    "lastHeartbeatTime": "2015-04-22T11:58:17Z",
                    "lastTransitionTime": "2015-04-22T11:49:52Z",
                    "reason": "kubelet is posting ready status"
                }
            ],
            "addresses": [
                {
                    "type": "ExternalIP",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 00:36:50 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/readdirent_getdents.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix || dragonfly || freebsd || linux || netbsd || openbsd
    
    package unix
    
    // ReadDirent reads directory entries from fd and writes them into buf.
    func ReadDirent(fd int, buf []byte) (n int, err error) {
    	return Getdents(fd, buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 401 bytes
    - Viewed (0)
  5. operator/pkg/verifier/k8s_util.go

    			return fmt.Errorf("DaemonSet is not ready: %s/%s. %d out of %d expected pods have been scheduled",
    				daemonSet.Namespace, daemonSet.Name, daemonSet.Status.UpdatedNumberScheduled, daemonSet.Status.DesiredNumberScheduled)
    		}
    	case appsv1.RollingUpdateDaemonSetStrategyType:
    		if daemonSet.Status.DesiredNumberScheduled <= 0 {
    			return fmt.Errorf("DaemonSet %s/%s is not ready. Initializing, no pods are running",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 16:26:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/io/io.go

    // many calls to Read have failed to return any data or error,
    // usually the sign of a broken [Reader] implementation.
    var ErrNoProgress = errors.New("multiple Read calls return no data or error")
    
    // Reader is the interface that wraps the basic Read method.
    //
    // Read reads up to len(p) bytes into p. It returns the number of bytes
    // read (0 <= n <= len(p)) and any error encountered. Even if Read
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:34:10 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/discovery/v1/generated.proto

      // Service has set the publishNotReadyAddresses flag.
      // +optional
      optional bool ready = 1;
    
      // serving is identical to ready except that it is set regardless of the
      // terminating state of endpoints. This condition should be set to true for
      // a ready endpoint that is terminating. If nil, consumers should defer to
      // the ready condition.
      // +optional
      optional bool serving = 2;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/discovery/v1beta1/generated.proto

    message EndpointConditions {
      // ready indicates that this endpoint is prepared to receive traffic,
      // according to whatever system is managing the endpoint. A nil value
      // indicates an unknown state. In most cases consumers should interpret this
      // unknown state as ready. For compatibility reasons, ready should never be
      // "true" for terminating endpoints.
      // +optional
      optional bool ready = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/mmap/mmap_other.go

    // license that can be found in the LICENSE file.
    
    //go:build (js && wasm) || wasip1 || plan9
    
    package mmap
    
    import (
    	"io"
    	"os"
    )
    
    // mmapFile on other systems doesn't mmap the file. It just reads everything.
    func mmapFile(f *os.File) (Data, error) {
    	b, err := io.ReadAll(f)
    	if err != nil {
    		return Data{}, err
    	}
    	return Data{f, b}, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 454 bytes
    - Viewed (0)
  10. src/io/ioutil/ioutil.go

    package ioutil
    
    import (
    	"io"
    	"io/fs"
    	"os"
    	"slices"
    	"strings"
    )
    
    // ReadAll reads from r until an error or EOF and returns the data it read.
    // A successful call returns err == nil, not err == EOF. Because ReadAll is
    // defined to read from src until EOF, it does not treat an EOF from Read
    // as an error to be reported.
    //
    // Deprecated: As of Go 1.16, this function simply calls [io.ReadAll].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top