Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,693 for byte2 (0.01 sec)

  1. src/main/java/jcifs/smb1/util/HMACT64.java

     * in which the key is truncated at 64 bytes (rather than being hashed
     * via MD5).
     */
    public class HMACT64 extends MessageDigest implements Cloneable {
    
        private static final int BLOCK_LENGTH = 64;
    
        private static final byte IPAD = (byte) 0x36;
    
        private static final byte OPAD = (byte) 0x5c;
    
        private MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/HMACT64.java

     * in which the key is truncated at 64 bytes (rather than being hashed
     * via MD5).
     */
    class HMACT64 extends MessageDigest implements Cloneable {
    
        private static final int BLOCK_LENGTH = 64;
    
        private static final byte IPAD = (byte) 0x36;
    
        private static final byte OPAD = (byte) 0x5c;
    
        private final MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. cmd/storage-rest-common_gen.go

    		if err != nil {
    			err = msgp.WrapError(err, "Cache")
    			return
    		}
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *nsScannerOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. cmd/os-dirent_namelen_linux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"fmt"
    	"syscall"
    	"unsafe"
    )
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	const fixedHdr = uint16(unsafe.Offsetof(syscall.Dirent{}.Name))
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	const nameBufLen = uint16(len(nameBuf))
    	limit := dirent.Reclen - fixedHdr
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        @Test
        @DisplayName("Test FileBasicInfo decode method")
        void testFileBasicInfoDecode() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[64];
            int bufferIndex = 8;
    
            // Prepare test data in buffer (40 bytes of data)
            // Use SMBUtil to properly encode times in Windows FILETIME format
            SMBUtil.writeTime(TEST_CREATE_TIME, buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SecureKeyManagerTest.java

            byte[] key1 = new byte[16];
            byte[] key2 = new byte[16];
            new SecureRandom().nextBytes(key1);
            new SecureRandom().nextBytes(key2);
    
            keyManager.storeSessionKey(sessionId1, key1, "AES");
            keyManager.storeSessionKey(sessionId2, key2, "AES");
    
            byte[] retrieved1 = keyManager.getRawKey(sessionId1);
            byte[] retrieved2 = keyManager.getRawKey(sessionId2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Reads all bytes from a file into a byte array.
       *
       * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link java.nio.file.Files#readAllBytes}.
       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // Given
                byte[] originalBuffer = new byte[100];
                for (int i = 0; i < originalBuffer.length; i++) {
                    originalBuffer[i] = (byte) i;
                }
                byte[] buffer = originalBuffer.clone();
    
                // When
                Method readParams = SmbComNtCancel.class.getDeclaredMethod("readParameterWordsWireFormat", byte[].class, int.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SecurityBlobTest.java

            return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"),
                    Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"),
                    Arguments.of(new byte[] { (byte) 0xAB }, "ab"),
                    Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java

            // Flags (4 bytes)
            SMBUtil.writeInt4(this.flags, dst, dstIndex);
            dstIndex += 4;
    
            // Compression algorithms (2 bytes each)
            for (int algo : this.compressionAlgorithms) {
                SMBUtil.writeInt2(algo, dst, dstIndex);
                dstIndex += 2;
            }
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top