Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 678 for index (0.04 sec)

  1. cmd/erasure-metadata_test.go

    	for _, testCase := range testCases {
    		if index := objectPartIndex(fi.Parts, testCase.partNum); index != testCase.expectedIndex {
    			t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index)
    		}
    	}
    }
    
    // Test FileInfo.ObjectToPartOffset().
    func TestObjectToPartOffset(t *testing.T) {
    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/internal/coverage/defs.go

    //  | <uleb128> num units: 3
    //  | <uleb128> func name: S1 (index into string table)
    //  | <uleb128> file: S0 (index into string table)
    //  | <unit 0>:  S0   L6     L8    2
    //  | <unit 1>:  S0   L9     L9    1
    //  | <unit 2>:  S0   L11    L11   1
    //  --func 1------
    //  | <uleb128> num units: 1
    //  | <uleb128> func name: S2 (index into string table)
    //  | <uleb128> file: S0 (index into string table)
    //  | <unit 0>:  S0   L15    L19   5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. pilot/pkg/xds/ads_test.go

    			vsIndexes: []struct {
    				index int
    				hosts []string
    				dest  string
    			}{{index: 4}},
    			expectedUpdates: []string{v3.ClusterType},
    		},
    		{
    			desc: "Add delegation virtual service for scoped service with transitively scoped dest svc",
    			ev:   model.EventAdd,
    			delegatevsIndexes: []struct {
    				index int
    				hosts []string
    				dest  string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 30 17:25:17 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. cmd/erasure.go

    	g := errgroup.WithNErrs(len(disks))
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			di := madmin.Disk{
    				Endpoint:  endpoints[index].String(),
    				PoolIndex: endpoints[index].PoolIdx,
    				SetIndex:  endpoints[index].SetIdx,
    				DiskIndex: endpoints[index].DiskIdx,
    				Local:     endpoints[index].IsLocal,
    			}
    			if disks[index] == OfflineDisk {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/lookup.go

    //  3. the list of fields of a struct type.
    //
    // The earlier index entries are the indices of the embedded struct fields
    // traversed to get to the found entry, starting at depth 0.
    //
    // If no entry is found, a nil object is returned. In this case, the returned
    // index and indirect values have the following meaning:
    //
    //   - If index != nil, the index sequence points to an ambiguous entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/go/types/lookup.go

    //  3. the list of fields of a struct type.
    //
    // The earlier index entries are the indices of the embedded struct fields
    // traversed to get to the found entry, starting at depth 0.
    //
    // If no entry is found, a nil object is returned. In this case, the returned
    // index and indirect values have the following meaning:
    //
    //   - If index != nil, the index sequence points to an ambiguous entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    	var storageInfo madmin.StorageInfo
    
    	storageInfos := make([]madmin.StorageInfo, len(s.sets))
    
    	g := errgroup.WithNErrs(len(s.sets))
    	for index := range s.sets {
    		index := index
    		g.Go(func() error {
    			storageInfos[index] = s.sets[index].StorageInfo(ctx)
    			return nil
    		}, index)
    	}
    
    	// Wait for the go routines.
    	g.Wait()
    
    	for _, lstorageInfo := range storageInfos {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  8. src/runtime/mpagealloc.go

    // See #51913 for details.
    func maxSearchAddr() offAddr { return maxOffAddr }
    
    // Global chunk index.
    //
    // Represents an index into the leaf level of the radix tree.
    // Similar to arenaIndex, except instead of arenas, it divides the address
    // space into chunks.
    type chunkIdx uint
    
    // chunkIndex returns the global index of the palloc chunk containing the
    // pointer p.
    func chunkIndex(p uintptr) chunkIdx {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/arch/x86/x86asm/decode.go

    			base := baseReg[x]
    			index := Reg(regop)
    			if inst.Prefix[vexIndex+1]&0x80 == 0 {
    				index += 8
    			}
    			inst.Args[narg] = base + index
    			narg++
    
    		case xArgR8, xArgR16, xArgR32, xArgR64, xArgXmm, xArgXmm1, xArgDR0dashDR7:
    			base := baseReg[x]
    			index := Reg(regop)
    			if rex != 0 && base == AL && index >= 4 {
    				rexUsed |= PrefixREX
    				index -= 4
    				base = SPB
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  10. src/cmd/internal/goobj/objfile.go

    // as the symRef struct above.
    //
    // PkgIdx is either a predeclared index (see PkgIdxNone below) or
    // an index of an imported package. For the latter case, PkgIdx is the
    // index of the package in the PkgIndex array. 0 is an invalid index.
    //
    // SymIdx is the index of the symbol in the given package.
    // - If PkgIdx is PkgIdxSelf, SymIdx is the index of the symbol in the
    //   SymbolDefs array.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top