- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 755 for State (0.06 seconds)
-
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
@Test @Timeout(5) public void testSessionLifecycle() throws Exception { SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Test initial state - session starts with usage count > 0 due to transport.acquire() assertTrue(session.isInUse(), "New session should be in use due to transport acquisition"); // Test additional acquire session.acquire();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 5.7K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/time/DateFormatterBenchmark.java
import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; import java.time.temporal.TemporalAccessor; import java.util.concurrent.TimeUnit; @Fork(3) @Warmup(iterations = 10) @Measurement(iterations = 10) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) @SuppressWarnings("unused") // invoked by benchmarking frameworkCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Feb 03 00:10:53 GMT 2021 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TableCollectors.java
return Collector.of( ImmutableTableCollectorState<R, C, V>::new, (state, input) -> state.put( rowFunction.apply(input), columnFunction.apply(input), valueFunction.apply(input), mergeFunction), (s1, s2) -> s1.combine(s2, mergeFunction), state -> state.toTable()); } static < T extends @Nullable Object,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
* <li>It is easy for the user to ensure that listeners are never invoked while holding locks. * </ul> * * The last point is subtle. Often the observable object will be managing its own internal state * using a lock, however it is dangerous to dispatch listeners while holding a lock because they * might run on the {@code directExecutor()} or be otherwise re-entrant (call back into your
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 8.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java
* <li>Manage repository configurations</li> * <li>Handle project forking states</li> * </ul> * * The service maintains the mutable state of projects as they progress through * their build lifecycle, ensuring thread-safety and proper state management. * All implementations must be thread-safe as they may be accessed concurrently * during parallel builds. * * @since 4.0.0
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:29:13 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
assertDoesNotThrow(() -> response.prepare(mockRequest)); } } @Nested @DisplayName("State Management Tests") class StateManagementTests { @Test @DisplayName("Should reset state correctly") void testReset() { // Set initial state response.received(); assertTrue(response.isReceived()); // Reset
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/TermsReduceBenchmark.java
import org.openjdk.jmh.annotations.OutputTimeUnit; import org.openjdk.jmh.annotations.Param; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.Setup; import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; import java.util.AbstractList; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Random;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Aug 20 15:45:38 GMT 2021 - 8.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/TableCollectors.java
return Collector.of( ImmutableTableCollectorState<R, C, V>::new, (state, input) -> state.put( rowFunction.apply(input), columnFunction.apply(input), valueFunction.apply(input), mergeFunction), (s1, s2) -> s1.combine(s2, mergeFunction), state -> state.toTable()); } static < T extends @Nullable Object,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
@BeforeEach public void setUp() throws IOException { MockitoAnnotations.openMocks(this); // Create temporary directory for test state tempDir = Files.createTempDirectory("jcifs-test-handles"); // Set system property for handle state directory System.setProperty("jcifs.smb.client.handleStateDirectory", tempDir.toString()); when(mockContext.getConfig()).thenReturn(mockConfig);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 6.6K bytes - Click Count (0) -
docs/resiliency/resiliency-verify-failure-script.sh
#!/usr/bin/env bash echo "script failed" >resiliency-verify-failure.log # assume initial state ALIAS_NAME=myminio BUCKET="test-bucket" DEST_DIR="/tmp/dest" OUT=$(./mc cp --quiet --recursive "${ALIAS_NAME}"/"${BUCKET}"/initial-data/ "${DEST_DIR}"/) RET=${?} if [ ${RET} -ne 0 ]; then # It is a success scenario as get objects should fail echo "GET objects failed as expected" echo "script passed" >resiliency-verify-failure.log exit 0
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 21 04:24:45 GMT 2024 - 509 bytes - Click Count (0)