Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 301 for typeOf (0.27 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/validation/field/errors.go

    	var s string
    	switch {
    	case v.Type == ErrorTypeRequired:
    		s = v.Type.String()
    	case v.Type == ErrorTypeForbidden:
    		s = v.Type.String()
    	case v.Type == ErrorTypeTooLong:
    		s = v.Type.String()
    	case v.Type == ErrorTypeInternal:
    		s = v.Type.String()
    	case v.BadValue == omitValue:
    		s = v.Type.String()
    	default:
    		value := v.BadValue
    		valueType := reflect.TypeOf(value)
    		if value == nil || valueType == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java

        public static <T> ModelRegistry mutate(ModelRegistry modelRegistry, Class<T> type, Action<? super T> action) {
            return applyInternal(modelRegistry, Mutate, type, action);
        }
    
        public static <T> ModelRegistry mutate(ModelRegistry modelRegistry, ModelType<T> type, Action<? super T> action) {
            return applyInternal(modelRegistry, Mutate, type, action);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/testdata/v1reflect.gox

    >; Offset <type -13>; Index <type 33 [] <type -11>>; Anonymous <type -15>; }>>; FieldByIndex (index <type 34 [] <type -11>>) <type 30>; FieldByName (name <type -16>) (? <type 30>, ? <type -15>); FieldByNameFunc (match <type 35 (? <type -16>) <type -15>>) (? <type 30>, ? <type -15>); In (i <type -11>) <type 26>; Key () <type 26>; Len () <type -11>; NumField () <type -11>; NumIn () <type -11>; NumOut () <type -11>; Out (i <type -11>) <type 26>; .reflect.runtimeType...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/fmt.go

    		if n.Cap != nil {
    			fmt.Fprintf(s, "make(%v, %v, %v)", n.Type(), n.Len, n.Cap)
    			return
    		}
    		if n.Len != nil && (n.Op() == OMAKESLICE || !n.Len.Type().IsUntyped()) {
    			fmt.Fprintf(s, "make(%v, %v)", n.Type(), n.Len)
    			return
    		}
    		fmt.Fprintf(s, "make(%v)", n.Type())
    
    	case OMAKESLICECOPY:
    		n := n.(*MakeExpr)
    		fmt.Fprintf(s, "makeslicecopy(%v, %v, %v)", n.Type(), n.Len, n.Cap)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  5. pkg/apis/extensions/v1beta1/defaults_test.go

    					Strategy: extensionsv1beta1.DeploymentStrategy{
    						Type:          extensionsv1beta1.RollingUpdateDeploymentStrategyType,
    						RollingUpdate: nil,
    					},
    				},
    			},
    			expected: &extensionsv1beta1.Deployment{
    				Spec: extensionsv1beta1.DeploymentSpec{
    					Replicas: utilpointer.Int32(3),
    					Strategy: extensionsv1beta1.DeploymentStrategy{
    						Type: extensionsv1beta1.RollingUpdateDeploymentStrategyType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go

    		}
    		files = append(files, f)
    	}
    	tc := &types.Config{
    		Importer:  makeTypesImporter(cfg, fset),
    		Sizes:     types.SizesFor("gc", build.Default.GOARCH), // TODO(adonovan): use cfg.Compiler
    		GoVersion: cfg.GoVersion,
    	}
    	info := &types.Info{
    		Types:      make(map[ast.Expr]types.TypeAndValue),
    		Defs:       make(map[*ast.Ident]types.Object),
    		Uses:       make(map[*ast.Ident]types.Object),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. pkg/apis/batch/v1/defaults_test.go

    								OnPodConditions: []batchv1.PodFailurePolicyOnPodConditionsPattern{
    									{
    										Type:   v1.DisruptionTarget,
    										Status: v1.ConditionTrue,
    									},
    									{
    										Type:   v1.PodConditionType("MemoryLimitExceeded"),
    										Status: v1.ConditionFalse,
    									},
    									{
    										Type: v1.PodConditionType("DiskLimitExceeded"),
    									},
    								},
    							},
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. src/sync/map_bench_test.go

    	"sync"
    	"sync/atomic"
    	"testing"
    )
    
    type bench struct {
    	setup func(*testing.B, mapInterface)
    	perG  func(b *testing.B, pb *testing.PB, i int, m mapInterface)
    }
    
    func benchMap(b *testing.B, bench bench) {
    	for _, m := range [...]mapInterface{&DeepCopyMap{}, &RWMutexMap{}, &sync.Map{}} {
    		b.Run(fmt.Sprintf("%T", m), func(b *testing.B) {
    			m = reflect.New(reflect.TypeOf(m).Elem()).Interface().(mapInterface)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. internal/logger/logger.go

    var magicHighwayHash256Key = []byte("\x4b\xe7\x34\xfa\x8e\x23\x8a\xcd\x26\x3e\x83\xe6\xbb\x96\x85\x52\x04\x0f\x93\x5d\xa3\x9f\x44\x14\x97\xe0\x9d\x13\x22\xde\x36\xa0")
    
    // Enumerated level types
    const (
    	// Log types errors
    	FatalKind   = madmin.LogKindFatal
    	WarningKind = madmin.LogKindWarning
    	ErrorKind   = madmin.LogKindError
    	EventKind   = madmin.LogKindEvent
    	InfoKind    = madmin.LogKindInfo
    )
    
    var (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go

    type visit struct {
    	a1  uintptr
    	a2  uintptr
    	typ reflect.Type
    }
    
    // unexportedTypePanic is thrown when you use this DeepEqual on something that has an
    // unexported type. It indicates a programmer error, so should not occur at runtime,
    // which is why it's not public and thus impossible to catch.
    type unexportedTypePanic []reflect.Type
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 20 17:18:42 UTC 2022
    - 10.8K bytes
    - Viewed (0)
Back to top