Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,495 for Id (0.03 sec)

  1. pilot/pkg/model/context_test.go

    				Type: "sidecar", IPAddresses: []string{"1.1.1.1"}, DNSDomain: "domain", ID: "id", IstioVersion: model.MaxIstioVersion,
    				Metadata: &model.NodeMetadata{Raw: map[string]any{}},
    			},
    		},
    		{
    			name:     "Capture Arbitrary Metadata",
    			metadata: map[string]any{"foo": "bar"},
    			out: &model.Proxy{
    				Type: "sidecar", IPAddresses: []string{"1.1.1.1"}, DNSDomain: "domain", ID: "id", IstioVersion: model.MaxIstioVersion,
    				Metadata: &model.NodeMetadata{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/bisect/bisect.go

    	if m == nil {
    		return false
    	}
    	for i := len(m.list) - 1; i >= 0; i-- {
    		c := &m.list[i]
    		if id&c.mask == c.bits {
    			return c.result
    		}
    	}
    	return false
    }
    
    // Marker returns the match marker text to use on any line reporting details
    // about a match of the given ID.
    // It always returns the hexadecimal format.
    func Marker(id uint64) string {
    	return string(AppendMarker(nil, id))
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 18:11:19 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go

    			for _, field := range n.Methods.List {
    				for _, id := range field.Names {
    					canonicalMethod(pass, id)
    				}
    			}
    		}
    	})
    	return nil, nil
    }
    
    func canonicalMethod(pass *analysis.Pass, id *ast.Ident) {
    	// Expected input/output.
    	expect, ok := canonicalMethods[id.Name]
    	if !ok {
    		return
    	}
    
    	// Actual input/output
    	sign := pass.TypesInfo.Defs[id].Type().(*types.Signature)
    	args := sign.Params()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. security/pkg/pki/util/keycertbundle_test.go

    		} else if bundle == nil {
    			t.Errorf("%s: the bundle should not be empty", id)
    		} else {
    			cert, key, chain, root := bundle.GetAllPem()
    			if len(cert) != 0 {
    				t.Errorf("%s: certBytes should be empty", id)
    			}
    			if len(key) != 0 {
    				t.Errorf("%s: privateKeyBytes should be empty", id)
    			}
    			if len(chain) != 0 {
    				t.Errorf("%s: certChainBytes should be empty", id)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/apis/bootstraptoken/v1/utils_test.go

    		{id: "abcdef", secret: "1234567890123456", expectedError: false, bts: &BootstrapTokenString{ID: "abcdef", Secret: "1234567890123456"}},
    		{id: "123456", secret: "aabbccddeeffgghh", expectedError: false, bts: &BootstrapTokenString{ID: "123456", Secret: "aabbccddeeffgghh"}},
    		{id: "abcdef", secret: "abcdef0123456789", expectedError: false, bts: &BootstrapTokenString{ID: "abcdef", Secret: "abcdef0123456789"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  6. tests/benchmark_test.go

    )
    
    func BenchmarkCreate(b *testing.B) {
    	user := *GetUser("bench", Config{})
    
    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    	}
    }
    
    func BenchmarkFind(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Find(&User{}, "id = ?", user.ID)
    	}
    }
    
    func BenchmarkScan(b *testing.B) {
    	user := *GetUser("scan", Config{})
    	DB.Create(&user)
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. src/net/textproto/pipeline.go

    // allowing it to schedule the event numbered id+1.  It is a run-time error
    // to call End with an id that is not the number of the active event.
    func (s *sequencer) End(id uint) {
    	s.mu.Lock()
    	if s.id != id {
    		s.mu.Unlock()
    		panic("out of sync")
    	}
    	id++
    	s.id = id
    	if s.wait == nil {
    		s.wait = make(map[uint]chan struct{})
    	}
    	c, ok := s.wait[id]
    	if ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 08 16:19:51 UTC 2020
    - 3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/dom.go

    	n := ID(0)
    	s := make([]*Block, 0, 256)
    	s = append(s, entry)
    
    	for len(s) > 0 {
    		v := s[len(s)-1]
    		s = s[:len(s)-1]
    		// recursing on v
    
    		if semi[v.ID] != 0 {
    			continue // already visited
    		}
    		n++
    		semi[v.ID] = n
    		vertex[n] = v.ID
    		label[v.ID] = v.ID
    		// ancestor[v] already zero
    		for _, e := range succFn(v) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  9. pkg/volume/util/fsquota/common/quota_common_linux_impl.go

    func (v linuxVolumeQuotaApplier) GetInodes(_ string, id QuotaID) (int64, error) {
    	return getQuantity(v.mountpoint, id, "-i", 1, v.allowEmptyOutput)
    }
    
    // QuotaIDIsInUse checks whether the specified quota ID is in use on the specified
    // filesystem
    func (v linuxVolumeQuotaApplier) QuotaIDIsInUse(id QuotaID) (bool, error) {
    	bytes, err := v.GetConsumption(v.mountpoint, id)
    	if err != nil {
    		return false, err
    	}
    	if bytes > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. tests/upsert_test.go

    	}
    
    	if user1.Name != "find or create" || user1.ID == 0 || user1.Age != 33 {
    		t.Errorf("user should be created with search value")
    	}
    
    	DB.Where(&User{Name: "find or create", Age: 33}).FirstOrCreate(&user2)
    	if user1.ID != user2.ID || user2.Name != "find or create" || user2.ID == 0 || user2.Age != 33 {
    		t.Errorf("user should be created with search value")
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Sep 05 07:39:19 UTC 2022
    - 11.4K bytes
    - Viewed (0)
Back to top