- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 662 for assignment1 (0.33 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/StatementResolver.kt
fun AnalysisContext.doAnalyzeAssignment(assignment: Assignment): AssignmentRecord? { val lhsResolution = propertyAccessResolver.doResolvePropertyAccessToAssignable(this, assignment.lhs) return if (lhsResolution == null) { errorCollector.collect(ResolutionError(assignment.lhs, ErrorReason.UnresolvedReference(assignment.lhs))) errorCollector.collect(ResolutionError(assignment, ErrorReason.UnresolvedAssignmentLhs))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:02 UTC 2024 - 6.4K bytes - Viewed (0) -
test/fixedbugs/bug285.go
m1[i0] = 42 m1[i1] = 42 m1[new(struct { x int })] = 42 // this should work: *struct{x int} is assignment-compatible with I1 m1[false] = 42 // this should work: false is assignment-compatible with I1 m1[17] = 42 // this should work: 17 is assignment-compatible with I1 m1["foo"] = 42 // this should work: "foo" is assignment-compatible with I1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2.9K bytes - Viewed (0) -
test/fixedbugs/issue30087.go
func main() { var a, b = 1 // ERROR "assignment mismatch: 2 variables but 1 value|wrong number of initializations|cannot initialize" _ = 1, 2 // ERROR "assignment mismatch: 1 variable but 2 values|number of variables does not match|cannot assign" c, d := 1 // ERROR "assignment mismatch: 2 variables but 1 value|wrong number of initializations|cannot initialize"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:07:00 UTC 2023 - 734 bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/topology_hints_test.go
tcases := returnTestCases() for _, tc := range tcases { topology, _ := topology.Discover(&machineInfo) var activePods []*v1.Pod for p := range tc.assignments { pod := v1.Pod{} pod.UID = types.UID(p) for c := range tc.assignments[p] { container := v1.Container{} container.Name = c pod.Spec.Containers = append(pod.Spec.Containers, container) } activePods = append(activePods, &pod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/assign/doc.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package assign defines an Analyzer that detects useless assignments. // // # Analyzer assign // // assign: check for useless assignments // // This checker reports assignments of the form x = x or a[i] = a[i]. // These are almost always useless, and even when they aren't they are // usually a mistake.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 481 bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/references/ReadWriteAccessCheckerDescriptorsImpl.kt
allowAnalysisFromWriteAction { val resolvedCall = analyze(assignment) { with((this as KaFe10Session).analysisContext.analyze(assignment, Fe10AnalysisFacade.AnalysisMode.PARTIAL)) { assignment.getCall(this)?.getResolvedCall(this) ?: return ReferenceAccess.READ_WRITE to assignment } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 17:22:24 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/vet/testdata/assign/assign.go
// This file contains tests for the useless-assignment checker. package assign import "math/rand" type ST struct { x int l []int } func (s *ST) SetX(x int, ch chan int) { // Accidental self-assignment; it should be "s.x = x" x = x // ERROR "self-assignment of x to x" // Another mistake s.x = s.x // ERROR "self-assignment of s.x to s.x"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:42 UTC 2019 - 804 bytes - Viewed (0) -
test/fixedbugs/issue26616.go
package p var x int = three() // ERROR "assignment mismatch: 1 variable but three returns 3 values|multiple-value function call in single-value context|multiple-value " func f() { var _ int = three() // ERROR "assignment mismatch: 1 variable but three returns 3 values|multiple-value function call in single-value context|multiple-value "
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 23 19:41:41 UTC 2021 - 1.1K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentTrace.kt
val assignmentResolver = assignmentResolverFactory() val elementResults = buildList { val assignments = resolutionResult.conventionAssignments + resolutionResult.assignments assignments.forEach { (lhs, rhs, callId, method) -> add( when (val additionResult = assignmentResolver.addAssignment(lhs, rhs, method, callId.generationId)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 19 16:59:01 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-tooling-models/src/main/kotlin/org/gradle/declarative/dsl/evaluation/OperationGenerationId.kt
* * The order of generations is important as calls in later generations can override calls in earlier generations, but no the * other way around. * For instance, a property assignment can override a convention assignment, but a convention assignment cannot override a property assignment. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 12:25:46 UTC 2024 - 1.2K bytes - Viewed (0)