Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 678 for index (0.36 sec)

  1. src/cmd/go/internal/modload/modfile.go

    	}
    
    	for _, mainModule := range MainModules.Versions() {
    		if index := MainModules.Index(mainModule); index != nil && len(index.exclude) > 0 {
    			// Drop any requirements on excluded versions.
    			// Don't modify the cached summary though, since we might need the raw
    			// summary separately.
    			haveExcludedReqs := false
    			for _, r := range summary.require {
    				if index.exclude[r] {
    					haveExcludedReqs = true
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 17:53:40 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/net/route/address.go

    type Addr interface {
    	// Family returns an address family.
    	Family() int
    }
    
    // A LinkAddr represents a link-layer address.
    type LinkAddr struct {
    	Index int    // interface index when attached
    	Name  string // interface name when attached
    	Addr  []byte // link-layer address when attached
    }
    
    // Family implements the Family method of Addr interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. src/regexp/regexp.go

    //
    // If 'Index' is present, matches and submatches are identified by byte index
    // pairs within the input string: result[2*n:2*n+2] identifies the indexes of
    // the nth submatch. The pair for n==0 identifies the match of the entire
    // expression. If 'Index' is not present, the match is identified by the text
    // of the match/submatch. If an index is negative or text is nil, it means that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/webhook_converter.go

    			}
    			if err := restoreObjectMeta(original, unstructConverted); err != nil {
    				Metrics.ObserveConversionWebhookFailure(ctx, time.Since(t), ConversionWebhookInvalidConvertedObjectFailure)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 19:37:55 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go

    		// decrement here to maintain the invariant that (qs.robinIndex+1) % numQueues
    		// is the index of the next queue after the one last dispatched from
    		if qs.robinIndex >= r.queue.index {
    			qs.robinIndex--
    		}
    	}
    }
    
    // removeQueueAndUpdateIndexes uses reslicing to remove an index from a slice
    // and then updates the 'index' field of the queues to be correct
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 16:59:21 UTC 2024
    - 42.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/x86/ssa.go

    }
    
    var eqfJumps = [2][2]ssagen.IndexJump{
    	{{Jump: x86.AJNE, Index: 1}, {Jump: x86.AJPS, Index: 1}}, // next == b.Succs[0]
    	{{Jump: x86.AJNE, Index: 1}, {Jump: x86.AJPC, Index: 0}}, // next == b.Succs[1]
    }
    var nefJumps = [2][2]ssagen.IndexJump{
    	{{Jump: x86.AJNE, Index: 0}, {Jump: x86.AJPC, Index: 1}}, // next == b.Succs[0]
    	{{Jump: x86.AJNE, Index: 0}, {Jump: x86.AJPS, Index: 0}}, // next == b.Succs[1]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/expr.go

    		if base.Flag.LowerM != 0 && n.Bounded() && !ir.IsConst(n.Index, constant.Int) {
    			base.Warn("index bounds check elided")
    		}
    	} else if ir.IsConst(n.X, constant.String) {
    		n.SetBounded(bounded(r, int64(len(ir.StringVal(n.X)))))
    		if base.Flag.LowerM != 0 && n.Bounded() && !ir.IsConst(n.Index, constant.Int) {
    			base.Warn("index bounds check elided")
    		}
    	}
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go

    		}
    		if x.Scale == 0 || x.Index == 0 && x.Scale == 1 && (x.Base == ESP || x.Base == RSP || x.Base == 0 && inst.Mode == 64) {
    			if x.Base == 0 {
    				return seg + disp
    			}
    			return fmt.Sprintf("%s%s(%s)", seg, disp, gccRegName[x.Base])
    		}
    		base := gccRegName[x.Base]
    		if x.Base == 0 {
    			base = ""
    		}
    		index := gccRegName[x.Index]
    		if x.Index == 0 {
    			if inst.AddrSize == 64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  9. src/encoding/csv/reader.go

    // the start of the field with the given index in the slice most recently
    // returned by [Reader.Read]. Numbering of lines and columns starts at 1;
    // columns are counted in bytes, not runes.
    //
    // If this is called with an out-of-bounds index, it panics.
    func (r *Reader) FieldPos(field int) (line, column int) {
    	if field < 0 || field >= len(r.fieldPositions) {
    		panic("out of range index passed to FieldPos")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    	}
    	if chanSize > maxChanSize {
    		chanSize = maxChanSize
    	}
    	return chanSize
    }
    
    // isIndexValidLocked checks if a given index is still valid.
    // This assumes that the lock is held.
    func (w *watchCache) isIndexValidLocked(index int) bool {
    	return index >= w.startIndex
    }
    
    // getAllEventsSinceLocked returns a watchCacheInterval that can be used to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top