Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,145 for hasNet (0.24 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/modulemap/ModuleMap.java

         */
        public List<String> getPublicHeaderPaths() {
            return publicHeaderPaths;
        }
    
        public HashCode getHashCode() {
            Hasher hasher = Hashing.newHasher();
            hasher.putString(moduleName);
            publicHeaderPaths.forEach(hasher::putString);
            return hasher.hash();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingFileSystemLocationSnapshotHasherTest.groovy

        def "throws IOException generated from hasher"() {
            def file = file('doesNotExist').tap { it.text = "" }
            def delegate = Mock(LineEndingNormalizingFileSystemLocationSnapshotHasher)
            def hasher = LineEndingNormalizingFileSystemLocationSnapshotHasher.wrap(delegate, LineEndingSensitivity.NORMALIZE_LINE_ENDINGS)
            def snapshot = this.snapshot(file)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

        }
    
        @Override
        public String toString() {
            return primitiveType.toString(array);
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            primitiveType.appendTo(hasher, array);
        }
    
        @Override
        public ValueSnapshot snapshot(@Nullable Object value, ValueSnapshotter snapshotter) {
            PrimitiveType valueType = PrimitiveType.maybeOfValue(value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java

     */
    public class HashingOutputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private final ByteArrayOutputStream buffer = new ByteArrayOutputStream();
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java

            }
            return resourceHash;
        }
    
        private static HashCode resourceHashCacheKey(HashCode contentHash, HashCode configurationHash) {
            Hasher hasher = Hashing.newHasher();
            hasher.putHash(configurationHash);
            hasher.putHash(contentHash);
            return hasher.hash();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

          assertEquals("b", cycle.next());
        }
      }
    
      public void testCycleOfTwoWithRemove() {
        Iterable<String> iterable = Lists.newArrayList("a", "b");
        Iterator<String> cycle = Iterators.cycle(iterable);
        assertTrue(cycle.hasNext());
        assertEquals("a", cycle.next());
        assertTrue(cycle.hasNext());
        assertEquals("b", cycle.next());
        assertTrue(cycle.hasNext());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

     */
    public class HashingInputStreamTest extends TestCase {
      private Hasher hasher;
      private HashFunction hashFunction;
      private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'};
      private ByteArrayInputStream buffer;
    
      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingFileSystemLocationSnapshotHasher.java

                default:
                    throw new IllegalArgumentException();
            }
        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            delegate.appendConfigurationToHasher(hasher);
            hasher.putString(getClass().getName());
        }
    
        @Nullable
        @Override
        public HashCode hash(FileSystemLocationSnapshot snapshot) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/SortedMapDiffUtil.java

                        if (previousEntries.hasNext() && currentEntries.hasNext()) {
                            previousEntry = previousEntries.next();
                            currentEntry = currentEntries.next();
                        } else {
                            break;
                        }
                    }
                }
            }
    
            while (currentEntries.hasNext()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top