Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 159 for toLong (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          fun readByteString(): ByteString {
            val firstByte = readByte()
            val huffmanDecode = firstByte and 0x80 == 0x80 // 1NNNNNNN
            val length = readInt(firstByte, PREFIX_7_BITS).toLong()
    
            return if (huffmanDecode) {
              val decodeBuffer = Buffer()
              Huffman.decode(source, length, decodeBuffer)
              decodeBuffer.readByteString()
            } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

            removeHeader("Content-Length")
            headers_.add("Transfer-encoding: chunked")
    
            val bytesOut = Buffer()
            while (!body.exhausted()) {
              val chunkSize = minOf(body.size, maxChunkSize.toLong())
              bytesOut.writeHexadecimalUnsignedLong(chunkSize)
              bytesOut.writeUtf8("\r\n")
              bytesOut.write(body, chunkSize)
              bytesOut.writeUtf8("\r\n")
            }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

              assertThat(cookieB.hashCode()).isEqualTo(cookieA.hashCode())
              assertThat(cookieB).isEqualTo(cookieA)
            } else {
              assertThat(cookieB.hashCode()).isNotEqualTo(cookieA.hashCode().toLong())
              assertThat(cookieB).isNotEqualTo(cookieA)
            }
          }
          assertThat(cookieA).isNotEqualTo(null)
        }
      }
    
      @Throws(ParseException::class)
      private fun date(s: String): Date {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

            listener = listener,
            random = Random(),
            pingIntervalMillis = pingIntervalMillis.toLong(),
            // extensions is always null for clients:
            extensions = null,
            minimumDeflateSize = minWebSocketMessageToCompress,
            webSocketCloseTimeout = webSocketCloseTimeout.toLong(),
          )
        webSocket.connect(this)
        return webSocket
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top