Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 662 for assignment1 (0.27 sec)

  1. pkg/kubelet/cm/memorymanager/policy_static.go

    			return false
    		}
    
    		if nodeState1.NumberOfAssignments != nodeState2.NumberOfAssignments {
    			klog.ErrorS(nil, "Node states number of assignments are different", "assignment1", nodeState1.NumberOfAssignments, "assignment2", nodeState2.NumberOfAssignments)
    			return false
    		}
    
    		if !areGroupsEqual(nodeState1.Cells, nodeState2.Cells) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 12 07:34:55 UTC 2023
    - 34K bytes
    - Viewed (0)
  2. src/go/types/assignments.go

    // if necessary by attempting to convert untyped values to the appropriate
    // type. context describes the context in which the assignment takes place.
    // Use T == nil to indicate assignment to an untyped blank identifier.
    // If the assignment check fails, x.mode is set to invalid.
    func (check *Checker) assignment(x *operand, T Type, context string) {
    	check.singleValue(x)
    
    	switch x.mode {
    	case invalid:
    		return // error reported before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/assignments.go

    	err.report()
    }
    
    // initVars type-checks assignments of initialization expressions orig_rhs
    // to variables lhs.
    // If returnStmt is non-nil, initVars type-checks the implicit assignment
    // of result expressions orig_rhs to function result parameters lhs.
    func (check *Checker) initVars(lhs []*Var, orig_rhs []syntax.Expr, returnStmt syntax.Stmt) {
    	context := "assignment"
    	if returnStmt != nil {
    		context = "return statement"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/stmt0.go

    }
    
    func assignments1() {
    	b, i, f, c, s := false, 1, 1.0, 1i, "foo"
    	b = i /* ERRORx `cannot use .* in assignment` */
    	i = f /* ERRORx `cannot use .* in assignment` */
    	f = c /* ERRORx `cannot use .* in assignment` */
    	c = s /* ERRORx `cannot use .* in assignment` */
    	s = b /* ERRORx `cannot use .* in assignment` */
    
    	v0, v1, v2 := 1 /* ERROR "assignment mismatch" */ , 2, 3, 4
    	_, _, _ = v0, v1, v2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. clause/set.go

    	}
    	sort.Strings(keys)
    
    	assignments := make([]Assignment, len(keys))
    	for idx, key := range keys {
    		assignments[idx] = Assignment{Column: Column{Name: key}, Value: values[key]}
    	}
    	return assignments
    }
    
    func AssignmentColumns(values []string) Set {
    	assignments := make([]Assignment, len(values))
    	for idx, value := range values {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Nov 29 03:02:44 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. clause/set_test.go

    func TestAssignments(t *testing.T) {
    	set := clause.Assignments(map[string]interface{}{
    		"name": "jinzhu",
    		"age":  18,
    	})
    
    	assignments := []clause.Assignment(set)
    
    	sort.Slice(assignments, func(i, j int) bool {
    		return strings.Compare(assignments[i].Column.Name, assignments[j].Column.Name) > 0
    	})
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/state/state_mem.go

    	s.Lock()
    	defer s.Unlock()
    
    	s.assignments = a.Clone()
    	klog.InfoS("Updated CPUSet assignments", "assignments", a)
    }
    
    func (s *stateMemory) Delete(podUID string, containerName string) {
    	s.Lock()
    	defer s.Unlock()
    
    	delete(s.assignments[podUID], containerName)
    	if len(s.assignments[podUID]) == 0 {
    		delete(s.assignments, podUID)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/memorymanager/state/state_mem.go

    	defer s.Unlock()
    
    	s.assignments = assignments.Clone()
    }
    
    // Delete deletes corresponding Blocks from ContainerMemoryAssignments
    func (s *stateMemory) Delete(podUID string, containerName string) {
    	s.Lock()
    	defer s.Unlock()
    
    	if _, ok := s.assignments[podUID]; !ok {
    		return
    	}
    
    	delete(s.assignments[podUID], containerName)
    	if len(s.assignments[podUID]) == 0 {
    		delete(s.assignments, podUID)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 15 19:51:19 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.kt

    Anna Kozlova <******@****.***> 1709677574 +0100
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 72 bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/expressionInfoProvider/readWriteAccess/assignment.txt

    Anna Kozlova <******@****.***> 1709677574 +0100
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Mar 08 22:12:25 UTC 2024
    - 40 bytes
    - Viewed (0)
Back to top