Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for marshalers (0.15 sec)

  1. cmd/object-api-datatypes_gen.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/tinylib/msgp/msgp"
    )
    
    // MarshalMsg implements msgp.Marshaler
    func (z BackendType) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendInt(o, int(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2_gen.go

    func (z ChecksumAlgo) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z ChecksumAlgo) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  3. src/crypto/x509/x509.go

    //
    // The PolicyIdentifier and Policies fields are both used to marshal certificate
    // policy OIDs. By default, only the PolicyIdentifier is marshaled, but if the
    // GODEBUG setting "x509usepolicies" has the value "1", the Policies field will
    // be marshaled instead of the PolicyIdentifier field. The Policies field can
    // be used to marshal policy OIDs which have components that are larger than 31
    // bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  4. src/crypto/tls/conn.go

    		m = new(endOfEarlyDataMsg)
    	case typeKeyUpdate:
    		m = new(keyUpdateMsg)
    	default:
    		return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
    	}
    
    	// The handshake message unmarshalers
    	// expect to be able to keep references to data,
    	// so pass in a fresh copy that won't be overwritten.
    	data = append([]byte(nil), data...)
    
    	if !m.unmarshal(data) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. src/time/time.go

    }
    
    // GobDecode implements the gob.GobDecoder interface.
    func (t *Time) GobDecode(data []byte) error {
    	return t.UnmarshalBinary(data)
    }
    
    // MarshalJSON implements the [json.Marshaler] interface.
    // The time is a quoted string in the RFC 3339 format with sub-second precision.
    // If the timestamp cannot be represented as valid RFC 3339
    // (e.g., the year is out of range), then an error is reported.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2.go

    				bts, err = tmp.unmarshalV(1, bts)
    				if err != nil {
    					return msgp.WrapError(err, "Versions", za0001)
    				}
    				end := len(allMeta) - len(bts)
    				// We reference the marshaled data, so we don't have to re-marshal.
    				x.versions[za0001] = xlMetaV2ShallowVersion{
    					header: tmp.header(),
    					meta:   allMeta[start:end],
    				}
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. pilot/pkg/model/push_context.go

    		}
    		ps.ServiceIndex.instancesByPort[svcKey][port] = append(ps.ServiceIndex.instancesByPort[svcKey][port], inst...)
    	}
    }
    
    // StatusJSON implements json.Marshaller, with a lock.
    func (ps *PushContext) StatusJSON() ([]byte, error) {
    	if ps == nil {
    		return []byte{'{', '}'}, nil
    	}
    	ps.proxyStatusMutex.RLock()
    	defer ps.proxyStatusMutex.RUnlock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top