- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 501 for locked (0.09 seconds)
-
src/test/java/jcifs/smb/FileEntryTest.java
int apply(FileEntry e); } private interface LongGetter { long apply(FileEntry e); } // --- Mockito-based interaction tests --- @Test @DisplayName("Mocked FileEntry returns stubbed values and verifies interactions") void mockedEntry_happyPath_and_interactions() { // Arrange: stub all methods with representative values
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
* Prevents cascading failures by temporarily blocking requests to a failing service. * * The circuit breaker has three states: * - CLOSED: Normal operation, requests pass through * - OPEN: Service is failing, requests are blocked * - HALF_OPEN: Testing if service has recovered */ public class SmbCircuitBreaker { private static final Logger log = LoggerFactory.getLogger(SmbCircuitBreaker.class); /** * Circuit breaker statesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 33.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
static void awaitWaiting(Thread t) { while (true) { Thread.State state = t.getState(); switch (state) { case RUNNABLE: case BLOCKED: Thread.yield(); break; case WAITING: return; default: throw new AssertionError("unexpected state: " + state); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
lenient().when(gssManager.createName(anyString(), any())).thenReturn(serviceName); lenient().when(gssManager.createContext(any(), any(), any(), anyInt())).thenReturn(gssContext); // Create Kerb5Context with mocked dependencies ctx = new Kerb5Context("host.example", "cifs", null, 0, 0, null); } @AfterEach void tearDown() { if (mockedStatic != null) { mockedStatic.close(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0) -
internal/grid/grid_test.go
} } }() } // Check that local returned. err = st.Results(func(b []byte) error { <-st.Done() return ctx.Err() }) mu.Lock() select { case <-nowBlocking: default: t.Fatal("expected to be blocked. got err", err) } if err == nil { t.Fatal("expected error, got nil") } t.Logf("response: %v", err) // Check that remote is canceled.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphConstants.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 3.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/feature/FeatureInjector.java
import org.gradle.api.tasks.Internal; import javax.annotation.Nullable; import java.util.Iterator; /** * A parent class for transformations that are backed by a feature. This will inject the necessary "feature" into the * global setup and teardown section. See also org.elasticsearch.test.rest.yaml.Features for a list of possible features. */
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
cmd/ftp-server-driver.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.3K bytes - Click Count (0) -
CONTRIBUTING.md
script on Windows in the root of the repository. The examples below show the usage on Unix. We support development in IntelliJ versions IntelliJ 2020.1 and onwards and Eclipse 2020-3 and onwards. [Docker](https://docs.docker.com/install/) is required for building some Elasticsearch artifacts and executing certain test suites. You can run Elasticsearch without building all the artifacts with: ./gradlew :runCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 07:32:01 GMT 2021 - 36.5K bytes - Click Count (0)