- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 1,990 for Response (0.23 seconds)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
assertFalse(response.canReuse(otherContext, false)); } @Test @DisplayName("Should validate response correctly") void testIsValid() throws Exception { // Setup valid response setResponseAsReceived(response); setPrivateField(response, "dialectRevision", 0x0311); setPrivateField(response, "securityMode", Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
response = new SmbComQueryInformationResponse(mockConfig, maxOffset); long testTime = 1000000000L; setFieldValue(response, "lastWriteTime", testTime); assertEquals(testTime + maxOffset, response.getCreateTime()); assertEquals(testTime + maxOffset, response.getLastWriteTime()); assertEquals(testTime + maxOffset, response.getLastAccessTime()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java
checkMethodBase(requestBody).put(API_PATH + "/" + BULK_ENDPOINT).then().body("response.status", equalTo(0)); refresh(); // Verify documents were updated response = checkMethodBase(searchBody).get(SEARCHLIST_API_PATH + "/docs").asString(); List<Map<String, Object>> updatedDocs = JsonPath.from(response).getList("response.docs"); logger.info("Updated documents: {}", updatedDocs);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt
route: Route?, response: Response, ): Request? { if (route == null) throw NullPointerException("route == null") responses += response routes += route if (!schemeMatches(response) || credential == null) return null val header = when (response.code) { 407 -> "Proxy-Authorization" else -> "Authorization" } return response.request .newBuilder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
* to return the result of the computation. * </p> * * @param <RESPONSE> The type of the response. */ public class Deferred<RESPONSE extends Response> { /** * Constructs a new Deferred object. */ public Deferred() { // nothing } private RESPONSE response = null; private Throwable error = null; private final Promise promise = new Promise();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
response = spy(response); when(response.getHeaderStart()).thenReturn(0); int result = response.readBytesWireFormat(buffer, bufferIndex); assertEquals(8, result); assertNotNull(response.getResults()); // Even with -1, the do-while loop executes at least once due to the bug assertEquals(1, response.getResults().length); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
@Test fun peekShorterThanResponse() { val response = newResponse(responseBody("abcdef")) val peekedBody = response.peekBody(3) assertThat(peekedBody.string()).isEqualTo("abc") assertThat(response.body.string()).isEqualTo("abcdef") } @Test fun peekLongerThanResponse() { val response = newResponse(responseBody("abc")) val peekedBody = response.peekBody(6) assertThat(peekedBody.string()).isEqualTo("abc")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
assertSame(response1, result); assertSame(response2, result.getNext()); } @Test @DisplayName("setResponse should accept valid response") void testSetResponse() { TestServerMessageBlock2Response response = new TestServerMessageBlock2Response(mockConfig); testRequest.setResponse(response);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
import org.dbflute.optional.OptionalEntity; import org.dbflute.optional.OptionalThing; import org.lastaflute.web.Execute; import org.lastaflute.web.response.ActionResponse; import org.lastaflute.web.response.HtmlResponse; import org.lastaflute.web.response.render.RenderData; import org.lastaflute.web.ruts.process.ActionRuntime; import org.lastaflute.web.validation.VaErrorHook; import jakarta.annotation.Resource; /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 20.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordingCallback.kt
@Synchronized override fun onResponse( call: Call, response: Response, ) { val body = response.body.string() responses.add(RecordedResponse(call.request(), response, null, body, null)) (this as Object).notifyAll() } /** * Returns the recorded response triggered by `request`. Throws if the response isn't * enqueued before the timeout. */ @Synchronized
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0)