- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 547 for desc1 (1.29 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/metrics/metrics_test.go
"apiserver_validating_admission_policy_check_total", "apiserver_validating_admission_policy_check_duration_seconds", } testCases := []struct { desc string want string observer metricsObserver }{ { desc: "observe policy admission", want: `
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 6.9K bytes - Viewed (0) -
pkg/flag/flag_test.go
} opts := Options{ B: "b-def", } test.SetEnvForTest(t, "TEST_ENV", "from-env") fs := pflag.NewFlagSet("test", pflag.ContinueOnError) Bind(fs, "a", "", "desc", &opts.A) Bind(fs, "bool", "", "desc", &opts.Bool) BindEnv(fs, "test-env", "", "desc", &opts.Env) fs.Set("a", "a-set") fs.Set("bool", "true") assert.Equal(t, opts, Options{ A: "a-set", B: "b-def", Env: "from-env", Bool: true, })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 01 04:37:36 UTC 2023 - 1.2K bytes - Viewed (0) -
src/encoding/xml/marshal_test.go
}, { desc: "end element with no name", toks: []Token{ EndElement{Name{"space", ""}}, }, err: "xml: end tag with no name", }, { desc: "char data", toks: []Token{ CharData("foo"), }, want: `foo`, }, { desc: "char data with escaped chars", toks: []Token{ CharData(" \t\n"), }, want: " 	\n", }, { desc: "comment", toks: []Token{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 66K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response_test.go
testCases := []struct { desc string object runtime.Object opts *metav1beta1.TableOptions target *schema.GroupVersionKind expectedUnwrap bool expectedObj runtime.Object expectedErr error }{ { desc: "metav1.Status", object: status, expectedObj: status, expectedErr: nil, }, { desc: "cacheableObject nil convert",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 09:07:03 UTC 2023 - 6.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/toolchain/DefaultToolchainManager.java
Map<String, Object> context = null; if (session != null) { PluginDescriptor desc = new PluginDescriptor(); desc.setGroupId(PluginDescriptor.getDefaultPluginGroupId()); desc.setArtifactId(PluginDescriptor.getDefaultPluginArtifactId("toolchains")); MavenProject current = session.getCurrentProject();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 4.6K bytes - Viewed (0) -
pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go
} } } }) } } func TestFeatureEnabled(t *testing.T) { var tests = []struct { desc string shutdownGracePeriodRequested time.Duration featureGateEnabled bool expectEnabled bool }{ { desc: "shutdownGracePeriodRequested 0; disables feature", shutdownGracePeriodRequested: time.Duration(0 * time.Second),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 29.8K bytes - Viewed (0) -
src/io/fs/sub_test.go
func TestSub(t *testing.T) { check := func(desc string, sub FS, err error) { t.Helper() if err != nil { t.Errorf("Sub(sub): %v", err) return } data, err := ReadFile(sub, "goodbye.txt") if string(data) != "goodbye, world" || err != nil { t.Errorf(`ReadFile(%s, "goodbye.txt" = %q, %v, want %q, nil`, desc, string(data), err, "goodbye, world") } dirs, err := ReadDir(sub, ".")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 10 02:10:17 UTC 2024 - 1.6K bytes - Viewed (0) -
pkg/kubelet/config/file_linux_test.go
t.Fatalf("%s: Cannot convert pod %#v, %#v", testCase.desc, pod, err) } if errs := validation.ValidatePodCreate(internalPod, validation.PodValidationOptions{}); len(errs) > 0 { t.Fatalf("%s: Invalid pod %#v, %#v", testCase.desc, internalPod, errs) } } if !apiequality.Semantic.DeepEqual(testCase.expected, update) { t.Fatalf("%s: Expected %#v, Got %#v", testCase.desc, testCase.expected, update) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
CharSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) { TestSuite suite = suiteForString(factory, new String(bytes, Charsets.UTF_8), name, desc); ByteSourceFactory byteSourceFactory = SourceSinkFactories.asByteSourceFactory(factory); suite.addTest( ByteSourceTester.suiteForBytes( byteSourceFactory, bytes, name + ".asByteSource[Charset]", desc, slice)); return suite; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc
*this, "skip-quantization-ops", ::llvm::cl::desc("Skip quantization ops")}; Option<bool> skip_resize_{ *this, "skip-resize", ::llvm::cl::desc("Skip tf.ResizeBilinear and tf.ResizeNearestNeighbor")}; Option<bool> skip_partitioned_calls_{ *this, "skip-partitioned-calls", ::llvm::cl::desc( "Skip tf.StatefulPartitionedCall and tf.PartitionedCall")}; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 7.5K bytes - Viewed (0)