Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 467 for gflags (0.06 seconds)

  1. 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;
            }
    
            /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

         * Creates a Type-2 message with the specified parameters.
         *
         * @param flags The flags to apply to this message.
         * @param challenge The challenge from the domain controller/server.
         * @param target The authentication target.
         */
        public Type2Message(final int flags, final byte[] challenge, final String target) {
            setFlags(flags);
            setChallenge(challenge);
            setTarget(target);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13K bytes
    - Click Count (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{
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            offset += 8;
    
            // Directory flags (4 bytes)
            int flags = 0;
            if (cacheScope == DirectoryCacheScope.RECURSIVE_TREE) {
                flags |= DIRECTORY_LEASE_FLAG_RECURSIVE;
            }
            if (notificationEnabled) {
                flags |= DIRECTORY_LEASE_FLAG_NOTIFICATIONS;
            }
            SMBUtil.writeInt4(flags, buffer, offset);
            offset += 4;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        public void setFlags(final int flags) {
            this.flags = flags;
        }
    
        /**
         * Returns the status of the specified flag.
         *
         * @param flag
         *            The flag to test (i.e., <code>NTLMSSP_NEGOTIATE_OEM</code>).
         * @return A <code>boolean</code> indicating whether the flag is set.
         */
        public boolean getFlag(final int flag) {
            return (getFlags() & flag) != 0;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        @Test
        @DisplayName("Test flag checking with bitwise AND")
        void testFlagChecking() {
            int flags = SecurityInfo.OWNER_SECURITY_INFO | SecurityInfo.DACL_SECURITY_INFO;
    
            // Test presence of flags
            assertTrue((flags & SecurityInfo.OWNER_SECURITY_INFO) != 0);
            assertTrue((flags & SecurityInfo.DACL_SECURITY_INFO) != 0);
    
            // Test absence of flags
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            void testGetPathConsumed() {
                assertEquals(0, referralData.getPathConsumed());
            }
    
            @Test
            @DisplayName("Should get flags")
            void testGetFlags() {
                assertEquals(0, referralData.getFlags());
            }
    
            @Test
            @DisplayName("Should get TTL")
            void testGetTtl() {
                assertEquals(0, referralData.getTtl());
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            final int start = dstIndex;
    
            if (log.isDebugEnabled()) {
                log.debug("Opening " + this.name);
                log.debug("Flags are " + Hexdump.toHexString(getFlags(), 4));
            }
    
            SMBUtil.writeInt2(57, dst, dstIndex);
            dst[dstIndex + 2] = this.securityFlags;
            dst[dstIndex + 3] = this.requestedOplockLevel;
            dstIndex += 4;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 22.9K bytes
    - Click Count (0)
Back to Top