- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for defaultFunction (0.59 sec)
-
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
calledWith(f, s); } void check() { runTester(); NullRejectingFromTo<?, ?> defaultFunction = (NullRejectingFromTo<?, ?>) getDefaultParameterValue(0); assertNotNull(defaultFunction); try { defaultFunction.apply(null); fail("Proxy Should have rejected null"); } catch (NullPointerException expected) { } } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 47.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/api/internal/artifacts/verification/DependencyVerificationFixture.groovy
def file = module.getArtifact([type: artifactType, classifier: classifier]).file def function = Hashing.defaultFunction() switch (algo) { case ["sha1", "md5"]: def artifact = module.getArtifact([type: "${artifactType}.${algo}", classifier: classifier]) if (artifact.file.exists()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 14.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java
Hasher hasher = Hashing.defaultFunction().newHasher(); hasher.putInt(CACHE_FORMAT); hasher.putInt(AsmConstants.MAX_SUPPORTED_JAVA_VERSION); gradleCoreInstrumentationTypeRegistry.getInstrumentedTypesHash().ifPresent(hasher::putHash);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 27 13:36:38 UTC 2024 - 6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestBuildCache.groovy
} List<TestFile> listCacheFiles() { cacheDir.listFiles().findAll { it.name ==~ /\p{XDigit}{${Hashing.defaultFunction().hexDigits}}/ }.sort() } void deleteCacheEntry(String cacheKey) { def entry = getTestFileCacheEntry(cacheKey) if (entry.file.exists()) { entry.file.deleteDir() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpBuildCacheServer.groovy
} TestFile getCacheDir() { Preconditions.checkNotNull(cacheDir) } List<TestFile> listCacheFiles() { cacheDir.listFiles().findAll { it.name ==~ /\p{XDigit}{${Hashing.defaultFunction().hexDigits}}/ }.sort() } void deleteCacheFiles() { listCacheFiles().each { it.delete() } } @Override WebAppContext getCustomHandler() { return webapp }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy
private final static int DEFAULT_RETENTION_PERIOD_DAYS = 7 def operations = new BuildOperationsFixture(executer, testDirectoryProvider) def hashStringLength = Hashing.defaultFunction().hexDigits abstract String getBuildCacheName(); abstract void createBuildCacheEntry(String key, File value, long timestamp); abstract boolean existsBuildCacheEntry(String key);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 16:53:17 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:30 UTC 2024 - 12.3K bytes - Viewed (0)