Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 889 for Eval (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

     */
    open class DelegatingSSLSocketFactory(private val delegate: SSLSocketFactory) : SSLSocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): SSLSocket {
        val sslSocket = delegate.createSocket() as SSLSocket
        return configureSocket(sslSocket)
      }
    
      @Throws(IOException::class)
      override fun createSocket(
        host: String,
        port: Int,
      ): SSLSocket {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

          .isNotNull()
        val effectivePort =
          when {
            url!!.port != defaultPort(url.scheme) -> Integer.toString(url.port)
            else -> ""
          }
        val effectiveQuery =
          when {
            url.encodedQuery != null -> "?" + url.encodedQuery
            else -> ""
          }
        val effectiveFragment =
          when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/projects/CheckProject.kt

        }
    
        var prevStage: Stage? = null
        val previousPerformanceTestPasses: MutableList<PerformanceTestsPass> = mutableListOf()
        val previousCrossVersionTests: MutableList<BaseGradleBuildType> = mutableListOf()
        model.stages.forEach { stage ->
            if (isSecurityFork() && stage.stageName > StageName.READY_FOR_RELEASE) {
                return@forEach
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 22 07:02:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/main/webapp/js/suggestor.js

            started = true;
            isFocusList = false;
          } else if (e.keyCode === 38) {
            /*			if($boxElement.css("display") !== "none") {
    				var strTmp = $textArea.val();
    				$textArea.val("");
    				$textArea.focus();
    				$textArea.val(strTmp);
    			} */
          }
        });
        $(this).blur(function() {
          if (!isMouseHover) {
            suggestor.fixList();
          }
        });
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/RealResponseBody.kt

    class RealResponseBody(
      /**
       * Use a string to avoid parsing the content type until needed. This also defers problems caused
       * by malformed content types.
       */
      private val contentTypeString: String?,
      private val contentLength: Long,
      private val source: BufferedSource,
    ) : ResponseBody() {
      override fun contentLength(): Long = contentLength
    
      override fun contentType(): MediaType? = contentTypeString?.toMediaTypeOrNull()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class PostForm {
      private val client = OkHttpClient()
    
      fun run() {
        val formBody =
          FormBody.Builder()
            .add("search", "Jurassic Park")
            .build()
        val request =
          Request(
            url = "https://en.wikipedia.org/w/index.php".toHttpUrl(),
            body = formBody,
          )
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        };
    
        static void writeInt2( long val, byte[] dst, int dstIndex ) {
            dst[dstIndex] = (byte)(val);
            dst[++dstIndex] = (byte)(val >> 8);
        }
        static void writeInt4( long val, byte[] dst, int dstIndex ) {
            dst[dstIndex] = (byte)(val);
            dst[++dstIndex] = (byte)(val >>= 8);
            dst[++dstIndex] = (byte)(val >>= 8);
            dst[++dstIndex] = (byte)(val >> 8);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CommonRequestBodyTest.kt

    import kotlin.test.Test
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class CommonRequestBodyTest {
      @Test
      fun correctContentType() {
        val body = "Body"
        val requestBody = body.toRequestBody(MediaType("text/plain", "text", "plain", arrayOf()))
    
        val contentType = requestBody.contentType()!!
    
        assertThat(contentType.mediaType).isEqualTo("text/plain; charset=utf-8")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  9. cmd/data-scanner-metric.go

    	if m >= scannerMetricLast {
    		return 0
    	}
    	val := atomic.LoadUint64(&p.operations[m])
    	return val
    }
    
    // lastMinute returns the last minute statistics of a metric.
    // m should be < scannerMetricLastRealtime
    func (p *scannerMetrics) lastMinute(m scannerMetric) AccElem {
    	if m >= scannerMetricLastRealtime {
    		return AccElem{}
    	}
    	val := p.latency[m].total()
    	return val
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

    import org.gradle.api.reflect.TypeOf
    import org.gradle.kotlin.dsl.*
    
    
    internal
    val CtClass.isKotlin: Boolean
        get() = hasAnnotation(Metadata::class.qualifiedName)
    
    
    internal
    val CtMethod.isSynthetic
        get() = methodInfo.getAttribute(SyntheticAttribute.tag) != null
    
    
    internal
    val MemberValue.intValue: Int
        get() {
            var value: Int? = null
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
Back to top