- Sort Score
- Result 10 results
- Languages All
Results 1261 - 1270 of 4,114 for inT (0.04 sec)
-
cmd/erasure-sets.go
if cardinality <= 0 { return -1 } keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable) return int(keyCrc % uint32(cardinality)) } func hashKey(algo string, key string, cardinality int, id [16]byte) int { switch algo { case formatErasureVersionV2DistributionAlgoV1: return crcHashMod(key, cardinality) case formatErasureVersionV3DistributionAlgoV2, formatErasureVersionV3DistributionAlgoV3:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37K bytes - Viewed (1) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test writeSecurityBufferContent byte[] dest = new byte[20]; byte[] src = "Content".getBytes(); int pos = 8; // Position where content should be written int off = 0; // Offset where position should be written // Test with non-null source array int bytesWritten = NtlmMessage.writeSecurityBufferContent(dest, pos, off, src);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
@ParameterizedTest @ValueSource(ints = { 0, 1, -1, Integer.MAX_VALUE, Integer.MIN_VALUE }) @DisplayName("writeSetupWireFormat returns 0 for all indices") void writeSetupWireFormatReturnsZero(int index) { TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse(); assertEquals(0, resp.writeSetupWireFormat(new byte[10], index), "writeSetupWireFormat should always return 0"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
public static <E> int drain( BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout) throws InterruptedException { return drain(q, buffer, numElements, toNanosSaturated(timeout), NANOSECONDS); } /** * Drains the queue as {@link BlockingQueue#drainTo(Collection, int)}, but if the requested {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 18.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
} private static int repositoryHashCode(ArtifactRepository repository) { int result = 17; result = 31 * result + (repository.getId() != null ? repository.getId().hashCode() : 0); return result; } private static int repositoriesHashCode(List<ArtifactRepository> repositories) { int result = 17; for (ArtifactRepository repository : repositories) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 11.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbShareInfo.java
*/ public SmbShareInfo(final String netName, final int type, final String remark) { this.netName = netName; this.type = type; this.remark = remark; } @Override public String getName() { return netName; } @Override public int getType() { /* 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java
public class StopwatchBenchmark { @Benchmark long stopwatch(int reps) { long total = 0; for (int i = 0; i < reps; i++) { Stopwatch s = Stopwatch.createStarted(); // here is where you would do something total += s.elapsed(NANOSECONDS); } return total; } @Benchmark long manual(int reps) { long total = 0; for (int i = 0; i < reps; i++) { long start = System.nanoTime();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/BaseTest.java
*/ protected byte[] createTestData(int size) { byte[] data = new byte[size]; for (int i = 0; i < size; i++) { data[i] = (byte) (i % 256); } return data; } /** * Create a test string with specified length */ protected String createTestString(int length) { StringBuilder sb = new StringBuilder(length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 11:23:19 UTC 2025 - 5.7K bytes - Viewed (0)