Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 510 for rint (0.28 sec)

  1. docs/distributed/DESIGN.md

    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
            sip := siphash.New(id[:])
            sip.Write([]byte(key))
            return int(sip.Sum64() % uint64(cardinality))
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  2. api/go1.14.txt

    pkg hash/maphash, method (*Hash) WriteString(string) (int, error)
    pkg hash/maphash, type Hash struct
    pkg hash/maphash, type Seed struct
    pkg log, const Lmsgprefix = 64
    pkg log, const Lmsgprefix ideal-int
    pkg math, func FMA(float64, float64, float64) float64
    pkg math/bits, func Rem(uint, uint, uint) uint
    pkg math/bits, func Rem32(uint32, uint32, uint32) uint32
    pkg math/bits, func Rem64(uint64, uint64, uint64) uint64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

         * `input` does not have a scheme that starts at `pos`.
         */
        private fun schemeDelimiterOffset(
          input: String,
          pos: Int,
          limit: Int,
        ): Int {
          if (limit - pos < 2) return -1
    
          val c0 = input[pos]
          if ((c0 < 'a' || c0 > 'z') && (c0 < 'A' || c0 > 'Z')) return -1 // Not a scheme start char.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  4. api/go1.16.txt

    pkg syscall (darwin-arm64), const AF_DATAKIT = 9
    pkg syscall (darwin-arm64), const AF_DATAKIT ideal-int
    pkg syscall (darwin-arm64), const AF_DECnet = 12
    pkg syscall (darwin-arm64), const AF_DECnet ideal-int
    pkg syscall (darwin-arm64), const AF_DLI = 13
    pkg syscall (darwin-arm64), const AF_DLI ideal-int
    pkg syscall (darwin-arm64), const AF_E164 = 28
    pkg syscall (darwin-arm64), const AF_E164 ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

       */
      internal class ContinuationSource(
        private val source: BufferedSource,
      ) : Source {
        var length: Int = 0
        var flags: Int = 0
        var streamId: Int = 0
    
        var left: Int = 0
        var padding: Int = 0
    
        @Throws(IOException::class)
        override fun read(
          sink: Buffer,
          byteCount: Long,
        ): Long {
          while (left == 0) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

    }
    
    internal fun Char.parseHexDigit(): Int =
      when (this) {
        in '0'..'9' -> this - '0'
        in 'a'..'f' -> this - 'a' + 10
        in 'A'..'F' -> this - 'A' + 10
        else -> -1
      }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Int.and(mask: Long): Long = toLong() and mask
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const A = 1
    pkg p1, const A ideal-int
    pkg p1, const A //deprecated
    pkg p1, const A64 = 1
    pkg p1, const A64 int64
    pkg p1, const AIsLowerA = 11
    pkg p1, const AIsLowerA ideal-int
    pkg p1, const B0 = 2
    pkg p1, const B0 ideal-int
    pkg p1, const ConstChase2 = 11
    pkg p1, const ConstChase2 ideal-int
    pkg p1, const ConversionConst = 5
    pkg p1, const ConversionConst MyInt
    pkg p1, const FloatConst = 1.5  // 3/2
    pkg p1, const FloatConst ideal-float
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

      private val interceptors: List<Interceptor>,
      private val index: Int,
      internal val exchange: Exchange?,
      internal val request: Request,
      internal val connectTimeoutMillis: Int,
      internal val readTimeoutMillis: Int,
      internal val writeTimeoutMillis: Int,
    ) : Interceptor.Chain {
      private var calls: Int = 0
    
      internal fun copy(
        index: Int = this.index,
        exchange: Exchange? = this.exchange,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          )
          sink.writeInt(windowSizeIncrement.toInt())
          sink.flush()
        }
      }
    
      @Throws(IOException::class)
      fun frameHeader(
        streamId: Int,
        length: Int,
        type: Int,
        flags: Int,
      ) {
        if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) {
          logger.fine(frameLog(false, streamId, length, type, flags))
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. docs/select/README.md

        if 'Records' in event:
            records = event['Records']['Payload'].decode('utf-8')
            print(records)
        elif 'Stats' in event:
            statsDetails = event['Stats']['Details']
            print("Stats details bytesScanned: ")
            print(statsDetails['BytesScanned'])
            print("Stats details bytesProcessed: ")
            print(statsDetails['BytesProcessed'])
    ```
    
    ## 4. Run the Program
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 6.5K bytes
    - Viewed (0)
Back to top