- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 677 for assignments (0.21 sec)
-
pkg/kubelet/cm/memorymanager/policy.go
"k8s.io/kubernetes/pkg/kubelet/cm/topologymanager" ) // Type defines the policy type type policyType string // Policy implements logic for pod container to a memory assignment. type Policy interface { Name() string Start(s state.State) error // Allocate call is idempotent Allocate(s state.State, pod *v1.Pod, container *v1.Container) error // RemoveContainer call is idempotent
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 05 17:52:25 UTC 2021 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go
InvalidConstType /* decls > var (+ other variable assignment codes) */ // UntypedNilUse occurs when the predeclared (untyped) value nil is used to // initialize a variable declared without an explicit type. // // Example: // var x = nil UntypedNilUse // WrongAssignCount occurs when the number of values on the right-hand side // of an assignment or initialization expression does not match the number
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 34K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy.go
import ( "k8s.io/api/core/v1" "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state" "k8s.io/kubernetes/pkg/kubelet/cm/topologymanager" "k8s.io/utils/cpuset" ) // Policy implements logic for pod container to CPU assignment. type Policy interface { Name() string Start(s state.State) error // Allocate call is idempotent Allocate(s state.State, pod *v1.Pod, container *v1.Container) error // RemoveContainer call is idempotent
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 1.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/addressed_test.go
default: panic("") } return } // gets is an address-mentioning way of implementing // structure assignment. // //go:noinline func (to *V) gets(from *V) { *to = *from } // gets is an address-and-interface-mentioning way of // implementing structure assignment. // //go:noinline func (to *V) getsI(from interface{}) { *to = *from.(*V) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy
[dsl : """${type.canonicalName} get${propName.capitalize()}() void set${propName.capitalize()}(${type.canonicalName} value) """, assignment: "p.$propName=$value", check : "assert p.$propName == $value"] } buildScript """ import org.gradle.api.artifacts.Configuration.State @Managed
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 27.1K bytes - Viewed (0) -
test/ken/cplx1.go
// run // Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test simple arithmetic and assignment for complex numbers. package main const ( R = 5 I = 6i C1 = R + I // ADD(5,6) ) func main() { var b bool // constants b = (5 + 6i) == C1 if !b { println("const bool 1", b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/TypeCompatibilityModelProjectionSupport.java
if (type.getRawClass().getSuperclass() == null && type.getRawClass().getInterfaces().length == 0) { return type.toString(); } return type + " (or assignment compatible type thereof)"; } @Override public String toString() { return getClass().getSimpleName() + "[" + type + "]"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:51:08 UTC 2024 - 3.1K bytes - Viewed (0) -
test/interface/explicit.go
// neither of these can work, // because i has an extra method // that t does not, so i cannot contain a t. i = t // ERROR "incompatible|missing method M" t = i // ERROR "incompatible|assignment$" i = i2 // ok i2 = i // ERROR "incompatible|missing method N" i = I(i2) // ok i2 = I2(i) // ERROR "invalid|missing N method|cannot convert" e = E(t) // ok
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 24 17:04:15 UTC 2022 - 2K bytes - Viewed (0) -
src/internal/types/testdata/examples/functions.go
} // When calling our own `new`, we need to pass the type parameter // explicitly since there is no (value) argument from which the // result type could be inferred. We don't try to infer the // result type from the assignment to keep things simple and // easy to understand. var _ = new[int]() var _ *float64 = new[float64]() // the result type is indeed *float64 // A function may have multiple type parameters, of course.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 30 20:19:38 UTC 2023 - 5.5K bytes - Viewed (0) -
test/typeparam/ifaceconv.go
type myInt int func (x myInt) foo() int { return int(x + 1) } func h[T C](x T) interface{ foo() int } { var i interface{ foo() int } = x return i } func i[T C](x T) C { var i C = x // conversion in assignment return i } func j[T C](t T) C { return C(t) // explicit conversion } func js[T any](x T) interface{} { y := []T{x} return interface{}(y) } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.7K bytes - Viewed (0)