Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 156 for toLong (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      private val timeout =
        object : AsyncTimeout() {
          override fun timedOut() {
            ******@****.***()
          }
        }.apply {
          timeout(client.callTimeoutMillis.toLong(), MILLISECONDS)
        }
    
      private val executed = AtomicBoolean()
    
      // These properties are only accessed by the thread executing the call.
    
      /** Initialized in [callStart]. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            final String value = getHttpFileuploadMaxSize();
            return value != null ? DfTypeUtil.toLong(value) : null;
        }
    
        String getHttpFileuploadThresholdSize();
    
        default Long getHttpFileuploadThresholdSizeAsLong() {
            final String value = getHttpFileuploadThresholdSize();
            return value != null ? DfTypeUtil.toLong(value) : null;
        }
    
        String getPasswordInvalidAdminPasswords();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    val Project.maxTestDistributionPartitionSecond: Long?
        get() = systemProperty(TEST_DISTRIBUTION_PARTITION_SIZE).orNull?.toLong()
    
    
    val Project.maxParallelForks: Int
        get() = gradleProperty(MAX_PARALLEL_FORKS).getOrElse("4").toInt()
    
    
    val Project.autoDownloadAndroidStudio: Boolean
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

        assertThat(certificate.serialNumber).isEqualTo(BigInteger.ONE)
        assertThat(certificate.subjectAlternativeNames).isNull()
        val deltaMillis = 1000.0
        val durationMillis = TimeUnit.MINUTES.toMillis((60 * 24).toLong())
        assertThat(certificate.notBefore.time.toDouble())
          .isCloseTo(now.toDouble(), deltaMillis)
        assertThat(certificate.notAfter.time.toDouble())
          .isCloseTo(now.toDouble() + durationMillis, deltaMillis)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt

        val certificatePinner: CertificatePinner? = address.certificatePinner()
      }
    
      @Test @Disabled
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        val directory: File = cache.directory()
      }
    
      @Test @Disabled
      fun cacheControl() {
        val cacheControl: CacheControl = CacheControl.Builder().build()
        val noCache: Boolean = cacheControl.noCache()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

                id = BASIC_CONSTRAINTS,
                critical = true,
                value =
                  BasicConstraints(
                    ca = true,
                    maxIntermediateCas = maxIntermediateCas.toLong(),
                  ),
              )
          }
    
          if (altNames.isNotEmpty()) {
            val extensionValue =
              altNames.map {
                when {
                  it.canParseAsIpAddress() -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/HashCode.java

        public long asLong() {
          throw new IllegalStateException("this HashCode only has 32 bits; cannot create a long");
        }
    
        @Override
        public long padToLong() {
          return UnsignedInts.toLong(hash);
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
          for (int i = 0; i < maxLength; i++) {
            dest[offset + i] = (byte) (hash >> (i * 8));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashCode.java

        public long asLong() {
          throw new IllegalStateException("this HashCode only has 32 bits; cannot create a long");
        }
    
        @Override
        public long padToLong() {
          return UnsignedInts.toLong(hash);
        }
    
        @Override
        void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
          for (int i = 0; i < maxLength; i++) {
            dest[offset + i] = (byte) (hash >> (i * 8));
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      @Test
      fun authenticator() {
        var authenticator: Authenticator = Authenticator { route, response -> TODO() }
      }
    
      @Test
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        cache.initialize()
        cache.delete()
        cache.evictAll()
        val urls: MutableIterator<String> = cache.urls()
        val writeAbortCount: Int = cache.writeAbortCount()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

                    var bytesWritten: Long = 0
                    while (bytesWritten < contentLength) {
                      val byteCount = Math.min(buffer.size.toLong(), contentLength - bytesWritten).toInt()
                      bytesWritten += byteCount.toLong()
                      sink.write(buffer, 0, byteCount)
                    }
                  }
                },
            ),
          )
        assertContent("", response)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
Back to top