Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for returns_ (0.11 sec)

  1. src/cmd/vendor/golang.org/x/text/internal/tag/tag.go

    		return x
    	}
    	return -1
    }
    
    // cmp returns an integer comparing a and b lexicographically.
    func cmp(a Index, b []byte) int {
    	n := len(a)
    	if len(b) < n {
    		n = len(b)
    	}
    	for i, c := range b[:n] {
    		switch {
    		case a[i] > c:
    			return 1
    		case a[i] < c:
    			return -1
    		}
    	}
    	switch {
    	case len(a) < len(b):
    		return -1
    	case len(a) > len(b):
    		return 1
    	}
    	return 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ValueGraphBuilder.java

        super(directed);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building directed graphs. */
      public static ValueGraphBuilder<Object, Object> directed() {
        return new ValueGraphBuilder<>(true);
      }
    
      /** Returns a {@link ValueGraphBuilder} for building undirected graphs. */
      public static ValueGraphBuilder<Object, Object> undirected() {
        return new ValueGraphBuilder<>(false);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/request/received_time.go

    // WithReceivedTimestamp returns a copy of parent context in which the ReceivedTimestamp
    // (the time the request reached the apiserver) is set.
    //
    // If the specified ReceivedTimestamp is zero, no value is set and the parent context is returned as is.
    func WithReceivedTimestamp(parent context.Context, receivedTimestamp time.Time) context.Context {
    	if receivedTimestamp.IsZero() {
    		return parent
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 21 13:59:26 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheLoader.java

      }
    
      /**
       * Returns a cache loader that uses {@code function} to load keys, without supporting either
       * reloading or bulk loading. This allows creating a cache loader using a lambda expression.
       *
       * <p>The returned object is serializable if {@code function} is serializable.
       *
       * @param function the function to be used for loading values; must never return {@code null}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  5. src/strconv/itoa.go

    	if fastSmalls && 0 <= i && i < nSmalls && base == 10 {
    		return small(int(i))
    	}
    	_, s := formatBits(nil, uint64(i), base, i < 0, false)
    	return s
    }
    
    // Itoa is equivalent to [FormatInt](int64(i), 10).
    func Itoa(i int) string {
    	return FormatInt(int64(i), 10)
    }
    
    // AppendInt appends the string form of the integer i,
    // as generated by [FormatInt], to dst and returns the extended buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go

    }
    
    func (u *UpgradeFailureError) Error() string {
    	return fmt.Sprintf("unable to upgrade streaming request: %s", u.Cause)
    }
    
    // IsUpgradeFailure returns true if the passed error is (or wrapped error contains)
    // the UpgradeFailureError.
    func IsUpgradeFailure(err error) bool {
    	if err == nil {
    		return false
    	}
    	var upgradeErr *UpgradeFailureError
    	return errors.As(err, &upgradeErr)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/isolation/Isolatable.java

     */
    public interface Isolatable<T> extends Hashable {
        /**
         * Returns this value as a {@link ValueSnapshot}. The returned value should not hold any references to user ClassLoaders.
         */
        ValueSnapshot asSnapshot();
    
        /**
         * Returns an instance of T that is isolated from the original object and all other instances.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/certs/renewal/expiration.go

    	ExternallyManaged bool
    }
    
    // newExpirationInfo returns a new ExpirationInfo
    func newExpirationInfo(name string, cert *x509.Certificate, externallyManaged bool) *ExpirationInfo {
    	return &ExpirationInfo{
    		Name:              name,
    		ExpirationDate:    cert.NotAfter,
    		ExternallyManaged: externallyManaged,
    	}
    }
    
    // ResidualTime returns the time missing to expiration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 05 09:20:34 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSink.java

       * required to be a {@link BufferedWriter} in order to allow implementations to simply delegate to
       * {@link #openStream()} when the stream returned by that method does not benefit from additional
       * buffering. This method returns a new, independent writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. src/internal/poll/fd.go

    // Return the appropriate closing error based on isFile.
    func errClosing(isFile bool) error {
    	if isFile {
    		return ErrFileClosing
    	}
    	return ErrNetClosing
    }
    
    // ErrDeadlineExceeded is returned for an expired deadline.
    // This is exported by the os package as os.ErrDeadlineExceeded.
    var ErrDeadlineExceeded error = &DeadlineExceededError{}
    
    // DeadlineExceededError is returned for an expired deadline.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top