Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for appendTime (0.2 sec)

  1. cmd/storage-datatypes_gen.go

    	o = msgp.AppendString(o, z.TransitionTier)
    	o = msgp.AppendString(o, z.TransitionVersionID)
    	o = msgp.AppendBool(o, z.ExpireRestored)
    	o = msgp.AppendString(o, z.DataDir)
    	o = msgp.AppendBool(o, z.XLV1)
    	o = msgp.AppendTime(o, z.ModTime)
    	o = msgp.AppendInt64(o, z.Size)
    	o = msgp.AppendUint32(o, z.Mode)
    	o = msgp.AppendUint64(o, z.WrittenByVersion)
    	o = msgp.AppendMapHeader(o, uint32(len(z.Metadata)))
    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. src/net/http/server.go

    // generate the correct format.
    //
    // For parsing this time format, see [ParseTime].
    const TimeFormat = "Mon, 02 Jan 2006 15:04:05 GMT"
    
    // appendTime is a non-allocating version of []byte(t.UTC().Format(TimeFormat))
    func appendTime(b []byte, t time.Time) []byte {
    	const days = "SunMonTueWedThuFriSat"
    	const months = "JanFebMarAprMayJunJulAugSepOctNovDec"
    
    	t = t.UTC()
    	yy, mm, dd := t.Date()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top