Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 184 for toFont (0.2 sec)

  1. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * @param divisor the divisor (denominator)
       * @throws ArithmeticException if divisor is 0
       */
      public static int divide(int dividend, int divisor) {
        return (int) (toLong(dividend) / toLong(divisor));
      }
    
      /**
       * Returns dividend % divisor, where the dividend and divisor are treated as unsigned 32-bit
       * quantities.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      public static int compare(byte a, byte b) {
        return toInt(a) - toInt(b);
      }
    
      /**
       * Returns the least value present in {@code array}, treating values as unsigned.
       *
       * @param array a <i>nonempty</i> array of {@code byte} values
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      val notAfter: Long,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + notBefore.toInt()
        result = 31 * result + notAfter.toInt()
        return result
      }
    }
    
    internal data class SubjectPublicKeyInfo(
      val algorithm: AlgorithmIdentifier,
      val subjectPublicKey: BitString,
    )
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          if (requestCaching.maxAgeSeconds != -1) {
            freshMillis = minOf(freshMillis, SECONDS.toMillis(requestCaching.maxAgeSeconds.toLong()))
          }
    
          var minFreshMillis: Long = 0
          if (requestCaching.minFreshSeconds != -1) {
            minFreshMillis = SECONDS.toMillis(requestCaching.minFreshSeconds.toLong())
          }
    
          var maxStaleMillis: Long = 0
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                while (true) {
                  val chunkSize = source.readUtf8LineStrict().trim().toInt(16)
                  if (chunkSize == 0) {
                    readEmptyLine(source)
                    break
                  }
                  chunkSizes.add(chunkSize)
                  requestBodySink.write(source, chunkSize.toLong())
                  readEmptyLine(source)
                }
              }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt

      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
        result = 31 * result + (if (constructed) 0 else 1)
        result = 31 * result + length.toInt()
        result = 31 * result + bytes.hashCode()
        return result
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

      }
    
      @Throws(IOException::class)
      fun commit(upstreamSize: Long) {
        // Write metadata to the end of the file.
        writeMetadata(upstreamSize)
        file!!.channel.force(false)
    
        // Once everything else is in place we can swap the dirty header for a clean one.
        writeHeader(PREFIX_CLEAN, upstreamSize, metadata.size.toLong())
        file!!.channel.force(false)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      public void testToInt() {
        assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0);
        assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1);
        assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127);
        assertThat(UnsignedBytes.toInt((byte) -128)).isEqualTo(128);
        assertThat(UnsignedBytes.toInt((byte) -127)).isEqualTo(129);
        assertThat(UnsignedBytes.toInt((byte) -1)).isEqualTo(255);
      }
    
      public void testCheckedCast() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/bsbhv/BsSearchLogBhv.java

                result.setQueryTime(DfTypeUtil.toLong(source.get("queryTime")));
                result.setReferer(DfTypeUtil.toString(source.get("referer")));
                result.setRequestedAt(toLocalDateTime(source.get("requestedAt")));
                result.setResponseTime(DfTypeUtil.toLong(source.get("responseTime")));
                result.setRoles(toStringArray(source.get("roles")));
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

      }
    
      override fun readTimeoutMillis(): Int = readTimeoutMillis
    
      override fun withReadTimeout(
        timeout: Int,
        unit: TimeUnit,
      ): Interceptor.Chain {
        check(exchange == null) { "Timeouts can't be adjusted in a network interceptor" }
    
        return copy(readTimeoutMillis = checkDuration("readTimeout", timeout.toLong(), unit))
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top