- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for indexFor (0.47 sec)
-
src/cmd/compile/internal/types2/api_test.go
} makePkg("lib", libSrc) makePkg("main", mainSrc) for e, sel := range selections { _ = sel.String() // assertion: must not panic start := indexFor(mainSrc, syntax.StartPos(e)) end := indexFor(mainSrc, syntax.EndPos(e)) segment := mainSrc[start:end] // (all SelectorExprs are in main, not lib) direct := "." if sel.Indirect() { direct = "->" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1beta1/customresourcedefinition.go
} // NewCustomResourceDefinitionLister returns a new CustomResourceDefinitionLister. func NewCustomResourceDefinitionLister(indexer cache.Indexer) CustomResourceDefinitionLister { return &customResourceDefinitionLister{listers.New[*v1beta1.CustomResourceDefinition](indexer, v1beta1.Resource("customresourcedefinition"))}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 11:15:04 UTC 2024 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/listers/cr/v1/example.go
type exampleLister struct { listers.ResourceIndexer[*v1.Example] } // NewExampleLister returns a new ExampleLister. func NewExampleLister(indexer cache.Indexer) ExampleLister { return &exampleLister{listers.New[*v1.Example](indexer, v1.Resource("example"))} } // Examples returns an object that can list and get Examples. func (s *exampleLister) Examples(namespace string) ExampleNamespaceLister {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 11:15:04 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy
then: output.indexOf('initscript1!') < output.indexOf('initscript2!') configurationCache.assertStateStored() when: configurationCacheRun 'build', '-I', initScript2.absolutePath, '-I', initScript1.absolutePath then: output.indexOf('initscript2!') < output.indexOf('initscript1!') configurationCache.assertStateStored() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go
type indexValidator func(int) bool func newCacheInterval(startIndex, endIndex int, indexer indexerFunc, indexValidator indexValidator, locker sync.Locker) *watchCacheInterval { return &watchCacheInterval{ startIndex: startIndex, endIndex: endIndex, indexer: indexer, indexValidator: indexValidator, buffer: &watchCacheIntervalBuffer{buffer: make([]*watchCacheEvent, bufferSize)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1/customresourcedefinition.go
} // NewCustomResourceDefinitionLister returns a new CustomResourceDefinitionLister. func NewCustomResourceDefinitionLister(indexer cache.Indexer) CustomResourceDefinitionLister { return &customResourceDefinitionLister{listers.New[*v1.CustomResourceDefinition](indexer, v1.Resource("customresourcedefinition"))}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 11:15:04 UTC 2024 - 1.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 8.5K bytes - Viewed (0) -
pkg/kubelet/stats/cadvisor_stats_provider_test.go
} // Validate Pod0 Results ps, found := indexPods[prf0] assert.True(t, found) assert.Len(t, ps.Containers, 2) indexCon := make(map[string]statsapi.ContainerStats, len(ps.Containers)) for _, con := range ps.Containers { indexCon[con.Name] = con } con := indexCon[cName00] assert.EqualValues(t, testTime(creationTime, seedPod0Container0).Unix(), con.StartTime.Time.Unix())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 30.2K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control_test.go
fakeClient := &fake.Clientset{} claims := getPersistentVolumeClaims(set, pod) indexer := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}) for k := range claims { claim := claims[k] indexer.Add(&claim) } claimLister := corelisters.NewPersistentVolumeClaimLister(indexer) control := NewStatefulPodControl(fakeClient, nil, claimLister, recorder)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0) -
pkg/controller/volume/ephemeral/controller.go
podLister corelisters.PodLister podSynced cache.InformerSynced // podIndexer has the common PodPVC indexer indexer installed To // limit iteration over pods to those of interest. podIndexer cache.Indexer // recorder is used to record events in the API server recorder record.EventRecorder queue workqueue.TypedRateLimitingInterface[string] }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.2K bytes - Viewed (0)