- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,145 for hasNet (0.14 sec)
-
src/test/java/jcifs/tests/EnumTest.java
if ( !c.exists() ) { c.mkdirs(); } } Set<String> names = new HashSet<>(); try ( CloseableIterator<SmbResource> chld = f.children() ) { while ( chld.hasNext() ) { try ( SmbResource next = chld.next() ) { try ( CloseableIterator<SmbResource> children = next.children() ) {}
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasher.java
} /** * Returns empty if the file is detected to be a binary file */ private Optional<HashCode> hash(InputStream inputStream) throws IOException { PrimitiveHasher hasher = Hashing.newPrimitiveHasher(); hasher.putHash(SIGNATURE); try (BufferedInputStream input = new BufferedInputStream(CloseShieldInputStream.wrap(inputStream), BUFFER_SIZE)) { int peekAhead = -1;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 4.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy
def file = file('foo') << contents def delegate = Mock(ResourceHasher) def hasher = LineEndingNormalizingResourceHasher.wrap(delegate, LineEndingSensitivity.NORMALIZE_LINE_ENDINGS) when: hasher.hash(snapshotContext(file)) then: 0 * delegate._ when: hasher.hash(zipContext(file)) then: 0 * delegate._ where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.9K bytes - Viewed (0) -
internal/jwt/parser.go
hasher := h.pool.Get().(hash.Hash) h.borrowed = append(h.borrowed, hasher) hasher.Reset() return hasher } // ReturnAll will return all borrowed hashes. func (h *HashBorrower) ReturnAll() { for _, hasher := range h.borrowed { h.pool.Put(hasher) } h.borrowed = nil } // StandardClaims are basically standard claims with "accessKey" type StandardClaims struct { AccessKey string `json:"accessKey,omitempty"`
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 09 07:53:08 UTC 2023 - 13.9K bytes - Viewed (0) -
src/hash/maphash/maphash.go
package maphash // A Seed is a random value that selects the specific hash function // computed by a [Hash]. If two Hashes use the same Seeds, they // will compute the same hash values for any given input. // If two Hashes use different Seeds, they are very likely to compute // distinct hash values for any given input. // // A Seed must be initialized by calling [MakeSeed].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
@Override @CanIgnoreReturnValue public final Hasher putByte(byte b) { buffer.put(b); munchIfFull(); return this; } @Override @CanIgnoreReturnValue public final Hasher putShort(short s) { buffer.putShort(s); munchIfFull(); return this; } @Override @CanIgnoreReturnValue public final Hasher putChar(char c) { buffer.putChar(c);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
@Override @CanIgnoreReturnValue public final Hasher putByte(byte b) { buffer.put(b); munchIfFull(); return this; } @Override @CanIgnoreReturnValue public final Hasher putShort(short s) { buffer.putShort(s); munchIfFull(); return this; } @Override @CanIgnoreReturnValue public final Hasher putChar(char c) { buffer.putChar(c);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
} public void testNewHashSetEmpty() { HashSet<Integer> set = Sets.newHashSet(); verifySetContents(set, EMPTY_COLLECTION); } public void testNewHashSetVarArgs() { HashSet<Integer> set = Sets.newHashSet(0, 1, 1); verifySetContents(set, Arrays.asList(0, 1)); } public void testNewHashSetFromCollection() { HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 47.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java
}; private final FileHasher hasher; private final Interner<String> stringInterner; private final DefaultExcludes defaultExcludes; private final DirectorySnapshotterStatistics.Collector collector; public DirectorySnapshotter(FileHasher hasher, Interner<String> stringInterner, Collection<String> defaultExcludes, DirectorySnapshotterStatistics.Collector collector) { this.hasher = hasher;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 24.4K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasherTest.groovy
when: hasher.hash(zipEntry('META-INF/foo')) hasher.hash(zipEntry('META-INF/foo/MANIFEST.MF')) hasher.hash(zipEntry('META-INF/properties')) hasher.hash(zipEntry('META-INF/build.propertiesX')) hasher.hash(zipEntry('bar.properties')) hasher.hash(zipEntry('resources/foo.properties')) hasher.hash(zipEntry('foo')) hasher.hash(zipEntry('org/gradle/foo.class'))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 16.9K bytes - Viewed (0)