- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 330 for corretto (0.12 sec)
-
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
@Test public void testSuccessfulOperation() throws CIFSException { String result = circuitBreaker.executeWithCircuitBreaker(() -> "success"); assertEquals("success", result, "Operation should return correct result"); assertEquals(State.CLOSED, circuitBreaker.getState(), "State should remain CLOSED"); assertEquals(0, circuitBreaker.getFailureCount(), "Failure count should remain 0"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertTrue(str.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8))); } @Test @DisplayName("Test getPadding returns correct value") void testGetPadding() { querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1000, DACL_SECURITY_INFORMATION); assertEquals(4, querySecurityDesc.getPadding()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
} } @Nested @DisplayName("Resource Unwrapping Tests") class ResourceUnwrappingTest { @Test @DisplayName("Should provide unwrap method with correct signature") void shouldProvideUnwrapMethod() { assertDoesNotThrow(() -> { java.lang.reflect.Method unwrapMethod = SmbSession.class.getMethod("unwrap", Class.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java
// Execute service.generateUrlQueues(previousSessionId, sessionId); // Verify assertEquals(2, newQueue.size()); // Verify the generated queues have correct properties List<UrlQueueImpl<Long>> queueList = new ArrayList<>(newQueue); boolean foundPage1 = false; boolean foundPage2 = false; for (UrlQueueImpl<Long> queue : queueList) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
msg.decode_header(fbuf); stub_frag_len = msg.length - 24; if (off + stub_frag_len > stub.length) { // shouldn't happen if alloc_hint is correct or greater final byte[] tmp = new byte[off + stub_frag_len]; System.arraycopy(stub, 0, tmp, 0, off); stub = tmp; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
docs/contribute/concurrency.md
You're allowed to take the Http2Connection lock while holding the Http2Writer lock. But not vice-versa. Because taking the Http2Writer lock can block. This is necessary for bookkeeping when creating new streams. Correct framing requires that stream IDs are sequential on the socket, so we need to bundle assigning the ID with sending the `SYN_STREAM` frame. ## Connection Pool
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java
// Expected exception assertEquals("Parse error", e.getMessage()); } } public void test_childUrlsExceptionMessage() { // Test that ChildUrlsException contains correct message ResponseData responseData = new ResponseData(); byte[] content = "<sitemap></sitemap>".getBytes(); responseData.setResponseBody(content); SitemapUrl sitemap = new SitemapUrl();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 12K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* MultisetSetCountConditionallyTester}. It is used by those testers to test calls to the * unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method * when the expected present count is correct. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedLong.java
// value. But in the specific case where the bottom two bits of the original number are 01, we // want to replace that with 1 in the shifted value for correct rounding. return (double) ((value >>> 1) | (value & 1)) * 2.0; } /** Returns the value of this {@code UnsignedLong} as a {@link BigInteger}. */ public BigInteger bigIntegerValue() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// When: Get challenge byte[] key = poolSpy.getChallenge(ctx, address); // Then: Should return server key assertArrayEquals(expectedKey, key, "Should return correct server key"); verify(internal).ensureConnected(); } @Test @DisplayName("Should wrap IOException in SmbException for getChallenge") void testGetChallengeIOException() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0)