- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 1,763 for single (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
/** * Factory for [calls][Call], which can be used to send HTTP requests and read their responses. * * ## OkHttpClients Should Be Shared * * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of * your HTTP calls. This is because each client holds its own connection pool and thread pools.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
internal/grid/manager.go
return } remote := m.targets[cReq.Host] if remote == nil { writeErr(fmt.Errorf("unknown incoming host: %v", cReq.Host)) return } if time.Since(cReq.Time).Abs() > 5*time.Minute { writeErr(fmt.Errorf("time difference too large between servers: %v", time.Since(cReq.Time).Abs())) return } if err := m.authToken(cReq.Token); err != nil { writeErr(fmt.Errorf("auth token: %w", err)) return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 12 20:41:41 GMT 2024 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
* <p><b>Performance note:</b> the instance returned is a singleton. * * @since 19.0 */ @SuppressWarnings("unchecked") public static <B> ImmutableClassToInstanceMap<B> of() { return (ImmutableClassToInstanceMap<B>) EMPTY; } /** * Returns an {@code ImmutableClassToInstanceMap} containing a single entry. * * @since 19.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
i += 4; SMBUtil.writeInt4(0, body, i); // CreateContextsLength i += 4; assert i == body.length; return body; } /** * Build a CREATE response body with a single, unrecognized create context. * The parser should iterate it but produce an empty contexts array. */ private static byte[] buildCreateBodyWithContext(byte[] fileId, int contextStartOffsetFromHeader) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* safely be included in an XML document as element content. See section <a * href="http://www.w3.org/TR/2008/REC-xml-20081126/#syntax">2.4</a> of the XML specification. * * <p><b>Note:</b> Double and single quotes are not escaped, so it is <b>not safe</b> to use this * escaper to escape attribute values. Use {@link #xmlContentEscaper} if the output can appear in * element content or {@link #xmlAttributeEscaper} in attribute values.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 6.4K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Floats.java
} /** * Returns the values from each provided array combined into a single array. For example, {@code * concat(new float[] {a, b}, new float[] {}, new float[] {c}} returns the array {@code {a, b, * c}}. * * @param arrays zero or more {@code float} arrays * @return a single array containing all the values from the source arrays, in orderCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 25.6K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
val destFile = rootBuildDir.resolve("report$projectPathName-${it.name}.zip") zip(destFile, it) } // Zip all files in project build directory into a single zip file to avoid publishing too many tiny files reports.filter { it.isFile && it.toPath().startsWith(projectBuildDirPath) } .map { projectBuildDirPath.relativize(it.toPath()).toString() to it }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
docs/changelogs/upgrading_to_okhttp_4.md
SAM Conversions --------------- When you use Java APIs from Kotlin you can operate on Java interfaces as if they were Kotlin lambdas. The [feature][java_sams] is available for interfaces that define a Single Abstract Method (SAM). But when you use Kotlin APIs from Kotlin there’s no automatic conversion. Code that used SAM lambdas with OkHttp 3.x: must use `object :` with OkHttp 4.x: Kotlin calling OkHttp 3.x:
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
jcifs.dcerpc.msrpc.MsrpcLookupSids rpc = (jcifs.dcerpc.msrpc.MsrpcLookupSids) msg; // Return success rpc.retval = NtStatus.NT_STATUS_SUCCESS; // Domains: single domain named TESTDOM lsarpc.LsarRefDomainList domains = new lsarpc.LsarRefDomainList(); domains.count = 1; domains.max_count = 1;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
} @Test public void test_specialCharactersInMessage() { // Test with special characters in message String messageWithSpecialChars = "Error: offset > 1000 && offset < 2000 | \"quotes\" 'single' \n\t tab"; ResultOffsetExceededException exception = new ResultOffsetExceededException(messageWithSpecialChars); assertEquals(messageWithSpecialChars, exception.getMessage()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0)