- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 791 for short (0.16 sec)
-
internal/ringbuffer/ring_buffer_test.go
} debugln := func(args ...any) { if debug { fmt.Println(args...) } } // Inject random reader/writer sleeps. const maxSleep = int(1 * time.Millisecond) doSleep := !testing.Short() rb := New(4 << 10).SetBlocking(true) // Reader var readErr error var wg sync.WaitGroup wg.Add(1) go func() { readRng := rand.New(rand.NewSource(1)) defer wg.Done()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 26.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
String props = "test\n second = 2\n Third item : a short phrase "; testProp.load(new StringReader(props)); result = Maps.fromProperties(testProp); assertEquals(4, result.size()); assertEquals("true", result.get("first")); assertEquals("", result.get("test")); assertEquals("2", result.get("second")); assertEquals("item : a short phrase ", result.get("Third"));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
// When bind.decode_out(mockBuffer); // Then verify(mockBuffer, times(5)).dec_ndr_short(); // max xmit, max recv, addr len, result, final short verify(mockBuffer).dec_ndr_long(); // assoc group verify(mockBuffer).advance(10); // secondary addr (length 10) verify(mockBuffer, times(2)).align(4); // alignment callsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
// avoids this. checkState(aBoolean, "", aBoolean ? "" : anInt, (Object) anInt); // ambiguous without the .booleanValue() call since the boxing forces us into phase 2 resolution short s = 2; checkState(boxedBoolean.booleanValue(), "", s); } @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNullPointers() { /*Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
.add("field31", new Object[] {"!!!"}) .add("field32", new boolean[0]) .add("field33", new byte[0]) .add("field34", new char[0]) .add("field35", new short[0]) .add("field36", new int[0]) .add("field37", new long[0]) .add("field38", new float[0]) .add("field39", new double[0]) .add("field40", new Object[0])
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 21.4K bytes - Viewed (0) -
src/bytes/bytes_test.go
} } }) if allocs > 0 { t.Errorf("Equal allocated %v times", allocs) } } func TestEqualExhaustive(t *testing.T) { var size = 128 if testing.Short() { size = 32 } a := make([]byte, size) b := make([]byte, size) b_init := make([]byte, size) // randomish but deterministic data for i := 0; i < size; i++ { a[i] = byte(17 * i)
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 23 23:54:14 UTC 2025 - 62.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", "TTLTestPass123!"); // Initially not expired assertFalse(auth.isExpired()); // Set short TTL auth.setAuthenticationTTL(100); // 100 milliseconds assertEquals(100, auth.getAuthenticationTTL()); // Still not expired immediately assertFalse(auth.isExpired());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
localTask.run(); // Now check if our task attempted to reentrantly execute the next task. Runnable queuedTask; Executor queuedExecutor; // Intentionally using non-short-circuit operator while ((queuedTask = executingTaskQueue.nextTask) != null && (queuedExecutor = executingTaskQueue.nextExecutor) != null) { executingTaskQueue.nextTask = null;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 22.1K bytes - Viewed (0) -
misc/go_android_exec/main.go
// However, if the os.Stderr (or os.Stdout) file descriptors are // passed on, the hanging adb subprocess will hold them open and // go test will hang forever. // // Avoid that by wrapping stderr, breaking the short circuit and // forcing cmd.Run to use another pipe and goroutine to pass // along stderr from adb. cmd.Stderr = struct{ io.Writer }{os.Stderr} err := cmd.Run()
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
m.size = ei.V2Obj.EcBSize } else { m.size -= offset } b, err := os.ReadFile(file) if err != nil { return nil, err } if len(b) < 32 { return nil, fmt.Errorf("file %s too short", file) } // Extract block data. ssz := shardSize(ei.V2Obj.EcBSize, ei.V2Obj.EcM) b, err = bitrot(b, blockNum*ssz, ssz) if err != nil { return nil, err } if m.mapped == nil {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 40.4K bytes - Viewed (0)