Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for varintAt (0.27 sec)

  1. src/runtime/tracebuf.go

    	return len(buf.arr)-buf.pos >= size
    }
    
    // varintAt writes varint v at byte position pos in buf. This always
    // consumes traceBytesPerNumber bytes. This is intended for when the caller
    // needs to reserve space for a varint but can't populate it until later.
    // Use varintReserve to reserve this space.
    func (buf *traceBuf) varintAt(pos int, v uint64) {
    	for i := 0; i < traceBytesPerNumber; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. src/encoding/binary/varint.go

    // format incompatible with a varint encoding for larger numbers (say 128-bit).
    
    import (
    	"errors"
    	"io"
    )
    
    // MaxVarintLenN is the maximum length of a varint-encoded N-bit integer.
    const (
    	MaxVarintLen16 = 3
    	MaxVarintLen32 = 5
    	MaxVarintLen64 = 10
    )
    
    // AppendUvarint appends the varint-encoded form of x,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. src/internal/trace/event/event.go

    	// HasData is true if the event has trailer consisting of a
    	// varint length followed by unencoded bytes of some data.
    	//
    	// An event may not be both a timed event and have data.
    	HasData bool
    
    	// IsStack indicates that the event represents a complete
    	// stack trace. Specifically, it means that after the arguments
    	// there's a varint length, followed by 4*length varints. Each
    	// group of 4 represents the PC, file ID, func ID, and line number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. src/runtime/tracetype.go

    	// lots of varint sizes.
    	//
    	// Add 1 because we might also write a traceAllocFreeTypesBatch byte.
    	var flushed bool
    	w, flushed = w.ensure(1 + maxBytes)
    	if flushed {
    		// Annotate the batch as containing types.
    		w.byte(byte(traceAllocFreeTypesBatch))
    	}
    
    	// Emit type.
    	w.varint(uint64(node.id))
    	w.varint(uint64(uintptr(unsafe.Pointer(typ))))
    	w.varint(uint64(typ.Size()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1/types.go

    	// replicas is the number of Pods created by the StatefulSet controller.
    	Replicas int32 `json:"replicas" protobuf:"varint,2,opt,name=replicas"`
    
    	// readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
    	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,3,opt,name=readyReplicas"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// replicas is the number of Pods created by the StatefulSet controller.
    	Replicas int32 `json:"replicas" protobuf:"varint,2,opt,name=replicas"`
    
    	// readyReplicas is the number of pods created by this StatefulSet controller with a Ready Condition.
    	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,3,opt,name=readyReplicas"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta1/types.go

    	// replicas is the number of Pods created by the StatefulSet controller.
    	Replicas int32 `json:"replicas" protobuf:"varint,2,opt,name=replicas"`
    
    	// readyReplicas is the number of pods created by this StatefulSet controller with a Ready Condition.
    	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,3,opt,name=readyReplicas"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/extensions/v1beta1/types.go

    	// +optional
    	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
    }
    
    // represents the current status of a scale subresource.
    type ScaleStatus struct {
    	// actual number of observed instances of the scaled object.
    	Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  9. src/runtime/traceallocfree.go

    	if flushed {
    		// Annotate the batch as containing additional info.
    		w.byte(byte(traceAllocFreeInfoBatch))
    	}
    
    	// Emit info.
    	w.varint(uint64(trace.minPageHeapAddr))
    	w.varint(uint64(pageSize))
    	w.varint(uint64(minHeapAlign))
    	w.varint(uint64(fixedStack))
    
    	// Finish writing the batch.
    	w.flush().end()
    
    	// Start tracing.
    	trace := traceAcquire()
    	if !trace.ok() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/types.go

    	// +optional
    	MaxFailedIndexes *int32 `json:"maxFailedIndexes,omitempty" protobuf:"varint,13,opt,name=maxFailedIndexes"`
    
    	// TODO enabled it when https://github.com/kubernetes/kubernetes/issues/28486 has been fixed
    	// Optional number of failed pods to retain.
    	// +optional
    	// FailedPodsLimit *int32 `json:"failedPodsLimit,omitempty" protobuf:"varint,9,opt,name=failedPodsLimit"`
    
    	// A label query over pods that should match the pod count.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
Back to top