- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 165 for rlocked (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
decoded.decode(buf); assertEquals(123, decoded.value, "decoded value should equal original"); } /** * Verify that encode invokes NdrBuffer.enc_ndr_short via a mocked * (spied) buffer. */ @Test void encodeWithSpiedBufferCallsEncMethod() throws NdrException { NdrShort ns = new NdrShort(42); NdrBuffer spy = spy(new NdrBuffer(new byte[10], 0));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
sendRequest(methodName, arguments); assertThat(getResponse(methodName).getThrowable()).isInstanceOf(expected); } /** * Causes this thread to call the named method, and asserts that this thread becomes blocked on * the lock-like object. The lock-like object must have a method equivalent to {@link * java.util.concurrent.locks.ReentrantLock#hasQueuedThread(Thread)}. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Expected } } assertEquals(State.OPEN, circuitBreaker.getState(), "Circuit should be OPEN"); // Try to execute - should be blocked with CIFSException CIFSException exception = assertThrows(CIFSException.class, () -> { circuitBreaker.executeWithCircuitBreaker(() -> "should not execute");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
@DisplayName("Mockito: verify renew() interaction and return value") void mockitoInteraction(@Mock CredentialsInternal returned, @Mock SmbRenewableCredentials renewable) { // Arrange: stub renew() to return a mocked CredentialsInternal when(renewable.renew()).thenReturn(returned); // Act: invoke renew() CredentialsInternal result = renewable.renew();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
public class SmbSessionTest { @Mock UniAddress addr; @Mock InetAddress inet; NtlmPasswordAuthentication auth; @Mock SmbTransport transport; // static helper that returns the mocked transport. The real class // performs several other operations, but for the purpose of the test // we intercept the factory call. private MockedStatic<SmbTransport> smbtStatic; @BeforeEachCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
cmd/global-heal.go
lc, err = globalLifecycleSys.Get(bucket) if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bucket}) { retErr = err healingLogIf(ctx, err) continue } // Check if bucket is object locked. lr, err = globalBucketObjectLockSys.Get(bucket) if err != nil { retErr = err healingLogIf(ctx, err) continue } rcfg, err = getReplicationConfig(ctx, bucket) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 04 13:49:12 GMT 2025 - 16.2K bytes - Click Count (0) -
internal/config/subnet/subnet.go
if e != nil { return "", e } r.Header.Add("Content-Type", writer.FormDataContentType()) return c.submitPost(r) } func (c Config) submitPost(r *http.Request) (string, error) { configLock.RLock() r.Header.Set(xhttp.SubnetAPIKey, c.APIKey) configLock.RUnlock() r.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID) client := &http.Client{ Timeout: 10 * time.Second, Transport: c.transport,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.9K bytes - Click Count (0) -
internal/grid/manager.go
Incoming func(n int64) // Record incoming bytes. Outgoing func(n int64) // Record outgoing bytes. BlockConnect chan struct{} // If set, incoming and outgoing connections will be blocked until closed. RoutePath string TraceTo *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType] Dialer ConnDialer // Sign a token for the given audience. AuthFn AuthFn
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 12 20:41:41 GMT 2024 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
assertEquals("sig check failed", ex.getMessage()); verify(handle).areSignaturesActive(); } @Test @DisplayName("getSession(): returns the mocked SmbSession instance") void getSession_returnsMock() { // Arrange SmbSession session = mock(SmbSession.class); when(handle.getSession()).thenReturn(session); // Act
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
@SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait. void awaitTimedWaiting(Thread thread) { while (true) { switch (thread.getState()) { case BLOCKED: case NEW: case RUNNABLE: case WAITING: Thread.yield(); break; case TIMED_WAITING: return; case TERMINATED:Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 26.5K bytes - Click Count (0)