Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 173 for Self (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt

        }
      }
    
      @Test
      fun testBuildIfSupported() {
        val actual = OpenJSSEPlatform.buildIfSupported()
        assertThat(actual).isNotNull()
      }
    
      private fun enableTls() {
        // Generate a self-signed cert for the server to serve and the client to trust.
        // can't use TlsUtil.localhost with a non OpenJSSE trust manager
        val heldCertificate =
          HeldCertificate
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java

    import okhttp3.mockwebserver.MockResponse;
    import okhttp3.mockwebserver.MockWebServer;
    import okhttp3.tls.HandshakeCertificates;
    import okhttp3.tls.HeldCertificate;
    
    /**
     * Create an HTTPS server with a self-signed certificate that OkHttp trusts.
     */
    public class HttpsServer {
      public void run() throws Exception {
        HeldCertificate localhostCertificate = new HeldCertificate.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 02 14:04:37 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Classes como dependências
    
    Você deve ter percebido que para criar um instância de uma classe em Python, a mesma sintaxe é utilizada.
    
    Por exemplo:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    Nesse caso,  `fluffy` é uma instância da classe `Cat`.
    
    E para criar `fluffy`, você está "chamando" `Cat`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Classes as dependencies { #classes-as-dependencies_1 }
    
    You might notice that to create an instance of a Python class, you use that same syntax.
    
    For example:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    In this case, `fluffy` is an instance of the class `Cat`.
    
    And to create `fluffy`, you are "calling" `Cat`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

       *
       * <p>Note that in GWT, class names are often obfuscated.
       *
       * @param self the object to generate the string for (typically {@code this}), used only for its
       *     class name
       * @since 18.0 (since 2.0 as {@code Objects.toStringHelper()}).
       */
      public static ToStringHelper toStringHelper(Object self) {
        return new ToStringHelper(self.getClass().getSimpleName());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/bug_report.yaml

          description: Please describe the issue you encountered.
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Example
          description: >
            Please provide a [Short, Self Contained, Correct (Compilable), Example](http://sscce.org/)
            demonstrating the bug.
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 16 20:08:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/bucket/versioning/DESIGN.md

    ## Description of `xl.meta`
    
    `xl.meta` is a new self describing backend format used by MinIO to support AWS S3 compatible versioning.
    This file is the source of truth for each `version` at rest. `xl.meta` is a msgpack file serialized from a
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  8. cmd/metrics.go

    	}
    
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(healMetricsNamespace, "time", "since_last_activity"),
    			"Time elapsed (in nano seconds) since last self healing activity. This is set to -1 until initial self heal activity",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(dur),
    	)
    	for k, v := range bgSeq.getScannedItemsMap() {
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbSessionTest.java

            @Test
            @DisplayName("Should handle self unwrap")
            void shouldHandleSelfUnwrap() {
                SmbSession mockSession = mock(SmbSession.class);
                when(mockSession.unwrap(SmbSession.class)).thenReturn(mockSession);
    
                SmbSession result = mockSession.unwrap(SmbSession.class);
                assertSame(mockSession, result, "unwrap should handle self unwrapping");
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt

          // recordSslDebug = true
        }
    
      // https://tools.ietf.org/html/rfc6066#page-6 specifies a FQDN is required.
      val hostname = "local.host"
      private val handshakeCertificates =
        run {
          // Generate a self-signed cert for the server to serve and the client to trust.
          val heldCertificate =
            HeldCertificate
              .Builder()
              .commonName(hostname)
              .addSubjectAlternativeName(hostname)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top