Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 247 for recompute (0.05 seconds)

  1. guava/src/com/google/common/cache/LocalCache.java

            // the value for the key is already being computed.
            computingValueReference = new ComputingValueReference<>(valueReference);
    
            // Compute the value now, so if it throws an exception we don't change anything.
            newValue = computingValueReference.compute(key, function);
    
            if (e == null) {
              createNewEntry = true;
              e = newEntry(key, hash, first);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/cache/Cache.java

       *       CacheLoader#loadAll bulk loading implementations}
       * </ul>
       *
       * <p><b>Warning:</b> For any given key, every {@code loader} used with it should compute the same
       * value. Otherwise, a call that passes one {@code loader} may return the result of another call
       * with a differently behaving {@code loader}. For example, a call that requests a short timeout
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

                ImmutableSortedSet.of(),
                ImmutableSet.of())
            .testEquals();
        // not testing hashCode for these because it takes forever to compute
        assertEquals(
            ContiguousSet.closed(Integer.MIN_VALUE, Integer.MAX_VALUE),
            ContiguousSet.create(Range.<Integer>all(), integers()));
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

      ) {
        val pins = findMatchingPins(hostname)
        if (pins.isEmpty()) return
    
        val peerCertificates = cleanedPeerCertificatesFn()
    
        for (peerCertificate in peerCertificates) {
          // Lazily compute the hashes for each certificate.
          var sha1: ByteString? = null
          var sha256: ByteString? = null
    
          for (pin in pins) {
            when (pin.hashAlgorithm) {
              "sha256" -> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

            }
        }
    
        @Nested
        @DisplayName("Artifact Computation")
        class GAVComputationTests {
    
            @Test
            @DisplayName("should compute GAVs from multiple POMs")
            void shouldComputeGAVsFromMultiplePOMs() throws Exception {
                String parentPomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java

        private static String getJavaHomeEnvVarName(String version) {
            return "JAVA" + version + "_HOME";
        }
    
        private static int findDefaultParallel(Project project) {
            // Since it costs IO to compute this, and is done at configuration time we want to cache this if possible
            // It's safe to store this in a static variable since it's just a primitive so leaking memory isn't an issue
            if (_defaultParallel == null) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 17 10:02:58 GMT 2021
    - 18.1K bytes
    - Click Count (0)
  7. tensorflow/c/c_api.h

                                        TF_Status* status, TF_Output* dy);
    
    // Adds operations to compute the partial derivatives of sum of `y`s w.r.t `x`s,
    // i.e., d(y_1 + y_2 + ...)/dx_1, d(y_1 + y_2 + ...)/dx_2...
    // This is a variant of TF_AddGradients that allows to caller to pass a custom
    // name prefix to the operations added to a graph to compute the gradients.
    //
    // `dx` are used as initial gradients (which represent the symbolic partial
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Click Count (0)
  8. go.mod

    	cel.dev/expr v0.23.1 // indirect
    	cloud.google.com/go v0.120.1 // indirect
    	cloud.google.com/go/auth v0.16.0 // indirect
    	cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
    	cloud.google.com/go/compute/metadata v0.6.0 // indirect
    	cloud.google.com/go/iam v1.5.2 // indirect
    	cloud.google.com/go/monitoring v1.24.2 // indirect
    	filippo.io/edwards25519 v1.1.0 // indirect
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

          }
        } else {
          sumOfProductsOfDeltas = NaN;
        }
        yStats.add(y);
      }
    
      /**
       * Adds the given statistics to the dataset, as if the individual values used to compute the
       * statistics had been added directly.
       */
      public void addAll(PairedStats values) {
        if (values.count() == 0) {
          return;
        }
    
        xStats.addAll(values.xStats());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. cmd/erasure-metadata-utils.go

    	}
    	if partSize == 0 {
    		return 0, errPartSizeZero
    	}
    	if partIndex < 1 {
    		return 0, errPartSizeIndex
    	}
    	if totalSize == -1 {
    		return -1, nil
    	}
    	if totalSize > 0 {
    		// Compute the total count of parts
    		partsCount := totalSize/partSize + 1
    		// Return the part's size
    		switch {
    		case int64(partIndex) < partsCount:
    			currPartSize = partSize
    		case int64(partIndex) == partsCount:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
Back to Top