- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 127 for FUNC (0.06 sec)
-
pkg/kubelet/cm/devicemanager/manager_test.go
return nil, nil } func (m *MockEndpoint) allocate(devs []string) (*pluginapi.AllocateResponse, error) { if m.allocateFunc != nil { return m.allocateFunc(devs) } return nil, nil } func (m *MockEndpoint) setStopTime(t time.Time) {} func (m *MockEndpoint) isStopped() bool { return false } func (m *MockEndpoint) stopGracePeriodExpired() bool { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
cmd/peer-rest-server.go
getMemInfoRPC = grid.NewSingleHandler[*grid.MSS, *grid.JSON[madmin.MemInfo]](grid.HandlerGetMemInfo, grid.NewMSS, madminMemInfo.NewJSON) getMetacacheListingRPC = grid.NewSingleHandler[*listPathOptions, *metacache](grid.HandlerGetMetacacheListing, func() *listPathOptions { return &listPathOptions{} }, func() *metacache { return &metacache{} })
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 52.1K bytes - Viewed (0) -
pkg/apis/admissionregistration/validation/validation.go
admissionregistrationv1beta1 "k8s.io/kubernetes/pkg/apis/admissionregistration/v1beta1" apivalidation "k8s.io/kubernetes/pkg/apis/core/validation" ) func hasWildcard(slice []string) bool { for _, s := range slice { if s == "*" { return true } } return false } func validateResources(resources []string, fldPath *field.Path) field.ErrorList { var allErrors field.ErrorList if len(resources) == 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 56.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
} } }) } } func sortServices(services []*model.Service) { sort.Slice(services, func(i, j int) bool { return services[i].Hostname < services[j].Hostname }) for _, service := range services { sortPorts(service.Ports) } } func sortServiceTargets(instances []model.ServiceTarget) { sort.Slice(instances, func(i, j int) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
} } // usage: defer p.trace(msg)() func (p *parser) trace(msg string) func() { p.print(msg + " (") const tab = ". " p.indent = append(p.indent, tab...) return func() { p.indent = p.indent[:len(p.indent)-len(tab)] if x := recover(); x != nil { panic(x) // skip print_trace } p.print(")") } } func (p *parser) print(msg string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
}) t.Run("ServiceEntry selects Pod", func(t *testing.T) { store, kube, fx := setupTest(t) makeIstioObject(t, store, serviceEntry) makePod(t, kube, pod) instances := []EndpointResponse{{ Address: pod.Status.PodIP, Port: 80, }} expectServiceEndpoints(t, fx, expectedSvc, 80, instances) }) t.Run("ServiceEntry selects Pod that is in transit states", func(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
cmd/iam-store.go
type iamFormat struct { Version int `json:"version"` } func newIAMFormatVersion1() iamFormat { return iamFormat{Version: iamFormatVersion1} } func getIAMFormatFilePath() string { return iamConfigPrefix + SlashSeparator + iamFormatFile } func getUserIdentityPath(user string, userType IAMUserType) string { var basePath string switch userType { case svcUser:
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 75.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
func (wm watchersMap) deleteWatcher(number int) { delete(wm, number) } func (wm watchersMap) terminateAll(done func(*cacheWatcher)) { for key, watcher := range wm { delete(wm, key) done(watcher) } } type indexedWatchers struct { allWatchers map[namespacedName]watchersMap valueWatchers map[string]watchersMap }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
return HasSchemaWith(spec, schemaHasDefaults) } func schemaHasDefaults(s *apiextensions.JSONSchemaProps) bool { return SchemaHas(s, func(s *apiextensions.JSONSchemaProps) bool { return s.Default != nil }) } func HasSchemaWith(spec *apiextensions.CustomResourceDefinitionSpec, pred func(s *apiextensions.JSONSchemaProps) bool) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
src/time/time.go
// nsec returns the time's nanoseconds. func (t *Time) nsec() int32 { return int32(t.wall & nsecMask) } // sec returns the time's seconds since Jan 1 year 1. func (t *Time) sec() int64 { if t.wall&hasMonotonic != 0 { return wallToInternal + int64(t.wall<<1>>(nsecShift+1)) } return t.ext } // unixSec returns the time's seconds since Jan 1 1970 (Unix time).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0)