Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,566 for trying (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        if (e is InterruptedIOException) {
          return e is SocketTimeoutException && !requestSendStarted
        }
    
        // Look for known client-side or negotiation errors that are unlikely to be fixed by trying
        // again with a different route.
        if (e is SSLHandshakeException) {
          // If the problem was a CertificateException from the X509TrustManager,
          // do not retry.
          if (e.cause is CertificateException) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            log.info("Set health check interval to {} ms", millis);
        }
    
        /**
         * Get current pool statistics
         * @return pool statistics string
         */
        public String getPoolStatistics() {
            return String.format("Pool statistics: Active=%d, NonPooled=%d, MaxSize=%d, Failures=%d, HealthChecks=%d, Removed=%d",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

          object : X509TrustManager {
            override fun checkClientTrusted(
              x509Certificates: Array<X509Certificate>,
              s: String,
            ) {
            }
    
            override fun checkServerTrusted(
              x509Certificates: Array<X509Certificate>,
              s: String,
            ) {
            }
    
            override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf()
          }
        client =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Read the three data bytes
            assertEquals(1, sis.read());
            assertEquals(2, sis.read());
            assertEquals(3, sis.read());
    
            // After consuming all data, trying to read again will attempt to read
            // another packet header, but since there's no more data, it will throw IOException
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/rpcTest.java

            }
        }
    
        @Nested
        @DisplayName("Unicode String Tests")
        class UnicodeStringTests {
    
            @Test
            @DisplayName("Should encode unicode string with null buffer correctly")
            void testUnicodeStringEncodeNullBuffer() throws NdrException {
                // Given: A unicode string with null buffer
                rpc.unicode_string unicodeString = new rpc.unicode_string();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            void testConstructorWithNullPath() {
                String path = null;
                int maxReferralLevel = 2;
    
                // The implementation doesn't check for null in constructor
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
                assertNotNull(buffer);
    
                // Will throw NPE when trying to call size() or encode()
                assertThrows(NullPointerException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        @CsvSource({ "-1, fff", // SMB_INFO_ALLOCATION
                "3, 003" // FS_SIZE_INFO
        })
        void testToStringWithDifferentLevels(int infoLevel, String expectedHex) {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, infoLevel);
    
            String result = trans2QueryFSInfo.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("Trans2QueryFSInformation"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        private final String toString;
    
        protected Stimulus(String toString) {
          this.toString = toString;
        }
    
        /**
         * Send this stimulus to both iterators and return normally only if both produce the same
         * response.
         */
        abstract void executeAndCompare(ListIterator<E> reference, T target);
    
        @Override
        public String toString() {
          return toString;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
        assertDoesntActuallyTrim(iia);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbSession.java

     */
    public final class SmbSession {
    
        private static final String LOGON_SHARE = Config.getProperty("jcifs.smb1.smb.client.logonShare", null);
        private static final int LOOKUP_RESP_LIMIT = Config.getInt("jcifs.smb1.netbios.lookupRespLimit", 3);
        private static final String DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
        private static final String USERNAME = Config.getProperty("jcifs.smb1.smb.client.username", null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top