Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 496 for index (0.54 sec)

  1. pkg/registry/rbac/validation/rule_test.go

    			t.Errorf("case %q want appliesTo=%t, got appliesTo=%t", tc.testCase, tc.appliesTo, got)
    		}
    		if gotIndex != tc.index {
    			t.Errorf("case %q want index %d, got %d", tc.testCase, tc.index, gotIndex)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go

    }
    func (m *IntOrString) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    	for iNdEx < l {
    		preIndex := iNdEx
    		var wire uint64
    		for shift := uint(0); ; shift += 7 {
    			if shift >= 64 {
    				return ErrIntOverflowGenerated
    			}
    			if iNdEx >= l {
    				return io.ErrUnexpectedEOF
    			}
    			b := dAtA[iNdEx]
    			iNdEx++
    			wire |= uint64(b&0x7F) << shift
    			if b < 0x80 {
    				break
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/idna/trie12.0.0.go

    	index := int(c >> indexShift)
    	if c&xorBit == 0 {
    		s := mappings[index:]
    		return append(b, s[1:s[0]+1]...)
    	}
    	b = append(b, s...)
    	if c&inlineXOR == inlineXOR {
    		// TODO: support and handle two-byte inline masks
    		b[len(b)-1] ^= byte(index)
    	} else {
    		for p := len(b) - int(xorData[index]); p < len(b); p++ {
    			index++
    			b[p] ^= xorData[index]
    		}
    	}
    	return b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 852 bytes
    - Viewed (0)
  4. cmd/peer-s3-server.go

    	// Make a volume entry on all underlying storage disks.
    	for index := range localDrives {
    		index := index
    		g.Go(func() (serr error) {
    			if localDrives[index] == nil {
    				beforeState[index] = madmin.DriveStateOffline
    				afterState[index] = madmin.DriveStateOffline
    				return errDiskNotFound
    			}
    
    			beforeState[index] = madmin.DriveStateOk
    			afterState[index] = madmin.DriveStateOk
    
    			if bucket == minioReservedBucket {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. test/fixedbugs/issue15002.go

    		if r == nil {
    			panic("no fault or bounds check failure happened")
    		}
    		s := fmt.Sprintf("%s", r)
    		if s != "runtime error: index out of range [1] with length 1" {
    			panic("bad panic: " + s)
    		}
    	}()
    	// Try to read 2 bytes from x.
    	return uint16(x[0]) | uint16(x[1])<<8
    
    	// We expect to get an "index out of range" error from x[1].
    	// If we promote the first load to a 2-byte load, it will segfault, which we don't want.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. pkg/test/loadbalancersim/timer/queue.go

    }
    
    func (h timerHeap) Swap(i, j int) {
    	h[i], h[j] = h[j], h[i]
    	h[i].index = i
    	h[j].index = j
    }
    
    func (h *timerHeap) Push(x any) {
    	e := x.(*entry)
    	*h = append(*h, e)
    	e.index = len(*h) - 1
    }
    
    func (h *timerHeap) Pop() any {
    	n := h.Len()
    	e := (*h)[n-1]
    	*h = (*h)[:n-1]
    	e.index = -1
    	return e
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/net/interface_aix.go

    		if ifm.Msglen == 0 {
    			break
    		}
    		if ifm.Type == syscall.RTM_IFINFO {
    			if ifindex == 0 || ifindex == int(ifm.Index) {
    				sdl := (*rawSockaddrDatalink)(unsafe.Pointer(&tab[syscall.SizeofIfMsghdr]))
    
    				ifi := &Interface{Index: int(ifm.Index), Flags: linkFlags(ifm.Flags)}
    				ifi.Name = string(sdl.Data[:sdl.Nlen])
    				ifi.HardwareAddr = sdl.Data[sdl.Nlen : sdl.Nlen+sdl.Alen]
    
    				// Retrieve MTU
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 27 05:42:03 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  8. src/internal/pkgbits/reloc.go

    type RelocKind int32
    
    // An Index represents a bitstream element index within a particular
    // section.
    type Index int32
    
    // A relocEnt (relocation entry) is an entry in an element's local
    // reference table.
    //
    // TODO(mdempsky): Rename this too.
    type RelocEnt struct {
    	Kind RelocKind
    	Idx  Index
    }
    
    // Reserved indices within the meta relocation section.
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 10 22:22:48 UTC 2022
    - 835 bytes
    - Viewed (0)
  9. test/fixedbugs/issue54722b.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type value[V comparable] struct {
    	node  *node[value[V]]
    	value V
    }
    
    type node[V comparable] struct {
    	index    *index[V]
    	children map[string]*node[V]
    }
    
    type index[V comparable] struct {
    	arrays []array[V]
    }
    
    type array[V comparable] struct {
    	valueMap map[int]V
    }
    
    var x value[int]
    var y value[*Column]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:23:27 UTC 2022
    - 523 bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/envoyfilter/envoyfilter.go

    		}
    
    		if line, ok := util.ErrorLine(r, fmt.Sprintf(util.EnvoyFilterConfigPath, index)); ok {
    			message.Line = line
    		}
    		c.Report(gvk.EnvoyFilter, message)
    
    	}
    }
    
    func (*EnvoyPatchAnalyzer) analyzeEnvoyFilterPatch(r *resource.Instance, c analysis.Context, patchFilterNames []string) []string {
    	ef := r.Message.(*network.EnvoyFilter)
    	for index, patch := range ef.ConfigPatches {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top