Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 673 for val1 (0.01 sec)

  1. okhttp/src/commonJvmAndroid/kotlinTemplates/okhttp3/internal/-InternalVersion.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 723 bytes
    - Viewed (0)
  2. docs/features/caching.md

    pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and 
    server behaviour when ambiguous.
    
    # Basic Usage
    
    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
              maxSize = 50L * 1024L * 1024L // 50 MiB
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. src/main/webapp/js/profile.js

        $(this)
          .find(".modal-body #delete-doc-title")
          .text(title);
        $(this)
          .find(".modal-body #delete-doc-url")
          .text(url);
        $(this)
          .find(".modal-footer input#docId")
          .val(docId);
      });
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Wed Sep 12 06:47:49 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  4. cmd/metrics-resource.go

    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    		metric.Current = val - metric.Cumulative
    		metric.Cumulative = val
    	} else {
    		metric.Current = val
    	}
    
    	if metric.Current > metric.Max {
    		metric.Max = val
    	}
    
    	metric.Sum += metric.Current
    	metric.Count++
    
    	metric.Avg = metric.Sum / float64(metric.Count)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixTesting.jvm.kt

    import org.junit.runner.Runner
    import org.junit.runner.notification.RunNotifier
    import org.junit.runners.JUnit4
    
    actual class PublicSuffixTestRunner(
      klass: Class<*>,
    ) : Runner() {
      private val delegate = JUnit4(klass)
    
      override fun getDescription() = delegate.description
    
      override fun run(notifier: RunNotifier?) = delegate.run(notifier)
    
      override fun testCount() = delegate.testCount()
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 23 16:58:05 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  6. mockwebserver-junit4/README.md

    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 706 bytes
    - Viewed (0)
  7. okhttp/src/jvmMain/kotlin/okhttp3/internal/publicsuffix/PublicSuffixList.jvm.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    internal actual val PublicSuffixList.Companion.Default: PublicSuffixList
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 749 bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt

     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
      override fun lookup(hostname: String): List<InetAddress> {
        val addresses = Dns.SYSTEM.lookup(hostname)
        return listOf(addresses[0], addresses[0])
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt

        socketEnabledCipherSuites
      }
    
    internal fun MediaType?.chooseCharset(): Pair<Charset, MediaType?> {
      var charset: Charset = Charsets.UTF_8
      var finalContentType: MediaType? = this
      if (this != null) {
        val resolvedCharset = this.charset()
        if (resolvedCharset == null) {
          charset = Charsets.UTF_8
          finalContentType = "$this; charset=utf-8".toMediaTypeOrNull()
        } else {
          charset = resolvedCharset
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
        println(Platform.get().javaClass.simpleName)
      }
    
      @Test
      fun testGreenCase() {
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top