Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for computes (0.11 sec)

  1. guava/src/com/google/common/util/concurrent/AsyncCallable.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.Future;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Computes a value, possibly asynchronously. For an example usage and more information, see {@link
     * Futures.FutureCombiner#callAsync(AsyncCallable, java.util.concurrent.Executor)}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheLoader.java

    import com.google.common.util.concurrent.ListenableFuture;
    import com.google.common.util.concurrent.ListenableFutureTask;
    import java.io.Serializable;
    import java.util.Map;
    import java.util.concurrent.Executor;
    
    /**
     * Computes or retrieves values, based on a key, for use in populating a {@link LoadingCache}.
     *
     * <p>Most implementations will only need to implement {@link #load}. Other methods may be
     * overridden as desired.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

    import java.security.cert.Certificate
    import java.security.cert.X509Certificate
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.X509TrustManager
    import okhttp3.internal.platform.Platform
    
    /**
     * Computes the effective certificate chain from the raw array returned by Java's built in TLS APIs.
     * Cleaning a chain returns a list of certificates where the first element is `chain[0]`, each
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Fingerprint2011.java

      static long hash128to64(long high, long low) {
        long a = (low ^ high) * K3;
        a ^= a >>> 47;
        long b = (high ^ a) * K3;
        b ^= b >>> 47;
        b *= K3;
        return b;
      }
    
      /**
       * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are
       * returned in the output array - this is 12% faster than allocating new arrays every time.
       */
      private static void weakHashLength32WithSeeds(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            if (len == 0) {
                return; /* CRITICAL */
            }
            digest.update(input, offset, len);
            updates++;
        }
    
        /**
         * Computes and returns the message digest.
         *
         * @return the computed digest bytes
         */
        public byte[] digest() {
            byte[] b = digest.digest();
    
            if (LogStream.level >= 5) {
                log.println("digest: ");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hasher.java

      @CanIgnoreReturnValue
      <T extends @Nullable Object> Hasher putObject(
          @ParametricNullness T instance, Funnel<? super T> funnel);
    
      /**
       * Computes a hash code based on the data that have been provided to this hasher. The result is
       * unspecified if this method is called more than once on the same instance.
       */
      HashCode hash();
    
      /**
       * {@inheritDoc}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/AbstractStreamingHasher.java

        if (buffer.remaining() > 0) {
          processRemaining(buffer);
          Java8Compatibility.position(buffer, buffer.limit());
        }
        return makeHash();
      }
    
      /**
       * Computes a hash code based on the data that have been provided to this hasher. This is called
       * after all chunks are handled with {@link #process} and any leftover bytes that did not make a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. cmd/httprange.go

    	case h.End == -1:
    		rangeLength = resourceSize - h.Start
    
    	default:
    		return 0, errors.New("Unexpected range specification case")
    	}
    
    	return rangeLength, nil
    }
    
    // GetOffsetLength computes the start offset and length of the range
    // given the size of the resource
    func (h *HTTPRangeSpec) GetOffsetLength(resourceSize int64) (start, length int64, err error) {
    	if h == nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

              <comment>Generated hashCode() and equals() based on identifier also calls its super, which breaks comparison
              </comment>
              <code>
                <![CDATA[
        /**
         * Computes a hash value based on {@link #getType()} and {@link #getProvides()} values.
         */
        public int hashCode() {
            return java.util.Objects.hash(getType(), getProvides());
        } //-- int hashCode()
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Fingerprint2011.java

      static long hash128to64(long high, long low) {
        long a = (low ^ high) * K3;
        a ^= a >>> 47;
        long b = (high ^ a) * K3;
        b ^= b >>> 47;
        b *= K3;
        return b;
      }
    
      /**
       * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are
       * returned in the output array - this is 12% faster than allocating new arrays every time.
       */
      private static void weakHashLength32WithSeeds(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top