Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 400 for sflags (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        /**
         * Test setting and getting byte field (sflags)
         */
        @ParameterizedTest
        @ValueSource(bytes = { 0x00, 0x01, 0x7F, (byte) 0x80, (byte) 0xFF })
        @DisplayName("Test sflags field with various byte values")
        public void testSflagsField(byte value) {
            // When
            serverData.sflags = value;
    
            // Then
            assertEquals(value, serverData.sflags);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/ServerData.java

         */
        public ServerData() {
            // Default constructor
        }
    
        /**
         * Server flags from the SMB header.
         */
        public byte sflags;
        /**
         * Server flags2 field from the SMB header.
         */
        public int sflags2;
        /**
         * Maximum number of outstanding multiplex requests.
         */
        public int smaxMpxCount;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ntlmssp/av/AvFlags.java

         * Constructs an AV flags pair from integer flags
         * @param flags the flag values as integer
         */
        public AvFlags(final int flags) {
            this(encode(flags));
        }
    
        /**
         * Gets the flags as an integer value
         * @return flags
         */
        public int getFlags() {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
        private static byte[] encode(final int flags) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/flags/flags.go

    	fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n")
    	fmt.Fprintf(os.Stderr, "Flags:\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    func Parse() {
    	objabi.Flagparse(Usage)
    	if flag.NArg() == 0 {
    		flag.Usage()
    	}
    
    	// Flag refinement.
    	if *OutputFile == "" {
    		if flag.NArg() != 1 {
    			flag.Usage()
    		}
    		input := filepath.Base(flag.Arg(0))
    		input = strings.TrimSuffix(input, ".s")
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            AvFlags flags1 = new AvFlags(0x11111111);
            AvFlags flags2 = new AvFlags(0x22222222);
            pairs.add(flags1);
            pairs.add(new AvTimestamp(new byte[8]));
            pairs.add(flags2);
    
            AvPair result = AvPairs.get(pairs, AvPair.MsvAvFlags);
            assertNotNull(result, "Should find the pair");
            assertEquals(flags1, result, "Should return first occurrence");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            // Test with RECURSIVE_TREE scope (recursive flag set)
            DirectoryLeaseContext context2 = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.RECURSIVE_TREE);
            context2.setNotificationEnabled(true);
    
            byte[] buffer2 = new byte[context2.size()];
            context2.encode(buffer2, 0);
    
            int flags2 = SMBUtil.readInt4(buffer2, 68);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dfs/Referral.java

         * @return the serverType
         */
        public final int getServerType() {
            return this.serverType;
        }
    
        /**
         * Gets the referral flags.
         *
         * @return the rflags
         */
        public final int getRFlags() {
            return this.rflags;
        }
    
        /**
         * Gets the proximity value indicating the distance to the target.
         *
         * @return the proximity
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

         * @return the numReferrals
         */
        public final int getNumReferrals() {
            return this.numReferrals;
        }
    
        /**
         * Get the referral flags
         *
         * @return the tflags
         */
        public final int getTflags() {
            return this.tflags;
        }
    
        /**
         * Get the array of referral entries
         *
         * @return the referrals
         */
        public final Referral[] getReferrals() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

        }
    
        /**
         * Test constructor with integer flags.
         */
        @Test
        void testAvFlagsIntConstructor() {
            // Test with a positive integer
            int flags = 0x12345678;
            AvFlags avFlags = new AvFlags(flags);
            assertNotNull(avFlags, "AvFlags object should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top