- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,110 for modes (0.05 sec)
-
pkg/apis/core/v1/helper/helpers.go
// modes, when present, are always in the same order: RWO,ROX,RWX,RWOP. func GetAccessModesAsString(modes []v1.PersistentVolumeAccessMode) string { modes = removeDuplicateAccessModes(modes) modesStr := []string{} if ContainsAccessMode(modes, v1.ReadWriteOnce) { modesStr = append(modesStr, "RWO") } if ContainsAccessMode(modes, v1.ReadOnlyMany) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/modes_test.go
"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes" ) var encModeNames = map[cbor.EncMode]string{ modes.Encode: "Encode", modes.EncodeNondeterministic: "EncodeNondeterministic", } var allEncModes = []cbor.EncMode{ modes.Encode, modes.EncodeNondeterministic, } var decModeNames = map[cbor.DecMode]string{ modes.Decode: "Decode", modes.DecodeLax: "DecodeLax", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 2K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers_test.go
} modes = GetAccessModesFromString("RWO,ROX,RWX") if !ContainsAccessMode(modes, v1.ReadWriteOnce) { t.Errorf("Expected mode %s, but got %+v", v1.ReadWriteOnce, modes) } if !ContainsAccessMode(modes, v1.ReadOnlyMany) { t.Errorf("Expected mode %s, but got %+v", v1.ReadOnlyMany, modes) } if !ContainsAccessMode(modes, v1.ReadWriteMany) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 16.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go
{ name: "case-insensitive match treated as unknown field", modes: []cbor.DecMode{modes.Decode}, in: hex("a1614101"), // {"A": 1} into: struct { A int `json:"a"` }{}, assertOnError: assertIdenticalError(&cbor.UnknownFieldError{Index: 0}), }, { name: "case-insensitive match ignored in lax mode", modes: []cbor.DecMode{modes.DecodeLax}, in: hex("a1614101"), // {"A": 1} into: struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 25.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go
u.Items = unstructureds default: u.SetUnstructuredContent(content) } }() into = &content } if !s.options.strict { return nil, modes.DecodeLax.Unmarshal(data, into) } err := modes.Decode.Unmarshal(data, into) // TODO: UnknownFieldError is ambiguous. It only provides the index of the first problematic // map entry encountered and does not indicate which map the index refers to.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy
* @return the list of test cases */ abstract def testCases() /** * Produces a list of indy compilation modes. Each test case from {@link #testCases()} will run in every mode from the returned list. * @return the list of indy modes */ def indyModes() { return [true, false] } final def testCasesWithIndyModes() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.3K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/session/AbstractSessionInvalidationTest.kt
// Standalone modes) to have different test results (since `testPrefix` normally supports this functionality), but (1) we are // currently only testing the IDE mode and (2) the test results between different modes should not differ for session // invalidation in the first place. testPrefix = resultFileSuffix,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/AbstractInjectedClasspathInstrumentationStrategy.kt
return if (isThirdPartyAgentPresent) { // Currently, the build logic instrumentation can interfere with Java agents, such as Jacoco // So, disable or fail or whatever based on which execution modes are enabled whenThirdPartyAgentPresent() } else { CachedClasspathTransformer.StandardTransform.BuildLogic } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 1.7K bytes - Viewed (0) -
src/internal/trace/testdata/cmd/gotraceraw/main.go
"os" "internal/trace/raw" "internal/trace/version" ) func init() { flag.Usage = func() { fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0]) fmt.Fprintf(flag.CommandLine.Output(), "\n") fmt.Fprintf(flag.CommandLine.Output(), "Supported modes:") fmt.Fprintf(flag.CommandLine.Output(), "\n") fmt.Fprintf(flag.CommandLine.Output(), "* text2bytes - converts a text format trace to bytes\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:31:29 UTC 2024 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go
} func (anyObject) DeepCopyObject() runtime.Object { panic("unimplemented") } func (p anyObject) MarshalCBOR() ([]byte, error) { return modes.Encode.Marshal(p.Value) } func (p *anyObject) UnmarshalCBOR(in []byte) error { return modes.Decode.Unmarshal(in, &p.Value) } func TestEncode(t *testing.T) { for _, tc := range []struct { name string in runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0)