Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for sflags (0.08 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/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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        }
    
        /**
         * Gets the SMB message flags
         * @return the flags
         */
        public final byte getFlags() {
            return this.flags;
        }
    
        /**
         * Sets the SMB message flags
         * @param flags
         *            the flags to set
         */
        public final void setFlags(final byte flags) {
            this.flags = flags;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            assertEquals(smb.flags, readSmb.flags);
            assertEquals(smb.flags2, readSmb.flags2);
            assertEquals(smb.tid, readSmb.tid);
            assertEquals(smb.pid, readSmb.pid);
            assertEquals(smb.uid, readSmb.uid);
            assertEquals(smb.mid, readSmb.mid);
        }
    
        @Test
        void testIsResponse() {
            smb.flags = (byte) ServerMessageBlock.FLAGS_RESPONSE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            final String str = errorCode == 0 ? "0" : SmbException.getMessageByCode(errorCode);
            return "command=" + c + ",received=" + received + ",errorCode=" + str + ",flags=0x" + Hexdump.toHexString(flags & 0xFF, 4)
                    + ",flags2=0x" + Hexdump.toHexString(flags2, 4) + ",signSeq=" + signSeq + ",tid=" + tid + ",pid=" + pid + ",uid=" + uid
                    + ",mid=" + mid + ",wordCount=" + wordCount + ",byteCount=" + byteCount;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type2Message.java

         * @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 CIFSContext tc, final int flags, final byte[] challenge, final String target) {
            setFlags(flags);
            setChallenge(challenge);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

            boolean end = false;
            int flags;
            String charset;
            if (lmResponseOffset < pos + 12 || ntResponseOffset < pos + 12 || domainOffset < pos + 12 || userOffset < pos + 12
                    || workstationOffset < pos + 12) {
                // no room for SK/Flags
                flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_OEM;
                setFlags(flags);
                charset = getOEMEncoding();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/doc.go

    CGO_LDFLAGS environment variables are added to the flags derived from
    these directives. Package-specific flags should be set using the
    directives, not the environment variables, so that builds work in
    unmodified environments. Flags obtained from environment variables
    are not subject to the security limitations described above.
    
    All the cgo CPPFLAGS and CFLAGS directives in a package are concatenated and
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
Back to top