- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 112 for Indexer (1.2 sec)
-
cmd/endpoint-ellipses_test.go
} if !reflect.DeepEqual(testCase.indexes, gotIndexes) { t.Errorf("Expected %v, got %v", testCase.indexes, gotIndexes) } }) } } // Test tests calculating set indexes. func TestGetSetIndexes(t *testing.T) { testCases := []struct { args []string totalSizes []uint64 indexes [][]uint64 success bool }{ // Invalid inputs. {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
w.RLock() defer w.RUnlock() return w.getAllEventsSinceLocked(resourceVersion, "", opts) } // newTestWatchCache just adds a fake clock. func newTestWatchCache(capacity int, indexers *cache.Indexers) *testWatchCache { keyFunc := func(obj runtime.Object) (string, error) { return storage.NamespaceKeyFunc("prefix", obj) } getAttrsFunc := func(obj runtime.Object) (labels.Set, fields.Set, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
} // activePodsForRemoval returns Pods that should be removed because there // are too many pods running or, if this is an indexed job, there are repeated // indexes or invalid indexes or some pods don't have indexes. // Sorts candidate pods in the order such that not-ready < ready, unscheduled // < scheduled, and pending < running. This ensures that we delete pods
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0) -
doc/next/6-stdlib/3-iter.md
The new [iter] package provides the basic definitions for working with user-defined iterators. The [slices] package adds several functions that work with iterators: - [All](/pkg/slices#All) returns an iterator over slice indexes and values. - [Values](/pkg/slices#Values) returns an iterator over slice elements. - [Backward](/pkg/slices#Backward) returns an iterator that loops over a slice backward.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:13 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/compiler_internal.go
package types2 import ( "cmd/compile/internal/syntax" "fmt" ) // This file should not be copied to go/types. See go.dev/issue/67477 // RenameResult takes an array of (result) fields and an index, and if the indexed field // does not have a name and if the result in the signature also does not have a name, // then the signature and field are renamed to // // fmt.Sprintf("#rv%d", i+1)` //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/global-heal.go
} return status, true } si := o.LocalStorageInfo(ctx, true) indexed := make(map[string][]madmin.Disk) for _, disk := range si.Disks { setIdx := fmt.Sprintf("%d-%d", disk.PoolIndex, disk.SetIndex) indexed[setIdx] = append(indexed[setIdx], disk) } for id, disks := range indexed { ss := madmin.SetStatus{ ID: id, SetIndex: disks[0].SetIndex,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 31 14:48:50 UTC 2024 - 15.1K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtScopeProvider.kt
withValidityAssertion { analysisSession.scopeProvider.getSyntheticJavaPropertiesScope(this) } /** * For each scope in [KaScopeContext] an index is calculated. The indexes are relative to position, and they are only known for * scopes obtained with [getScopeContextForPosition]. * * Scopes with [KaScopeKind.TypeScope] include synthetic Java properties. */
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 15.4K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
attrReachable Bitmap // reachable symbols, indexed by global index attrOnList Bitmap // "on list" symbols, indexed by global index attrLocal Bitmap // "local" symbols, indexed by global index attrNotInSymbolTable Bitmap // "not in symtab" symbols, indexed by global idx attrUsedInIface Bitmap // "used in interface" symbols, indexed by global idx
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
// Rules for MOV* or FMOV* ops determine when indexed (MOV*loadidx or MOV*storeidx) // or non-indexed (MOV*load or MOV*store) should be used. Indexed instructions // require an extra instruction and register to load the index so non-indexed is preferred. // Indexed ops generate indexed load or store instructions for all GOPPC64 values. // Non-indexed ops generate DS-form loads and stores when the offset fits in 16 bits,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
func TestValidateIndexers(t *testing.T) { testcases := []struct { name string indexers *cache.Indexers expectedError bool }{ { name: "nil indexers", indexers: nil, expectedError: false, }, { name: "normal indexers", indexers: &cache.Indexers{ "f:spec.nodeName": emptyIndexFunc, "l:controller-revision-hash": emptyIndexFunc,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0)