Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 311 for Res (0.02 sec)

  1. src/cmd/vet/vet_test.go

    	// <autogenerated> lines are impossible to match so those are filtered out.
    	var res []string
    	for _, line := range strings.Split(out, "\n") {
    		line = strings.TrimSuffix(line, "\r") // normalize Windows output
    		if strings.HasPrefix(line, "\t") {
    			res[len(res)-1] += "\n" + line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    var (
    	scheme *runtime.Scheme = func() *runtime.Scheme {
    		res := runtime.NewScheme()
    		if err := v1.AddToScheme(res); err != nil {
    			panic(err)
    		}
    
    		if err := fake.AddToScheme(res); err != nil {
    			panic(err)
    		}
    
    		return res
    	}()
    )
    
    func must3[T any, I any](val T, _ I, err error) T {
    	if err != nil {
    		panic(err)
    	}
    	return val
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/helpers_linux_test.go

    	res := v1.ResourceList{}
    	if cpu != "" {
    		res[v1.ResourceCPU] = resource.MustParse(cpu)
    	}
    	if memory != "" {
    		res[v1.ResourceMemory] = resource.MustParse(memory)
    	}
    	return res
    }
    
    // getResourceRequirements returns a ResourceRequirements object
    func getResourceRequirements(requests, limits v1.ResourceList) v1.ResourceRequirements {
    	res := v1.ResourceRequirements{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningPublicationsIntegrationSpec.groovy

            given:
            // Two with same filename, mind the directory names
            file("res", "a", "same.txt") << "Base filename"
            file("res", "b", "same.txt") << "Base filename, different directory"
            // Third, different filename, different base directory case
            file("res", "c", "different.txt") << "Different filename"
    
            buildFile << """
                apply plugin: 'maven-publish'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/dryrun_test.go

    }
    
    func TestDryRunUpdateMissingObjectFails(t *testing.T) {
    	s, destroy := NewDryRunnableTestStorage(t)
    	defer destroy()
    
    	obj := UnstructuredOrDie(`{"kind": "Pod"}`)
    
    	updateFunc := func(input runtime.Object, res storage.ResponseMeta) (output runtime.Object, ttl *uint64, err error) {
    		return input, nil, errors.New("UpdateFunction shouldn't be called")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/crypto/cryptobyte/asn1.go

    	}
    
    	if res.Year() >= 2050 {
    		// UTCTime interprets the low order digits 50-99 as 1950-99.
    		// This only applies to its use in the X.509 profile.
    		// See https://tools.ietf.org/html/rfc5280#section-4.1.2.5.1
    		res = res.AddDate(-100, 0, 0)
    	}
    	*out = res
    	return true
    }
    
    // ReadASN1BitString decodes an ASN.1 BIT STRING into out and advances.
    // It reports whether the read was successful.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    }
    
    // Hooks implements Source.
    func (s *policySource[P, B, E]) Hooks() []PolicyHook[P, B, E] {
    	res := s.policies.Load()
    
    	// Error case should not happen since evaluation function never
    	// returns error
    	if res == nil {
    		// Not yet synced
    		return nil
    	}
    
    	return *res
    }
    
    func (s *policySource[P, B, E]) refreshPolicies() {
    	if !s.UpstreamHasSynced() {
    		return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  8. cmd/erasure-sets.go

    	res.After.Drives = make([]madmin.HealDriveInfo, len(beforeDrives))
    	res.Before.Drives = make([]madmin.HealDriveInfo, len(beforeDrives))
    	// Copy "after" drive state too from before.
    	for k, v := range beforeDrives {
    		res.Before.Drives[k] = v
    		res.After.Drives[k] = v
    	}
    
    	if countErrs(sErrs, errUnformattedDisk) == 0 {
    		return res, errNoHealRequired
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  9. pkg/config/mesh/mesh_test.go

    			}}
    			mc.TrustDomainAliases = []string{"default", "both"}
    			res, err := mesh.ApplyMeshConfig(tt.in, mc)
    			if err != nil {
    				t.Fatal(err)
    			}
    			// Just extract fields we are testing
    			minimal := &meshconfig.MeshConfig{}
    			minimal.DefaultProviders = res.DefaultProviders
    			minimal.ExtensionProviders = res.ExtensionProviders
    			minimal.TrustDomainAliases = res.TrustDomainAliases
    
    			want := &meshconfig.MeshConfig{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/convert.go

    	init.Append(ir.NewAssignStmt(base.Pos, c, n.X))
    
    	if toType.IsEmptyInterface() {
    		// Implement interface to empty interface conversion:
    		//
    		// var res *uint8
    		// res = (*uint8)(unsafe.Pointer(itab))
    		// if res != nil {
    		//    res = res.type
    		// }
    
    		// Grab its parts.
    		itab := ir.NewUnaryExpr(base.Pos, ir.OITAB, c)
    		itab.SetType(types.Types[types.TUINTPTR].PtrTo())
    		itab.SetTypecheck(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top