Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IntArray (0.09 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

    
    internal
    val MemberValue.intArrayValue: IntArray
        get() {
            var value: IntArray? = null
            accept(object : MemberValueVisitorAdapter() {
                override fun visitArrayMemberValue(node: ArrayMemberValue) {
                    value = node.value.map { it.intValue }.toIntArray()
                }
            })
            if (value == null) throw annotationMemberValueNotFound(typeOf<IntArray>())
            return value!!
        }
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

                Metadata(
                    kind = annotation.getMemberValue("k")?.intValue ?: 1,
                    metadataVersion = annotation.getMemberValue("mv")?.intArrayValue ?: IntArray(0),
                    data1 = annotation.getMemberValue("d1")?.stringArrayValue ?: arrayOf(),
                    data2 = annotation.getMemberValue("d2")?.stringArrayValue ?: arrayOf(),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

     * Settings are [connection][Http2Connection] scoped.
     */
    class Settings {
      /** Bitfield of which flags that values. */
      private var set: Int = 0
    
      /** Flag values. */
      private val values = IntArray(COUNT)
    
      /** Returns -1 if unset. */
      val headerTableSize: Int
        get() {
          val bit = 1 shl HEADER_TABLE_SIZE
          return if (bit and set != 0) values[HEADER_TABLE_SIZE] else -1
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        val expected = intArrayToByteArray(bytes)
        val actual = bytesOut.readByteString()
        assertThat(actual).isEqualTo(expected)
      }
    
      private fun intArrayToByteArray(bytes: IntArray): ByteString {
        val data = ByteArray(bytes.size)
        for (i in bytes.indices) {
          data[i] = bytes[i].toByte()
        }
        return ByteString.of(*data)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top