Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 798 for eval (0.02 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

      /**
       * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may
       * overflow and return null.
       */
      @Test fun overflowEncodingOversizedLabel() {
        val a1000 = "a".repeat(1000)
        val a1000MaxCodePoint = a1000 + "\udbff\udfff"
        testEncodeDecode(
          a1000MaxCodePoint,
          "xn--$a1000-nc89312g",
        )
        assertNull(
          Punycode.encode(a1000MaxCodePoint.repeat(2)),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/FarmHashFingerprint64.java

        } else if (length <= 64) {
          return hashLength33To64(bytes, offset, length);
        } else {
          return hashLength65Plus(bytes, offset, length);
        }
      }
    
      private static long shiftMix(long val) {
        return val ^ (val >>> 47);
      }
    
      private static long hashLength16(long u, long v, long mul) {
        long a = (u ^ v) * mul;
        a ^= a >>> 47;
        long b = (v ^ a) * mul;
        b ^= b >>> 47;
        b *= mul;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/PlatformRegistry.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    expect object PlatformRegistry {
      fun findPlatform(): Platform
    
      val isAndroid: Boolean
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu May 22 14:39:30 GMT 2025
    - 727 bytes
    - Click Count (0)
  4. 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
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 723 bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

    import jetbrains.buildServer.configs.kotlin.ParametrizedWithType
    
    abstract class AdHocPerformanceScenario(
        os: Os,
        arch: Arch = Arch.AMD64,
    ) : BuildType({
            val id = "Util_Performance_AdHocPerformanceScenario${os.asName()}${arch.asName()}"
            name = "AdHoc Performance Scenario - ${os.asName()} ${arch.asName()}"
            id(id)
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 14:08:32 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

            ctClass.metadata
                ?.let { KotlinClassMetadata.readStrict(it) }
                ?.let { query(it) }
                ?: false
    
        private
        val CtClass.metadata: Metadata?
            get() = ctAnnotation<Metadata>()?.let { annotation ->
                Metadata(
                    kind = annotation.getMemberValue("k")?.intValue ?: 1,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jul 04 09:21:38 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  7. 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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.1K bytes
    - Click Count (1)
  8. build-logic/buildquality/src/main/kotlin/gradlebuild/archtest/PackageCyclesExtension.kt

     * limitations under the License.
     */
    package gradlebuild.archtest
    
    import org.gradle.api.provider.ListProperty
    
    
    abstract class PackageCyclesExtension {
    
        abstract val excludePatterns: ListProperty<String>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jul 08 16:07:53 GMT 2022
    - 790 bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/projects/SmokeTestProject.kt

        init {
            smokeBuildTypes.forEach(this::buildType)
        }
    
        companion object {
            /**
             * Specific builds shown under the "Smoke Test" subproject in Pull Request Feedback.
             */
            val pullRequestFeedbackSmokeBuilds: Set<SpecificBuild> =
                setOf(
                    SpecificBuild.SmokeTestsMaxJavaVersion,
                    SpecificBuild.ConfigCacheAndroidProjectSmokeTests,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 04:44:29 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JavaxAnnotationNullabilityChangesTest.kt

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    class JavaxAnnotationNullabilityChangesTest : AbstractJavaNullabilityChangesTest() {
        override val nullableAnnotationName: String = "javax.annotation.Nullable"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 824 bytes
    - Click Count (0)
Back to Top