- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 333 for Indexer (0.2 sec)
-
pkg/registry/resource/resourceslice/strategy.go
"nodeName": nodeNameTriggerFunc, } func nodeNameTriggerFunc(obj runtime.Object) string { return obj.(*resource.ResourceSlice).NodeName } // Indexers returns the indexers for ResourceSlice. func Indexers() *cache.Indexers { return &cache.Indexers{ storage.FieldIndex("nodeName"): nodeNameIndexFunc, } } func nodeNameIndexFunc(obj interface{}) ([]string, error) { slice, ok := obj.(*resource.ResourceSlice)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/registry/resource/resourceslice/storage/storage.go
} options := &generic.StoreOptions{ RESTOptions: optsGetter, AttrFunc: resourceslice.GetAttrs, TriggerFunc: resourceslice.TriggerFunc, Indexers: resourceslice.Indexers(), } if err := store.CompleteWithOptions(options); err != nil { return nil, err } return &REST{store}, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 2.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
for ; p < q; p += SUBBUCKETSIZE { i = int((p - min) / SUBBUCKETSIZE) if indexes[i] > idx { indexes[i] = idx } } i = int((q - 1 - min) / SUBBUCKETSIZE) if indexes[i] > idx { indexes[i] = idx } idx++ } // fill in table for i := int32(0); i < nbuckets; i++ { base := indexes[i*SUBBUCKETS] if base == NOIDX { Errorf(nil, "hole in findfunctab") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
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) -
pkg/config/schema/kubeclient/common.go
}, }, &unstructured.Unstructured{}, cache.SharedIndexInformerOptions{ ResyncPeriod: 0, Indexers: cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, ObjectDescription: g.String(), }, ) setupInformer(opts, inf) return inf }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/PersistentCache.java
/** * Returns the base directory for this cache. */ @Override File getBaseDir(); /** * Creates an indexed cache implementation that is contained within this cache. This method may be used at any time. * * <p>The returned cache may only be used by an action being run from {@link #useCache(java.util.function.Supplier)}.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 07:59:23 UTC 2024 - 2.7K 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) -
src/cmd/compile/internal/ssa/op.go
return a.abiInfo.ArgWidth() } // ParamAssignmentForResult returns the ABI Parameter assignment for result which (indexed 0, 1, etc). func (a *AuxCall) ParamAssignmentForResult(which int64) *abi.ABIParamAssignment { return a.abiInfo.OutParam(int(which)) } // OffsetOfResult returns the SP offset of result which (indexed 0, 1, etc). func (a *AuxCall) OffsetOfResult(which int64) int64 { n := int64(a.abiInfo.OutParam(int(which)).Offset())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 15:29:10 UTC 2024 - 18.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* * b2b3s2 is the offset into the ranges data. It is shifted by 2 because ranges are 4-byte aligned. * * Mappings Data (4,719 bytes) * =========================== * * This is UTF-8 character data. It is indexed into by b2b3 in the ranges dataset. * * Mappings may overlap. * * ASCII-Only * ========== * * Neither the section index nor the ranges data use bit 0x80 anywhere. That means the data is
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Apr 02 11:39:58 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java
if (parameterTypes == null) { return desc; } final ParameterizedClassDesc[] parameterDescs = new ParameterizedClassDesc[parameterTypes.length]; for (final Indexed<Type> parameterType : indexed(iterable(parameterTypes))) { parameterDescs[parameterType.getIndex()] = createParameterizedClassDesc(parameterType.getElement(), map); } desc.setArguments(parameterDescs);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.9K bytes - Viewed (0)