Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 246 for 0x10 (0.01 sec)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

                        return null;
                    }
                    return (long) Encdec.dec_uint64le(this.sbuf, 28);
                }
    
                if (this.sbuf[0] == (byte) 0x00 && this.sbuf[1] == (byte) 0x00 && this.sbuf[4] == (byte) 0xFF && this.sbuf[5] == (byte) 'S'
                        && this.sbuf[6] == (byte) 'M' && this.sbuf[7] == (byte) 'B') {
                    break; /* all good (SMB) */
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

            this(config, fid, new FileBasicInfo(createTime, lastAccessTime, lastWriteTime, 0L, attributes | 0x80));
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = this.getSubCommand();
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            return 2;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            }
            writeInt2(writeMode, dst, dstIndex);
            dstIndex += 2;
            writeInt2(remaining, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            writeInt2(dataLength, dst, dstIndex);
            dstIndex += 2;
            writeInt2(dataOffset, dst, dstIndex);
            dstIndex += 2;
            writeInt4(offset >> 32, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                if (!resp.isReceived()) {
                    throw new CIFSException("Did not receive response");
                }
    
                if (resp.getErrorCode() == 0x10B) {
                    this.handle.markClosed();
                }
                if (resp.getErrorCode() == 0x10C) {
                    resp.getNotifyInformation().clear();
                }
                return resp.getNotifyInformation();
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top