- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 804 for state (0.09 sec)
-
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <pre> * public class Address { * private final String city; * private final String state; * private final String zipcode; * * public Address(String city, String state, String zipcode) {...} * * {@literal @Override} public boolean equals(Object obj) {...} * {@literal @Override} public int hashCode() {...} * ... * } * </pre>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
cmd/erasure-sets.go
for i, format := range formats { drive := endpoints.GetString(i) state := madmin.DriveStateCorrupt switch { case format != nil: state = madmin.DriveStateOk case sErrs[i] == errUnformattedDisk: state = madmin.DriveStateMissing case sErrs[i] == errDiskNotFound: state = madmin.DriveStateOffline } beforeDrives[i] = madmin.HealDriveInfo{ UUID: func() string {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 37K bytes - Viewed (1) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
this.scheduler = Executors.newScheduledThreadPool(1, r -> { Thread t = new Thread(r, "PersistentHandleManager"); t.setDaemon(true); return t; }); // Create state directory for persistent storage String stateDir = System.getProperty("jcifs.smb.client.handleStateDirectory"); if (stateDir == null) { String homeDir = System.getProperty("user.home");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key2 = leaseManager.requestLease(path, requestedState); assertEquals(key1, key2); } @Test @DisplayName("Should update lease state") void testUpdateLease() { String path = "/share/file.txt"; int requestedState = Smb2LeaseState.SMB2_LEASE_FULL; int grantedState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* count, and a blank line. * * Each of the subsequent lines in the file is a record of the state of a cache entry. Each line * contains space-separated values: a state, a key, and optional state-specific values. * * o DIRTY lines track that an entry is actively being created or updated. Every successful
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
Collection<V> values = multimap().get(k3()); if (values.size() == 0) { expectUnchanged(); // Be extra thorough in case internal state was corrupted by the expected null. assertEquals(new ArrayList<>(), new ArrayList<>(values)); assertEquals(size, multimap().size()); } else { assertEquals(newArrayList(v3()), new ArrayList<>(values));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
channel = new RandomAccessFile(touchfile, "rw").getChannel(); lock = channel.lock(); if (touchfile.canRead()) { getLogger().debug("Reading resolution-state from: " + touchfile); props.load(Channels.newInputStream(channel)); } props.setProperty(key, Long.toString(System.currentTimeMillis()));Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Apr 22 22:13:51 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
} public void testBuildMutate() { ThreadFactory factory1 = builder.setPriority(1).build(); assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); builder.setPriority(2); // change the state of the builder assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); } public void testThreadFactory() throws InterruptedException { String THREAD_NAME = "ludicrous speed";
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
private SmbTree tree; @BeforeEach void resetMocks() { Mockito.reset(session, transport, tree); } // Happy path: isInUse returns the mocked state @ParameterizedTest @DisplayName("isInUse reflects current mocked state") @ValueSource(booleans = { true, false }) void isInUse_variants(boolean inUse) { when(session.isInUse()).thenReturn(inUse);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0)