Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for numbytes (0.23 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

        byte[] bytes = new byte[numBytes];
        if (lim == -1) {
          lim = 1L << (numBytes * 8);
        }
        long countRoundTripped = 0;
        for (long byteChar = start; byteChar < lim; byteChar++) {
          long tmpByteChar = byteChar;
          for (int i = 0; i < numBytes; i++) {
            bytes[bytes.length - i - 1] = (byte) tmpByteChar;
            tmpByteChar = tmpByteChar >> 8;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/Utf8Test.java

        byte[] bytes = new byte[numBytes];
        if (lim == -1) {
          lim = 1L << (numBytes * 8);
        }
        long countRoundTripped = 0;
        for (long byteChar = start; byteChar < lim; byteChar++) {
          long tmpByteChar = byteChar;
          for (int i = 0; i < numBytes; i++) {
            bytes[bytes.length - i - 1] = (byte) tmpByteChar;
            tmpByteChar = tmpByteChar >> 8;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

        int numBytes = isIpv6 ? 16 : 4;
    
        byte[] addressBytes = address.toByteArray();
        byte[] targetCopyArray = new byte[numBytes];
    
        int srcPos = Math.max(0, addressBytes.length - numBytes);
        int copyLength = addressBytes.length - srcPos;
        int destPos = numBytes - copyLength;
    
        // Check the extra bytes in the BigInteger are all zero.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  4. src/archive/tar/reader_test.go

    			"23 GNU.sparse.offset=1\n25 GNU.sparse.numbytes=2\n" +
    			"23 GNU.sparse.offset=3\n25 GNU.sparse.numbytes=4\n",
    			map[string]string{paxGNUSparseSize: "10", paxGNUSparseNumBlocks: "2", paxGNUSparseMap: "1,2,3,4"}, true},
    		{"22 GNU.sparse.size=10\n26 GNU.sparse.numblocks=1\n" +
    			"25 GNU.sparse.numbytes=2\n23 GNU.sparse.offset=1\n",
    			nil, false},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    	paxGNUSparse          = "GNU.sparse."
    	paxGNUSparseNumBlocks = "GNU.sparse.numblocks"
    	paxGNUSparseOffset    = "GNU.sparse.offset"
    	paxGNUSparseNumBytes  = "GNU.sparse.numbytes"
    	paxGNUSparseMap       = "GNU.sparse.map"
    	paxGNUSparseName      = "GNU.sparse.name"
    	paxGNUSparseMajor     = "GNU.sparse.major"
    	paxGNUSparseMinor     = "GNU.sparse.minor"
    	paxGNUSparseSize      = "GNU.sparse.size"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  6. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        Murmur3_32Hasher(int seed) {
          this.h1 = seed;
          this.length = 0;
          isDone = false;
        }
    
        private void update(int nBytes, long update) {
          // 1 <= nBytes <= 4
          buffer |= (update & 0xFFFFFFFFL) << shift;
          shift += nBytes * 8;
          length += nBytes;
    
          if (shift >= 32) {
            h1 = mixH1(h1, mixK1((int) buffer));
            buffer >>>= 32;
            shift -= 32;
          }
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
  7. cmd/object-api-putobject_test.go

    		21: {bucketName: bucket, objName: object, inputData: nilBytes, inputMeta: md5Header(nilBytes), inputSHA256: getSHA256Hash(nilBytes), inputDataSize: int64(len(nilBytes)), expectedMd5: getMD5Hash(nilBytes)},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/Hasher.java

      @CanIgnoreReturnValue
      @Override
      Hasher putByte(byte b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes, int off, int len);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putShort(short s);
    
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        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() {
        TestHasher hasher = new TestHasher();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/AbstractHasher.java

      public Hasher putString(CharSequence charSequence, Charset charset) {
        return putBytes(charSequence.toString().getBytes(charset));
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes) {
        return putBytes(bytes, 0, bytes.length);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes, int off, int len) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.5K bytes
    - Viewed (0)
Back to top