Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 317 for 32 (0.03 sec)

  1. internal/crypto/key.go

    // It must never be stored in plaintext.
    type ObjectKey [32]byte
    
    // GenerateKey generates a unique ObjectKey from a 256 bit external key
    // and a source of randomness. If random is nil the default PRNG of the
    // system (crypto/rand) is used.
    func GenerateKey(extKey []byte, random io.Reader) (key ObjectKey) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if len(extKey) != 32 { // safety check
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. 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)
  3. istioctl/pkg/writer/compare/testdata/configdump.json

                                  "prefix_len": 32
                                },
                                {
                                  "address_prefix": "192.168.195.211",
                                  "prefix_len": 32
                                },
                                {
                                  "address_prefix": "192.168.252.206",
                                  "prefix_len": 32
                                },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 52K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/arm.s

    	MOVHU.W	R3, 0x20(R4)         // MOVHU.W R3, 32(R4)        // b032e4e1
    	MOVHU.P	R3, 0x20(R4)         // MOVHU.P R3, 32(R4)        // b032c4e0
    	MOVH	R3, -0x20(R4)        // MOVH R3, -32(R4)          // b03244e1
    	MOVH.W	R3, -0x20(R4)        // MOVH.W R3, -32(R4)        // b03264e1
    	MOVH.P	R3, -0x20(R4)        // MOVH.P R3, -32(R4)        // b03244e0
    	MOVHS	R3, -0x20(R4)        // MOVHS R3, -32(R4)         // b03244e1
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/testdata/configdump_diff.json

                                  "prefix_len": 32
                                },
                                {
                                  "address_prefix": "192.168.195.211",
                                  "prefix_len": 32
                                },
                                {
                                  "address_prefix": "192.168.252.206",
                                  "prefix_len": 32
                                },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. tests/test_tutorial/test_schema_extra_example/test_tutorial004.py

    def test_post_body_example():
        response = client.put(
            "/items/5",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. 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)
Back to top