Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for cache4 (0.45 sec)

  1. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            }
        }
    
        private static <T> T cache(ModelCache cache, Source source, ModelCacheTag<T> tag, Callable<T> supplier) {
            Supplier<T> s = asSupplier(supplier);
            if (cache == null) {
                return s.get();
            } else {
                return cache.computeIfAbsent(source, tag.getName(), s);
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            return importModel;
        }
    
        private static <T> T cache(
                ModelCache cache, String groupId, String artifactId, String version, String tag, Callable<T> supplier) {
            Supplier<T> s = asSupplier(supplier);
            if (cache == null) {
                return s.get();
            } else {
                return cache.computeIfAbsent(groupId, artifactId, version, tag, s);
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      public ImmutableSortedMap<K, V> descendingMap() {
        // TODO(kevinb): The descendingMap is never actually cached at all. Either:
        //
        // - Cache it, and annotate the field with @LazyInit.
        // - Simplify the code below, and consider eliminating the field (b/287198172), which is also
        //   set by one of the constructors.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      /** Number of (unsynchronized) retries in the containsValue method. */
      static final int CONTAINS_VALUE_RETRIES = 3;
    
      /**
       * Number of cache access operations that can be buffered per segment before the cache's recency
       * ordering information is updated. This is used to avoid lock contention by recording a memento
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    		os.Exit(2)
    	}
    	return string(stdout), string(stderr)
    }
    
    // A typeConv is a translator from dwarf types to Go types
    // with equivalent memory layout.
    type typeConv struct {
    	// Cache of already-translated or in-progress types.
    	m map[string]*Type
    
    	// Map from types to incomplete pointers to those types.
    	ptrs map[string][]*Type
    	// Keys of ptrs in insertion order (deterministic worklist)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

            return response;
        }
    
    
        @Override
        public boolean exists () throws SmbException {
    
            if ( this.attrExpiration > System.currentTimeMillis() ) {
                log.trace("Using cached attributes");
                return this.isExists;
            }
    
            this.attributes = ATTR_READONLY | ATTR_DIRECTORY;
            this.createTime = 0L;
            this.lastModified = 0L;
            this.lastAccess = 0L;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top