Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 293 for int (0.18 sec)

  1. 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)
  2. 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)
  3. src/cmd/api/testdata/src/pkg/p3/golden.txt

    pkg p3, func BadHop(int, int, int) (bool, bool, *ThirdBase, *ThirdBase, error)
    pkg p3, method (*ThirdBase) GoodPlayer() (int, int, int)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Jan 29 00:45:45 GMT 2013
    - 166 bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocket.kt

      }
    
      override fun getLocalPort(): Int {
        return delegate!!.localPort
      }
    
      @Throws(IOException::class)
      override fun getOutputStream(): OutputStream {
        return delegate!!.outputStream
      }
    
      override fun getPort(): Int {
        return delegate!!.port
      }
    
      @Throws(SocketException::class)
      override fun getSoLinger(): Int {
        return delegate!!.soLinger
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

       * @param last when true, there are no data frames to follow.
       */
      @Throws(IOException::class)
      fun onData(
        streamId: Int,
        source: BufferedSource,
        byteCount: Int,
        last: Boolean,
      ): Boolean
    
      /** Indicates the reason why this stream was canceled. */
      fun onReset(
        streamId: Int,
        errorCode: ErrorCode,
      )
    
      companion object {
        @JvmField val CANCEL: PushObserver = PushObserverCancel()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        TYPE_DISALLOWED -> TYPE_DISALLOWED
    
        else -> error("unexpected type: $type")
      }
    }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

     */
    @file:Suppress("ktlint:standard:filename")
    
    package okhttp3.internal
    
    import okhttp3.Headers
    
    internal fun Headers.commonName(index: Int): String = namesAndValues.getOrNull(index * 2) ?: throw IndexOutOfBoundsException("name[$index]")
    
    internal fun Headers.commonValue(index: Int): String =
      namesAndValues.getOrNull(index * 2 + 1) ?: throw IndexOutOfBoundsException("value[$index]")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/UtilTest.kt

          },
        ).hasMessage("timeout too small")
        assertThat(
          assertThrows<IllegalArgumentException> {
            checkDuration(
              "timeout",
              1L + Int.MAX_VALUE.toLong(),
              TimeUnit.MILLISECONDS,
            )
          },
        ).hasMessage("timeout too large")
      }
    
      @Test
      fun testDurationDuration() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      @get:JvmName("size")
      val size: Int
        get() = encodedNames.size
    
      @JvmName("-deprecated_size")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "size"),
        level = DeprecationLevel.ERROR,
      )
      fun size(): Int = size
    
      fun encodedName(index: Int): String = encodedNames[index]
    
      fun name(index: Int): String = encodedName(index).percentDecode(plusIsSpace = true)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top