- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 113 for roundUp (0.03 sec)
-
android/guava-tests/test/com/google/common/math/PairedStatsTest.java
} public void testToByteArrayAndFromByteArrayRoundTrip() { for (PairedStats pairedStats : ALL_PAIRED_STATS) { byte[] pairedStatsByteArray = pairedStats.toByteArray(); // Round trip to byte array and back assertThat(PairedStats.fromByteArray(pairedStatsByteArray)).isEqualTo(pairedStats); } } public void testFromByteArray_withNullInputThrowsNullPointerException() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 14K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsTest.java
} public void testToByteArrayAndFromByteArrayRoundTrip() { for (PairedStats pairedStats : ALL_PAIRED_STATS) { byte[] pairedStatsByteArray = pairedStats.toByteArray(); // Round trip to byte array and back assertThat(PairedStats.fromByteArray(pairedStatsByteArray)).isEqualTo(pairedStats); } } public void testFromByteArray_withNullInputThrowsNullPointerException() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
ioff += maxChunkSize; } if (dfd == null || !dfd.isValid()) { // don't reopen the file for every round if it's not necessary, keep the lock dfd = openCopyTargetFile(dest, src.getAttributes(), !write); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
) assertFailsWith<EOFException> { parts.nextPart() } } /** Confirm that [MultipartBody] and [MultipartReader] can work together. */ @Test fun `multipart round trip`() { val body = MultipartBody .Builder("boundary") .setType(MultipartBody.PARALLEL) .addPart("Quick".toRequestBody("text/plain".toMediaType()))Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertSame(testEquivalence, map.keyEquivalence); assertSame(map.valueStrength().defaultEquivalence(), map.valueEquivalence()); } public void testSetConcurrencyLevel() { // round up to the nearest power of two checkConcurrencyLevel(1, 1); checkConcurrencyLevel(2, 2); checkConcurrencyLevel(3, 4); checkConcurrencyLevel(4, 4); checkConcurrencyLevel(5, 8);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
assertSame(testEquivalence, map.keyEquivalence); assertSame(map.valueStrength().defaultEquivalence(), map.valueEquivalence()); } public void testSetConcurrencyLevel() { // round up to the nearest power of two checkConcurrencyLevel(1, 1); checkConcurrencyLevel(2, 2); checkConcurrencyLevel(3, 4); checkConcurrencyLevel(4, 4); checkConcurrencyLevel(5, 8);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
} @Test @DisplayName("size should return correct message size") void testSize() { int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 24; // size8 method rounds up to 8-byte boundary int expectedAlignedSize = (expectedSize + 7) & ~7; assertEquals(expectedAlignedSize, request.size()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
private final AtomicLong totalChannelsCreated = new AtomicLong(0); /** * Load balancing strategies for distributing operations across channels. */ public enum LoadBalancingStrategy { /** Round-robin distribution */ ROUND_ROBIN, /** Least connections */ LEAST_CONNECTIONS, /** Random selection */ RANDOM, /** Failover only (use primary until failure) */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
void testTextualConstructorNull() { assertThrows(NullPointerException.class, () -> new SID((String) null)); } @Test @DisplayName("Binary constructor happy path and round-trip via toByteArray") void testBinaryConstructorAndToByteArray() { // Arrange: revision=1, count=2, identAuth zeros except last byte, subauth 10, 20 byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)