Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,754 for byte (0.17 sec)

  1. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       * Writes a {@code long} as specified by {@link DataOutputStream#writeLong(long)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeLong(long v) throws IOException {
        byte[] bytes = Longs.toByteArray(Long.reverseBytes(v));
        write(bytes, 0, bytes.length);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/PrimitiveSink.java

       * {@code bytes[off + len - 1]} is the last.
       *
       * @param bytes a byte array
       * @param off the start offset in the array
       * @param len the number of bytes to write
       * @return this instance
       * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or
       *     {@code len < 0}
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  3. internal/crypto/key_test.go

    }{
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    		UnsealExtKey: [32]byte{}, UnsealDomain: "SSE-C", UnsealBucket: "bucket", UnsealObject: "object",
    		ShouldPass: true,
    	}, // 0
    	{
    		SealExtKey: [32]byte{}, SealIV: [32]byte{}, SealDomain: "SSE-C", SealBucket: "bucket", SealObject: "object",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Feb 02 00:13:57 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SigningDigest.java

         */
        boolean verify(byte[] data, int offset, ServerMessageBlock response) {
            update(macSigningKey, 0, macSigningKey.length);
            int index = offset;
            update(data, index, ServerMessageBlock.SIGNATURE_OFFSET); 
            index += ServerMessageBlock.SIGNATURE_OFFSET;
            byte[] sequence = new byte[8]; 
            ServerMessageBlock.writeInt4(response.signSeq, sequence, 0); 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteSource.java

          ByteSource
      {
    
        final byte[] bytes;
        final int offset;
        final int length;
    
        ByteArrayByteSource(byte[] bytes) {
          this(bytes, 0, bytes.length);
        }
    
        // NOTE: Preconditions are enforced by slice, the only non-trivial caller.
        ByteArrayByteSource(byte[] bytes, int offset, int length) {
          this.bytes = bytes;
          this.offset = offset;
          this.length = length;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        // KGS!@#$%
        private static final byte[] S8 = {
            (byte)0x4b, (byte)0x47, (byte)0x53, (byte)0x21,
            (byte)0x40, (byte)0x23, (byte)0x24, (byte)0x25
        };
        /* Accepts key multiple of 7
         * Returns enc multiple of 8
         * Multiple is the same like: 21 byte key gives 24 byte result
         */
        private static void E( byte[] key, byte[] data, byte[] e ) {
            byte[] key7 = new byte[7];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

      public void testBytes() {
        TestHasher hasher = new TestHasher(); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
        hasher.putByte((byte) 1);
        hasher.putBytes(new byte[] {2, 3, 4, 5, 6});
        hasher.putByte((byte) 7);
        hasher.putBytes(new byte[] {});
        hasher.putBytes(new byte[] {8});
        hasher.assertBytes(expected);
      }
    
      public void testShort() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/MD4.java

            // padding is alwas binary 1 followed by binary 0s
            byte[] tail = new byte[padLen + 8];
            tail[0] = (byte)0x80;
    
            // append length before final transform:
            // save number of bits, casting the long to an array of 8 bytes
            // save low-order byte first.
            for (int i = 0; i < 8; i++)
                tail[padLen + i] = (byte)((count * 8) >>> (8 * i));
    
            engineUpdate(tail, 0, tail.length);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes_gen.go

    	"github.com/tinylib/msgp/msgp"
    )
    
    // MarshalMsg implements msgp.Marshaler
    func (z BackendType) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendInt(o, int(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BackendType) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 int
    		zb0001, bts, err = msgp.ReadIntBytes(bts)
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 69.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      public void testCollisionsDueToIncorrectSignExtension() {
        byte[] col1 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x80};
        byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81};
        byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff};
    
        ImmutableSet<HashCode> hashCodes =
            ImmutableSet.of(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
Back to top