- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 662 for assignment1 (0.16 sec)
-
test/fixedbugs/issue27595.go
package main var a = twoResults() // ERROR "assignment mismatch: 1 variable but twoResults returns 2 values|multiple-value twoResults\(\) .*in single-value context" var b, c, d = twoResults() // ERROR "assignment mismatch: 3 variables but twoResults returns 2 values|cannot initialize" var e, f = oneResult() // ERROR "assignment mismatch: 2 variables but oneResult returns 1 value|cannot initialize"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 23 19:41:41 UTC 2021 - 670 bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/memory_manager_test.go
mgr.AddContainer(testCase.podAllocate, &testCase.podAllocate.Spec.Containers[i], appContainer.Name) } assignments := mgr.state.GetMemoryAssignments() if !areContainerMemoryAssignmentsEqual(t, assignments, testCase.expectedAssignments) { t.Fatalf("Actual assignments %v are different from the expected %v", assignments, testCase.expectedAssignments) } machineState := mgr.state.GetMachineState()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 05 13:01:40 UTC 2023 - 70.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/ReadWriteAccessCheckerFirImpl.kt
val function = assignment.operationReference.mainReference.resolve() as? KtNamedFunction ?: return null val name = function.name ?: return null return if (Name.identifier(name) in OperatorConventions.ASSIGNMENT_OPERATIONS.values) ReferenceAccess.READ to assignment else null }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Apr 10 16:23:23 UTC 2024 - 1.2K bytes - Viewed (0) -
test/assign.go
_ = x } { var x, y [2]sync.Mutex x = y // ok _ = x } { var x, y [2]T x = y // ok _ = x } { x := sync.Mutex{0, 0} // ERROR "assignment.*Mutex" _ = x } { x := sync.Mutex{key: 0} // ERROR "(unknown|assignment).*Mutex" _ = x } { x := &sync.Mutex{} // ok var y sync.Mutex // ok y = *x // ok *x = y // ok _ = x _ = y } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 14 20:13:36 UTC 2020 - 1K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go
} func TestCheckpointStateHelpers(t *testing.T) { testCases := []struct { description string machineState NUMANodeMap assignments ContainerMemoryAssignments }{ { description: "One container", assignments: ContainerMemoryAssignments{ "pod": map[string][]Block{ "container1": { { NUMAAffinity: []int{0}, Type: v1.ResourceMemory,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 10.6K bytes - Viewed (0) -
test/fixedbugs/issue48471.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 28 14:28:33 UTC 2023 - 2.2K bytes - Viewed (0) -
test/fixedbugs/bug324.dir/prog.go
var px p.Exported px = p.X // this assignment is correctly illegal: // px.private undefined (cannot refer to unexported field or method private) // px.private() // this assignment is correctly illegal: // *Implementation does not implement p.Exported (missing p.private method) // px = new(Implementation) // this assignment is correctly illegal:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Oct 07 16:37:05 UTC 2012 - 1.2K bytes - Viewed (0) -
src/internal/types/testdata/check/vardecl.go
var _, _ = 1 /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */ var _, _, _ /* ERROR "missing init expr for _" */ = 1, 2 var _ = g /* ERROR "multiple-value g" */ () var _, _ = g() var _, _, _ = g /* ERRORx `assignment mismatch: [1-9]+ variables but.*[1-9]+ value(s)?` */ () var _ = m["foo"] var _, _ = m["foo"]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 5.8K bytes - Viewed (0) -
manifests/charts/istio-operator/values.yaml
memory: 128Mi # Set to `type: RuntimeDefault` to use the default profile if available. seccompProfile: {} # Node labels for pod assignment nodeSelector: {} # Tolerations for pod assignment tolerations: [] # Affinity for pod assignment affinity: {} # Additional labels and annotations to apply on the pod level for monitoring and logging configuration. podLabels: {}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 1.4K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static_test.go
testCase.description, testCase.expErr, err) } if testCase.expCPUAlloc { cset, found := st.assignments[string(testCase.pod.UID)][container.Name] if !found { t.Errorf("StaticPolicy Allocate() error (%v). expected container %v to be present in assignments %v", testCase.description, container.Name, st.assignments) } if !reflect.DeepEqual(cset, testCase.expCSet) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 40.8K bytes - Viewed (0)