Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 104 for getStats (0.13 seconds)

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

        val parse: MediaType? = MediaType.parse("")
      }
    
      @Test @Disabled
      fun mockResponse() {
        val mockResponse = MockResponse()
        var status: String = mockResponse.getStatus()
        var headers: Headers = mockResponse.getHeaders()
        var trailers: Headers = mockResponse.getTrailers()
        var socketPolicy: SocketPolicy = mockResponse.getSocketPolicy()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 13.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            int decoded = resp.decode(buf, headerStart);
            assertTrue(decoded > 0, "Decode should return positive length");
    
            assertEquals(NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED, resp.getStatus());
            assertArrayEquals(blob, resp.getBlob(), "Security blob should match");
            assertEquals(sessionFlags, resp.getSessionFlags(), "Session flags should decode");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            SMBUtil.writeInt2(2, buffer, bufferIndex + 64);
    
            // Decode the response
            int result = response.decode(buffer, bufferIndex);
    
            assertEquals(66, result);
            assertEquals(0, response.getStatus()); // Should be STATUS_SUCCESS
        }
    
        @Test
        @DisplayName("Test readBytesWireFormat preserves buffer content")
        void testReadBytesWireFormatPreservesBuffer() throws SMBProtocolDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      final void awaitTermination(Thread t, long timeoutMillis) {
        try {
          t.join(timeoutMillis);
        } catch (InterruptedException ie) {
          threadUnexpectedException(ie);
        } finally {
          if (t.getState() != Thread.State.TERMINATED) {
            t.interrupt();
            fail("Test timed out");
          }
        }
      }
    
      /**
       * Waits for LONG_DELAY_MS milliseconds for the thread to terminate (using {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

                this.next.setDigest(digest);
            }
        }
    
        /**
         * Gets the status code for this message.
         *
         * @return the status
         */
        public final int getStatus() {
            return this.status;
        }
    
        /**
         * Gets the session identifier for this message.
         *
         * @return the sessionId
         */
        public long getSessionId() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                    }
    
                    // Attempt to reset the connection
                    connection.reset();
    
                    // Verify connection is working
                    if (connection.getState() == RdmaConnection.RdmaConnectionState.ESTABLISHED) {
                        log.info("RDMA connection recovery successful after {} attempts", retryCount);
                        return true;
                    }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

            return receiveCredits.get();
        }
    
        /**
         * Get connection state
         *
         * @return current connection state
         */
        public RdmaConnectionState getState() {
            return state;
        }
    
        /**
         * Get remote address
         *
         * @return remote socket address
         */
        public InetSocketAddress getRemoteAddress() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

            this.creditsRequested = creditsRequested;
        }
    
        /**
         * Get the negotiation status
         *
         * @return status code
         */
        public int getStatus() {
            return status;
        }
    
        /**
         * Set the negotiation status
         *
         * @param status status code
         */
        public void setStatus(int status) {
            this.status = status;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      final void awaitTermination(Thread t, long timeoutMillis) {
        try {
          t.join(timeoutMillis);
        } catch (InterruptedException ie) {
          threadUnexpectedException(ie);
        } finally {
          if (t.getState() != Thread.State.TERMINATED) {
            t.interrupt();
            fail("Test timed out");
          }
        }
      }
    
      /**
       * Waits for LONG_DELAY_MS milliseconds for the thread to terminate (using {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  10. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun getPushPromises ()Ljava/util/List;
    	public final fun getSettings ()Lokhttp3/internal/http2/Settings;
    	public final fun getSocketPolicy ()Lokhttp3/mockwebserver/SocketPolicy;
    	public final fun getStatus ()Ljava/lang/String;
    	public final fun getThrottleBytesPerPeriod ()J
    	public final fun getThrottlePeriod (Ljava/util/concurrent/TimeUnit;)J
    	public final fun getTrailers ()Lokhttp3/Headers;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Click Count (0)
Back to Top