Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for pin1 (0.07 sec)

  1. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int DCERPC_OBJECT_UUID = 0x80; /* if true, a non-nil object UUID */
    
        // Packet Types (ptype)
        /**
         * Request packet type
         */
        int RPC_PT_REQUEST = 0x00;
        /**
         * Ping packet type
         */
        int RPC_PT_PING = 0x01;
        /**
         * Response packet type
         */
        int RPC_PT_RESPONSE = 0x02;
        /**
         * Fault packet type - indicates an error
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. gorm.go

    		ConnPool: db.ConnPool,
    		Context:  context.Background(),
    		Clauses:  map[string]clause.Clause{},
    	}
    
    	if err == nil && !config.DisableAutomaticPing {
    		if pinger, ok := db.ConnPool.(interface{ Ping() error }); ok {
    			err = pinger.Ping()
    		}
    	}
    
    	if err != nil {
    		config.Logger.Error(context.Background(), "failed to initialize database, got error %v", err)
    	}
    
    	return
    }
    
    // Session create new db session
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

          settings: Settings,
        )
    
        /** HTTP/2 only. */
        fun ackSettings()
    
        /**
         * Read a connection-level ping from the peer. `ack` indicates this is a reply. The data
         * in `payload1` and `payload2` opaque binary, and there are no rules on the content.
         */
        fun ping(
          ack: Boolean,
          payload1: Int,
          payload2: Int,
        )
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        val settings1 = Settings()
        settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK
        peer.sendFrame().ping(false, 2, 0)
        peer.acceptFrame() // PING
        peer.play()
    
        // Play it back.
        val connection =
          Http2Connection
            .Builder(true, TaskRunner.INSTANCE)
            .socket(peer.openSocket().asBufferedSocket(), "peer")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt

        assertThat(frameLog(true, 0, 0, TYPE_SETTINGS, 0x1))
          .isEqualTo("<< 0x00000000     0 SETTINGS      ACK")
        assertThat(frameLog(true, 0, 8, TYPE_PING, 0x1))
          .isEqualTo("<< 0x00000000     8 PING          ACK")
        assertThat(frameLog(true, 3, 0, TYPE_HEADERS, 0x1))
          .isEqualTo("<< 0x00000003     0 HEADERS       END_STREAM")
        assertThat(frameLog(true, 3, 0, TYPE_DATA, 0x1))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. docs/features/https.md

              if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
              for (certificate in response.handshake!!.peerCertificates) {
                println(CertificatePinner.pin(certificate))
              }
            }
          }
        ```
    === ":material-language-java: Java"
        ```java
          private final OkHttpClient client = new OkHttpClient.Builder()
              .certificatePinner(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

                for (ChannelInfo channel : channelGroup.getChannels()) {
                    try {
                        // Simplified health check - in real implementation would ping the channel
                        boolean isHealthy = checkChannelHealth(channel);
                        channel.setHealthy(isHealthy);
    
                        if (!isHealthy) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            SmbPipeInputStream in1 = handle.getInput();
            SmbPipeInputStream in2 = handle.getInput();
            SmbPipeOutputStream out1 = handle.getOutput();
            SmbPipeOutputStream out2 = handle.getOutput();
    
            // Assert: same instances are returned subsequently
            assertSame(in1, in2, "Input stream should be cached");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

      /**
       * Returns true if the host and port are unchanged from when this was created. This is used to
       * detect if followups need to do a full connection-finding process including DNS resolution, and
       * certificate pin checks.
       */
      fun sameHostAndPort(url: HttpUrl): Boolean
    
      /**
       * A plan holds either an immediately-usable connection, or one that must be connected first.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

          errorCode: ErrorCode,
        ) {
          check(type == -1)
          this.type = Http2.TYPE_RST_STREAM
          this.streamId = streamId
          this.errorCode = errorCode
        }
    
        override fun ping(
          ack: Boolean,
          payload1: Int,
          payload2: Int,
        ) {
          check(type == -1)
          type = Http2.TYPE_PING
          this.ack = ack
          this.payload1 = payload1
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top