Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 293 for 0xf0 (0.01 sec)

  1. src/main/java/jcifs/smb1/netbios/SessionServicePacket.java

        static int readInt2(final byte[] src, final int srcIndex) {
            return ((src[srcIndex] & 0xFF) << 8) + (src[srcIndex + 1] & 0xFF);
        }
    
        static int readInt4(final byte[] src, final int srcIndex) {
            return ((src[srcIndex] & 0xFF) << 24) + ((src[srcIndex + 1] & 0xFF) << 16) + ((src[srcIndex + 2] & 0xFF) << 8)
                    + (src[srcIndex + 3] & 0xFF);
        }
    
        static int readLength(final byte[] src, int srcIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            // name length without counting null termination
            namelen_index = dstIndex;
            dstIndex += 2;
            writeInt4(flags0, dst, dstIndex);
            dstIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/ACE.java

         */
        int FLAGS_INHERIT_ONLY = 0x08;
        /**
         * Inheritance flag: ACE was inherited from parent
         */
        int FLAGS_INHERITED = 0x10;
    
        /**
         * Return the SID associated with this ACE.
         *
         * @return ACE target SID
         */
        SID getSID();
    
        /**
         * Returns the access mask associated with this ACE. Use the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            SMBUtil.writeInt2(9, buf, bodyStart);
            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
            SMBUtil.writeInt4(bc, buf, bodyStart + 4);
            byte[] err = new byte[] { 0x55, 0x66, 0x77, 0x01 };
            System.arraycopy(err, 0, buf, bodyStart + 8, bc);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            smb.uid = 101;
            smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            smb.useUnicode = true;
    
            byte[] params = { 0x01, 0x02, 0x03, 0x04 };
            byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F };
            smb.setParamWords(params);
            smb.setBytes(bytes);
    
            byte[] buffer = new byte[1024];
            int length = smb.encode(buffer, 0);
    
            // Create a new SMB to decode into
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         * @throws SmbException if an I/O error occurs
         */
        public int read() throws SmbException {
            if (read(tmp, 0, 1) == -1) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
        /**
         * Reads bytes from the file into the specified byte array.
         *
         * @param b the byte array to read data into
         * @return the number of bytes read, or -1 if end of file is reached
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/archive/tar/reader_test.go

    			Devminor: 0,
    			Format:   FormatGNU,
    		}, {
    			Name:     "sparse-posix-0.0",
    			Mode:     420,
    			Uid:      1000,
    			Gid:      1000,
    			Size:     200,
    			ModTime:  time.Unix(1392342187, 0),
    			Typeflag: 0x30,
    			Linkname: "",
    			Uname:    "david",
    			Gname:    "david",
    			Devmajor: 0,
    			Devminor: 0,
    			PAXRecords: map[string]string{
    				"GNU.sparse.size":      "200",
    				"GNU.sparse.numblocks": "95",
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Initialize test data
            for (int i = 0; i < 16; i++) {
                testMachineId[i] = (byte) (i + 1);
            }
            for (int i = 0; i < 32; i++) {
                testSalt[i] = (byte) (i + 0x10);
            }
    
            // Default configuration for SMB 3.1.1 with encryption
            when(mockConfig.isDfsDisabled()).thenReturn(false);
            when(mockConfig.isEncryptionEnabled()).thenReturn(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            }
        }
    
        @Test
        @DisplayName("Test setFileInfoClass method")
        void testSetFileInfoClass() {
            request = new Smb2QueryInfoRequest(mockConfig);
            byte testFileInfoClass = (byte) 0x10;
    
            request.setFileInfoClass(testFileInfoClass);
    
            // Verify file info class was set and info type was set to SMB2_0_INFO_FILE
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/NetbiosAddress.java

         *             determine the MAC address.
         */
        byte[] getMacAddress(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Returned the hex code associated with this name(e.g. 0x20 is for the file service)
         *
         * @return the name type
         */
        int getNameType();
    
        /**
         * Gets the NetBIOS name associated with this address.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top