Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 550 for flags2 (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbSession.java

                            state = 0;
    
                            break;
                        case 20:
                            if (nctx == null) {
                                final boolean doSigning = (transport.flags2 & SmbConstants.FLAGS2_SECURITY_SIGNATURES) != 0;
                                nctx = new NtlmContext(auth, doSigning);
                            }
    
                            if (LogStream.level >= 4) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

                send(new SmbComOpenAndX(unc, access, flags, null), response);
                f = response.fid;
            }
    
            return f;
        }
    
        void open(final int flags, final int access, final int attrs, final int options) throws SmbException {
            if (isOpen()) {
                return;
            }
            fid = open0(flags, access, attrs, options);
            opened = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

                final Set<RequestParam> params) throws SmbException {
            ensureConnected(); /* must negotiate before we can test flags2, useUnicode, etc */
            if (this.smb2 && !(request instanceof ServerMessageBlock2)) {
                throw new SmbException("Not an SMB2 request " + request.getClass().getName());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            }
        }
    
        /* --- flag handling -------------------------------- */
        @Test
        void testFlagSetAndUnset() {
            TestMessage m = new TestMessage();
            int FLAG_A = 0x01;
            int FLAG_B = 0x02;
            assertFalse(m.isFlagSet(FLAG_A));
            m.setFlag(FLAG_A);
            assertTrue(m.isFlagSet(FLAG_A));
            // unset correctly removes the flag
            m.unsetFlag(FLAG_A);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putShort((short) 0); // pathConsumed (will be divided by 2)
                bb.putShort((short) 0); // numReferrals
                bb.putShort((short) 0); // tflags
                bb.putShort((short) 0); // tflags high bytes (skipped in decode)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0");
            // Calling again should combine rather than overwrite
            req.addFlags0(0x20);
            flags0 = (int) getPrivateField(req, "flags0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            setResponse(resp);
            return resp;
        }
    
        /**
         * Adds flags to the flags0 field.
         *
         * @param fl
         *            the flags0 to set
         */
        public final void addFlags0(final int fl) {
            this.flags0 |= fl;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        private final int impersonationLevel;
        private long allocationSize;
        private final byte securityFlags;
        private int namelen_index;
    
        int flags0, desiredAccess;
    
        SmbComNTCreateAndX(final String name, final int flags, final int access, final int shareAccess, final int extFileAttributes,
                final int createOptions, final ServerMessageBlock andx) {
            super(andx);
            this.path = name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        }
    
        /**
         * Gets the flags of this DCERPC message
         * @return the message flags
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Check if a specific flag is set.
         * @param flag the flag to check
         * @return whether flag is set
         */
        public boolean isFlagSet(final int flag) {
            return (this.flags & flag) == flag;
        }
    
        /**
         * Remove flag
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenInitTest.java

            int flags = NegTokenInit.REPLAY_DETECTION | NegTokenInit.SEQUENCE_CHECKING;
            byte[] mic = new byte[] { 0x00, 0x0A, (byte) 0xFF };
    
            NegTokenInit init = new NegTokenInit(mechs, flags, null, mic);
            String s = init.toString();
    
            assertTrue(s.contains("flags=" + flags), "toString should include flags");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top