- Sort Score
- Num 10 results
- Language All
Results 661 - 670 of 1,593 for efter (0.02 seconds)
-
guava/src/com/google/common/base/Platform.java
* won't be cleared as long as the enum constant is referenced somewhere, and the enum constant * is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum * class could be unloaded after the above call to `getEnumConstants` but before we call * `get()`, but that is vanishingly unlikely. */ return ref == null ? Optional.absent() : Optional.fromNullable(enumClass.cast(ref.get())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessRegistrationTest.java
long initialTime = registration.getLastHeartbeat(); Thread.sleep(50); // Ensure sufficient time difference registration.updateHeartbeat(); // After update, should not be expired with long timeout assertFalse(registration.isExpired(60000)); // Verify heartbeat was actually updated assertTrue(registration.getLastHeartbeat() > initialTime); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
fileIdField.setAccessible(true); assertArrayEquals(fileId2, (byte[]) fileIdField.get(notification)); } @Test @DisplayName("Should maintain state after successful read") void testStateMaintenanceAfterRead() throws Exception { byte oplockLevel = 0x02; byte[] fileId = createTestData(16);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} /** * Uploads a file to the storage system. * * @param form the item form containing file and path information * @return HTML response redirecting to the storage list after upload */ @Execute @Secured({ ROLE }) public HtmlResponse upload(final ItemForm form) { validate(form, messages -> {}, () -> asListHtml(form.path)); if (form.uploadFile == null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 22.1K bytes - Click Count (0) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
} server .url("/b") .toUrl() .openConnection() .getInputStream() // Should succeed. } /** * Throttle the request body by sleeping 500ms after every 3 bytes. With a 6-byte request, this * should yield one sleep for a total delay of 500ms. */ @Test fun throttleRequest() { assumeNotWindows() server.enqueue( MockResponse()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 03 13:16:34 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
pairs.add(flags2); assertEquals(3, pairs.size(), "Should start with 3 pairs"); AvPairs.remove(pairs, AvPair.MsvAvFlags); assertEquals(1, pairs.size(), "Should have 1 pair after removal"); assertFalse(AvPairs.contains(pairs, AvPair.MsvAvFlags), "Should not contain MsvAvFlags"); assertTrue(AvPairs.contains(pairs, AvPair.MsvAvTimestamp), "Should still contain MsvAvTimestamp"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
cmd/storage-datatypes.go
MetadataOnly bool `msg:"mo"` // Read as XL meta and truncate data. AbortOn404 bool `msg:"ab"` // Stop reading after first file not found. MaxResults int `msg:"mr"` // Stop after this many successful results. <= 0 means all. } // ReadMultipleResp contains a single response from a ReadMultipleReq. type ReadMultipleResp struct {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 17.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
import java.util.Collection; import java.util.Iterator; import org.jspecify.annotations.Nullable; /** * An implementation of {@code Iterable} which throws an exception on all invocations of the {@link * #iterator()} method after the first, and whose iterator is always unmodifiable. * * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a * second invocation, so implementors have made various choices, including:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ParametricNullness.java
* annotations that {@code ParametricNullness} was counteracting. * </ul> * * <p>This annotation is a temporary hack. We will remove it after <a * href="https://github.com/google/guava/issues/6126#issuecomment-1203145963">tools no longer need * it</a>. */ @GwtCompatible @Retention(CLASS) @Target({FIELD, METHOD, PARAMETER})Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/MacHashFunction.java
protected void update(ByteBuffer bytes) { checkNotDone(); checkNotNull(bytes); mac.update(bytes); } private void checkNotDone() { checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return HashCode.fromBytesNoCopy(mac.doFinal()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.6K bytes - Click Count (0)