Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for marshalers (0.28 sec)

  1. cmd/storage-datatypes_gen.go

    func (z BaseOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 0
    	_ = z
    	err = en.Append(0x80)
    	if err != nil {
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BaseOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	// The reason to duplicate this structure here is to verify if the
    	// unmarshalling works from a client perspective, specifically
    	// while unmarshalling time.Time type for 'Initiated' field.
    	// time.Time does not honor xml marshaller, it means that we need
    	// to encode/format it before giving it to xml marshaling.
    
    	// This below check adds client side verification to see if its
    	// truly parsable.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/pkg.go

    	}
    	return "package " + strings.Join(p.ImportStack, "\n\timports ") + optpos + ": " + p.Err.Error()
    }
    
    func (p *PackageError) Unwrap() error { return p.Err }
    
    // PackageError implements MarshalJSON so that Err is marshaled as a string
    // and non-essential fields are omitted.
    func (p *PackageError) MarshalJSON() ([]byte, error) {
    	perr := struct {
    		ImportStack []string
    		Pos         string
    		Err         string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top