- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 2,321 for methods (0.04 sec)
-
docs/features/interceptors.md
return chain.proceed(originalRequest); } Request compressedRequest = originalRequest.newBuilder() .header("Content-Encoding", "gzip") .method(originalRequest.method(), gzip(originalRequest.body())) .build(); return chain.proceed(compressedRequest); } private RequestBody gzip(final RequestBody body) { return new RequestBody() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
"Content-Type".equals(fieldName, ignoreCase = true) } } private fun Request.requestForCache(): Request { val cacheUrlOverride = cacheUrlOverride return if (cacheUrlOverride != null && (method == "GET" || method == "POST")) { newBuilder() .get() .url(cacheUrlOverride) .cacheUrlOverride(null) .build() } else { this }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
byte[] buffer = new byte[100]; int result = notifyChange.readDataWireFormat(buffer, 10, 50); assertEquals(0, result); } @Test @DisplayName("Test toString method with basic values") void testToStringBasic() { int fid = 0x1234; int completionFilter = FILE_NOTIFY_CHANGE_FILE_NAME; boolean watchTree = false;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
cmd/admin-handlers_test.go
testServicesCmdHandler(restartCmd, t) } // buildAdminRequest - helper function to build an admin API request. func buildAdminRequest(queryVal url.Values, method, path string, contentLength int64, bodySeeker io.ReadSeeker) (*http.Request, error, ) { req, err := newTestRequest(method, adminPathPrefix+adminAPIVersionPrefix+path+"?"+queryVal.Encode(), contentLength, bodySeeker) if err != nil { return nil, err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.9K bytes - Viewed (1) -
src/test/java/jcifs/CloseableIteratorTest.java
*/ @DisplayName("CloseableIterator Tests") class CloseableIteratorTest extends BaseTest { @Mock private CloseableIterator<SmbResource> mockIterator; @Test @DisplayName("Should define close method") void testCloseMethod() throws CIFSException { // When mockIterator.close(); // Then verify(mockIterator).close(); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 964 bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/FuzzyQueryCommandTest.java
fuzzyQueryCommand = new FuzzyQueryCommand(); fuzzyQueryCommand.register(); } // Test getQueryClassName method public void test_getQueryClassName() { assertEquals("FuzzyQuery", fuzzyQueryCommand.getQueryClassName()); } // Test execute method with valid FuzzyQuery public void test_execute_withFuzzyQuery() { QueryContext context = new QueryContext("test", false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive))); } @Override @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method. ContiguousSet<C> subSetImpl( C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) { if (fromElement.compareTo(toElement) == 0 && !fromInclusive && !toInclusive) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtExceptionTest.java
assertTrue(exception instanceof CIFSException, "NbtException should be an instance of CIFSException"); } /** * Test the getErrorString method with various error classes and codes to ensure all branches are covered. */ @ParameterizedTest @MethodSource("provideErrorClassAndCodeForGetErrorString")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
} /** Interval between requests in milliseconds */ protected long requestInterval = 500; /** * Sends a list of documents to the search engine for indexing. * This method handles thumbnail processing, deletes old documents with the same URL, * and performs bulk indexing operations with proper error handling. * * @param searchEngineClient the search engine client to use for indexingRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
* governing permissions and limitations under the License. */ package org.codelibs.core.lang; import static org.codelibs.core.collection.CollectionsUtil.newArrayList; import java.lang.reflect.Method; import java.util.List; import java.util.StringTokenizer; /** * Utility class for string operations. * * @author higa * @author shinsuke */ public abstract class StringUtil { /**Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 21.9K bytes - Viewed (0)