Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2861 - 2870 of 4,407 for Avoid (0.1 sec)

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

              @Override
              public LoadingCache<Key, String> apply(CacheBuilder<Object, Object> builder) {
                return builder.build(KEY_TO_STRING_LOADER);
              }
            });
      }
    
      public void testContainsKeyAndValue() {
        for (LoadingCache<Key, String> cache : caches()) {
          // maintain strong refs so these won't be collected, regardless of cache's key/value strength
          Key key = new Key(1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

        }
    
        /**
         * Sets the context handle for unregistration.
         *
         * @param contextHandle the context handle from registration
         */
        public void setContextHandle(byte[] contextHandle) {
            this.contextHandle = contextHandle != null ? contextHandle.clone() : null;
        }
    
        /**
         * Gets the context handle.
         *
         * @return the context handle
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/MapRetrievalCache.java

          addToCache(entry);
          return entry.value;
        }
        return null;
      }
    
      @Override
      void clearCache() {
        super.clearCache();
        cacheEntry1 = null;
        cacheEntry2 = null;
      }
    
      private void addToCache(K key, V value) {
        addToCache(new CacheEntry<K, V>(key, value));
      }
    
      private void addToCache(CacheEntry<K, V> entry) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        private final Deque<Runnable> tasks = new ArrayDeque<>();
    
        @Override
        public void execute(Runnable task) {
          tasks.add(task);
        }
    
        private void runNext() {
          tasks.removeFirst().run();
        }
      }
    
      public void testAsyncReload() throws Exception {
        AtomicInteger loadCount = new AtomicInteger();
        AtomicInteger reloadCount = new AtomicInteger();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolver.java

        // USED BY REMOTE RESOURCES PLUGIN, DEPENDENCY PLUGIN, SHADE PLUGIN
        @Deprecated
        void resolve(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository)
                throws ArtifactResolutionException, ArtifactNotFoundException;
    
        // USED BY REMOTE RESOURCES PLUGIN
        @Deprecated
        void resolve(
                Artifact artifact,
                List<ArtifactRepository> remoteRepositories,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

            .setResponseCode(302)
            .addHeader("Location", "https://twitter.com/CuteEmergency/status/789457462864863232");
      }
    
      public interface Listener {
        void sessionGranted(OAuthSession session);
      }
    
      @Override public void close() {
        if (mockWebServer == null) throw new IllegalStateException();
        try {
          mockWebServer.close();
        } catch (IOException ignored) {
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 3.8K bytes
    - Viewed (1)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/AbstractMavenTransferListener.java

        protected AbstractMavenTransferListener(MessageBuilderFactory messageBuilderFactory, PrintWriter out) {
            this.messageBuilderFactory = messageBuilderFactory;
            this.out = out;
        }
    
        @Override
        public void transferInitiated(TransferEvent event) {
            String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

                } catch (ParseException e) {
                    throw new IllegalArgumentException(e);
                }
            }
        };
    
        @Test
        void happy() {
            InvokerRequest invokerRequest =
                    subject.parseInvocation(ParserRequest.mvn(Arrays.asList("-e", "-X"), mock(MessageBuilderFactory.class))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java

    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class IndexedIteratorTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            final List<String> list = newArrayList();
            list.add("aaa");
            list.add("bbb");
            list.add("ccc");
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/SpnegoToken.java

            return this.mechanismToken;
        }
    
        /**
         * Sets the inner mechanism token to be wrapped in this SPNEGO token
         * @param mechanismToken the mechanism token bytes
         */
        public void setMechanismToken(final byte[] mechanismToken) {
            this.mechanismToken = mechanismToken;
        }
    
        /**
         * Gets the mechanism list MIC (Message Integrity Code) for integrity protection
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (2)
Back to top