Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for CacheEntry (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/Dfs.java

        static final boolean DISABLED = Config.getBoolean("jcifs.smb1.smb.client.dfs.disabled", false);
    
        protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L);
    
        protected CacheEntry _domains = null; /* aka trusted domains cache */
        protected CacheEntry referrals = null;
    
        public HashMap getTrustedDomains(NtlmPasswordAuthentication auth) throws SmbAuthException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/MapRetrievalCache.java

      }
    
      private void addToCache(K key, V value) {
        addToCache(new CacheEntry<K, V>(key, value));
      }
    
      private void addToCache(CacheEntry<K, V> entry) {
        // Slide new entry into first cache position. Drop previous entry in second cache position.
        cacheEntry2 = cacheEntry1;
        cacheEntry1 = entry;
      }
    
      private static final class CacheEntry<K, V> {
        final K key;
        final V value;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

         * @param links
         * @return
         */
        private static CacheEntry<DfsReferralDataInternal> cacheRootReferral ( CIFSContext tf, String domain, String root,
                Map<String, CacheEntry<DfsReferralDataInternal>> roots, DfsReferralDataInternal dr, CacheEntry<DfsReferralDataInternal> links ) {
            if ( dr != null ) {
                links = new CacheEntry<>(tf.getConfig().getDfsTtl());
                links.map.put("\\", dr);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/MapRetrievalCache.java

      }
    
      private void addToCache(K key, V value) {
        addToCache(new CacheEntry<K, V>(key, value));
      }
    
      private void addToCache(CacheEntry<K, V> entry) {
        // Slide new entry into first cache position. Drop previous entry in second cache position.
        cacheEntry2 = cacheEntry1;
        cacheEntry1 = entry;
      }
    
      private static final class CacheEntry<K, V> {
        final K key;
        final V value;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

            String methodKey = makeMethodKey(name, params);
            Object cacheEntry = methodCache.get(methodKey);
    
            if (cacheEntry == CACHE_MISS) {
                return null;
            }
    
            if (cacheEntry == null) {
                try {
                    cacheEntry = methodMap.find(name, params);
                } catch (MethodMap.AmbiguousException ae) {
                    // that's a miss :)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/MapIteratorCache.java

      V getIfCached(@CheckForNull Object key) {
        Entry<K, V> entry = cacheEntry; // store local reference for thread-safety
    
        // Check cache. We use == on purpose because it's cheaper and a cache miss is ok.
        if (entry != null && entry.getKey() == key) {
          return entry.getValue();
        }
        return null;
      }
    
      void clearCache() {
        cacheEntry = null;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            this.resolveOrder = tc.getConfig().getResolveOrder();
    
            initCache(tc);
        }
    
        static final class CacheEntry {
    
            Name hostName;
            NbtAddress address;
            long expiration;
    
    
            CacheEntry ( Name hostName, NbtAddress address, long expiration ) {
                this.hostName = hostName;
                this.address = address;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if( CACHE_POLICY == 0 ) {
                return;
            }
            synchronized( ADDRESS_CACHE ) {
                CacheEntry entry = (CacheEntry)ADDRESS_CACHE.get( hostName );
                if( entry == null ) {
                    entry = new CacheEntry( hostName, addr, expiration );
                    ADDRESS_CACHE.put( hostName, entry );
                } else {
                    entry.address = addr;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(cache.networkCount()).isEqualTo(2)
        assertThat(cache.hitCount()).isEqualTo(0)
      }
    
      private fun corruptCertificate(cacheEntry: Path) {
        var content = fileSystem.source(cacheEntry).buffer().readUtf8()
        content = content.replace("MII", "!!!")
        fileSystem.sink(cacheEntry).buffer().writeUtf8(content).close()
      }
    
      @Test
      fun responseCachingAndRedirects() {
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  10. test-site/activator-launch-1.3.2.jar

    hasChanged(org.apache.ivy.plugins.parser.ParserSettings); } org/apache/ivy/core/cache/ModuleDescriptorMemo$CacheEntry.class package org.apache.ivy.core.cache; final synchronized class ModuleDescriptorMemo$CacheEntry { private final org.apache.ivy.core.module.descriptor.ModuleDescriptor md; private final boolean validated; private final ParserSettingsMonito parserSettingsMonito; void ModuleDescriptorMemo$CacheEntry(org.apache.ivy.core.module.descriptor.ModuleDescriptor, boolean, ParserSettingsMonito); final boolean...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top