Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 969 for val3 (0.02 seconds)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

        try {
          // SSLSocket.getApplicationProtocol returns "" if application protocols values will not
          // be used. Observed if you didn't specify SSLParameters.setApplicationProtocols
          when (val protocol = sslSocket.applicationProtocol) {
            null, "" -> null
            else -> protocol
          }
        } catch (e: UnsupportedOperationException) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 931 bytes
    - Click Count (0)
  3. okhttp-tls/src/test/java/okhttp3/tls/CertificatesTest.kt

     * limitations under the License.
     */
    package okhttp3.tls
    
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    
    class CertificatesTest {
      @Test fun testRoundtrip() {
        val certificateString =
          """
          -----BEGIN CERTIFICATE-----
          MIIBmjCCAQOgAwIBAgIBATANBgkqhkiG9w0BAQsFADATMREwDwYDVQQDEwhjYXNo
          LmFwcDAeFw03MDAxMDEwMDAwMDBaFw03MDAxMDEwMDAwMDFaMBMxETAPBgNVBAMT
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/ArchitectureDataType.kt

     */
    object ArchitectureDataType {
        /**
         * JSON containing platforms data. See root settings file for more information.
         */
        val PLATFORMS = "platforms"
    
        /**
         * JSON containing package-info data. See root settings file for more information.
         */
        val PACKAGE_INFO = "package-info"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jul 21 17:03:56 GMT 2025
    - 1K bytes
    - Click Count (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/extension/IntegrationTestExtension.kt

         * that generates a subclass of `AbstractAutoTestedSamplesTest` to
         * test all snippets embedded in javadoc with `class='autoTested'`.
         */
        abstract val generateDefaultAutoTestedSamplesTest: Property<Boolean>
        abstract val testJvmXmx: Property<String>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 27 08:23:32 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                }
            }
    
            if (value instanceof String val) {
                // TODO without #, this could just be an evaluate call...
    
                int exprStartDelimiter = val.indexOf("${");
    
                if (exprStartDelimiter >= 0) {
                    if (exprStartDelimiter > 0) {
                        value = val.substring(0, exprStartDelimiter) + evaluate(val.substring(exprStartDelimiter));
                    } else {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. cmd/http-stats.go

    	stats.Lock()
    	defer stats.Unlock()
    	if val, ok := stats.apiStats[api]; ok && val > 0 {
    		stats.apiStats[api]--
    	}
    }
    
    // Get returns the current counter on input API string
    func (stats *HTTPAPIStats) Get(api string) int {
    	if stats == nil {
    		return 0
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    	val, ok := stats.apiStats[api]
    	if ok {
    		return val
    	}
    
    	return 0
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 11.4K bytes
    - Click Count (0)
  8. cmd/signature-v2.go

    	for _, query := range queries {
    		key := query
    		val := ""
    		index := strings.Index(query, "=")
    		if index != -1 {
    			key = query[:index]
    			val = query[index+1:]
    		}
    		keyval[key] = val
    	}
    
    	var canonicalQueries []string
    	for _, key := range resourceList {
    		val, ok := keyval[key]
    		if !ok {
    			continue
    		}
    		if val == "" {
    			canonicalQueries = append(canonicalQueries, key)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

        }
    }
    
    fun buildCacheEnabled() = gradle.startParameter.isBuildCacheEnabled
    
    abstract class CacheMissMonitorBuildService : AbstractBuildScanInfoCollectingService() {
        private val cacheMiss: AtomicBoolean = AtomicBoolean(false)
        override val collectedInformation: Serializable = cacheMiss
    
        override fun action(taskPath: String, taskResult: TaskOperationResult) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

    import okhttp3.Request
    
    class CertificatePinning {
      private val client =
        OkHttpClient
          .Builder()
          .certificatePinner(
            CertificatePinner
              .Builder()
              .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
              .build(),
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top