Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for hash_code (0.17 sec)

  1. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        }
    
        @Override
        public int hashCode() {
          return 0;
        }
      }
    
      static class SameIntegerInstance {
        private final Integer i;
    
        public SameIntegerInstance(Integer i) {
          this.i = checkNotNull(i);
        }
    
        @Override
        public int hashCode() {
          return i.hashCode();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

            fun gradleProperty(propertyName: String): String?
            fun fingerprintOf(fileCollection: FileCollectionInternal): HashCode
            fun hashCodeAndTypeOf(file: File): Pair<HashCode, FileType>
            fun hashCodeOf(file: File): HashCode?
            fun hashCodeOfDirectoryContent(file: File): HashCode?
            fun displayNameOf(fileOrDirectory: File): String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt

            override fun hashCodeAndTypeOf(file: File): Pair<HashCode, FileType> =
                fileSystemAccess.read(file.absolutePath).let { it.hash to it.type }
    
            override fun hashCodeOfDirectoryContent(file: File): HashCode = directoryChildrenNamesHash(file)
    
            override fun fingerprintOf(fileCollection: FileCollectionInternal): HashCode =
                fileCollectionFingerprinter.fingerprint(fileCollection).hash
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            private final HashCode sourceHashCode;
            private final M metadata;
            private Class<? extends T> scriptClass;
            private ClassLoaderScope scope;
    
            public ClassesDirCompiledScript(boolean isEmpty, boolean hasMethods, Class<T> scriptBaseClass, ClassPath scriptClassPath, ClassLoaderScope targetScope, ScriptSource source, HashCode sourceHashCode, M metadata) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

            ClasspathFileTransformer transformer,
            Set<HashCode> seen,
            InstrumentationTypeRegistry typeRegistry
        ) {
            FileSystemLocationSnapshot snapshot = snapshotOf(original);
            if (snapshot.getType() == FileType.Missing) {
                return empty();
            }
            if (shouldUseFromCache(original)) {
                final HashCode contentHash = snapshot.getHash();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            }
            return false;
          }
    
          @Override
          public int hashCode() {
            K k = getKey();
            V v = getValue();
            return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
          }
    
          @Override
          public String toString() {
            return getKey() + "=" + getValue();
          }
        };
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/Helpers.java

            }
            return false;
          }
    
          @Override
          public int hashCode() {
            K k = getKey();
            V v = getValue();
            return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
          }
    
          @Override
          public String toString() {
            return getKey() + "=" + getValue();
          }
        };
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt

    import org.gradle.internal.cc.impl.initialization.ConfigurationCacheStartParameter
    import org.gradle.internal.cc.base.logger
    import org.gradle.internal.extensions.stdlib.useToRun
    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.Hashing
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import org.gradle.util.internal.EncryptionAlgorithm
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<Object> tentativeArgs = Lists.newArrayList(args);
        tentativeArgs.set(i, alternateArg);
        return createInstance(factory, tentativeArgs).hashCode()
            == createInstance(factory, args).hashCode();
      }
    
      // distinctValues is a type-safe class-values mapping, but we don't have a type-safe data
      // structure to hold the mappings.
      @SuppressWarnings({"unchecked", "rawtypes"})
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

            val instrumentationAgentUsed: Boolean
            val ignoredFileSystemCheckInputs: String?
            fun fingerprintOf(fileCollection: FileCollectionInternal): HashCode
            fun hashCodeOf(file: File): HashCode
            fun hashCodeOfDirectoryChildrenNames(file: File): HashCode
            fun displayNameOf(file: File): String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
Back to top