Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for defaultFunction (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

            Hasher hasher = newHasher();
            hasher.put(hashable);
            return hasher.hash();
        }
    
        /**
         * The default hashing function.
         */
        public static HashFunction defaultFunction() {
            return DEFAULT;
        }
    
        /**
         * MD5 hashing function.
         */
        public static HashFunction md5() {
            return MD5;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top