- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tpValues (0.13 sec)
-
pkg/scheduler/framework/plugins/interpodaffinity/scoring.go
} node := nodeInfo.Node() s, err := getPreScoreState(cycleState) if err != nil { return 0, framework.AsStatus(err) } var score int64 for tpKey, tpValues := range s.topologyScore { if v, exist := node.Labels[tpKey]; exist { score += tpValues[v] } } return score, nil } // NormalizeScore normalizes the score for each filteredNode.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 10.5K bytes - Viewed (0) -
association.go
_, pvs := schema.GetIdentityFieldValuesMap(association.DB.Statement.Context, reflectValue, rel.Schema.PrimaryFields) if pcolumn, pvalues := schema.ToQueryValues(rel.Schema.Table, rel.Schema.PrimaryFieldDBNames, pvs); len(pvalues) > 0 { conds = append(conds, clause.IN{Column: pcolumn, Values: pvalues}) } else { return ErrPrimaryKeyRequired }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0)