Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 107 for reflection (5.13 sec)

  1. src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.java

     */
    public class RdmaProviderFactoryTest {
    
        @Test
        public void testCreateProviderAuto() {
            RdmaProvider provider = RdmaProviderFactory.createProvider("auto");
            assertNotNull(provider, "Auto provider selection should return a provider");
            assertTrue(provider.isAvailable(), "Returned provider should be available");
        }
    
        @Test
        public void testCreateProviderTcp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

            int expected = input & 0xFF;
            assertEquals(expected, ns.value, "value should be masked to 0xFF before storing");
        }
    
        /**
         * Round-trip encode/decode for a selection of representative values.
         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 42, 255, -1, 128 })
        void encodeDecodeRoundTrip(int original) throws Exception {
            // The constructor masks to 0xFF (8 bits)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

         */
        public boolean isUsableForChannel() {
            return address != null && !address.isLoopbackAddress() && !address.isLinkLocalAddress();
        }
    
        /**
         * Get a score for interface selection (higher is better)
         *
         * @return interface score
         */
        public int getScore() {
            int score = linkSpeed; // Base score is link speed
    
            if (rssCapable)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        public boolean verifySignature(final byte[] buffer, final int i, final int size) {
            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

            return address != null && !address.isLoopbackAddress() 
                && !address.isLinkLocalAddress();
        }
        
        public int getScore() {
            // Score interface for selection (higher is better)
            int score = linkSpeed;  // Base score is link speed
            
            if (rssCapable) score += 1000;   // Prefer RSS-capable
            if (rdmaCapable) score += 2000;  // Prefer RDMA-capable
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

                List<ChannelInfo> list = new ArrayList<>(channels);
                return list.get(ThreadLocalRandom.current().nextInt(list.size()));
            }
    
            // Weighted random selection
            int random = ThreadLocalRandom.current().nextInt(totalWeight);
            int currentWeight = 0;
    
            for (ChannelInfo channel : channels) {
                currentWeight += channel.getScore();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            for (LoadBalancingStrategy strategy : strategies) {
                loadBalancer.setStrategy(strategy);
                assertEquals(strategy, loadBalancer.getStrategy());
            }
    
            // Test channel selection with mock request when no channels available
            ServerMessageBlock2Request mockRequest = mock(ServerMessageBlock2Request.class);
            when(mockRequest.getTreeId()).thenReturn(123);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/PathValidatorTest.java

            normalizedPath = noUncValidator.validatePath("////server//share");
            assertEquals("\\server\\share", normalizedPath);
    
            // To properly test UNC rejection, we would need to fix the normalization logic
            // to preserve the leading double backslash for UNC paths
        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/MultiChannelManager.java

         */
        public enum LoadBalancingStrategy {
            /** Round-robin distribution */
            ROUND_ROBIN,
            /** Least connections */
            LEAST_CONNECTIONS,
            /** Random selection */
            RANDOM,
            /** Failover only (use primary until failure) */
            FAILOVER_ONLY
        }
    
        /**
         * Represents a group of channels for a single session.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

     * <li>Document expiration handling</li>
     * <li>Child URL extraction and queueing</li>
     * <li>Integration with Fess configuration and permission systems</li>
     * <li>Client selection based on URL patterns</li>
     * </ul>
     *
     * @see CrawlerThread
     * @see org.codelibs.fess.crawler.client.CrawlerClient
     */
    public class FessCrawlerThread extends CrawlerThread {
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top