Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 325 for construct (0.24 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

            reader.read("ANY") { header ->
              val bytes = reader.readUnknown()
              return AnyValue(
                tagClass = header.tagClass,
                tag = header.tag,
                constructed = header.constructed,
                length = header.length,
                bytes = bytes,
              )
            }
          }
    
          override fun toDer(
            writer: DerWriter,
            value: AnyValue,
          ) {
    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/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)
  4. 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)
  5. 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)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

      }
    
      @Test fun `cannot decode constructed octet string`() {
        assertFailsWith<ProtocolException> {
          Adapters.OCTET_STRING.fromDer(
            "2410040668656c6c6f200406776f726c6421".decodeHex(),
          )
        }.also { expected ->
          assertThat(expected).hasMessage("constructed octet strings not supported for DER")
        }
      }
    
      @Test fun `cannot decode constructed bit string`() {
    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)
  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/src/main/kotlin/okhttp3/Request.kt

      val isHttps: Boolean
        get() = url.isHttps
    
      /**
       * Constructs a new request.
       *
       * Use [Builder] for more fluent construction, including helper methods for various HTTP methods.
       *
       * @param method defaults to "GET" if [body] is null, and "POST" otherwise.
       */
      constructor(
        url: HttpUrl,
        headers: Headers = headersOf(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. CREDITS

    unenforceable, such provision shall be reformed only to the extent
    necessary to make it enforceable. Any law or regulation which provides
    that the language of a contract shall be construed against the drafter
    shall not be used to construe this License against a Contributor.
    
    10. Versions of the License
    ---------------------------
    
    10.1. New Versions
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  10. licenses/sigs.k8s.io/json/LICENSE

              notices within Derivative Works that You distribute, alongside
              or as an addendum to the NOTICE text from the Work, provided
              that such additional attribution notices cannot be construed
              as modifying the License.
    
          You may add Your own copyright statement to Your modifications and
          may provide additional or different license terms and conditions
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 05 01:31:25 GMT 2022
    - 12.6K bytes
    - Viewed (0)
Back to top