Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,430 for Id (0.07 sec)

  1. pkg/proxy/winkernel/hns_test.go

    	Network := mustTestNetwork(t)
    
    	network, err := hns.getNetworkByName(Network.Name)
    	if err != nil {
    		t.Error(err)
    	}
    
    	if !strings.EqualFold(network.id, Network.Id) {
    		t.Errorf("%v does not match %v", network.id, Network.Id)
    	}
    	err = Network.Delete()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func TestGetAllEndpointsByNetwork(t *testing.T) {
    	// TODO: remove skip once the test has been fixed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		expected *kubecontainer.Status
    	}{
    		"created container": {
    			input: &runtimeapi.ContainerStatus{
    				Id:        cid.ID,
    				Metadata:  meta,
    				Image:     imageSpec,
    				State:     runtimeapi.ContainerState_CONTAINER_CREATED,
    				CreatedAt: createdAt,
    			},
    			expected: &kubecontainer.Status{
    				ID:        *cid,
    				Image:     imageSpec.Image,
    				State:     kubecontainer.ContainerStateCreated,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  3. pkg/kubelet/images/image_gc_manager_test.go

    	return &vCopy, ok
    }
    
    // Returns the id of the image with the given ID.
    func imageID(id int) string {
    	return fmt.Sprintf("image-%d", id)
    }
    
    // Returns the name of the image with the given ID.
    func imageName(id int) string {
    	return imageID(id) + "-name"
    }
    
    // Make an image with the specified ID.
    func makeImage(id int, size int64) container.Image {
    	return container.Image{
    		ID:   imageID(id),
    		Size: size,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  4. src/os/user/lookup_stubs.go

    }
    
    func currentUID() string {
    	if id := os.Getuid(); id >= 0 {
    		return strconv.Itoa(id)
    	}
    	// Note: Windows returns -1, but this file isn't used on
    	// Windows anyway, so this empty return path shouldn't be
    	// used.
    	return ""
    }
    
    func currentGID() string {
    	if id := os.Getgid(); id >= 0 {
    		return strconv.Itoa(id)
    	}
    	return ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 16:09:09 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/internal/language/compact/compact.go

    func (id ID) Parent() ID {
    	return parents[id]
    }
    
    // Tag converts id to an internal language Tag.
    func (id ID) Tag() language.Tag {
    	if int(id) >= len(coreTags) {
    		return specialTags[int(id)-len(coreTags)]
    	}
    	return coreTags[id].Tag()
    }
    
    var specialTags []language.Tag
    
    func init() {
    	tags := strings.Split(specialTagsStr, " ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/internal/trace/base.go

    	for id, data := range d.sparse {
    		d.dense[id] = data
    		d.present[id/8] |= uint8(1) << (id % 8)
    	}
    	d.sparse = nil
    }
    
    // get returns the E for id or false if it doesn't
    // exist. This should be used for validation during parsing.
    func (d *dataTable[EI, E]) get(id EI) (E, bool) {
    	if id == 0 {
    		return *new(E), true
    	}
    	if uint64(id) < uint64(len(d.dense)) {
    		if d.present[id/8]&(uint8(1)<<(id%8)) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    		l.mappingIDX = 0
    		for i, ln := range l.Line {
    			if id := ln.functionIDX; id != 0 {
    				l.Line[i].functionIDX = 0
    				if id < uint64(len(functionIds)) {
    					l.Line[i].Function = functionIds[id]
    				} else {
    					l.Line[i].Function = functions[id]
    				}
    			}
    		}
    		if l.ID < uint64(len(locationIds)) {
    			locationIds[l.ID] = l
    		} else {
    			locations[l.ID] = l
    		}
    	}
    
    	for _, st := range p.SampleType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. src/net/textproto/textproto.go

    //	if err != nil {
    //		return nil, err
    //	}
    //	return c.ReadCodeLine(250)
    func (c *Conn) Cmd(format string, args ...any) (id uint, err error) {
    	id = c.Next()
    	c.StartRequest(id)
    	err = c.PrintfLine(format, args...)
    	c.EndRequest(id)
    	if err != nil {
    		return 0, err
    	}
    	return id, nil
    }
    
    // TrimString returns s without leading and trailing ASCII space.
    func TrimString(s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/bootstraptoken/v1/utils.go

    	if err != nil {
    		return err
    	}
    	bts.ID = newbts.ID
    	bts.Secret = newbts.Secret
    	return nil
    }
    
    // String returns the string representation of the BootstrapTokenString
    func (bts BootstrapTokenString) String() string {
    	if len(bts.ID) > 0 && len(bts.Secret) > 0 {
    		return bootstraputil.TokenFromIDAndSecret(bts.ID, bts.Secret)
    	}
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/debug.go

    		panic("unexpected pointer size")
    	}
    	if ID(int16(b)) != b || ID(int16(v)) != v {
    		return 0, false
    	}
    	return uint64(b)<<16 | uint64(uint16(v)), true
    }
    
    // Unpack a value and block ID encoded by encodeValue.
    func decodeValue(ctxt *obj.Link, word uint64) (ID, ID) {
    	if ctxt.Arch.PtrSize == 8 {
    		b, v := ID(word>>32), ID(word)
    		//ctxt.Logf("%#x -> b %#x (%d) v %#x (%d)\n", word, b, b, v, v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top