Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 46 of 46 for appendString (0.29 sec)

  1. pkg/log/config_test.go

    type testDateEncoder struct {
    	zapcore.PrimitiveArrayEncoder
    	output string
    }
    
    func (tde *testDateEncoder) AppendString(s string) {
    	tde.output = s
    }
    
    func TestTimestampProperYear(t *testing.T) {
    	testEnc := &testDateEncoder{}
    	cases := []struct {
    		name  string
    		input time.Time
    		want  string
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/bucket-stats_gen.go

    	// map header, size 11
    	// string "Stats"
    	o = append(o, 0x8b, 0xa5, 0x53, 0x74, 0x61, 0x74, 0x73)
    	o = msgp.AppendMapHeader(o, uint32(len(z.Stats)))
    	for za0001, za0002 := range z.Stats {
    		o = msgp.AppendString(o, za0001)
    		if za0002 == nil {
    			o = msgp.AppendNil(o)
    		} else {
    			o, err = za0002.MarshalMsg(o)
    			if err != nil {
    				err = msgp.WrapError(err, "Stats", za0001)
    				return
    			}
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  3. cmd/data-usage-cache_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 1
    	// string "ts"
    	o = append(o, 0x81, 0xa2, 0x74, 0x73)
    	o = msgp.AppendMapHeader(o, uint32(len(z.Tiers)))
    	for za0001, za0002 := range z.Tiers {
    		o = msgp.AppendString(o, za0001)
    		// map header, size 3
    		// string "ts"
    		o = append(o, 0x83, 0xa2, 0x74, 0x73)
    		o = msgp.AppendUint64(o, za0002.TotalSize)
    		// string "nv"
    		o = append(o, 0xa2, 0x6e, 0x76)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 100.8K bytes
    - Viewed (0)
  4. cmd/bucket-metadata_gen.go

    func (z *BucketMetadata) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 22
    	// string "Name"
    	o = append(o, 0xde, 0x0, 0x16, 0xa4, 0x4e, 0x61, 0x6d, 0x65)
    	o = msgp.AppendString(o, z.Name)
    	// string "Created"
    	o = append(o, 0xa7, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64)
    	o = msgp.AppendTime(o, z.Created)
    	// string "LockEnabled"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 25 05:52:39 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data.go

    	data[len(prefix)+1] = 0
    	if ctxt.Arch.ByteOrder == binary.BigEndian {
    		data[len(prefix)+1] = 1
    	}
    	data[len(prefix)+1] |= 2 // signals new pointer-free format
    	data = appendString(data, strdata["runtime.buildVersion"])
    	data = appendString(data, strdata["runtime.modinfo"])
    	// MacOS linker gets very upset if the size os not a multiple of alignment.
    	for len(data)%16 != 0 {
    		data = append(data, 0)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  6. cmd/data-usage-cache.go

    func (z dataUsageHashMap) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendArrayHeader(o, uint32(len(z)))
    	for zb0004 := range z {
    		o = msgp.AppendString(o, zb0004)
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *dataUsageHashMap) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0002 uint32
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:49:50 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top