Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 678 for index (0.06 sec)

  1. src/time/zoneinfo.go

    	isDST  bool   // is this zone Daylight Savings Time?
    }
    
    // A zoneTrans represents a single time zone transition.
    type zoneTrans struct {
    	when         int64 // transition time, in seconds since 1970 GMT
    	index        uint8 // the index of the zone that goes into effect at that time
    	isstd, isutc bool  // ignored - no idea what these mean
    }
    
    // alpha and omega are the beginning and end of time for zone
    // transitions.
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    	t := r.Type()
    	if t == nil {
    		return false
    	}
    	if !t.IsInteger() {
    		base.Errorf("invalid slice index %v (type %v)", r, t)
    		return false
    	}
    
    	if r.Op() == ir.OLITERAL {
    		x := r.Val()
    		if constant.Sign(x) < 0 {
    			base.Errorf("invalid slice index %v (index must be non-negative)", r)
    			return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. pkg/controller/resourceclaim/controller.go

    	"k8s.io/kubernetes/pkg/controller/resourceclaim/metrics"
    	"k8s.io/utils/ptr"
    )
    
    const (
    	// podResourceClaimIndex is the lookup name for the index function which indexes by pod ResourceClaim templates.
    	podResourceClaimIndex = "pod-resource-claim-index"
    
    	// podResourceClaimAnnotation is the special annotation that generated
    	// ResourceClaims get. Its value is the pod.spec.resourceClaims[].name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. cmd/object-api-utils_test.go

    			if !tt.wantIdx && len(idx) > 0 {
    				t.Errorf("index returned above threshold")
    			}
    			if tt.wantIdx {
    				if idx == nil {
    					t.Errorf("no index returned")
    				}
    				var index s2.Index
    				_, err = index.Load(s2.RestoreIndexHeaders(idx))
    				if err != nil {
    					t.Errorf("error loading index: %v", err)
    				}
    				t.Log("size:", len(idx))
    				t.Log(string(index.JSON()))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation_resourceclassparameters_test.go

    					badName: "hello world",
    				}
    				return parameters
    			}(),
    		},
    
    		"empty-model": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("filters").Index(0), "exactly one structured model field must be set")},
    			parameters: func() *resource.ResourceClassParameters {
    				parameters := testResourceClassParameters(goodName, goodName, goodFilters)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/infer.go

    	var maxUntyped map[*TypeParam]Type // lazily allocated (we may not need it)
    	for _, index := range untyped {
    		tpar := params.At(index).typ.(*TypeParam) // is type parameter (no alias) by construction of untyped
    		if u.at(tpar) == nil {
    			arg := args[index] // arg corresponding to tpar
    			if maxUntyped == nil {
    				maxUntyped = make(map[*TypeParam]Type)
    			}
    			max := maxUntyped[tpar]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/obj6.go

    			obj.Nopout(p)
    		}
    		if p.From.Type == obj.TYPE_MEM && p.From.Index == REG_TLS && REG_AX <= p.From.Reg && p.From.Reg <= REG_R15 {
    			p.From.Reg = REG_TLS
    			p.From.Scale = 0
    			p.From.Index = REG_NONE
    		}
    
    		if p.To.Type == obj.TYPE_MEM && p.To.Index == REG_TLS && REG_AX <= p.To.Reg && p.To.Reg <= REG_R15 {
    			p.To.Reg = REG_TLS
    			p.To.Scale = 0
    			p.To.Index = REG_NONE
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  8. src/go/doc/testdata/testing.go

    		_, file, line, ok := runtime.Caller(3) // decorate + log + public function.
    		if ok {
    			// Truncate file name at last file name separator.
    			if index := strings.LastIndex(file, "/"); index >= 0 {
    				file = file[index+1:]
    			} else if index = strings.LastIndex(file, "\\"); index >= 0 {
    				file = file[index+1:]
    			}
    		} else {
    			file = "???"
    			line = 1
    		}
    		s = fmt.Sprintf("%s:%d: %s", file, line, s)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  9. cmd/object-api-utils.go

    		}
    	}
    	partSkip = offset - skipLength
    
    	// Load index and skip more if feasible.
    	if partSkip > 0 && len(oi.Parts) > firstPartIdx && len(oi.Parts[firstPartIdx].Index) > 0 {
    		_, isEncrypted := crypto.IsEncrypted(oi.UserDefined)
    		if isEncrypted {
    			dec, err := decrypt(oi.Parts[firstPartIdx].Index)
    			if err == nil {
    				// Load Index
    				var idx s2.Index
    				_, err := idx.Load(s2.RestoreIndexHeaders(dec))
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. src/math/rand/rng.go

    		8382142935188824023, 9103922860780351547, 4152330101494654406,
    	}
    )
    
    type rngSource struct {
    	tap  int           // index into vec
    	feed int           // index into vec
    	vec  [rngLen]int64 // current feedback register
    }
    
    // seed rng x[n+1] = 48271 * x[n] mod (2**31 - 1)
    func seedrand(x int32) int32 {
    	const (
    		A = 48271
    		Q = 44488
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 14:20:53 UTC 2023
    - 14.8K bytes
    - Viewed (0)
Back to top