Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,431 for byteEq (0.1 sec)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        static final byte[] header = {
            (byte)0xFF, (byte)'S', (byte)'M', (byte)'B',
            (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,
            (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,
            (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,
            (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00,
            (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x00
        };
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_gen.go

    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BaseOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BaseOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/SessionServicePacket.java

    
        static void writeInt2 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static void writeInt4 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 24 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 16 ) & 0xFF );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance_gen_test.go

    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalrebalanceInfo(t *testing.T) {
    	v := rebalanceInfo{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 11K bytes
    - Viewed (0)
  5. cmd/tier-last-day-stats_gen.go

    func (z *DailyAllTierStats) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0004 uint32
    	zb0004, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if (*z) == nil {
    		(*z) = make(DailyAllTierStats, zb0004)
    	} else if len((*z)) > 0 {
    		for key := range *z {
    			delete((*z), key)
    		}
    	}
    	var field []byte
    	_ = field
    	for zb0004 > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.fromByteArray(new byte[] {0x23, 0x45, (byte) 0xDC})).isEqualTo('\u2345');
        assertThat(Chars.fromByteArray(new byte[] {(byte) 0xFE, (byte) 0xDC})).isEqualTo('\uFEDC');
      }
    
      @GwtIncompatible // Chars.fromByteArray
      public void testFromByteArrayFails() {
        assertThrows(
            IllegalArgumentException.class, () -> Chars.fromByteArray(new byte[Chars.BYTES - 1]));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      }
    
      private static void assertMessageDigestHashing(byte[] input, String algorithmName) {
        try {
          MessageDigest digest = MessageDigest.getInstance(algorithmName);
          assertEquals(
              HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input));
          for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) {
            assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                    byte[] userSessionKey = hmac.digest();
    
                    if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                        masterKey = new byte[16];
                        RANDOM.nextBytes(masterKey);
    
                        byte[] exchangedKey = new byte[16];
                        RC4 rc4 = new RC4(userSessionKey);
                        rc4.update(masterKey, 0, 16, exchangedKey, 0);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

      /** Number of bytes to be filled before process() invocation(s). */
      private final int bufferSize;
    
      /** Number of bytes processed per process() invocation. */
      private final int chunkSize;
    
      /**
       * Constructor for use by subclasses. This hasher instance will process chunks of the specified
       * size.
       *
       * @param chunkSize the number of bytes available per {@link #process(ByteBuffer)} invocation;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  10. cmd/erasure-healing_test.go

    			}
    
    			_, err = obj.PutObject(ctx, bucket, object,
    				mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), opts)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			actualH := sha256.New()
    			_, err = io.Copy(actualH, bytes.NewReader(data))
    			if err != nil {
    				return
    			}
    			actualSha256 := actualH.Sum(nil)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
Back to top