- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 503 for retrying (0.12 seconds)
-
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
// The implementation doesn't check for null in constructor buffer = new DfsReferralRequestBuffer(path, maxReferralLevel); assertNotNull(buffer); // Will throw NPE when trying to call size() or encode() assertThrows(NullPointerException.class, () -> { buffer.size(); }); } @ParameterizedTestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
ci/official/utilities/code_check_full.bats
# toolchain format (or something) that specifies the toolchain directly instead # of as a "repository". They can't be valid on Linux because Linux can't do # anything with a Windows-only toolchain, and bazel errors if trying to build # that directory. @test "bazel nobuild passes on all of TF except TF Lite and win toolchains" {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 28 22:41:17 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
// Create a real NdrBuffer mock that can handle the deferred field access // But only test the non-deferred parts to avoid field mocking issues // When: Trying to encode (may throw exception due to deferred buffer) // Then: Should at least call the basic encoding methods before hitting deferred assertThrows(Exception.class, () -> {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) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
final boolean ragChatEnabled = fessConfig.isRagChatEnabled(); if (!ragChatEnabled) { if (logger.isTraceEnabled()) { logger.trace("ChatApiManager.matches() returning false. ragChatEnabled={}", ragChatEnabled); } return false; } final String servletPath = request.getServletPath();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
if (RELEASE_QUALIFIERS.contains(qualifier)) { return String.valueOf(QUALIFIERS.indexOf("")); } int i = QUALIFIERS.indexOf(qualifier); // Just returning an Integer with the index here is faster, but requires a lot of if/then/else to check for // -1 // or QUALIFIERS.size and then resort to lexical ordering. Most comparisons are decided by the first
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 26.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
.addEqualityGroup(ImmutableIntArray.of(1, 3)) .addEqualityGroup(ImmutableIntArray.of(1, 2, 3)) .testEquals(); } /** * This is probably a weird and hacky way to test what we're really trying to test, but hey, it * caught a bug. */ public void testTrimmed() { ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3); assertDoesntActuallyTrim(iia);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
} catch (UncheckedIOException e) { throw e.getCause(); } } /** * Returns whether the source has zero chars. The default implementation first checks {@link * #lengthIfKnown}, returning true if it's known to be zero and false if it's known to be * non-zero. If the length is not known, it falls back to opening a stream and checking for EOF. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
stopwatch.sleepMicrosUninterruptibly(microsToWait); return 1.0 * microsToWait / SECONDS.toMicros(1L); } /** * Reserves the given number of permits from this {@code RateLimiter} for future use, returning * the number of microseconds until the reservation can be consumed. * * @return time in microseconds to wait until the resource can be acquired, never negative */ final long reserve(int permits) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
String value = props.getProperty("test.prop"); if (value == null) { // If not found, it means ComponentUtil.getSystemProperties() is not returning system properties // In that case, just check that the file was created assertTrue(propFile.exists()); } else { assertEquals("test.value", value);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
Field headerStartField = ServerMessageBlock2.class.getDeclaredField("headerStart"); headerStartField.setAccessible(true); headerStartField.set(response, 0); // When & Then - should throw when trying to read beyond buffer assertThrows(ArrayIndexOutOfBoundsException.class, () -> response.readBytesWireFormat(smallBuffer, bodyStart)); } @Test @DisplayName("Should handle Reserved2 field correctly")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0)