- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 3,205 for Call (0.1 sec)
-
internal/ringbuffer/ring_buffer.go
// Even if Read returns n < len(p), it may use all of p as scratch space during the call. // If some data is available but not len(p) bytes, Read conventionally returns what is available instead of waiting for more. // When Read encounters an error or end-of-file condition after successfully reading n > 0 bytes, it returns the number of bytes read. // It may return the (non-nil) error from the same call or return the error (and n == 0) from a subsequent call.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 13.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java
assertThat(e).hasCauseThat().isEqualTo(exception); } public static <T> Callable<T> callableThrowing(Exception exception) { return new Callable<T>() { @Override public T call() throws Exception { throw exception; } }; } private static Runnable runnableThrowing(RuntimeException e) { return new Runnable() { @Override public void run() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.1K bytes - Viewed (0) -
src/arena/arena.go
// NewArena allocates a new arena. func NewArena() *Arena { return &Arena{a: runtime_arena_newArena()} } // Free frees the arena (and all objects allocated from the arena) so that // memory backing the arena can be reused fairly quickly without garbage // collection overhead. Applications must not call any method on this // arena after it has been freed. func (a *Arena) Free() { runtime_arena_arena_Free(a.a) a.a = nil }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
// we cannot directly verify them here without reflection or extending SamrOpenAlias for testing. // However, the primary responsibility of MsrpcSamrOpenAlias's constructor is to call the super constructor // and set its own specific fields (ptype, flags). // The fact that the object is successfully created implies the super constructor was called. }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java
assertThat(graphAsMutableGraph.removeNode(N1)).isTrue(); // The choice of the size() method to call here is arbitrary. We assume that if any of the Set // methods executes the validation check, they all will, and thus we only need to test one of // them to ensure that the validation check happens and has the expected behavior. assertNodeRemovedFromGraphErrorMessage(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
assertThrows(NullPointerException.class, () -> hyper.decode(null)); } /** * Verify that the encode method forwards the value to NdrBuffer. */ @Test @DisplayName("Encode should call NdrBuffer.enc_ndr_hyper with correct value") public void testEncodeInteraction() throws NdrException { NdrBuffer buf = mock(NdrBuffer.class); NdrHyper hyper = new NdrHyper(12345L); hyper.encode(buf);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
+ "a null element counting as having a hash of zero).", expectedHashCode, getSet().hashCode()); } /** * Returns the {@link Method} instances for the test methods in this class which call {@code * hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflectionRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
// Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { future.get(); Assert.fail("This call was supposed to throw an ExecutionException"); } catch (ExecutionException expected) { Assert.assertSame(expectedCause, expected.getCause()); } } public void assertTimeout() throws Exception {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
internal/s3select/jstream/scanner.go
// request next fill to be prepared if s.end == maxInt { s.fillReq <- struct{}{} } } s.pos++ return s.buf[s.ipos] } // back undoes a previous call to next(), moving backward one byte in the internal buffer. // as we only guarantee a lookback buffer size of one, any subsequent calls to back() // before calling next() may panic func (s *scanner) back() { if s.ipos <= 0 {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/sts/assume-role.go
} func main() { flag.Parse() if minioUsername == "" || minioPassword == "" { flag.PrintDefaults() return } // The credentials package in minio-go provides an interface to call the // STS API. // Initialize credential options var stsOpts cr.STSAssumeRoleOptions stsOpts.AccessKey = minioUsername stsOpts.SecretKey = minioPassword if sessionPolicyFile != "" { var policy string
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Aug 17 01:24:54 UTC 2024 - 4.4K bytes - Viewed (1)