Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 532 for Indexes (0.28 sec)

  1. src/internal/zstd/huff.go

    	if weightMark[1] < 2 || weightMark[1]&1 != 0 {
    		return 0, 0, r.makeError(off, "bad Huffman weights")
    	}
    
    	// Change weightMark from a count of weights to the index of
    	// the first symbol for that weight. We shift the indexes to
    	// also store how many we have seen so far,
    	next := uint32(0)
    	for i := 0; i < tableBits; i++ {
    		cur := next
    		next += weightMark[i+1] << i
    		weightMark[i+1] = cur
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. cmd/storage-interface.go

    	// Read all.
    	ReadAll(ctx context.Context, volume string, path string) (buf []byte, err error)
    	GetDiskLoc() (poolIdx, setIdx, diskIdx int) // Retrieve location indexes.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

        KeySet() {
          super(HashBiMap.this);
        }
    
        @Override
        @ParametricNullness
        K forEntry(int entry) {
          // The cast is safe because we call forEntry only for indexes that contain entries.
          return uncheckedCastNullableTToT(keys[entry]);
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          return HashBiMap.this.containsKey(o);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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