- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 367 for typeOf (0.13 sec)
-
src/cmd/vendor/github.com/google/pprof/internal/driver/config.go
func (cfg *config) get(f configField) string { switch ptr := cfg.fieldPtr(f).(type) { case *string: return *ptr case *int: return fmt.Sprint(*ptr) case *float64: return fmt.Sprint(*ptr) case *bool: return fmt.Sprint(*ptr) } panic(fmt.Sprintf("unsupported config field type %v", f.field.Type)) } // set sets the value of field f in cfg to value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 10.5K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 06:27:01 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/apis/apps/v1beta1/defaults_test.go
Strategy: appsv1beta1.DeploymentStrategy{ Type: appsv1beta1.RollingUpdateDeploymentStrategyType, RollingUpdate: nil, }, }, }, expected: &appsv1beta1.Deployment{ Spec: appsv1beta1.DeploymentSpec{ Replicas: ptr.To[int32](3), Strategy: appsv1beta1.DeploymentStrategy{ Type: appsv1beta1.RollingUpdateDeploymentStrategyType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/dns/proto/nds.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_dns_proto_nds_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 10.2K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework.go
func getScoreWeights(f *frameworkImpl, plugins []config.Plugin) error { var totalPriority int64 scorePlugins := reflect.ValueOf(&f.scorePlugins).Elem() pluginType := scorePlugins.Type().Elem() for _, e := range plugins { pg := f.pluginsMap[e.Name] if !reflect.TypeOf(pg).Implements(pluginType) { continue } // We append MultiPoint plugins to the list of Score plugins. So if this plugin has already been
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 60.9K bytes - Viewed (0) -
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) -
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) -
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) -
src/internal/concurrent/hashtriemap.go
// the unique package, but can be used elsewhere as well. type HashTrieMap[K, V comparable] struct { root *indirect[K, V] keyHash hashFunc keyEqual equalFunc valEqual equalFunc seed uintptr } // NewHashTrieMap creates a new HashTrieMap for the provided key and value. func NewHashTrieMap[K, V comparable]() *HashTrieMap[K, V] { var m map[K]V mapType := abi.TypeOf(m).MapType() ht := &HashTrieMap[K, V]{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go
// force deletion and recreation of keys to weaken that angle. type authenticatedDataString string // AuthenticatedData implements the value.Context interface. func (d authenticatedDataString) AuthenticatedData() []byte { return []byte(string(d)) } var _ value.Context = authenticatedDataString("") type store struct { client *clientv3.Client codec runtime.Codec
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 35.2K bytes - Viewed (0)