Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,544 for inte (2.58 sec)

  1. src/main/java/jcifs/smb1/netbios/Name.java

            return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET);
        }
    
        int readWireFormat(final byte[] src, final int srcIndex) {
    
            final byte tmp[] = new byte[SCOPE_OFFSET];
            int length = 15;
            for (int i = 0; i < 15; i++) {
                tmp[i] = (byte) ((src[srcIndex + 2 * i + 1] & 0xFF) - 0x41 << 4);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SSPContext.java

         * @param token the input token bytes
         * @param off offset into the token array
         * @param len length of token data
         * @return result token
         * @throws SmbException if an SMB protocol error occurs
         * @throws CIFSException if a general CIFS error occurs
         */
        byte[] initSecContext(byte[] token, int off, int len) throws CIFSException;
    
        /**
         * Gets the NetBIOS name of the remote endpoint.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

        protected int maxDeleteDocumentCacheSize;
    
        /** Maximum number of redirects to follow when processing URLs. */
        protected int maxRedirectCount;
    
        /** Executor service for concurrent processing of file operations. */
        private final ExecutorService executor;
    
        /** Timeout in seconds for executor service termination during shutdown. */
        private int executorTerminationTimeout = 300;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 29.7K bytes
    - Viewed (3)
  4. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 10, 100, 500, 1024 })
        void testReadDataWireFormatWithVariousSizes(int dataSize) throws SMBProtocolDecodingException {
            if (dataSize > outputBuffer.length) {
                return; // Skip sizes larger than buffer
            }
    
            byte[] sourceData = new byte[dataSize];
            for (int i = 0; i < dataSize; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            Method pad8Method = ServerMessageBlock2.class.getDeclaredMethod("pad8", int.class);
            pad8Method.setAccessible(true);
    
            // Test various positions
            int[] positions = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 16 };
            for (int pos : positions) {
                int padding = (int) pad8Method.invoke(req, pos);
    
                // Verify padding makes position 8-byte aligned
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbExceptionTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_ACCESS_DENIED, NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND,
                NtStatus.NT_STATUS_SHARING_VIOLATION, NtStatus.NT_STATUS_INVALID_PARAMETER })
        @DisplayName("Should handle various NT status codes")
        void testVariousNTStatusCodes(int ntStatus) {
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @ParameterizedTest
            @DisplayName("Should encode consistently with various flag values")
            @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 })
            void testEncodingWithVariousFlags(int flags) {
                lock = new Smb2Lock(1024L, 2048L, flags);
                int encoded = lock.encode(buffer, 0);
    
                assertEquals(24, encoded);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        // Security information flag constants for testing
        private static final int OWNER_SECURITY_INFORMATION = 0x00000001;
        private static final int GROUP_SECURITY_INFORMATION = 0x00000002;
        private static final int DACL_SECURITY_INFORMATION = 0x00000004;
        private static final int SACL_SECURITY_INFORMATION = 0x00000008;
        private static final int ALL_SECURITY_INFORMATION = 0x0000000F;
    
        @BeforeEach
        void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

        int CAP_RAW_MODE = 0x0001;
        /**
         * Multiplex mode is supported capability.
         */
        int CAP_MPX_MODE = 0x0002;
        /**
         * Unicode strings are supported capability.
         */
        int CAP_UNICODE = 0x0004;
        /**
         * Large files are supported capability.
         */
        int CAP_LARGE_FILES = 0x0008;
        /**
         * NT SMBs are supported capability.
         */
        int CAP_NT_SMBS = 0x0010;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

                assertEquals(-10L, mock.length());
            }
        }
    
        @ParameterizedTest(name = "getType returns {0}")
        @ValueSource(ints = { 0, 1, -5, Integer.MAX_VALUE })
        @DisplayName("Parameterized type values")
        void typeParameterized(int type) {
            FileEntry mock = mock(FileEntry.class);
            when(mock.getType()).thenReturn(type);
            assertEquals(type, mock.getType());
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top