Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for __construct (0.25 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

        Adapters.sequence(
          "Validity",
          time,
          time,
          decompose = {
            listOf(
              it.notBefore,
              it.notAfter,
            )
          },
          construct = {
            Validity(
              notBefore = it[0] as Long,
              notAfter = it[1] as Long,
            )
          },
        )
    
      /** The type of the parameters depends on the algorithm that precedes it. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       * TODO: for set ofs, sort by encoded value when encoding.
       */
      fun <T> sequence(
        name: String,
        vararg members: DerAdapter<*>,
        decompose: (T) -> List<*>,
        construct: (List<*>) -> T,
      ): BasicDerAdapter<T> {
        val codec =
          object : BasicDerAdapter.Codec<T> {
            override fun decode(reader: DerReader): T {
              return reader.withTypeHint {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CipherSuiteTest.kt

          .isSameAs(CipherSuite.TLS_KRB5_WITH_DES_CBC_MD5)
      }
    
      /**
       * Tests that interned CipherSuite instances remain the case across garbage collections, even if
       * the String used to construct them is no longer strongly referenced outside of the CipherSuite.
       */
      @Test
      fun instancesAreInterned_survivesGarbageCollection() {
    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)
  4. RELEASE.md

    *   `tf.SavedModel`
    
        *   Introduced class method `tf.saved_model.experimental.Fingerprint.from_proto(proto)`, which can be used to construct a `Fingerprint` object directly from a protobuf.
        *   Introduced member method `tf.saved_model.experimental.Fingerprint.singleprint()`, which provides a convenient way to uniquely identify a SavedModel.
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  5. doc/next/6-stdlib/99-minor/runtime/debug/42888.md

    The [SetCrashOutput] function allows the user to specify an alternate
    file to which the runtime should write its fatal crash report.
    It may be used to construct an automated reporting mechanism for all
    unexpected crashes, not just those in goroutines that explicitly use
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 283 bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

        /** Number of bits represented in the terminal node. */
        val terminalBitCount: Int
    
        /** Construct an internal node. */
        constructor() {
          this.children = arrayOfNulls(256)
          this.symbol = 0 // Not read.
          this.terminalBitCount = 0 // Not read.
        }
    
        /** Construct a terminal node. */
        constructor(symbol: Int, bits: Int) {
          this.children = null
          this.symbol = symbol
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
      //
      // The key is combined with the resource name of the
      // ValidatingAdmissionPolicy to construct an audit annotation key:
      // "{ValidatingAdmissionPolicy name}/{key}".
      //
      // If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

              "Point",
              Adapters.INTEGER_AS_LONG.withTag(tag = 0L).optional(),
              Adapters.INTEGER_AS_LONG.withTag(tag = 1L).optional(),
              decompose = { listOf(it.x, it.y) },
              construct = { Point(it[0] as Long?, it[1] as Long?) },
            )
        }
      }
    
      private fun date(s: String): Date {
        return SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").run {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
Back to top