Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for adapted (0.04 sec)

  1. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            assertNotNull(r1, "First adapted resource must not be null");
            // For workgroup/server entries, names end with '/'
            assertTrue(r1.getName().endsWith("/"), "Name should end with '/'");
    
            assertTrue(itr.hasNext(), "Should have second element ready");
            SmbResource r2 = itr.next();
            assertNotNull(r2, "Second adapted resource must not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/DfsReferralData.java

        /**
         * Unwrap the referral data to a specific implementation type
         *
         * @param <T> the target type to unwrap to
         * @param type the class of the target type
         * @return the referral adapted to type
         * @throws ClassCastException
         *             if the type is not valid for this object
         */
        <T extends DfsReferralData> T unwrap(Class<T> type);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. cmd/dynamic-timeouts.go

    	dynamicTimeoutLogSize              = 16
    	maxDuration                        = math.MaxInt64
    	maxDynamicTimeout                  = 24 * time.Hour // Never set timeout bigger than this.
    )
    
    // timeouts that are dynamically adapted based on actual usage results
    type dynamicTimeout struct {
    	timeout       int64
    	minimum       int64
    	entries       int64
    	log           [dynamicTimeoutLogSize]time.Duration
    	mutex         sync.Mutex
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/HMACT64Test.java

        }
    
        @Test
        void testHMACT64WithKnownTestVector() throws NoSuchAlgorithmException {
            // Test with known test vector
            // Using test vector from RFC 2104 adapted for HMACT64
            byte[] key = new byte[16];
            Arrays.fill(key, (byte) 0x0b);
            byte[] data = "Hi There".getBytes();
    
            // Expected result calculated manually for HMACT64 with this key and data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/LongMath.java

       *     is not precisely representable as a {@code double}
       * @since 30.0
       */
      @GwtIncompatible
      public static double roundToDouble(long x, RoundingMode mode) {
        // Logic adapted from ToDoubleRounder.
        double roundArbitrarily = (double) x;
        long roundArbitrarilyAsLong = (long) roundArbitrarily;
        int cmpXToRoundArbitrarily;
    
        if (roundArbitrarilyAsLong == Long.MAX_VALUE) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

        }
    
        @Test
        @DisplayName("Adapter throwing MalformedURLException on all entries")
        void adapterThrowsOnAllEntries() {
            // Setup
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
    
            when(delegate.hasNext()).thenReturn(true, true, false);
            when(delegate.next()).thenReturn(entry1, entry2);
    
            // Adapter that always throws
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. README.md

    - **Builder Pattern** - `CopyOptions` for configuring bean copying operations with fluent API
    - **Adapter Pattern** - Logging adapters (`JclLoggerAdapter`, `JulLoggerAdapter`) for different logging frameworks
    - **Template Method** - Resource traversal utilities with customizable handlers
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/ShareEnumIterator.java

                if (this.filter == null) {
                    try {
                        return adapt(n);
                    } catch (final MalformedURLException e) {
                        log.error("Failed to create child URL", e);
                        continue;
                    }
                }
                try (SmbResource nr = adapt(n)) {
                    if (!this.filter.accept(nr)) {
                        continue;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/FileEntryAdapterIterator.java

                if (this.filter == null) {
                    try {
                        return adapt(fe);
                    } catch (final MalformedURLException e) {
                        log.error("Failed to create child URL", e);
                        continue;
                    }
                }
    
                try (SmbResource r = adapt(fe)) {
                    if (this.filter.accept(r)) {
                        return r;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. docs/SMB3_IMPLEMENTATION_PLAN.md

    - Update change notification handling
    
    ---
    
    ### Phase 5: RDMA (SMB Direct) Support
    **Priority: LOW** | **Estimated Effort: 8-10 weeks**
    
    RDMA provides high-speed, low-latency data transfer for supported network adapters.
    
    #### 5.1 Core RDMA Infrastructure
    ```
    Package: jcifs.internal.smb2.rdma
    ├── RdmaTransport.java           - RDMA transport implementation
    ├── RdmaCapability.java          - RDMA capability detection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top