Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,429 for Id (0.04 sec)

  1. src/internal/trace/resources.go

    }
    
    // ResourceID represents a generic resource ID.
    type ResourceID struct {
    	// Kind is the kind of resource this ID is for.
    	Kind ResourceKind
    	id   int64
    }
    
    // MakeResourceID creates a general resource ID from a specific resource's ID.
    func MakeResourceID[T interface{ GoID | ProcID | ThreadID }](id T) ResourceID {
    	var rd ResourceID
    	var a any = id
    	switch a.(type) {
    	case GoID:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. tests/preload_suits_test.go

    	type (
    		Level0 struct {
    			ID       uint
    			Value    string
    			Level1ID uint
    		}
    		Level1 struct {
    			ID         uint
    			Value      string
    			Level2ID   *uint
    			Level2_1ID *uint
    			Level0s    []Level0 `json:",omitempty"`
    		}
    		Level2 struct {
    			ID       uint
    			Level1s  []Level1
    			Level3ID uint
    		}
    		Level2_1 struct {
    			ID       uint
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  3. pkg/volume/util/fsquota/project.go

    		idMap[projid.id] = true
    		if projid.id == id && id != common.BadQuotaID {
    			needToAddProjid = false
    		}
    	}
    	var err error
    	if id == common.BadQuotaID {
    		id, err = findAvailableQuota(path, idMap)
    		if err != nil {
    			return common.BadQuotaID, false, err
    		}
    		needToAddProjid = true
    	}
    	if needToAddProjid {
    		name := fmt.Sprintf("volume%v", id)
    		line := fmt.Sprintf("%s:%v", name, id)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/buildid.go

    		// On the development branch, use the content ID part of the build ID.
    		id = contentID(f[len(f)-1])
    	} else {
    		// For a release, the output is like: "compile version go1.9.1 X:framepointer".
    		// Use the whole line.
    		id = strings.TrimSpace(line)
    	}
    
    	b.id.Lock()
    	b.toolIDCache[name] = id
    	b.id.Unlock()
    
    	return id
    }
    
    // gccToolID returns the unique ID to use for a tool that is invoked
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  5. pkg/test/framework/components/opentelemetry/kube.go

    	}
    
    	err = installServiceEntry(ctx, istioCfg.TelemetryNamespace, ingressDomain)
    	if err != nil {
    		return nil, err
    	}
    	return o, nil
    }
    
    func (o *otel) ID() resource.ID {
    	return o.id
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 19:29:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. pkg/kubelet/images/image_gc_manager.go

    	defer im.imageRecordsLock.Unlock()
    	for _, image := range images {
    		imageKey := image.ID
    		if !isRuntimeClassInImageCriAPIEnabled {
    			klog.V(5).InfoS("Adding image ID to currentImages", "imageID", imageKey)
    		} else {
    			imageKey = getImageTuple(image.ID, image.Spec.RuntimeHandler)
    			klog.V(5).InfoS("Adding image ID with runtime class to currentImages", "imageKey", imageKey, "runtimeHandler", image.Spec.RuntimeHandler)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/topology/topology.go

    	cadvisorapi "github.com/google/cadvisor/info/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/utils/cpuset"
    )
    
    // NUMANodeInfo is a map from NUMANode ID to a list of CPU IDs associated with
    // that NUMANode.
    type NUMANodeInfo map[int]cpuset.CPUSet
    
    // CPUDetails is a map from CPU ID to Core ID, Socket ID, and NUMA ID.
    type CPUDetails map[int]CPUInfo
    
    // CPUTopology contains details of node cpu, where :
    // CPU  - logical CPU, cadvisor - thread
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. src/runtime/trace2map_test.go

    			"aa",
    			"ab",
    			"ba",
    			"bb",
    		}
    		for i, s := range d {
    			id, inserted := m.PutString(s)
    			if !inserted {
    				t.Errorf("expected to have inserted string %q, but did not", s)
    			}
    			if id != uint64(i+1) {
    				t.Errorf("expected string %q to have ID %d, but got %d instead", s, i+1, id)
    			}
    		}
    		for i, s := range d {
    			id, inserted := m.PutString(s)
    			if inserted {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 18:52:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. internal/event/targetlist.go

    		if _, ok := list.targets[target.ID()]; ok {
    			return fmt.Errorf("target %v already exists", target.ID())
    		}
    		list.targets[target.ID()] = target
    	}
    
    	return nil
    }
    
    // Exists - checks whether target by target ID exists or not.
    func (list *TargetList) Exists(id TargetID) bool {
    	list.RLock()
    	defer list.RUnlock()
    
    	_, found := list.targets[id]
    	return found
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. internal/event/target/mysql.go

    type MySQLTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    	args       MySQLArgs
    	updateStmt *sql.Stmt
    	deleteStmt *sql.Stmt
    	insertStmt *sql.Stmt
    	db         *sql.DB
    	store      store.Store[event.Event]
    	firstPing  bool
    	loggerOnce logger.LogOnce
    
    	quitCh chan struct{}
    }
    
    // ID - returns target ID.
    func (target *MySQLTarget) ID() event.TargetID {
    	return target.id
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top