- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 3,507 for Int (0.07 sec)
-
android/guava-tests/test/com/google/common/math/QuantilesTest.java
// ceil(199*index/2). if (index % 2 == 0) { int position = IntMath.divide(199 * index, 2, UNNECESSARY); return PSEUDORANDOM_DATASET_SORTED.get(position); } else { int positionFloor = IntMath.divide(199 * index, 2, FLOOR); int positionCeil = IntMath.divide(199 * index, 2, CEILING); double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
// ceil(199*index/2). if (index % 2 == 0) { int position = IntMath.divide(199 * index, 2, UNNECESSARY); return PSEUDORANDOM_DATASET_SORTED.get(position); } else { int positionFloor = IntMath.divide(199 * index, 2, FLOOR); int positionCeil = IntMath.divide(199 * index, 2, CEILING); double lowerValue = PSEUDORANDOM_DATASET_SORTED.get(positionFloor);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
} final int workstationLength = workstation != null ? workstation.length : 0; final byte[] lmResponse = getLMResponse(); final int lmLength = lmResponse != null ? lmResponse.length : 0; final byte[] ntResponse = getNTResponse(); final int ntLength = ntResponse != null ? ntResponse.length : 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
// Given Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L); // When int size = request.size(); // Then // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 4 bytes for cancel structure int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 4 + 7) / 8) * 8;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
int last = 0; for (int shards = 2; shards <= MAX_SHARDS; shards++) { int chosen = Hashing.consistentHash(h, shards); if (chosen != last) { map.incrementAndGet(shards); last = chosen; } } } private static final int ITERS = 10000; private static final int MAX_SHARDS = 500;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 26.4K bytes - Viewed (2) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
void testDeriveKeys_DifferentSessionKeySizes() { // Test with various session key sizes int[] keySizes = { 8, 16, 24, 32, 64, 128 }; int dialect = Smb2Constants.SMB2_DIALECT_0311; for (int size : keySizes) { // Given byte[] testKey = new byte[size]; new SecureRandom().nextBytes(testKey); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
protected long facetCacheDuration = 60 * 10L; /** Length of text fragment prefix */ protected int textFragmentPrefixLength; /** Length of text fragment suffix */ protected int textFragmentSuffixLength; /** Size of text fragments */ protected int textFragmentSize; /** * Initializes the ViewHelper with configuration settings.Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
int threadCount = 10; int operationsPerThread = 100; CountDownLatch latch = new CountDownLatch(threadCount); ExecutorService executor = Executors.newFixedThreadPool(threadCount); AtomicInteger successCount = new AtomicInteger(0); AtomicInteger failureCount = new AtomicInteger(0); for (int t = 0; t < threadCount; t++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
docs/debugging/hash-set/main.go
// in the slices returned. func hashOrder(key string, cardinality int) []int { if cardinality <= 0 { // Returns an empty int slice for cardinality < 0. return nil } nums := make([]int, cardinality) keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable) start := int(keyCrc % uint32(cardinality)) for i := 1; i <= cardinality; i++ { nums[i-1] = 1 + ((start + i) % cardinality)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
byte[] b = invocation.getArgument(0); int off = invocation.getArgument(1); int l = invocation.getArgument(2); System.arraycopy(expectedOutput, 0, b, off, l); return l; }); HMACT64 hmac = new HMACT64(TEST_KEY); int bytesWritten = hmac.engineDigest(buffer, 0, expectedOutput.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0)