Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 457 for desc3 (0.07 sec)

  1. operator/pkg/util/reflect_test.go

    	tests := []struct {
    		desc     string
    		function func(v reflect.Value) bool
    		okValues []any
    	}{
    		{
    			desc:     "IsValuePtr",
    			function: IsValuePtr,
    			okValues: []any{&testInt, &testStruct, &testSlice, &testMap},
    		},
    		{
    			desc:     "IsValueStruct",
    			function: IsValueStruct,
    			okValues: []any{testStruct},
    		},
    		{
    			desc:     "IsValueInterface",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics_test.go

    	metrics := []string{
    		"authenticated_user_requests",
    		"authentication_attempts",
    	}
    
    	testCases := []struct {
    		desc        string
    		response    *authenticator.Response
    		status      bool
    		err         error
    		apiAudience authenticator.Audiences
    		want        string
    	}{
    		{
    			desc: "auth ok",
    			response: &authenticator.Response{
    				User: &user.DefaultInfo{Name: "admin"},
    			},
    			status: true,
    			want: `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    	testCases := []struct {
    		desc          string
    		initialVerb   string
    		suggestedVerb string
    		request       *http.Request
    		requestInfo   *request.RequestInfo
    		expectedVerb  string
    	}{
    		{
    			desc:         "An empty string should be designated as unknown",
    			initialVerb:  "",
    			request:      nil,
    			expectedVerb: "other",
    		},
    		{
    			desc:         "LIST should normally map to LIST",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/SortingAnnotationVisitor.java

        }
    
        @Override
        public AnnotationVisitor visitAnnotation(String name, String desc) {
            AnnotationMember annotation = new AnnotationMember(desc, true);
            SortingAnnotationVisitor visitor =
                new SortingAnnotationVisitor(annotation, super.visitAnnotation(name, desc));
            visitor.parentVisitor = this;
            visitor.annotationValueName = nameOrValue(name);
            return visitor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("http://www.example.com/catalog?item=12&desc=vacation_hawaii", sitemaps[1].getLoc());
            assertEquals("weekly", ((SitemapUrl) sitemaps[1]).getChangefreq());
            assertNull(((SitemapUrl) sitemaps[1]).getPriority());
    
            assertEquals("2004-12-23", sitemaps[2].getLastmod());
            assertEquals("http://www.example.com/catalog?item=73&desc=vacation_new_zealand", sitemaps[2].getLoc());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler_test.go

    			t.Fatalf("test %q - expected no error but got %v", test.desc, err)
    		}
    
    		if !reflect.DeepEqual(subresourceEntries, test.expected) {
    			t.Fatalf("test %q - expected output to be:\n%v\n\nbut got:\n%v", test.desc, test.expected, subresourceEntries)
    		}
    	}
    }
    
    func TestTransformingManagedFieldsToParent(t *testing.T) {
    	tests := []struct {
    		desc        string
    		parent      []metav1.ManagedFieldsEntry
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  7. src/testing/sub_test.go

    			}
    			ok := root.Run(tc.desc, tc.f)
    			ctx.release()
    
    			if ok != tc.ok {
    				t.Errorf("%s:ok: got %v; want %v", tc.desc, ok, tc.ok)
    			}
    			if ok != !root.Failed() {
    				t.Errorf("%s:root failed: got %v; want %v", tc.desc, !ok, root.Failed())
    			}
    			if ctx.running != 0 || ctx.numWaiting != 0 {
    				t.Errorf("%s:running and waiting non-zero: got %d and %d", tc.desc, ctx.running, ctx.numWaiting)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/ipset/ipset_test.go

    	testCases := []struct {
    		portRange string
    		expectErr bool
    		desc      string
    	}{
    		{ // case[0]
    			portRange: "a-b",
    			expectErr: true,
    			desc:      "invalid port number",
    		},
    		{ // case[1]
    			portRange: "1-2",
    			expectErr: false,
    			desc:      "valid",
    		},
    		{ // case[2]
    			portRange: "90-1",
    			expectErr: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
        suite.addTest(
            CharSinkTester.suiteForString(
                name + ".asCharSink[Charset]", charSinkFactory, string, desc));
        return suite;
      }
    
      private static TestSuite suiteForBytes(
          String name, ByteSinkFactory factory, String desc, byte[] bytes) {
        TestSuite suite = new TestSuite(name + " [" + desc + "]");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. pkg/scheduler/metrics/resources/resources.go

    )
    
    type resourceLifecycleDescriptors struct {
    	total *metrics.Desc
    }
    
    func (d resourceLifecycleDescriptors) Describe(ch chan<- *metrics.Desc) {
    	ch <- d.total
    }
    
    type resourceMetricsDescriptors struct {
    	requests resourceLifecycleDescriptors
    	limits   resourceLifecycleDescriptors
    }
    
    func (d resourceMetricsDescriptors) Describe(ch chan<- *metrics.Desc) {
    	d.requests.Describe(ch)
    	d.limits.Describe(ch)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 09 23:15:53 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top