Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 367 for typeOf (0.17 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    		}
    	}
    	obj, _, _ := types.LookupFieldOrMethod(typ, false, nil, "Format")
    	fn, ok := obj.(*types.Func)
    	if !ok {
    		return false
    	}
    	sig := fn.Type().(*types.Signature)
    	return sig.Params().Len() == 2 &&
    		sig.Results().Len() == 0 &&
    		analysisutil.IsNamedType(sig.Params().At(0).Type(), "fmt", "State") &&
    		types.Identical(sig.Params().At(1).Type(), types.Typ[types.Rune])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  2. operator/pkg/translate/translate.go

    	}
    
    	vv := reflect.ValueOf(node)
    	vt := reflect.TypeOf(node)
    	switch vt.Kind() {
    	case reflect.Ptr:
    		if !util.IsNilOrInvalidValue(vv.Elem()) {
    			errs = util.AppendErrs(errs, t.ProtoToHelmValues(vv.Elem().Interface(), root, path))
    		}
    	case reflect.Struct:
    		scope.Debug("Struct")
    		for i := 0; i < vv.NumField(); i++ {
    			fieldName := vv.Type().Field(i).Name
    			fieldValue := vv.Field(i)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. pkg/api/pod/util_test.go

    		"Spec.Volumes[*].VolumeSource.StorageOS.SecretRef",
    		"Spec.Volumes[*].VolumeSource.CSI.NodePublishSecretRef",
    	)
    	secretPaths := collectResourcePaths(t, "secret", nil, "", reflect.TypeOf(&api.Pod{}))
    	secretPaths = secretPaths.Difference(excludedSecretPaths)
    	if missingPaths := expectedSecretPaths.Difference(secretPaths); len(missingPaths) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/switch.go

    			// case, itab = runtime.interfaceSwitch(&descriptor, typeof(arg))
    			var typeArg ir.Node
    			if s.srcName.Type().IsEmptyInterface() {
    				typeArg = ir.NewConvExpr(base.Pos, ir.OCONVNOP, types.Types[types.TUINT8].PtrTo(), srcItab)
    			} else {
    				typeArg = itabType(srcItab)
    			}
    			caseVar := typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TINT])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. pkg/kubelet/server/server.go

    	GetExec(ctx context.Context, podFullName string, podUID types.UID, containerName string, cmd []string, streamOpts remotecommandserver.Options) (*url.URL, error)
    	GetAttach(ctx context.Context, podFullName string, podUID types.UID, containerName string, streamOpts remotecommandserver.Options) (*url.URL, error)
    	GetPortForward(ctx context.Context, podName, podNamespace string, podUID types.UID, portForwardOpts portforward.V4Options) (*url.URL, error)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  6. pkg/test/echo/proto/echo.pb.go

    				return &v.state
    			case 1:
    				return &v.sizeCache
    			case 2:
    				return &v.unknownFields
    			default:
    				return nil
    			}
    		}
    	}
    	type x struct{}
    	out := protoimpl.TypeBuilder{
    		File: protoimpl.DescBuilder{
    			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
    			RawDescriptor: file_test_echo_proto_echo_proto_rawDesc,
    			NumEnums:      1,
    			NumMessages:   7,
    			NumExtensions: 0,
    			NumServices:   1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. src/encoding/json/decode.go

    }
    
    // An InvalidUnmarshalError describes an invalid argument passed to [Unmarshal].
    // (The argument to [Unmarshal] must be a non-nil pointer.)
    type InvalidUnmarshalError struct {
    	Type reflect.Type
    }
    
    func (e *InvalidUnmarshalError) Error() string {
    	if e.Type == nil {
    		return "json: Unmarshal(nil)"
    	}
    
    	if e.Type.Kind() != reflect.Pointer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/list/list.go

    			if !listJsonFields.needAll() {
    				//  Set x to a copy of itself with all non-requested fields cleared.
    				v := reflect.New(reflect.TypeOf(x).Elem()).Elem() // do is always called with a non-nil pointer.
    				v.Set(reflect.ValueOf(x).Elem())
    				for i := 0; i < v.NumField(); i++ {
    					if !listJsonFields.needAny(v.Type().Field(i).Name) {
    						v.Field(i).SetZero()
    					}
    				}
    				x = v.Interface()
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/test.go

    struct _jobject;
    
    typedef struct _jobject *jobject;
    typedef jobject jclass;
    typedef jobject jthrowable;
    typedef jobject jstring;
    typedef jobject jarray;
    typedef jarray jbooleanArray;
    typedef jarray jbyteArray;
    typedef jarray jcharArray;
    typedef jarray jshortArray;
    typedef jarray jintArray;
    typedef jarray jlongArray;
    typedef jarray jfloatArray;
    typedef jarray jdoubleArray;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  10. helm-releases/minio-5.1.0.tgz

    ions | nindent 4 }} {{- end }} spec: {{- if (or (eq .Values.service.type "ClusterIP" "") (empty .Values.service.type)) }} type: ClusterIP {{- if not (empty .Values.service.clusterIP) }} clusterIP: {{ .Values.service.clusterIP }} {{- end }} {{- else if eq .Values.service.type "LoadBalancer" }} type: {{ .Values.service.type }} loadBalancerIP: {{ default "" .Values.service.loadBalancerIP }} {{- else }} type: {{ .Values.service.type }} {{- end }} ports: - name: {{ $scheme }} port: {{ .Values.service.port...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 03 18:49:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top