Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 156 for toLong (0.11 sec)

  1. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/ThumbnailQueueDbm.java

            setupEpg(_epgMap, et -> ((ThumbnailQueue) et).getCreatedTime(),
                    (et, vl) -> ((ThumbnailQueue) et).setCreatedTime(DfTypeUtil.toLong(vl)), "createdTime");
            setupEpg(_epgMap, et -> ((ThumbnailQueue) et).getGenerator(),
                    (et, vl) -> ((ThumbnailQueue) et).setGenerator(DfTypeUtil.toString(vl)), "generator");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      ) = apply {
        removeHeader("Content-Length")
        headersBuilder.add(CHUNKED_BODY_HEADER)
    
        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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/SocksProxy.kt

            }
    
            ADDRESS_TYPE_DOMAIN_NAME -> {
              val domainNameLength: Int = fromSource.readByte() and 0xff
              val domainName = fromSource.readUtf8(domainNameLength.toLong())
              // Resolve HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS to localhost.
              when {
                domainName.equals(HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS, ignoreCase = true) -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        val webSocket =
          RealWebSocket(
            TaskRunner.INSTANCE,
            request,
            clientListener,
            random,
            client.pingIntervalMillis.toLong(),
            null,
            0L,
            client.webSocketCloseTimeout.toLong(),
          )
        webSocket.connect(client)
        return webSocket
      }
    
      private fun closeWebSockets(
        client: WebSocket,
        server: WebSocket,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsbhv/BsThumbnailQueueBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setGenerator(DfTypeUtil.toString(source.get("generator")));
                result.setPath(DfTypeUtil.toString(source.get("path")));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/HeadersTest.kt

            .add("Connection", "keep-alive")
            .add("Transfer-Encoding", "chunked")
            .build()
        assertThat(headers2).isNotEqualTo(headers1)
        assertThat(headers2.hashCode()).isNotEqualTo(headers1.hashCode().toLong())
      }
    
      @Test fun headersToString() {
        val headers =
          Headers.Builder()
            .add("A", "a")
            .add("B", "bb")
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/CrawlingInfoParamDbm.java

            setupEpg(_epgMap, et -> ((CrawlingInfoParam) et).getCreatedTime(),
                    (et, vl) -> ((CrawlingInfoParam) et).setCreatedTime(DfTypeUtil.toLong(vl)), "createdTime");
            setupEpg(_epgMap, et -> ((CrawlingInfoParam) et).getKey(), (et, vl) -> ((CrawlingInfoParam) et).setKey(DfTypeUtil.toString(vl)),
                    "key");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      private fun createNewCache() {
        createNewCacheWithSize(Int.MAX_VALUE)
      }
    
      private fun createNewCacheWithSize(maxSize: Int) {
        cache =
          DiskLruCache(filesystem, cacheDir, appVersion, 2, maxSize.toLong(), taskRunner).also {
            toClose.add(it)
          }
        synchronized(cache) { cache.initialize() }
      }
    
      fun setUp(
        baseFilesystem: FileSystem,
        windows: Boolean,
      ) {
        this.cacheDir =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      var writeBytesTotal = 0L
        internal set
    
      /** The total number of bytes permitted to be produced by incoming `WINDOW_UPDATE` frame. */
      var writeBytesMaximum: Long = connection.peerSettings.initialWindowSize.toLong()
        internal set
    
      /** Received headers yet to be [taken][takeHeaders]. */
      private val headersQueue = ArrayDeque<Headers>()
    
      /** True if response headers have been sent or received. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Headers.kt

        // Each header name has 2 bytes of overhead for ': ' and every header value has 2 bytes of
        // overhead for '\r\n'.
        var result = (namesAndValues.size * 2).toLong()
    
        for (i in 0 until namesAndValues.size) {
          result += namesAndValues[i].length.toLong()
        }
    
        return result
      }
    
      override operator fun iterator(): Iterator<Pair<String, String>> = commonIterator()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top