Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 430 for flags0 (1.6 sec)

  1. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        private Dummy msg;
    
        @BeforeEach
        void setUp() {
            msg = new Dummy();
        }
    
        // ---------------- Flag manipulation tests -----------------
        @Test
        @DisplayName("Default flag value is zero")
        void testDefaultFlags() {
            assertEquals(0, msg.getFlags(), "Initial flags should be 0");
        }
    
        @ParameterizedTest(name = "setFlags({0}) ➜ getFlags() == {0}")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int BATCH_LIMIT = Config.getInt("jcifs.smb1.smb.client.OpenAndX.ReadAndX", 1);
    
        int flags, desiredAccess, searchAttributes, fileAttributes, creationTime, openFunction, allocationSize;
    
        // flags is NOT the same as flags member
    
        SmbComOpenAndX(final String fileName, final int access, final int flags, final ServerMessageBlock andx) {
            super(andx);
            this.path = fileName;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * @param off the start offset in the data
         * @param len the number of bytes to write
         * @param flags write operation flags
         * @throws IOException if an I/O error occurs
         */
        public void writeDirect(final byte[] b, int off, int len, final int flags) throws IOException {
            if (len <= 0) {
                return;
            }
    
            if (tmp == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                    data[index + i] = 0;
                }
    
                // set signed flag
                final int oldFlags = SMBUtil.readInt4(data, offset + 16);
                final int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED;
                SMBUtil.writeInt4(flags, data, offset + 16);
    
                // Create new Mac instance for thread safety without blocking other operations
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
    
        void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException {
    
            connect(); /* must negotiate before we can test flags2, useUnicode, etc */
    
            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertNull(transport.getServerEncryptionKey());
        }
    
        @Test
        @DisplayName("Signing enforced/optional adhere to flags and negotiation")
        void signingModes() throws Exception {
            // Enforced via constructor flag -> optional false, enforced true regardless of negotiation
            SmbTransportImpl enforced = new SmbTransportImpl(ctx, address, 445, null, 0, true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         *
         * @param padding
         *            the padding to set
         */
        public void setPadding(final byte padding) {
            this.padding = padding;
        }
    
        /**
         * Sets the read flags for the read operation
         *
         * @param readFlags
         *            the readFlags to set
         */
        public void setReadFlags(final byte readFlags) {
            this.readFlags = readFlags;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java

        /** Total number of records available */
        private int allRecordCount;
    
        /** Total number of pages available */
        private int allPageCount;
    
        /** Flag indicating if previous page exists */
        private boolean existPrePage;
    
        /** Flag indicating if next page exists */
        private boolean existNextPage;
    
        /** List of page numbers for pagination display */
        private List<Integer> pageNumberList;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/Kerb5ContextTest.java

            when(gssContext.getConfState()).thenReturn(false);
            when(gssContext.getIntegState()).thenReturn(false);
    
            int flags = ctx.getFlags();
            assertEquals(0, flags);
        }
    
        @Test
        @DisplayName("getFlags combines all flag bits when true")
        void getFlags_allTrue() {
            when(gssContext.getCredDelegState()).thenReturn(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/MockWitnessService.java

            final String serverAddress;
            final int flags;
            final long timestamp;
    
            MockRegistration(String registrationId, String shareName, String serverAddress, int flags) {
                this.registrationId = registrationId;
                this.shareName = shareName;
                this.serverAddress = serverAddress;
                this.flags = flags;
                this.timestamp = System.currentTimeMillis();
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top