Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 171 for Id (0.29 sec)

  1. src/runtime/pprof/protomem_test.go

    			Location: []*profile.Location{
    				{ID: 1, Mapping: map1, Address: addr1},
    				{ID: 2, Mapping: map2, Address: addr2},
    			},
    			NumLabel: map[string][]int64{"bytes": {1024}},
    		},
    		{
    			Value: []int64{1, 829411, 1, 829411},
    			Location: []*profile.Location{
    				{ID: 3, Mapping: map2, Address: addr2 + 1},
    				{ID: 4, Mapping: map2, Address: addr2 + 2},
    			},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. tests/embedded_struct_test.go

    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestEmbeddedStruct(t *testing.T) {
    	type ReadOnly struct {
    		ReadOnly *bool
    	}
    
    	type BasePost struct {
    		Id    int64
    		Title string
    		URL   string
    		ReadOnly
    	}
    
    	type Author struct {
    		ID    string
    		Name  string
    		Email string
    	}
    
    	type HNPost struct {
    		BasePost
    		Author  `gorm:"EmbeddedPrefix:user_"` // Embedded struct
    		Upvotes int32
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. pkg/kube/krt/static.go

    	"istio.io/istio/pkg/slices"
    )
    
    type staticList[T any] struct {
    	vals map[Key[T]]T
    	id   collectionUID
    }
    
    func NewStaticCollection[T any](vals []T) Collection[T] {
    	res := map[Key[T]]T{}
    	for _, v := range vals {
    		res[GetKey(v)] = v
    	}
    	return &staticList[T]{
    		vals: res,
    		id:   nextUID(),
    	}
    }
    
    func (s *staticList[T]) GetKey(k Key[T]) *T {
    	if o, f := s.vals[k]; f {
    		return &o
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. internal/config/identity/openid/jwt.go

    	}
    	if !audValues.Contains(pCfg.ClientID) {
    		// if audience claims is missing, look for "azp" claims.
    		// OPTIONAL. Authorized party - the party to which the ID
    		// Token was issued. If present, it MUST contain the OAuth
    		// 2.0 Client ID of this party. This Claim is only needed
    		// when the ID Token has a single audience value and that
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 18:10:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/prometheus/kube.go

    		if err != nil {
    			return nil, err
    		}
    
    		c.api[cls.Name()] = prometheusApiV1.NewAPI(client)
    	}
    	return c, nil
    }
    
    func (c *kubeComponent) ID() resource.ID {
    	return c.id
    }
    
    // API implements environment.DeployedPrometheus.
    func (c *kubeComponent) API() prometheusApiV1.API {
    	return c.api[c.clusters.Default().Name()]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. pkg/test/framework/components/ambient/waypoint.go

    }
    
    func (k kubeComponent) Inbound() string {
    	return k.inbound.Address()
    }
    
    func (k kubeComponent) Outbound() string {
    	return k.outbound.Address()
    }
    
    func (k kubeComponent) ID() resource.ID {
    	return k.id
    }
    
    func (k kubeComponent) Close() error {
    	if k.inbound != nil {
    		k.inbound.Close()
    	}
    	if k.outbound != nil {
    		k.outbound.Close()
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-utils_test.go

    		if fi.VersionID != versions[i].VersionID {
    			t.Fatalf("getFileInfoVersions: versions don't match at %d, version id expected %s but got %s", i, fi.VersionID, versions[i].VersionID)
    		}
    		if fi.NumVersions != len(fivs.Versions) {
    			t.Fatalf("getFileInfoVersions: version with %s version id expected to have %d as NumVersions but got %d", fi.VersionID, len(fivs.Versions), fi.NumVersions)
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. tests/default_value_test.go

    		Created time.Time `gorm:"default:2000-01-02"`
    		Enabled bool      `gorm:"default:true"`
    	}
    
    	harumph2 := Harumph2{ID: 2, Email: "******@****.***"}
    	if err := DB.Table("harumphs").Create(&harumph2).Error; err != nil {
    		t.Fatalf("Failed to create data with default value, got error: %v", err)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. security/pkg/server/ca/authenticate/oidc_test.go

    	jwtRule := v1beta1.JWTRule{}
    	err = json.Unmarshal([]byte(jwtRuleStr), &jwtRule)
    	if err != nil {
    		t.Fatalf("failed at unmarshal jwt rule")
    	}
    	authenticator, err := NewJwtAuthenticator(&jwtRule, mesh.NewFixedWatcher(&meshconfig.MeshConfig{TrustDomain: "baz.svc.id.goog"}))
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. internal/kms/errors.go

    		Code:    http.StatusConflict,
    		APICode: "kms:KeyAlreadyExists",
    		Err:     "key with given key ID already exits",
    	}
    
    	// ErrKeyNotFound is an error returned by the KMS when trying to
    	// use a key that does not exist.
    	ErrKeyNotFound = Error{
    		Code:    http.StatusNotFound,
    		APICode: "kms:KeyNotFound",
    		Err:     "key with given key ID does not exit",
    	}
    
    	// ErrDecrypt is an error returned by the KMS when the decryption
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top