Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 503 for flags0 (0.03 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

         *
         * @param flags The flags to apply to this message.
         * @param suppliedDomain The supplied authentication domain.
         * @param suppliedWorkstation The supplied workstation name.
         */
        public Type1Message(final int flags, final String suppliedDomain, String suppliedWorkstation) {
            setFlags(getDefaultFlags() | flags);
            setSuppliedDomain(suppliedDomain);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/archive/zip/writer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, test := range utf8Tests {
    		flags := r.File[i].Flags
    		if flags != test.flags {
    			t.Errorf("CreateHeader(name=%q comment=%q nonUTF8=%v): flags=%#x, want %#x", test.name, test.comment, test.nonUTF8, flags, test.flags)
    		}
    	}
    }
    
    func TestWriterTime(t *testing.T) {
    	var buf bytes.Buffer
    	h := &FileHeader{
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertTrue(result.contains("flags=0x00"));
            assertTrue(result.contains("informationLevel=0x104"));
            assertTrue(result.contains("searchStorageType=0"));
            assertTrue(result.contains("filename=\\test\\path\\"));
        }
    
        @Test
        @DisplayName("Test constants values")
        void testConstants() {
            // Test flag constants
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 3);
            bb.putShort((short) 100);
            bb.putShort((short) 7);
            bb.putShort((short) 1); // rflags without name list flag
            bb.putShort((short) 20);
            bb.putShort((short) 3600);
            bb.putShort((short) 22);
            bb.putShort((short) 38);
            bb.putShort((short) 52);
    
            bb.position(22);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type1Message.java

            try {
                int flags = getFlags();
                int size = 8 * 4 + ((flags & NTLMSSP_NEGOTIATE_VERSION) != 0 ? 8 : 0);
    
                byte[] domain = {};
                final String suppliedDomainString = getSuppliedDomain();
                if ((flags & NTLMSSP_NEGOTIATE_VERSION) == 0 && suppliedDomainString != null && suppliedDomainString.length() != 0) {
                    flags |= NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                if (byteCount > server.encryptionKeyLength) {
                    int len = 0;
                    // Use appropriate string decoding based on Unicode flag
                    try {
                        if ((flags2 & FLAGS2_UNICODE) == FLAGS2_UNICODE) {
                            while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) {
                                len += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         * @param length the number of bytes to lock
         * @param flags the lock flags (combination of SMB2_LOCKFLAG_* constants)
         */
        public Smb2Lock(final long offset, final long length, final int flags) {
            this.offset = offset;
            this.length = length;
            this.flags = flags;
    
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessNotification.java

            /**
             * Gets the address flags.
             *
             * @return the flags
             */
            public int getFlags() {
                return flags;
            }
    
            /**
             * Checks if this is an IPv4 address.
             *
             * @return true if IPv4
             */
            public boolean isIPv4() {
                return (flags & IPV4) != 0;
            }
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top