Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 255 for 0x10 (0.02 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         * implementation.
         */
    
        /** SMB2 negotiate protocol command */
        protected static final short SMB2_NEGOTIATE = 0x00;
        /** SMB2 session setup command */
        protected static final short SMB2_SESSION_SETUP = 0x01;
        /** SMB2 logoff command */
        protected static final short SMB2_LOGOFF = 0x02;
        /** SMB2 tree connect command */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HMACT64Test.java

                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
                HMACT64 hmac = new HMACT64(TEST_KEY);
                hmac.engineUpdate((byte) 0x01);
                verify(mockMd5, times(1)).update((byte) 0x01);
            }
        }
    
        @Test
        void testEngineUpdateByteArray() throws NoSuchAlgorithmException {
            // Test engineUpdate(byte[] input, int offset, int len)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. cmd/postpolicyform_test.go

    	// Run tests
    	for _, tt := range testCases {
    		t.Run(tt.name, func(t *testing.T) {
    			if tt.expired {
    				// Expired already.
    				pp.SetExpires(UTCNow().AddDate(0, 0, -10))
    			} else {
    				// Expires in 10 days.
    				pp.SetExpires(UTCNow().AddDate(0, 0, 10))
    			}
    
    			tt.fv.Set("Policy", base64.StdEncoding.EncodeToString([]byte(pp.String())))
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    [
    	uuid(4fc742e0-4a10-11cf-8273-00aa004ae673),
    	version(3.0)
    ]
    interface netdfs
    {
    	import "../rpc.idl";
    
    	const uint32_t DFS_VOLUME_FLAVOR_STANDALONE = 0x100;
    	const uint32_t DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
    
    	const uint32_t DFS_STORAGE_STATE_OFFLINE = 0x0001;
    	const uint32_t DFS_STORAGE_STATE_ONLINE = 0x0002;
    	const uint32_t DFS_STORAGE_STATE_ACTIVE = 0x0004;
    
    	typedef struct {
    		[string] wchar_t *entry_path;
    	} DfsInfo1;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            expected[0] = 0x04; // Buffer format
            System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length());
            expected[directoryName.length() + 1] = 0x00; // Null terminator
    
            byte[] dst = new byte[100];
            int bytesWritten = smbCom.writeBytesWireFormat(dst, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            // Assert
            assertEquals(expectedFlags, queryPolicy.getFlags());
            // Binary check for individual flags
            assertEquals(0x03, queryPolicy.getFlags()); // 0x01 | 0x02 = 0x03
        }
    
        @Test
        void getOpnum_shouldReturnCorrectValue() {
            // Arrange
            short level = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            assertEquals(0x123, buf.dec_ndr_long()); // call_id
        }
    
        @Test
        void testEncodeWithDifferentFlags() throws Exception {
            for (int flag : new int[] { 0, 0xFF, 0x01, 0x80 }) {
                TestMessage m = new TestMessage();
                m.ptype = 0;
                m.flags = flag;
    
                NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
                m.encode(buf);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. cmd/httprange_test.go

    import (
    	"testing"
    )
    
    func TestHTTPRequestRangeSpec(t *testing.T) {
    	resourceSize := int64(10)
    	validRangeSpecs := []struct {
    		spec                 string
    		expOffset, expLength int64
    	}{
    		{"bytes=0-", 0, 10},
    		{"bytes=1-", 1, 9},
    		{"bytes=0-9", 0, 10},
    		{"bytes=1-10", 1, 9},
    		{"bytes=1-1", 1, 1},
    		{"bytes=2-5", 2, 4},
    		{"bytes=-5", 5, 5},
    		{"bytes=-1", 9, 1},
    		{"bytes=-1000", 0, 10},
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NbtException.java

        public static final int SUCCESS = 0;
        /** Name service error class */
        public static final int ERR_NAM_SRVC = 0x01;
        /** Session service error class */
        public static final int ERR_SSN_SRVC = 0x02;
    
        // name service error codes
        /** Format error in the name service */
        public static final int FMT_ERR = 0x1;
        /** Server error in the name service */
        public static final int SRV_ERR = 0x2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/Lmhosts.java

         * @param host the hostname to resolve
         * @return the resolved NbtAddress or null if not found
         */
    
        public synchronized static NbtAddress getByName(final String host) {
            return getByName(new Name(host, 0x20, null));
        }
    
        synchronized static NbtAddress getByName(final Name name) {
            NbtAddress result = null;
    
            try {
                if (FILENAME != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top