- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 328 for 0500 (0.06 seconds)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
} @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() { byte[] buffer = new byte[100]; int result = response.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); // Test with different parameters result = response.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTest.java
// Test preconditions assertThrows(IllegalArgumentException.class, () -> source.slice(-1, 10)); assertThrows(IllegalArgumentException.class, () -> source.slice(0, -1)); assertCorrectSlice(0, 0, 0, 0); assertCorrectSlice(0, 0, 1, 0); assertCorrectSlice(100, 0, 10, 10); assertCorrectSlice(100, 0, 100, 100); assertCorrectSlice(100, 5, 10, 10); assertCorrectSlice(100, 5, 100, 95);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 15.6K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
*/ public abstract long asLong(); /** * If this hashcode has enough bits, returns {@code asLong()}, otherwise returns a {@code long} * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining * most-significant bytes. * * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)}) */ public abstract long padToLong(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
internal/kms/kms.go
} var defaultLatencyBuckets = []time.Duration{ 10 * time.Millisecond, 50 * time.Millisecond, 100 * time.Millisecond, 250 * time.Millisecond, 500 * time.Millisecond, 1000 * time.Millisecond, // 1s 1500 * time.Millisecond, 3000 * time.Millisecond, 5000 * time.Millisecond, 10000 * time.Millisecond, // 10s } // KMS is a connection to a key management system.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 24 15:33:57 GMT 2025 - 11.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt
val delays = mutableListOf(50.µs, -1L) override fun runOnce(): Long { log += "run@${taskFaker.nanoTime}" redQueue.cancelAll() return delays.removeAt(0) } }, 100.µs, ) taskFaker.advanceUntil(0.µs) assertThat(log).isEmpty() taskFaker.advanceUntil(100.µs) assertThat(log).containsExactly("run@100000")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 23K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
import java.util.StringTokenizer; import jcifs.smb1.Config; import jcifs.smb1.util.Hexdump; import jcifs.smb1.util.LogStream; class NameServiceClient implements Runnable { static final int DEFAULT_SO_TIMEOUT = 5000; static final int DEFAULT_RCV_BUF_SIZE = 576; static final int DEFAULT_SND_BUF_SIZE = 576; static final int NAME_SERVICE_UDP_PORT = 137; static final int DEFAULT_RETRY_COUNT = 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
transaction.setMaxSetupCount((byte) 3); transaction.setTotalParameterCount(500); transaction.setTotalDataCount(1000); transaction.setMaxParameterCount(2048); transaction.setMaxDataCountForTest(4096); transaction.setParameterCount(250); transaction.setParameterOffset(150); transaction.setDataCount(500); transaction.setDataOffset(400); transaction.setSetupCount(2);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
assertEquals(4, dst[0]); // Should end with 0x00 assertEquals(0x00, dst[length - 1]); // Length should be scope length + 2 assertEquals(name.scope.length() + 2, length); } @Test void readScopeWireFormat_withNullScope_shouldReturnOne() { byte[] src = new byte[10]; src[0] = 0x00; Name name = new Name(mockConfig);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
File lmhostsFile = tempDir.resolve("lmhosts_ip_components").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("0.0.0.0 HOST1\n"); writer.write("127.0.0.1 HOST2\n"); writer.write("192.168.255.255 HOST3\n"); writer.write("10.20.30.40 HOST4\n"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
assertThat(iia.subArray(1, 5).indexOf(1)).isEqualTo(0); } public void testIndexOf_specialValues() { ImmutableDoubleArray iia = ImmutableDoubleArray.of(-0.0, 0.0, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN); assertThat(iia.indexOf(-0.0)).isEqualTo(0); assertThat(iia.indexOf(0.0)).isEqualTo(1); assertThat(iia.indexOf(Double.MAX_VALUE)).isEqualTo(2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.5K bytes - Click Count (0)