Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MarshalToSizedBuffer (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_proto.go

    		return 0, nil
    	}
    	return m.ProtoMicroTime().MarshalTo(data)
    }
    
    // MarshalToSizedBuffer implements the protobuf marshalling interface.
    func (m *MicroTime) MarshalToSizedBuffer(data []byte) (int, error) {
    	if m == nil || m.Time.IsZero() {
    		return 0, nil
    	}
    	return m.ProtoMicroTime().MarshalToSizedBuffer(data)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 02 08:21:04 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go

    	size := m.Size()
    	dAtA = make([]byte, size)
    	n, err := m.MarshalToSizedBuffer(dAtA[:size])
    	if err != nil {
    		return nil, err
    	}
    	return dAtA[:n], nil
    }
    
    func (m *IntOrString) MarshalTo(dAtA []byte) (int, error) {
    	size := m.Size()
    	return m.MarshalToSizedBuffer(dAtA[:size])
    }
    
    func (m *IntOrString) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top