Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 603 for Indexes (0.29 sec)

  1. pilot/pkg/model/xds_cache.go

    	sds typedXdsCache[string]
    }
    
    // XdsCache interface defines a store for caching XDS responses.
    // All operations are thread safe.
    type XdsCache interface {
    	// Run starts a background thread to flush evicted indexes periodically.
    	Run(stop <-chan struct{})
    	// Add adds the given XdsCacheEntry with the value for the given pushContext to the cache.
    	// If the cache has been updated to a newer push context, the write will be dropped silently.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 02 07:02:05 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/encoding/csv/reader.go

    	rawBuffer []byte
    
    	// recordBuffer holds the unescaped fields, one after another.
    	// The fields can be accessed by using the indexes in fieldIndexes.
    	// E.g., For the row `a,"b","c""d",e`, recordBuffer will contain `abc"de`
    	// and fieldIndexes will contain the indexes [1, 2, 5, 6].
    	recordBuffer []byte
    
    	// fieldIndexes is an index of fields inside recordBuffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. src/cmd/cover/testdata/test.go

    	testIf()
    	testFor()
    	testRange()
    	testSwitch()
    	testTypeSwitch()
    	testSelect1()
    	testSelect2()
    	testPanic()
    	testEmptySwitches()
    	testFunctionLiteral()
    	testGoto()
    }
    
    // The indexes of the counters in testPanic are known to main.go
    const panicIndex = 3
    
    // This test appears first because the index of its counters is known to main.go
    func testPanic() {
    	defer func() {
    		recover()
    	}()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  4. 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)
  5. src/math/rand/v2/rand.go

    	return p
    }
    
    // Shuffle pseudo-randomizes the order of elements.
    // n is the number of elements. Shuffle panics if n < 0.
    // swap swaps the elements with indexes i and j.
    func (r *Rand) Shuffle(n int, swap func(i, j int)) {
    	if n < 0 {
    		panic("invalid argument to Shuffle")
    	}
    
    	// Fisher-Yates shuffle: https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:25:49 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. test/typeparam/graph.go

    	m1, ok := zork[e.from]
    	if !ok {
    		panic("bad edge")
    	}
    	m2, ok := zork[e.to]
    	if !ok {
    		panic("bad edge")
    	}
    	return m1, m2
    }
    
    // The first maze in Zork. Room indexes based on original Fortran data file.
    // You are in a maze of twisty little passages, all alike.
    var zork = map[int]mazeRoom{
    	11: {exits: [10]int{north: 11, south: 12, east: 14}}, // west to Troll Room
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    		sandboxes            []sandboxTemplate   // templates of sandboxes
    		containers           []containerTemplate // templates of containers
    		remain               []int               // template indexes of remaining sandboxes
    		evictTerminatingPods bool
    	}{
    		{
    			description: "notready sandboxes without containers for deleted pods should be garbage collected.",
    			sandboxes: []sandboxTemplate{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. 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)
  9. src/internal/types/testdata/check/expr3.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package expr3
    
    import "time"
    
    func indexes() {
    	_ = 1 /* ERROR "cannot index" */ [0]
    	_ = indexes /* ERROR "cannot index" */ [0]
    	_ = ( /* ERROR "cannot slice" */ 12 + 3)[1:2]
    
    	var a [10]int
    	_ = a[true /* ERROR "cannot convert" */ ]
    	_ = a["foo" /* ERROR "cannot convert" */ ]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 22:41:49 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/block.go

    //
    //	b.Succs = [{c,3}, {d,1}]
    //	c.Preds = [?, ?, ?, {b,0}]
    //	d.Preds = [?, {b,1}, ?]
    //
    // These indexes allow us to edit the CFG in constant time.
    // In addition, it informs phi ops in degenerate cases like:
    //
    //	b:
    //	   if k then c else c
    //	c:
    //	   v = Phi(x, y)
    //
    // Then the indexes tell you whether x is chosen from
    // the if or else branch from b.
    //
    //	b.Succs = [{c,0},{c,1}]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top