Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 327 for Callback (0.04 sec)

  1. src/test/java/jcifs/AddressTest.java

            assertNotNull(firstName, "First called name should not be null");
        }
    
        @Test
        @DisplayName("nextCalledName should return valid name for fallback attempts")
        void testNextCalledNameContract() {
            // Given
            String expectedNextName = "SERVER15";
            when(mockAddress.nextCalledName(mockContext)).thenReturn(expectedNextName);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertEquals("share/", b.getName());
    
            // host when no path/share
            SmbResourceLocatorImpl c = locator("smb://server/");
            assertEquals("server/", c.getName());
    
            // root fallback
            SmbResourceLocatorImpl d = locator("smb:///");
            assertEquals("smb://", d.getName());
        }
    
        @Test
        @DisplayName("Parent URL is computed correctly")
        void testGetParent() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java

            // Test cleanup
            region.close();
            assertFalse(region.isValid(), "Region should be invalid after close");
        }
    
        @Test
        public void testGetProviderName() {
            assertEquals("TCP Fallback", provider.getProviderName());
        }
    
        @Test
        public void testGetMaxMessageSize() {
            assertEquals(65536, provider.getMaxMessageSize(), "TCP provider should have 64KB limit");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

        )
    
      println("TLS1.3+TLS1.2")
      testClient(urls, buildClient(ConnectionSpec.RESTRICTED_TLS))
    
      println("\nTLS1.3 only")
      testClient(urls, buildClient(TLS_13))
    
      println("\nTLS1.3 then fallback")
      testClient(urls, buildClient(TLS_13, TLS_12))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 22 14:39:30 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         *
         * Use this API to attach timing, debugging, or other application data to a request so that
         * you may read it in interceptors, event listeners, or callbacks.
         */
        @JvmName("reifiedTag")
        inline fun <reified T : Any> tag(tag: T?): Builder = tag(T::class, tag)
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  6. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
                // Fallback to an incremental approach
                StringBuilder builder = new StringBuilder(bufIndex + 32);
                builder.append(buffer, 0, bufIndex);
                buffer = null; // release for gc
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

            // Try providers in order of preference
            List<RdmaProvider> providers = Arrays.asList(new DisniRdmaProvider(), // InfiniBand/RoCE - highest performance
                    new TcpRdmaProvider() // TCP fallback - always available
            );
    
            for (RdmaProvider provider : providers) {
                if (provider.isAvailable()) {
                    log.info("Selected RDMA provider: {}", provider.getProviderName());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/escape/super/com/google/common/escape/Platform.java

        // instance.  It is always safe to return the same instance because
        // javascript is single-threaded, and only used by blocks that doesn't
        // involve async callbacks.
        return CHAR_BUFFER;
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

          } else {
            sslSocket.enabledProtocols
          }
    
        // In accordance with https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00 the SCSV
        // cipher is added to signal that a protocol fallback has taken place.
        val supportedCipherSuites = sslSocket.supportedCipherSuites
        val indexOfFallbackScsv =
          supportedCipherSuites.indexOf(
            "TLS_FALLBACK_SCSV",
            CipherSuite.ORDER_BY_NAME,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            }
        }
    
        @Test
        void testConstructor_FallbackToConnect2() throws IOException {
            // Test case: Constructor with DCERPC_FAULT_OP_RNG_ERROR, should fallback to MsrpcSamrConnect2
            String server = "testServer";
            int access = 123;
    
            // Simulate DCERPC_FAULT_OP_RNG_ERROR for MsrpcSamrConnect4
            doThrow(new DcerpcException("Operation range error") {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top