Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for key2 (0.03 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/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

            if (!declarationsBySchemaFunctions.isEmpty()) {
                collectorDeclarationsByClass[kClass] = declarationsBySchemaFunctions
            }
    
            return declarationsBySchemaFunctions.keys
        }
    
        override fun constructors(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<DataConstructor> = emptyList()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/GeneralGradleDslSchemaTest.kt

            assertTrue(schema.analysisSchema.dataClassesByFqName.keys.any { it.simpleName == NestedReceiver::class.simpleName })
        }
    
        @Test
        fun `general dsl schema has types discovered via factory functions`() {
            val schema = schemaFrom(UtilsContainer::class)
            assertTrue(schema.analysisSchema.dataClassesByFqName.keys.any { it.simpleName == NestedReceiver::class.simpleName })
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/stdlib-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/stdlib/MapExtensions.kt

    fun <V> Map<String, V>.filterKeysByPrefix(prefix: String): Map<String, V?> =
        filterKeys { key -> key.length > prefix.length && key.startsWith(prefix) }
    
    
    /**
     * Inverts the given map by swapping its keys with their corresponding values and returns the resulting map.
     *
     * If the original map contains duplicate values, the resulting map will map each value to the key associated
     * with the last occurrence of that value in the original map's iteration order.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 1.2K 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)
Back to top