Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,479 for loader (0.29 sec)

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

        CountingLoader loader = new CountingLoader();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        assertEquals(0, loader.getCount());
    
        Object key = new Object();
        Object value = map.get(key, loader);
        assertEquals(1, loader.getCount());
        assertEquals(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        CountingLoader loader = new CountingLoader();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        assertEquals(0, loader.getCount());
    
        Object key = new Object();
        Object value = map.get(key, loader);
        assertEquals(1, loader.getCount());
        assertEquals(value, map.get(key, loader));
        assertEquals(1, loader.getCount());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

       * {@link CacheLoader#load} calls to {@code loader}.
       */
      static <K, V> CacheLoader<K, V> bulkLoader(final CacheLoader<K, V> loader) {
        checkNotNull(loader);
        return new CacheLoader<K, V>() {
          @Override
          public V load(K key) throws Exception {
            return loader.load(key);
          }
    
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 4.9K bytes
    - Viewed (0)
  4. 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
       * for an RPC may wait for a similar call that requests a long timeout, or a call by an
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.3/commons-logging-1.0.3.jar

    configuration attributes on the instantiated LogFactory instance. Once an implementation class name is selected, the corresponding class is loaded from the current Thread context class loader (if there is one), or from the class loader that loaded the LogFactory class itself otherwise. This allows a copy of commons-logging.jar to be shared in a multiple class loader environment (such as a servlet container), but still allow each web application to provide its own LogFactory implementation, if it so desires....
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 30.9K bytes
    - Viewed (0)
  6. 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
       * for an RPC may wait for a similar call that requests a long timeout, or a call by an
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (0)
  7. maven-core/src/test/resources-project-builder/profile-plugin-mng-dependencies/pom.xml

        <module>sub</module>
      </modules>
    
      <build>
        <pluginManagement>
          <plugins>
            <plugin>
              <groupId>org.apache.maven.its.plugins</groupId>
              <artifactId>maven-it-plugin-class-loader</artifactId>
              <version>2.1-SNAPSHOT</version>
            </plugin>
          </plugins>
        </pluginManagement>
      </build>
    
      <profiles>
        <profile>
          <id>maven-core-it</id>
          <activation>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Mar 29 19:02:56 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedComponentConfigurator.java

                ExpressionEvaluator evaluator,
                ClassLoader loader,
                ConfigurationListener listener)
                throws ComponentConfigurationException {
            new EnhancedConfigurationConverter()
                    .processConfiguration(
                            converterLookup,
                            component,
                            loader, //
                            configuration,
                            evaluator,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LoadingCache.java

       *
       * <p>If another call to {@link #get} or {@link #getUnchecked} is currently loading the value for
       * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that
       * multiple threads can concurrently load values for distinct keys.
       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            dir.resolve(classFilePath).takeIf { it.isFile }?.let { classFile -> { classFile.readBytes() } }
        }
    
        private
        fun loaderClassBytesIndexFor(loader: ClassLoader): ClassBytesIndex = { classFilePath ->
            loader.getResource(classFilePath)?.let {
                { loader.getResourceAsStream(classFilePath).use { it!!.readBytes() } }
            }
        }
    
        private
        fun openJarFile(file: File) =
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top