- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 662 for assignments2 (0.19 sec)
-
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) -
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) -
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) -
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) -
clause/set_test.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.4K bytes - Viewed (0) -
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) -
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) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt
) ) @Test fun `type-checks assignment of subtype to superclass type`() { val result = schema.resolve( """ superClassProp = sub() """.trimIndent() ) assertEquals(1, result.assignments.size) } @Test fun `type-checks assignment of subtype to super interface type`() { val result = schema.resolve(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:02 UTC 2024 - 4.1K bytes - Viewed (0) -
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) -
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)