Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 287 for index (0.07 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    			gotCertIndex, found := signatures[sig]
    			if !found {
    				t.Errorf("unknown signature returned from server: %s", sig)
    			}
    			if gotCertIndex != test.ExpectedCertIndex {
    				t.Errorf("expected cert index %d, got cert index %d", test.ExpectedCertIndex, gotCertIndex)
    			}
    
    			// check that the loopback client can connect
    			host := "127.0.0.1"
    			if len(test.LoopbackClientBindAddressOverride) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/encoding/gob/encode.go

    type encOp func(i *encInstr, state *encoderState, v reflect.Value)
    
    // The 'instructions' of the encoding machine
    type encInstr struct {
    	op    encOp
    	field int   // field number in input
    	index []int // struct index
    	indir int   // how many pointer indirections to reach the value in the struct
    }
    
    // update emits a field number and updates the state to record its value for delta encoding.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/util.go

    		io.WriteString(w, "*")
    		a.writeNameTo(w, abiDetail)
    
    	case TYPE_MEM:
    		a.WriteNameTo(w)
    		if a.Index != REG_NONE {
    			if a.Scale == 0 {
    				// arm64 shifted or extended register offset, scale = 0.
    				fmt.Fprintf(w, "(%v)", Rconv(int(a.Index)))
    			} else {
    				fmt.Fprintf(w, "(%v*%d)", Rconv(int(a.Index)), int(a.Scale))
    			}
    		}
    
    	case TYPE_CONST:
    		io.WriteString(w, "$")
    		a.WriteNameTo(w)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    		allErrs = append(allErrs, field.TooMany(root, len(c.JWT), 64))
    		return allErrs
    	}
    
    	seenIssuers := sets.New[string]()
    	seenDiscoveryURLs := sets.New[string]()
    	for i, a := range c.JWT {
    		fldPath := root.Index(i)
    		_, errs := validateJWTAuthenticator(a, fldPath, sets.New(disallowedIssuers...), utilfeature.DefaultFeatureGate.Enabled(features.StructuredAuthenticationConfiguration))
    		allErrs = append(allErrs, errs...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    	if len(p.SampleType) == 0 {
    		return nil, nil, nil, fmt.Errorf("profile has no samples")
    	}
    	index, err := p.SampleIndexByName(sampleIndex)
    	if err != nil {
    		return nil, nil, nil, err
    	}
    	value = valueExtractor(index)
    	if mean {
    		meanDiv = valueExtractor(0)
    	}
    	v = p.SampleType[index]
    	return
    }
    
    func valueExtractor(ix int) sampleValueFunc {
    	return func(v []int64) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/database/sql/convert.go

    	if c.cci == nil {
    		return driver.ErrSkip
    	}
    	// The column converter shouldn't be called on any index
    	// it isn't expecting. The final error will be thrown
    	// in the argument converter loop.
    	index := nv.Ordinal - 1
    	if c.want <= index {
    		return nil
    	}
    
    	// First, see if the value itself knows how to convert
    	// itself to a driver type. For example, a NullString
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/runtime/error.go

    func (e plainError) Error() string {
    	return string(e)
    }
    
    // A boundsError represents an indexing or slicing operation gone wrong.
    type boundsError struct {
    	x int64
    	y int
    	// Values in an index or slice expression can be signed or unsigned.
    	// That means we'd need 65 bits to encode all possible indexes, from -2^63 to 2^64-1.
    	// Instead, we keep track of whether x should be interpreted as signed or unsigned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/image/gif/writer.go

    			return
    		}
    		e.write(e.globalColorTable[:e.globalCT])
    	} else {
    		// All frames have a local color table, so a global color table
    		// is not needed.
    		e.buf[0] = 0x00
    		e.buf[1] = 0x00 // Background Color Index.
    		e.buf[2] = 0x00 // Pixel Aspect Ratio.
    		e.write(e.buf[:3])
    	}
    
    	// Add animation info if necessary.
    	if len(e.g.Image) > 1 && e.g.LoopCount >= 0 {
    		e.buf[0] = 0x21 // Extension Introducer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. pkg/proxy/apis/config/validation/validation.go

    			if i != 0 || len(nodePortAddresses) != 1 {
    				allErrs = append(allErrs, field.Invalid(fldPath.Index(i), nodePortAddresses[i], "can't use both 'primary' and CIDRs"))
    			}
    			break
    		}
    
    		if _, _, err := netutils.ParseCIDRSloppy(nodePortAddresses[i]); err != nil {
    			allErrs = append(allErrs, field.Invalid(fldPath.Index(i), nodePortAddresses[i], "must be a valid CIDR"))
    		}
    	}
    
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    		}
    	}
    
    	addrs := map[uint64]addrInfo{}
    	flat := map[uint64]int64{}
    	cum := map[uint64]int64{}
    
    	// Record an interest in the function corresponding to lines[index].
    	markInterest := func(addr uint64, loc *profile.Location, index int) {
    		fn := loc.Line[index]
    		if fn.Function == nil {
    			return
    		}
    		sp.interest[fn.Function.Name] = true
    		sp.interest[fn.Function.SystemName] = true
    		if _, ok := addrs[addr]; !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top