Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for key2 (0.05 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CrossBuildInMemoryCacheFactory.java

        /**
         * Creates a new map instance whose keys are Class instances. Keys are referenced using strong or weak references, values by strong or other references depending on their usage.
         * This allows the classes to be collected.
         *
         * <p>A map differs from a cache in that entries are not discarded based on memory pressure, but are discarded only when the key is collected.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. platforms/software/security/src/main/java/org/gradle/security/internal/SecuritySupport.java

                return null;
            }
        }
    
        public static String toLongIdHexString(long key) {
            return String.format("%016X", key).trim();
        }
    
        public static String toHexString(byte[] fingerprint) {
            return Fingerprint.wrap(fingerprint).toString();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/provider/MapProperty.java

         *
         * @param key the key
         * @param value the value
         */
        void put(K key, V value);
    
        /**
         * Adds a map entry to the property value.
         *
         * <p>The given provider will be queried when the value of this property is queried.
         * This property will have no value when the given provider has no value.
         *
         * @param key the key
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 16:25:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/WeakIdentityHashMap.java

        void put(K key, V value) {
            map.put(new WeakKey<>(key), value);
        }
    
        @Nullable
        V get(K key) {
            return map.get(new WeakKey<>(key));
        }
    
        Set<WeakKey<K>> keySet() {
            return map.keySet();
        }
    
        V computeIfAbsent(K key, AbsentValueProvider<V> absentValueProvider) {
            WeakKey<K> weakKey = new WeakKey<>(key);
            V value = map.get(weakKey);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/cache/ModelSchemaCache.java

     * and for strong class references not to be held for the cache keys.
     * <p>
     * The use of {@link WeakClassSet} as the cache key, opposed to just {@link Class}, is because a type may be composed of types from different classloaders.
     * An example of this would be something like {@code ModelSet<SomeCustomUserType>}.
     * The class set abstraction effectively creates a key for all classes involved in a type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/OnlyIgnoredKeys.java

        }
    
        @Override
        public boolean isFatal() {
            return false;
        }
    
        @Override
        public void explainTo(TreeFormatter formatter) {
            formatter.append("artifact was signed but all keys were ignored");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/FilterChain.java

                    } catch (MissingPropertyException e) {
                        throw new GradleException(String.format("Missing property (%s) for Groovy template expansion. Defined keys %s.", e.getProperty(), properties.keySet()), e);
                    } catch (IOException e) {
                        throw new UncheckedIOException(e);
                    }
                }
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/DefaultKeyServers.java

    public abstract class DefaultKeyServers {
        private final static List<URI> DEFAULT_KEYSERVERS = ImmutableList.of(
            uri("hkp://ha.pool.sks-keyservers.net"),
            uri("https://keyserver.ubuntu.com"),
            uri("https://keys.openpgp.org"),
            uri("https://pgp.mit.edu")
        );
    
        private static URI uri(String uri) {
            try {
                return new URI(uri);
            } catch (URISyntaxException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/util/ConfigureUtil.java

                missingKeys.removeAll(toStringList(properties.keySet()));
                if (!missingKeys.isEmpty()) {
                    throw new IncompleteInputException("Input configuration map does not contain following mandatory keys: " + missingKeys, missingKeys);
                }
            }
            return configureByMapInternal(properties, delegate);
        }
    
        /**
         * Incomplete input exception.
         */
        @Deprecated
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. platforms/software/security/src/main/java/org/gradle/security/internal/pgp/BaseInMemoryPgpSignatoryProvider.java

                if (keyId == null) {
                    PGPSecretKey key = new JcaPGPSecretKeyRing(in).getSecretKey();
                    return factory.createSignatory(name, key, password);
                } else {
                    PgpKeyId expectedKeyId = new PgpKeyId(keyId);
                    for (PGPSecretKeyRing keyring : new JcaPGPSecretKeyRingCollection(in)) {
                        for (PGPSecretKey key : keyring) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top