Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Computed (0.03 sec)

  1. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

      }
    
      public void testGet() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/NullCacheTest.java

      }
    
      public void testGet() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

      type: KClass<T>,
      compute: () -> T,
    ): T {
      var computed: T? = null
    
      while (true) {
        val tags = get()
    
        // If the element is already present. Return it.
        val existing = tags[type]
        if (existing != null) return existing
    
        if (computed == null) {
          computed = compute()
        }
    
        // If we successfully add the computed element, we're done.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

       * tags are computed.
       */
      fun <T : Any> tag(type: KClass<T>): T?
    
      /**
       * Returns the tag attached with [type] as a key, or null if no tag is attached with that key.
       *
       * The tags on a call are seeded from the [request tags][Request.tag]. This set will grow if new
       * tags are computed.
       */
      fun <T> tag(type: Class<out T>): T?
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

     * The flatten phase keeps only a single version per ({@code groupId}, {@code artifactId}) pair.
     * The resolution phase actually downloads the dependencies (or artifacts) that have been computed.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Dependency extends Artifact {
        /**
         * {@return the type of the dependency}.
         * A dependency can be a <abbr>JAR</abbr> file,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

        for (E element : getOrderedElements()) {
          expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A List's hashCode() should be computed from those of its elements.",
            expectedHashCode,
            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java

        for (E element : getOrderedElements()) {
          expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
            "A List's hashCode() should be computed from those of its elements.",
            expectedHashCode,
            getList().hashCode());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testHashCode()} so that list tests on
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    And it will save the returned value in a <abbr title="A utility/system to store computed/generated values, to reuse them instead of computing them again.">"cache"</abbr> and pass it to all the "dependants" that need it in that specific request, instead of calling the dependency multiple times for the same request.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

                    coordinates.add(coordinate);
                    context.debug("Found artifact: " + coordinate.toGAV() + " from " + pomPath);
                }
            }
    
            context.info("Computed " + coordinates.size() + " unique artifact(s) for inference");
            return coordinates;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

            /** User's group memberships. */
            protected volatile String[] groups;
    
            /** User's role assignments. */
            protected volatile String[] roles;
    
            /** User's computed permissions. */
            protected volatile String[] permissions;
    
            /** Entra ID authentication result. */
            protected IAuthenticationResult authResult;
    
            /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top