Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 484 for Square (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

    /*
     * Copyright (C) 2019 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/IntMath.java

              return accum;
            case 1:
              return b * accum;
            default:
              accum *= ((k & 1) == 0) ? 1 : b;
              b *= b;
          }
        }
      }
    
      /**
       * Returns the square root of {@code x}, rounded with the specified rounding mode.
       *
       * @throws IllegalArgumentException if {@code x < 0}
       * @throws ArithmeticException if {@code mode} is {@link RoundingMode#UNNECESSARY} and {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

      public void testSqrtExactMatchesFloorOrThrows() {
        for (long x : POSITIVE_LONG_CANDIDATES) {
          long sqrtFloor = LongMath.sqrt(x, FLOOR);
          // We only expect an exception if x was not a perfect square.
          boolean isPerfectSquare = sqrtFloor * sqrtFloor == x;
          try {
            assertEquals(sqrtFloor, LongMath.sqrt(x, UNNECESSARY));
            assertTrue(isPerfectSquare);
          } catch (ArithmeticException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

      private final Strategy strategy;
    
      /** Natural logarithm of 2, used to optimize calculations in Bloom filter sizing. */
      private static final double LOG_TWO = Math.log(2);
    
      /** Square of the natural logarithm of 2, reused to optimize the bit size calculation. */
      private static final double SQUARED_LOG_TWO = LOG_TWO * LOG_TWO;
    
      /** Creates a BloomFilter. */
      private BloomFilter(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 10 22:28:12 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  5. okhttp-coroutines/build.gradle.kts

      "Bundle-SymbolicName: com.squareup.okhttp3.coroutines",
    )
    
    project.applyJavaModules("okhttp3.coroutines")
    
    dependencies {
      api(projects.okhttp)
      implementation(libs.kotlinx.coroutines.core)
      api(libs.square.okio)
      api(libs.kotlin.stdlib)
    
      testImplementation(libs.kotlin.test.annotations)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testApi(libs.assertk)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 792 bytes
    - Click Count (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

    /*
     * Copyright (C) 2015 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  7. module-tests/src/main/java/okhttp3/modules/Main.java

    import okhttp3.Call;
    import okhttp3.HttpUrl;
    
    import java.io.IOException;
    
    public class Main {
      public static void main(String[] args) throws IOException {
        Call call = OkHttpCaller.callOkHttp(HttpUrl.get("https://square.com/robots.txt"));
    
        System.out.println(call.execute().body().string());
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 934 bytes
    - Click Count (0)
  8. okhttp-logging-interceptor/README.md

    logging.redactHeader("Authorization");
    logging.redactHeader("Cookie");
    ```
    
    Download
    --------
    
    ```kotlin
    implementation("com.squareup.okhttp3:logging-interceptor:5.3.0")
    ```
    
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. okcurl/build.gradle.kts

      }
    
    configure<JavaPluginExtension> {
      sourceSets.getByName("main").resources.srcDir(copyResourcesTemplates.get().outputs)
    }
    
    dependencies {
      api(projects.okhttp)
      api(projects.loggingInterceptor)
      api(libs.square.okio)
      implementation(libs.clikt)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(libs.junit)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. okhttp-testing-support/build.gradle.kts

    import org.gradle.internal.os.OperatingSystem
    plugins {
      kotlin("jvm")
      id("okhttp.jvm-conventions")
      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
    }
    
    dependencies {
      api(libs.square.okio)
      api(projects.mockwebserver3)
      "friendsApi"(projects.okhttp)
      api(projects.okhttpTls)
      api(libs.assertk)
      api(libs.bouncycastle.bcprov)
      implementation(libs.bouncycastle.bcpkix)
      implementation(libs.bouncycastle.bctls)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.3K bytes
    - Click Count (1)
Back to Top