Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 105 for index (0.15 sec)

  1. src/cmd/go/internal/telemetrystats/version_unix.go

    	telemetry.Inc(fmt.Sprintf("go/platform/host/%s/version:%s-%s", runtime.GOOS, major, minor))
    }
    
    func majorMinor(v string) (string, string, bool) {
    	firstDot := strings.Index(v, ".")
    	if firstDot < 0 {
    		return "", "", false
    	}
    	major := v[:firstDot]
    	v = v[firstDot+len("."):]
    	endMinor := strings.IndexAny(v, ".-_")
    	if endMinor < 0 {
    		endMinor = len(v)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 15:44:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/net/interface_plan9.go

    	ifc, err := readInterface(ifindex - 1)
    	if err != nil {
    		return nil, err
    	}
    	return []Interface{*ifc}, nil
    }
    
    func readInterface(i int) (*Interface, error) {
    	ifc := &Interface{
    		Index: i + 1,                             // Offset the index by one to suit the contract
    		Name:  netdir + "/ipifc/" + itoa.Itoa(i), // Name is the full path to the interface path in plan9
    	}
    
    	ifcstat := ifc.Name + "/status"
    	ifcstatf, err := open(ifcstat)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. src/reflect/iter.go

    		}
    		return func(yield func(Value, Value) bool) {
    			v = v.Elem()
    			for i := range v.Len() {
    				if !yield(ValueOf(i), v.Index(i)) {
    					return
    				}
    			}
    		}
    	case Array, Slice:
    		return func(yield func(Value, Value) bool) {
    			for i := range v.Len() {
    				if !yield(ValueOf(i), v.Index(i)) {
    					return
    				}
    			}
    		}
    	case String:
    		return func(yield func(Value, Value) bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    			Namespace:      namespace,
    			Name:           "cache_list_total",
    			Help:           "Number of LIST requests served from watch cache",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"resource_prefix", "index"},
    	)
    	listCacheNumFetched = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "cache_list_fetched_objects_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. internal/grid/handlers_string.go

    // Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/compiler_internal.go

    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"fmt"
    )
    
    // This file should not be copied to go/types.  See go.dev/issue/67477
    
    // RenameResult takes an array of (result) fields and an index, and if the indexed field
    // does not have a name and if the result in the signature also does not have a name,
    // then the signature and field are renamed to
    //
    //	fmt.Sprintf("#rv%d", i+1)`
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/listers/apiextensions/v1/customresourcedefinition.go

    	// Objects returned here must be treated as read-only.
    	List(selector labels.Selector) (ret []*v1.CustomResourceDefinition, err error)
    	// Get retrieves the CustomResourceDefinition from the index for a given name.
    	// Objects returned here must be treated as read-only.
    	Get(name string) (*v1.CustomResourceDefinition, error)
    	CustomResourceDefinitionListerExpansion
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 11:15:04 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. cmd/erasure-decode.go

    	tmp := make([]io.ReaderAt, len(p.orgReaders))
    	copy(tmp, p.orgReaders)
    	p.readers = tmp
    	// next is the next non-preferred index.
    	next := 0
    	for i, ok := range prefer {
    		if !ok || p.readers[i] == nil {
    			continue
    		}
    		if i == next {
    			next++
    			continue
    		}
    		// Move reader with index i to index next.
    		// Do this by swapping next and i
    		p.readers[next], p.readers[i] = p.readers[i], p.readers[next]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go

    					name:       "count",
    					expression: "object.subsets[114514].addresses.size()", // array index out of bound
    				},
    			},
    			attributes:           endpointCreateAttributes(),
    			expression:           "variables.count == 810",
    			expectErr:            true,
    			expectedErrorMessage: `composited variable "count" fails to evaluate: index out of bounds: 114514`,
    		},
    		{
    			name: "out of budget during lazy evaluation",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/support.go

    func (t anyType) String() string         { return "any" }
    
    // See cmd/compile/internal/noder.derivedInfo.
    type derivedInfo struct {
    	idx    pkgbits.Index
    	needed bool
    }
    
    // See cmd/compile/internal/noder.typeInfo.
    type typeInfo struct {
    	idx     pkgbits.Index
    	derived bool
    }
    
    // See cmd/compile/internal/types.SplitVargenSuffix.
    func splitVargenSuffix(name string) (base, suffix string) {
    	i := len(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top