Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 712 for referred (0.05 seconds)

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

        @Mock
        private jcifs.CIFSContext ctx;
    
        @Mock
        private SmbSession session;
    
        @Mock
        private jcifs.DfsReferralData referral;
    
        @BeforeEach
        void resetMocks() {
            Mockito.reset(transport, ctx, session, referral);
        }
    
        // Happy path: hasCapability returns based on provided capability codes
        @ParameterizedTest
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/Dfs.java

    import jcifs.smb1.UniAddress;
    import jcifs.smb1.util.LogStream;
    
    /**
     * Implements DFS (Distributed File System) referral caching and resolution.
     * This class manages DFS referral cache and provides DFS path resolution functionality.
     */
    public class Dfs {
    
        /**
         * Default constructor for Dfs.
         * Initializes the DFS referral system.
         */
        public Dfs() {
            // Default constructor
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                byte[] buffer = createValidWriteResponse(1024, 512);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead); // Structure size + reserved (4) + count (4) + remaining (4) + channel info (4)
                assertEquals(1024, response.getCount());
                assertEquals(512, response.getRemaining());
            }
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
        private static final int STRUCTURE_SIZE = 16;
    
        private long reserved; // Must be zero
    
        /**
         * Create a new durable handle request
         */
        public DurableHandleRequest() {
            this.reserved = 0;
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            int bytesWritten = smbComNtTransaction.writeParameterWordsWireFormat(dst, 0);
    
            // 1 (reserved) + 2 (reserved) + 4 (totalParameterCount) + 4 (totalDataCount) +
            // 4 (parameterCount) + 4 (parameterOffset) + 4 (parameterDisplacement) +
            // 4 (dataCount) + 4 (dataOffset) + 4 (dataDisplacement) + 1 (reserved)
            assertEquals(36, bytesWritten, "Number of bytes written should be 36 for secondary transaction");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            String resolved = "smb://server/share/path";
            when(locator.handleDFSReferral(referral, reqPath)).thenReturn(resolved);
    
            String out = locator.handleDFSReferral(referral, reqPath);
            assertEquals(resolved, out);
    
            // Verify exact argument interaction
            verify(locator, times(1)).handleDFSReferral(referral, reqPath);
            verifyNoMoreInteractions(locator);
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

                    { new ASN1ObjectIdentifier("1.2.3.4.5"), false } };
        }
    
        @ParameterizedTest(name = "non-anon preferred mech {0} -> {1}")
        @MethodSource("preferredMechData_nonAnonymous")
        void isPreferredMech_nonAnonymous(ASN1ObjectIdentifier oid, boolean expected) {
            Kerb5Authenticator auth = new Kerb5Authenticator(new Subject());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            SMBUtil.writeInt8(0, dst, dstIndex); // LeaseDuration (8 bytes) - reserved, must be zero
            dstIndex += 8;
    
            parentLeaseKey.encode(dst, dstIndex); // ParentLeaseKey (16 bytes)
            dstIndex += 16;
    
            SMBUtil.writeInt2(epoch, dst, dstIndex); // Epoch (2 bytes)
            dstIndex += 2;
    
            SMBUtil.writeInt2(0, dst, dstIndex); // Reserved (2 bytes)
            dstIndex += 2;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform.android
    
    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    
    /**
     * Deferred implementation of SocketAdapter that works by observing the socket
     * and initializing on first use.
     *
     * We use this because eager classpath checks cause confusion and excessive logging in Android,
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

        private DfsReferralRequestBuffer buffer;
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create buffer with simple path and referral level")
            void testConstructorWithSimplePath() {
                String path = "\\\\server\\share";
                int maxReferralLevel = 3;
    
                buffer = new DfsReferralRequestBuffer(path, maxReferralLevel);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.5K bytes
    - Click Count (0)
Back to Top