Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 703 for index (0.15 sec)

  1. 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)
  2. src/text/template/funcs.go

    	default:
    		return 0, fmt.Errorf("cannot index slice/array with type %s", index.Type())
    	}
    	if x < 0 || int(x) < 0 || int(x) > cap {
    		return 0, fmt.Errorf("index out of range: %d", x)
    	}
    	return int(x), nil
    }
    
    // Indexing.
    
    // index returns the result of indexing its first argument by the following
    // arguments. Thus "index x 1 2 3" is, in Go syntax, x[1][2][3]. Each
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. pkg/apis/resource/structured/namedresources/validation/validation_test.go

    			resources:    testResources([]resourceapi.NamedResourcesInstance{{Name: goodName, Attributes: []resourceapi.NamedResourcesAttribute{{Name: goodName}}}}),
    		},
    		"duplicate-value": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    	// Start writing `xl.meta` to all disks in parallel.
    	for index := range disks {
    		index := index
    		g.Go(func() error {
    			if disks[index] == nil {
    				return errDiskNotFound
    			}
    			// Pick one FileInfo for a disk at index.
    			fi := files[index]
    			fi.Erasure.Index = index + 1
    			if fi.IsValid() {
    				return disks[index].WriteMetadata(ctx, origbucket, bucket, prefix, fi)
    			}
    			return errFileCorrupt
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/plan9x.go

    				// equals to 1.
    				index = fmt.Sprintf("(%s<<0)", indexreg)
    			} else {
    				index = fmt.Sprintf("(%s)", indexreg)
    			}
    		} else {
    			if a.Amount != 0 && !a.ShiftMustBeZero {
    				index = fmt.Sprintf("(%s.%s<<%d)", indexreg, a.Extend.String(), a.Amount)
    			} else {
    				index = fmt.Sprintf("(%s.%s)", indexreg, a.Extend.String())
    			}
    		}
    
    		return base + index
    
    	case Cond:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 17K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/p256_asm.go

    	p.x, p.y, p.z = t0.x, t0.y, p256One
    	p256NegCond(&p.y, sign)
    
    	index := uint(5)
    	zero := sel
    
    	for i := 1; i < 43; i++ {
    		if index < 192 {
    			wvalue = ((scalar[index/64] >> (index % 64)) + (scalar[index/64+1] << (64 - (index % 64)))) & 0x7f
    		} else {
    			wvalue = (scalar[index/64] >> (index % 64)) & 0x7f
    		}
    		index += 6
    		sel, sign = boothW6(uint(wvalue))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    		// if priority of pod is:
    		//   groups[index-1].Priority <= pod priority < groups[index].Priority
    		// in which case we want to pick lower one (i.e index-1)
    		if index == len(groups) {
    			index = len(groups) - 1
    		} else if index < 0 {
    			index = 0
    		} else if index > 0 && groups[index].Priority > priority {
    			index--
    		}
    
    		groups[index].Pods = append(groups[index].Pods, pod)
    	}
    	return groups
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/language/match.go

    // other language matched.
    func MatchStrings(m Matcher, lang ...string) (tag Tag, index int) {
    	for _, accept := range lang {
    		desired, _, err := ParseAcceptLanguage(accept)
    		if err != nil {
    			continue
    		}
    		if tag, index, conf := m.Match(desired...); conf != No {
    			return tag, index
    		}
    	}
    	tag, index, _ = m.Match()
    	return
    }
    
    // Matcher is the interface that wraps the Match method.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. src/runtime/mspanset.go

    	spineLen  atomic.Uintptr            // Spine array length
    	spineCap  uintptr                   // Spine array cap, accessed under spineLock
    
    	// index is the head and tail of the spanSet in a single field.
    	// The head and the tail both represent an index into the logical
    	// concatenation of all blocks, with the head always behind or
    	// equal to the tail (indicating an empty set). This field is
    	// always accessed atomically.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. src/crypto/rsa/pkcs1v15.go

    	// bytes into em.
    	validPS := subtle.ConstantTimeLessOrEq(2+8, index)
    
    	valid = firstByteIsZero & secondByteIsTwo & (^lookingForIndex & 1) & validPS
    	index = subtle.ConstantTimeSelect(valid, index+1, 0)
    	return valid, em, index, nil
    }
    
    // nonZeroRandomBytes fills the given slice with non-zero random octets.
    func nonZeroRandomBytes(s []byte, random io.Reader) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:21 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top