Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 524 for eval (0.24 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        DcerpcBinding(final String proto, final String server) {
            this.proto = proto;
            this.server = server;
        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                endpoint = val.toString();
                final String lep = endpoint.toLowerCase();
                if (lep.startsWith("\\pipe\\")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

    internal class AndroidCertificateChainCleaner(
      private val trustManager: X509TrustManager,
      private val x509TrustManagerExtensions: X509TrustManagerExtensions,
    ) : CertificateChainCleaner() {
      @Suppress("UNCHECKED_CAST")
      @Throws(SSLPeerUnverifiedException::class)
      @SuppressSignatureCheck
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

     */
    class ApacheHttpClientTest {
      private val httpClient = HttpClients.createDefault()
    
      @StartStop
      private val server = MockWebServer()
    
      @AfterEach fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get() {
        server.enqueue(
          MockResponse
            .Builder()
            .body("hello, Apache HttpClient 5.x")
            .build(),
        )
    
        val request = HttpGet(server.url("/").toUri())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/main/webapp/js/help.js

    $(function() {
      var $searchButton = $("#searchButton"),
          contextPath = $("#contextPath").val();
    
      $("#searchForm").on("submit", function(e) {
        $searchButton.attr("disabled", true);
        setTimeout(function() {
          $searchButton.attr("disabled", false);
        }, 3000);
        return true;
      });
    
      $(document).on("click touchend", function(e) {
        if (!$(e.target).closest("#searchOptions, [data-toggle='control-options']").length) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

     * ```
     *
     * For Kotlin the `@JvmField` annotation is also necessary:
     *
     * ```kotlin
     * @JvmField @Rule val serverRule = MockWebServerRule()
     * ```
     */
    class MockWebServerRule : ExternalResource() {
      val server: MockWebServer = MockWebServer()
    
      override fun before() {
        try {
          server.start()
        } catch (e: IOException) {
          throw RuntimeException(e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 16 22:36:18 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. native-image-tests/src/test/kotlin/okhttp3/nativeimage/SampleTest.kt

    import mockwebserver3.MockWebServer
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import org.junit.jupiter.api.Test
    
    class SampleTest {
      private val server = MockWebServer()
    
      private val client = OkHttpClient()
    
      @Test
      fun passingTest() {
        assertThat("hello").isEqualTo("hello")
      }
    
      @Test
      fun testMockWebServer() {
        server.enqueue(MockResponse(body = "abc"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:31:49 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

    ): Cache = Cache(fileSystem, file, maxSize)
    
    internal var RealConnection.idleAtNsAccessor: Long
      get() = idleAtNs
      set(value) {
        idleAtNs = value
      }
    
    internal val Response.exchangeAccessor: Exchange?
      get() = this.exchange
    
    internal val Exchange.connectionAccessor: RealConnection
      get() = this.connection
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt

    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import java.util.ArrayDeque
    import java.util.Deque
    
    class RecordingCookieJar : CookieJar {
      private val requestCookies: Deque<List<Cookie>> = ArrayDeque()
      private val responseCookies: Deque<List<Cookie>> = ArrayDeque()
    
      fun enqueueRequestCookies(vararg cookies: Cookie) {
        requestCookies.add(cookies.toList())
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. okhttp-osgi-tests/build.gradle.kts

        ignore("okhttp3/osgi/workspace/cnf/repo/index.xml.gz.sha")
      }
    }
    
    // Expose OSGi jars to the test environment.
    val osgiTestDeploy: Configuration by configurations.creating
    
    val test = tasks.named("test")
    val copyOsgiTestDeployment = tasks.register<Copy>("copyOsgiTestDeployment") {
      from(osgiTestDeploy)
      into(layout.buildDirectory.dir("resources/test/okhttp3/osgi/deployments"))
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:17:18 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt

     * assertions about them.
     */
    class TestLogHandler(
      private val logger: Logger,
    ) : TestRule,
      BeforeEachCallback,
      AfterEachCallback {
      constructor(loggerName: Class<*>) : this(Logger.getLogger(loggerName.getName()))
    
      private val logs = LinkedBlockingQueue<String>()
    
      private val handler =
        object : Handler() {
          override fun publish(logRecord: LogRecord) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top