Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 701 for KEYS (0.04 sec)

  1. pkg/ledger/smt.go

    		batch), nil}
    }
    
    // splitKeys divides the array of keys into 2 so they can update left and right branches in parallel
    func (s *smt) splitKeys(keys [][]byte, height int) ([][]byte, [][]byte) {
    	for i, key := range keys {
    		if bitIsSet(key, height) {
    			return keys[:i], keys[i:]
    		}
    	}
    	return keys, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest.groovy

                }
            """
    
            when:
            writeVerificationMetadata()
    
            succeeds ":help", "--export-keys"
    
            then:
            outputContains("Exported 1 keys to")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/18567")
        def "--export-keys can export keys even with without --write-verification-metadata"() {
            def keyring = newKeyRing()
            createMetadataFile {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  3. pkg/util/iptree/iptree_test.go

    		return false
    	})
    	if !cmp.Equal(path, keys[:4]) {
    		t.Errorf("Walkpath expected %v got %v", keys[:4], path)
    	}
    	// not match on prefix
    	path = []string{}
    	r.WalkPath(netip.MustParsePrefix("10.1.1.33/26"), func(k netip.Prefix, v int) bool {
    		path = append(path, k.String())
    		return false
    	})
    	if !cmp.Equal(path, keys[:3]) {
    		t.Errorf("Walkpath expected %v got %v", keys[:3], path)
    	}
    	// match exact prefix
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  4. pkg/serviceaccount/openidmetadata_test.go

    	wantPubECDSA := getPublicKey(ecdsaPublicKey).(*ecdsa.PublicKey)
    	var serveKeysTests = []struct {
    		Name     string
    		Keys     []interface{}
    		WantKeys []jose.JSONWebKey
    	}{
    		{
    			Name: "configured public keys",
    			Keys: []interface{}{
    				getPublicKey(rsaPublicKey),
    				getPublicKey(ecdsaPublicKey),
    			},
    			WantKeys: []jose.JSONWebKey{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 01:53:17 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Table.java

      /**
       * Associates the specified value with the specified keys. If the table already contained a
       * mapping for those keys, the old value is replaced with the specified value.
       *
       * @param rowKey row key that the value should be associated with
       * @param columnKey column key that the value should be associated with
       * @param value value to be associated with the specified keys
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Table.java

      /**
       * Associates the specified value with the specified keys. If the table already contained a
       * mapping for those keys, the old value is replaced with the specified value.
       *
       * @param rowKey row key that the value should be associated with
       * @param columnKey column key that the value should be associated with
       * @param value value to be associated with the specified keys
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwks_test.go

    		t.Fatal("Unmarshal: ", err)
    	} else if len(jk.Keys) != 2 {
    		t.Fatalf("Expected 2 keys, got %d", len(jk.Keys))
    	}
    
    	keys := make([]crypto.PublicKey, len(jk.Keys))
    	for ii, jks := range jk.Keys {
    		var err error
    		keys[ii], err = jks.DecodePublicKey()
    		if err != nil {
    			t.Fatalf("Failed to decode key %d: %v", ii, err)
    		}
    	}
    
    	//nolint:gocritic
    	if key0, ok := keys[0].(*ecdsa.PublicKey); !ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  8. pkg/serviceaccount/jwt_test.go

    			Token:       rsaToken,
    			Client:      nil,
    			Keys:        []interface{}{getPublicKey(otherPublicKey), getPublicKey(ecdsaPublicKey)},
    			ExpectedErr: true,
    			ExpectedOK:  false,
    		},
    		"invalid keys (ecdsa)": {
    			Token:       ecdsaToken,
    			Client:      nil,
    			Keys:        []interface{}{getPublicKey(otherPublicKey), getPublicKey(rsaPublicKey)},
    			ExpectedErr: true,
    			ExpectedOK:  false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayTable.java

      }
    
      /**
       * Associates the value {@code null} with the specified keys, assuming both keys are valid. If
       * either key is null or isn't among the keys provided during construction, this method has no
       * effect.
       *
       * <p>This method is equivalent to {@code put(rowKey, columnKey, null)} when both provided keys
       * are valid.
       *
       * @param rowKey row key of mapping to be erased
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. src/expvar/expvar_test.go

    	for i := range procKeys {
    		keys := make([]string, 4)
    		for j := range keys {
    			keys[j] = fmt.Sprint(i, j)
    		}
    		procKeys[i] = keys
    	}
    
    	b.ResetTimer()
    
    	var n int32
    	b.RunParallel(func(pb *testing.PB) {
    		i := int(atomic.AddInt32(&n, 1)-1) % len(procKeys)
    		keys := procKeys[i]
    
    		for pb.Next() {
    			m := new(Map).Init()
    			for _, k := range keys {
    				m.Add(k, 1)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top