Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 185 for 32 (0.02 sec)

  1. internal/crypto/key_test.go

    	}
    }
    
    var generateKeyTests = []struct {
    	ExtKey     [32]byte
    	Random     io.Reader
    	ShouldPass bool
    }{
    	{ExtKey: [32]byte{}, Random: nil, ShouldPass: true},              // 0
    	{ExtKey: [32]byte{}, Random: rand.Reader, ShouldPass: true},      // 1
    	{ExtKey: [32]byte{}, Random: shortRandom(32), ShouldPass: true},  // 2
    	{ExtKey: [32]byte{}, Random: shortRandom(31), ShouldPass: false}, // 3
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/armv6.s

    	MOVD	(g), F3                                   // 003b9aed
    	MOVF	0x20(R3), F9       // MOVF 32(R3), F9     // 089a93ed
    	MOVD.EQ	0x20(R4), F9       // MOVD.EQ 32(R4), F9  // 089b940d
    	MOVF.NE	-0x20(g), F3       // MOVF.NE -32(g), F3  // 083a1a1d
    	MOVD	-0x20(g), F3       // MOVD -32(g), F3     // 083b1aed
    	MOVF	F9, (R4)                                  // 009a84ed
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      }
    
      public void testAscending() {
        // Test 32 byte arrays of ascending.
        byte[] ascending = new byte[32];
        for (int i = 0; i < 32; i++) {
          ascending[i] = (byte) i;
        }
        assertCrc(0x46dd794e, ascending);
      }
    
      public void testDescending() {
        // Test 32 byte arrays of descending.
        byte[] descending = new byte[32];
        for (int i = 0; i < 32; i++) {
          descending[i] = (byte) (31 - i);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              if (supplementaryPlaneFix) { // bug compatibility: earlier versions did not have this add
                shift += 32;
              }
              len += 4;
            }
    
            if (shift >= 32) {
              int k1 = mixK1((int) buffer);
              h1 = mixH1(h1, k1);
              buffer = buffer >>> 32;
              shift -= 32;
            }
          }
    
          int k1 = mixK1((int) buffer);
          h1 ^= k1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      }
    
      public void testAscending() {
        // Test 32 byte arrays of ascending.
        byte[] ascending = new byte[32];
        for (int i = 0; i < 32; i++) {
          ascending[i] = (byte) i;
        }
        assertCrc(0x46dd794e, ascending);
      }
    
      public void testDescending() {
        // Test 32 byte arrays of descending.
        byte[] descending = new byte[32];
        for (int i = 0; i < 32; i++) {
          descending[i] = (byte) (31 - i);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. internal/grid/msg.go

    		h = h[:len(h)-hashLen]
    	}
    	// Extract subroute if any.
    	if m.Flags&FlagSubroute != 0 {
    		if len(h) < 32 {
    			return nil, nil, fmt.Errorf("want subroute len 32, got %v", len(h))
    		}
    		subID := (*[32]byte)(h[len(h)-32:])
    		sub = (*subHandlerID)(subID)
    		// Add if more modifications to h is needed
    		h = h[:len(h)-32]
    	}
    	return sub, h, nil
    }
    
    // setZeroPayloadFlag will clear or set the FlagPayloadIsZero if
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingTest.java

        }
      }
    
      // goodFastHash(32) uses Murmur3_32. Use the same epsilon bounds.
      public void testGoodFastHash32() {
        HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(32), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.goodFastHash(32), 250, 0.17);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.goodFastHash(32));
        HashTestUtils.checkNoFunnels(Hashing.goodFastHash(32));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/ChecksumHashFunction.java

      ChecksumHashFunction(
          ImmutableSupplier<? extends Checksum> checksumSupplier, int bits, String toString) {
        this.checksumSupplier = checkNotNull(checksumSupplier);
        checkArgument(bits == 32 || bits == 64, "bits (%s) must be either 32 or 64", bits);
        this.bits = bits;
        this.toString = checkNotNull(toString);
      }
    
      @Override
      public int bits() {
        return bits;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. internal/crypto/metadata_test.go

    			MetaIV: base64.StdEncoding.EncodeToString(make([]byte, 32)), MetaAlgorithm: "", MetaSealedKeyS3: "", MetaKeyID: "", MetaDataEncryptionKey: "",
    		},
    		DataKey: []byte{}, KeyID: "", SealedKey: SealedKey{},
    	}, // 6
    	{
    		ExpectedErr: Errorf("The internal sealed key for SSE-S3 is invalid"),
    		Metadata: map[string]string{
    			MetaIV: base64.StdEncoding.EncodeToString(make([]byte, 32)), MetaAlgorithm: SealAlgorithm, MetaSealedKeyS3: "",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Hashing.java

       *
       * @since 18.0
       */
      public static HashFunction crc32c() {
        return Crc32cHashFunction.CRC_32_C;
      }
    
      /**
       * Returns a hash function implementing the CRC-32 checksum algorithm (32 hash bits).
       *
       * <p>To get the {@code long} value equivalent to {@link Checksum#getValue()} for a {@code
       * HashCode} produced by this function, use {@link HashCode#padToLong()}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top