Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 547 for desc1 (0.23 sec)

  1. 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)
  2. pkg/api/v1/pod/util_test.go

    	testCases := []struct {
    		desc           string
    		spec           *v1.PodSpec
    		wantContainers []string
    		mask           ContainerType
    	}{
    		{
    			desc:           "empty podspec",
    			spec:           &v1.PodSpec{},
    			wantContainers: []string{},
    			mask:           AllContainers,
    		},
    		{
    			desc: "regular containers",
    			spec: &v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  3. clause/order_by_test.go

    				Columns: []clause.OrderByColumn{{Column: clause.PrimaryColumn, Desc: true}},
    			}},
    			"SELECT * FROM `users` ORDER BY `users`.`id` DESC", nil,
    		},
    		{
    			[]clause.Interface{
    				clause.Select{}, clause.From{}, clause.OrderBy{
    					Columns: []clause.OrderByColumn{{Column: clause.PrimaryColumn, Desc: true}},
    				}, clause.OrderBy{
    					Columns: []clause.OrderByColumn{{Column: clause.Column{Name: "name"}}},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    			"failed WriteCert with an error: %v",
    			err,
    		)
    	}
    
    	var tests = []struct {
    		desc     string
    		path     string
    		name     string
    		expected bool
    	}{
    		{
    			desc:     "empty path and name",
    			path:     "",
    			name:     "",
    			expected: false,
    		},
    		{
    			desc:     "valid path and name, both cert and key exist",
    			path:     tmpdir,
    			name:     "foo-0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics_test.go

    	defer registry.Reset()
    	registry.Register(decodeErrorCounts)
    	resourceName := "pods"
    	testedMetrics := "apiserver_storage_decode_errors_total"
    	testCases := []struct {
    		desc     string
    		resource string
    		want     string
    	}{
    		{
    			desc:     "test success",
    			resource: resourceName,
    			want: `
    		# HELP apiserver_storage_decode_errors_total [ALPHA] Number of stored object decode errors split by object type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/resources/sitemaps/sitemap1.xml

       <url>
          <loc>http://www.example.com/catalog?item=12&amp;desc=vacation_hawaii</loc>
          <changefreq>weekly</changefreq>
       </url>
       <url>
          <loc>http://www.example.com/catalog?item=73&amp;desc=vacation_new_zealand</loc>
          <lastmod>2004-12-23</lastmod>
          <changefreq>weekly</changefreq>
       </url>
       <url>
          <loc>http://www.example.com/catalog?item=74&amp;desc=vacation_newfoundland</loc>
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 915 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/errors.go

    	// Otherwise, call it once, with a single combined message.
    	multiError := false
    	if !isTypes2 {
    		for i := 1; i < len(err.desc); i++ {
    			if err.desc[i].pos.IsKnown() {
    				multiError = true
    				break
    			}
    		}
    	}
    
    	if multiError {
    		for i := range err.desc {
    			p := &err.desc[i]
    			check.handleError(i, p.pos, err.code, p.msg, err.soft)
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. test/slicecap.go

    	}
    }
    
    func checkString(desc, s string) {
    	p1 := *(*uintptr)(unsafe.Pointer(&s))
    	p2 := *(*uintptr)(unsafe.Pointer(&hello))
    	if p1-p2 >= 5 {
    		notOK()
    		println("string", desc, "has invalid base")
    	}
    }
    
    func checkBytes(desc string, s []byte) {
    	p1 := *(*uintptr)(unsafe.Pointer(&s))
    	p2 := *(*uintptr)(unsafe.Pointer(&bytes))
    	if p1-p2 >= 5 {
    		println("byte slice", desc, "has invalid base")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/internal/coerce/StringToEnumTransformerTest.groovy

        }
    
        def "can transform enums correctly - #desc"() {
            def typesArray = types.collect { new CachedClass(it, null) } as CachedClass[]
            def argsArray = args as Object[]
    
            expect:
            transformer.transform(typesArray, argsArray).toList() == transformed
    
            where:
            types              | args           | transformed           | desc
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. src/go/types/errors.go

    	// Otherwise, call it once, with a single combined message.
    	multiError := false
    	if !isTypes2 {
    		for i := 1; i < len(err.desc); i++ {
    			if err.desc[i].posn.Pos().IsValid() {
    				multiError = true
    				break
    			}
    		}
    	}
    
    	if multiError {
    		for i := range err.desc {
    			p := &err.desc[i]
    			check.handleError(i, p.posn, err.code, p.msg, err.soft)
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top