Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 405 for Fallback (0.06 sec)

  1. cmd/is-dir-empty_linux.go

    	"syscall"
    )
    
    // Returns true if no error and there is no object or prefix inside this directory
    func isDirEmpty(dirname string, legacy bool) bool {
    	if legacy {
    		// On filesystems such as btrfs, nfs this is not true, so fallback
    		// to performing readdir() instead.
    		entries, err := readDirN(dirname, 1)
    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     exception itself.
       * @param executor the executor that runs {@code fallback} if the input fails
       */
      public <X extends Throwable> ClosingFuture<V> catching(
          Class<X> exceptionType, ClosingFunction<? super X, ? extends V> fallback, Executor executor) {
        return catchingMoreGeneric(exceptionType, fallback, executor);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            nestedMap.put("outer", Maps.map("inner", "value").$());
            assertEquals(183L, MemoryUtil.sizeOf(nestedMap));
        }
    
        public void test_sizeOf_customObjects() {
            // Test fallback case for custom objects (should return 16L)
            assertEquals(16L, MemoryUtil.sizeOf(new Object()));
            assertEquals(16L, MemoryUtil.sizeOf(new CustomTestObject()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Create RDMA negotiation context
    - [ ] Implement RDMA transport layer
    - [ ] Add RDMA buffer registration
    - [ ] Create RDMA read/write operations
    - [ ] Implement RDMA credits management
    - [ ] Add fallback to TCP when RDMA unavailable
    
    #### 5.3 Integration Points
    - Create new transport type alongside TCP
    - Modify negotiation to include RDMA contexts
    - Update read/write operations for RDMA
    
    ---
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. 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)
  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/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)
Back to top