- Sort Score
- Result 10 results
- Languages All
Results 1161 - 1170 of 1,267 for func (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
val sections: String, val ranges: String, val mappings: String, ) { /** * Returns true if the [codePoint] was applied successfully. Returns false if it was disallowed. */ fun map( codePoint: Int, sink: BufferedSink, ): Boolean { val sectionsIndex = findSectionsIndex(codePoint) val rangesPosition = sections.read14BitInt(sectionsIndex + 2) val rangesLimit =Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/BucketExtensions.kt
* @param smallElementAggregateFunction the function used to aggregate tiny elements into a large bucket * @param expectedBucketNumber the return value's size should be expectedBucketNumber */ fun <T, R> splitIntoBuckets( list: LinkedList<T>, toIntFunction: (T) -> Int, largeElementSplitFunction: (T, Int) -> List<R>, smallElementAggregateFunction: (List<T>) -> R, expectedBucketNumber: Int,
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Feb 12 09:12:03 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt
class Jdk8WithJettyBootPlatformTest { @RegisterExtension val platform = PlatformRule() @Test fun testBuildsWithJettyBoot() { assumeTrue(System.getProperty("java.specification.version") == "1.8") platform.assumeJettyBootEnabled() assertThat(buildIfSupported()).isNotNull() } @Test fun testNotBuildWithOther() { assumeFalse(System.getProperty("java.specification.version") == "1.8")Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
native-image-tests/src/test/kotlin/okhttp3/nativeimage/WithArgumentSourceTest.kt
*/ class WithArgumentSourceTest { @ParameterizedTest @ArgumentsSource(FakeArgumentsProvider::class) fun passingTest(value: Int) { assertThat(value).isGreaterThan(0) } } internal class FakeArgumentsProvider : ArgumentsProvider { override fun provideArguments( parameters: ParameterDeclarations?, context: ExtensionContext?,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 1.6K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java
} catch (final SmbException se) { fp = 0L; } } if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) { file.unc = file.unc.substring(5); file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse()); } file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
* [iana]: https://www.iana.org/assignments/tls-extensiontype-values */ override fun toString(): String = protocol companion object { /** * Returns the protocol identified by `protocol`. * * @throws IOException if `protocol` is unknown. */ @JvmStatic @Throws(IOException::class) fun get(protocol: String): Protocol { // Unroll the loop over values() to save an allocation.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 23 18:58:57 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
verify(tree, times(1)).acquire(); verify(tree, times(1)).release(); // closed after failure } @Test @DisplayName("open(): invalid UNC without trailing backslash throws SmbException") void invalidUncThrows() throws Exception { // Override the default setup for this specific test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt
* > GeneralizedTime. */ internal val time: DerAdapter<Long> = object : DerAdapter<Long> { override fun matches(header: DerHeader): Boolean = Adapters.UTC_TIME.matches(header) || Adapters.GENERALIZED_TIME.matches(header) override fun fromDer(reader: DerReader): Long { val peekHeader = reader.peekHeader()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 13.6K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2K bytes - Viewed (0)