- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 982 for Eval (1.14 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
@Timeout(60) @Tag("Slow") @Burst class DiskLruCacheTest( subject: Subject = Subject.System, ) { private val baseFilesystem: FileSystem = subject.create() private val filesystem = FaultyFileSystem(baseFilesystem) private val windows = subject.windows @TempDir lateinit var cacheDirFile: File private val cacheDir: Path get() = when (baseFilesystem) { is FakeFileSystem -> "/cache".toPath()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 59.4K bytes - Viewed (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/tasks/IncubatingApiReportTask.kt
@get:PathSensitive(PathSensitivity.RELATIVE) abstract val versionFile: RegularFileProperty @get:InputFile @get:PathSensitive(PathSensitivity.RELATIVE) abstract val releasedVersionsFile: RegularFileProperty @get:Input abstract val title: Property<String> @get:InputFiles @get:PathSensitive(PathSensitivity.RELATIVE) abstract val sources: ConfigurableFileCollection @get:OutputFileRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Jun 02 09:57:54 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
@RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() @StartStop val server1 = MockWebServer() @StartStop val server2 = MockWebServer() private var eventRecorder = EventRecorder() private val handshakeCertificates = platform.localhostHandshakeCertificates() val dns = FakeDns()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt
import org.junit.jupiter.api.Test // Most tests from URLConnectionTest class JavaNetAuthenticatorTest { private var authenticator = JavaNetAuthenticator() private val fakeDns = FakeDns() private val recordingAuthenticator = RecordingAuthenticator() private val factory = TestValueFactory() .apply { dns = fakeDns } @BeforeEach fun setup() { Authenticator.setDefault(recordingAuthenticator)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.wrapper.gradle.kts
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Sep 17 08:58:33 UTC 2024 - 1.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt
@Test fun parse() { val message = "Temporary Redirect" val version = 1 val code = 200 val statusLine = parse("HTTP/1.$version $code $message") assertThat(statusLine.message).isEqualTo(message) assertThat(statusLine.protocol).isEqualTo(Protocol.HTTP_1_1) assertThat(statusLine.code).isEqualTo(code) } @Test fun emptyMessage() { val version = 1 val code = 503
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
class ResponseCommonTest { @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)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
interface AnnotationGeneratorParameters : WorkParameters { val packageName: Property<String> val destDir: DirectoryProperty } override fun execute() { val packageName = parameters.packageName.get() val sourceRootDirectory = parameters.destDir.get() val packageNamePath = packageName.replace(".", File.separator) val packageDirectory = sourceRootDirectory.file(packageNamePath).asFileRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sun Jul 07 16:02:18 UTC 2024 - 8.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
} // https://github.com/bcgit/bc-java/issues/1160 val isBouncyCastle = keyStore.provider.name == "BC" val algorithm = if (isBouncyCastle) "PKIX" else KeyManagerFactory.getDefaultAlgorithm() val factory = KeyManagerFactory.getInstance(algorithm) factory.init(keyStore, password) val result = factory.keyManagers!! check(result.size == 1 && result[0] is X509KeyManager) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (1) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
val slot = 0 val config = "--name=OpenSC\nlibrary=/Library/OpenSC/lib/opensc-pkcs11.so\nslot=$slot\n" // May fail with ProviderException with root cause like // sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SLOT_ID_INVALID val pkcs11 = Security.getProvider("SunPKCS11").configure(config) Security.addProvider(pkcs11) val callbackHandler = ConsoleCallbackHandlerRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 4.2K bytes - Viewed (0)