Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 521 for t_long (0.35 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt

      contentType: MediaType?,
      offset: Int,
      byteCount: Int,
    ): RequestBody {
      checkOffsetAndCount(size.toLong(), offset.toLong(), byteCount.toLong())
      return object : RequestBody() {
        override fun contentType() = contentType
    
        override fun contentLength() = byteCount.toLong()
    
        override fun writeTo(sink: BufferedSink) {
          sink.write(this@commonToRequestBody, offset, byteCount)
        }
      }
    }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go

    // license that can be found in the LICENSE file.
    
    // Package tlog implements a tamper-evident log
    // used in the Go module go.sum database server.
    //
    // This package follows the design of Certificate Transparency (RFC 6962)
    // and its proofs are compatible with that system.
    // See TestCertificateTransparency.
    package tlog
    
    import (
    	"crypto/sha256"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"math/bits"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  3. src/internal/diff/testdata/long.txt

    Russ Cox <******@****.***> 1643490792 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 16:56:29 UTC 2022
    - 253 bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

    /**
     * {@link Long}用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class LongConversionUtil {
    
        /**
         * {@link Long}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@link Long}
         */
        public static Long toLong(final Object o) {
            return toLong(o, null);
        }
    
        /**
         * {@link Long}に変換します。
         *
         * @param o
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

                    isInt || isLong || isShort || isByte -> "0"
                    isFloat -> "0.0f"
                    isDouble -> "0.0"
                    isChar -> "'\\u0000'"
                    isBoolean -> "false"
                    isUnit -> "Unit"
                    isString -> "\"\""
                    isUInt -> "0.toUInt()"
                    isULong -> "0.toULong()"
                    isUShort -> "0.toUShort()"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

          @Suppress("UNUSED_VARIABLE")
          val ttl = buf.readInt().toLong() and 0xffffffffL // ttl
          val length = buf.readShort().toInt() and 0xffff
    
          if (type == TYPE_A || type == TYPE_AAAA) {
            val bytes = ByteArray(length)
            buf.read(bytes)
            result.add(InetAddress.getByAddress(bytes))
          } else {
            buf.skip(length.toLong())
          }
        }
    
        return result
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/LongConversionUtilTest.java

     * @author higa
     *
     */
    public class LongConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToLong() throws Exception {
            assertEquals(new Long("1000"), LongConversionUtil.toLong("1,000"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveLong() throws Exception {
            assertEquals(1000, LongConversionUtil.toPrimitiveLong("1,000"));
        }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/process/internal/SingleRequestWorkerProcessIntegrationTest.groovy

            def result = worker.run(12.toLong())
    
            then:
            result == "[12]"
        }
    
        def "infers worker implementation classpath"() {
            given:
            def cl = compileToDirectoryAndLoad("CustomTestWorker", """
    import ${RequestHandler.name}
    class CustomTestWorker implements RequestHandler<Long, Object> {
        Object run(Long request) { return new CustomResult() }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 15 22:51:06 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-ResponseBodyCommon.kt

      return Buffer()
        .write(this)
        .asResponseBody(contentType, size.toLong())
    }
    
    internal fun ByteString.commonToResponseBody(contentType: MediaType?): ResponseBody {
      return Buffer()
        .write(this)
        .asResponseBody(contentType, size.toLong())
    }
    
    internal fun BufferedSource.commonAsResponseBody(
      contentType: MediaType?,
      contentLength: Long,
    ): ResponseBody =
      object : ResponseBody() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt

     */
    class HeadersReader(val source: BufferedSource) {
      private var headerLimit = HEADER_LIMIT.toLong()
    
      /** Read a single line counted against the header size limit. */
      fun readLine(): String {
        val line = source.readUtf8LineStrict(headerLimit)
        headerLimit -= line.length.toLong()
        return line
      }
    
      /** Reads headers or trailers. */
      fun readHeaders(): Headers {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top