- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 156 for 01234 (0.02 sec)
-
src/test/java/jcifs/smb/SpnegoContextTest.java
SpnegoContext ctx = newContext(); // The initial token path should ask the mechanism for a zero-length optimistic token when(this.mechContext.getFlags()).thenReturn(0x1234); when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 }); // Act: len==0 triggers initial token construction
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
ImmutableIntArray.of().forEach(i -> fail()); ImmutableIntArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail()); AtomicInteger count = new AtomicInteger(0); ImmutableIntArray.of(0, 1, 2, 3).forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement())); assertThat(count.get()).isEqualTo(4); } public void testStream() { ImmutableIntArray.of().stream().forEach(i -> fail());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4)); Set<Integer> values = bimap.values(); assertEquals(newHashSet(1, 2, 3, 4), values); assertThat(values).containsExactly(1, 2, 3, 4).inOrder(); } public void testDoubleInverse() { ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
Configuration cfg = mock(Configuration.class); SmbComLockingAndX cmd = new SmbComLockingAndX(cfg); // set fields via reflection setField(cmd, "fid", 0x1234); setField(cmd, "typeOfLock", (byte) 0x05); setField(cmd, "newOpLockLevel", (byte) 0x01); setField(cmd, "timeout", 3000L); // arrays of one lock and one unlock range
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
testMessage.setMid(12345L); testMessage.addFlags(0x1234); String result = testMessage.toString(); assertTrue(result.contains("command=SMB2_CREATE")); assertTrue(result.contains("status=0")); assertTrue(result.contains("flags=0x1234")); assertTrue(result.contains("mid=12345"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
// Arrange WriterThread w = new WriterThread(); SmbFileOutputStream out = mock(SmbFileOutputStream.class); byte[] payload = new byte[] { 1, 2, 3, 4 }; w.start(); // Wait until writer thread signals readiness synchronized (w) { long deadline = System.currentTimeMillis() + 2000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
ImmutableDoubleArray.of().forEach(i -> fail()); ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail()); AtomicInteger count = new AtomicInteger(0); ImmutableDoubleArray.of(0, 1, 2, 3) .forEach(i -> assertThat(i).isEqualTo((double) count.getAndIncrement())); assertThat(count.get()).isEqualTo(4); } public void testStream() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
utils/utils_test.go
func TestContains(t *testing.T) { containsTests := []struct { name string elems []string elem string out bool }{ {"exists", []string{"1", "2", "3"}, "1", true}, {"not exists", []string{"1", "2", "3"}, "4", false}, } for _, test := range containsTests { t.Run(test.name, func(t *testing.T) { if out := Contains(test.elems, test.elem); test.out != out {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
ImmutableDoubleArray.of().forEach(i -> fail()); ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail()); AtomicInteger count = new AtomicInteger(0); ImmutableDoubleArray.of(0, 1, 2, 3) .forEach(i -> assertThat(i).isEqualTo((double) count.getAndIncrement())); assertThat(count.get()).isEqualTo(4); } public void testStream() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.5K bytes - Viewed (0) -
cmd/endpoint_test.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 18.9K bytes - Viewed (0)