Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for Indexer (1.33 sec)

  1. src/cmd/internal/obj/objfile.go

    	// Reloc indexes
    	h.Offsets[goobj.BlkRelocIdx] = w.Offset()
    	nreloc := uint32(0)
    	lists := [][]*LSym{ctxt.defs, ctxt.hashed64defs, ctxt.hasheddefs, ctxt.nonpkgdefs}
    	for _, list := range lists {
    		for _, s := range list {
    			w.Uint32(nreloc)
    			nreloc += uint32(len(s.R))
    		}
    	}
    	w.Uint32(nreloc)
    
    	// Symbol Info indexes
    	h.Offsets[goobj.BlkAuxIdx] = w.Offset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/BasicParsingTest.kt

            val expected = """
                    Assignment [indexes: 0..5, line/column: 1/1..1/6, file: test] (
                        lhs = PropertyAccess [indexes: 0..1, line/column: 1/1..1/2, file: test] (
                            name = a
                        )
                        rhs = IntLiteral [indexes: 4..5, line/column: 1/5..1/6, file: test] (1)
                    )
                    Assignment [indexes: 6..16, line/column: 2/1..2/11, file: test] (
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  3. src/text/template/funcs.go

    // argument must be a string, slice, or array.
    func slice(item reflect.Value, indexes ...reflect.Value) (reflect.Value, error) {
    	item = indirectInterface(item)
    	if !item.IsValid() {
    		return reflect.Value{}, fmt.Errorf("slice of untyped nil")
    	}
    	if len(indexes) > 3 {
    		return reflect.Value{}, fmt.Errorf("too many slice indexes: %d", len(indexes))
    	}
    	var cap int
    	switch item.Kind() {
    	case reflect.String:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/scheduler/scheduler.go

    			}
    		}
    	}
    	return gvkMap
    }
    
    // newPodInformer creates a shared index informer that returns only non-terminal pods.
    // The PodInformer allows indexers to be added, but note that only non-conflict indexers are allowed.
    func newPodInformer(cs clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
    	selector := fmt.Sprintf("status.phase!=%v,status.phase!=%v", v1.PodSucceeded, v1.PodFailed)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/prettyPrintResults.kt

    }
    
    
    private
    fun SourceData.prettyPrint(): String =
        buildString {
            // We add +1 here as that was how the original implementation worked, just to avoid fixing all test data:
            append("indexes: ${indexRange.start}..${indexRange.endInclusive + 1}, ")
            append("line/column: ${lineRange.first}/$startColumn..${lineRange.last}/${endColumn + 1}, ")
            append("file: ${sourceIdentifier.fileIdentifier}")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses.go

    		return setCounts[i] < setCounts[j]
    	})
    
    	return setCounts
    }
    
    // getSetIndexes returns list of indexes which provides the set size
    // on each index, this function also determines the final set size
    // The final set size has the affinity towards choosing smaller
    // indexes (total sets)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top