Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 459 for Desc (0.08 sec)

  1. 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)
  2. pilot/pkg/xds/ads_test.go

    		unexpectedUpdates []string
    	}
    	svcCases := []svcCase{
    		{
    			desc:            "Add a scoped service",
    			ev:              model.EventAdd,
    			svcIndexes:      []int{4},
    			ns:              testConfigNamespace,
    			expectedUpdates: []string{v3.ListenerType},
    		}, // then: default 1,2,3,4
    		{
    			desc: "Add instances to a scoped service",
    			ev:   model.EventAdd,
    			instIndexes: []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. pkg/kubelet/pod/mirror_client_test.go

    		testPodNS    = "test-pod-ns"
    		testPodHash  = "123456789"
    	)
    	testcases := []struct {
    		desc          string
    		node          *v1.Node
    		nodeErr       error
    		expectSuccess bool
    	}{{
    		desc:          "cannot get node",
    		nodeErr:       errors.New("expected: cannot get node"),
    		expectSuccess: false,
    	}, {
    		desc: "node missing UID",
    		node: &v1.Node{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: testNodeName,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:44:09 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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: " &#x9;\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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top