Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for AppendUint (1.61 sec)

  1. cmd/xl-storage-format-v1_gen.go

    	// map header, size 3
    	// string "PartNumber"
    	o = append(o, 0x83, 0xaa, 0x50, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72)
    	o = msgp.AppendInt(o, z.PartNumber)
    	// string "Algorithm"
    	o = append(o, 0xa9, 0x41, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d)
    	o = msgp.AppendUint(o, uint(z.Algorithm))
    	// string "Hash"
    	o = append(o, 0xa4, 0x48, 0x61, 0x73, 0x68)
    	o = msgp.AppendBytes(o, z.Hash)
    	return
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	// We will fill out the correct size when we know it.
    	dst = append(dst, 0xc6, 0, 0, 0, 0)
    	dataOffset := len(dst)
    
    	dst = msgp.AppendUint(dst, xlHeaderVersion)
    	dst = msgp.AppendUint(dst, xlMetaVersion)
    	dst = msgp.AppendInt(dst, len(x.versions))
    
    	tmp := metaDataPoolGet()
    	defer metaDataPoolPut(tmp)
    	for _, ver := range x.versions {
    		var err error
    
    		// Add header
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  3. cmd/local-locker_gen.go

    	o = msgp.AppendInt(o, z.Total)
    	// string "Writes"
    	o = append(o, 0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x73)
    	o = msgp.AppendInt(o, z.Writes)
    	// string "Reads"
    	o = append(o, 0xa5, 0x52, 0x65, 0x61, 0x64, 0x73)
    	o = msgp.AppendInt(o, z.Reads)
    	// string "LockQueue"
    	o = append(o, 0xa9, 0x4c, 0x6f, 0x63, 0x6b, 0x51, 0x75, 0x65, 0x75, 0x65)
    	o = msgp.AppendInt(o, z.LockQueue)
    	// string "LocksAbandoned"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes_gen.go

    	o = msgp.AppendInt(o, z.PartNumberMarker)
    	// string "NextPartNumberMarker"
    	o = append(o, 0xb4, 0x4e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x72)
    	o = msgp.AppendInt(o, z.NextPartNumberMarker)
    	// string "MaxParts"
    	o = append(o, 0xa8, 0x4d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x74, 0x73)
    	o = msgp.AppendInt(o, z.MaxParts)
    	// string "IsTruncated"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 71.9K bytes
    - Viewed (0)
  5. src/bufio/example_test.go

    	// Output: Hello, world!
    }
    
    func ExampleWriter_AvailableBuffer() {
    	w := bufio.NewWriter(os.Stdout)
    	for _, i := range []int64{1, 2, 3, 4} {
    		b := w.AvailableBuffer()
    		b = strconv.AppendInt(b, i, 10)
    		b = append(b, ' ')
    		w.Write(b)
    	}
    	w.Flush()
    	// Output: 1 2 3 4
    }
    
    // ExampleWriter_ReadFrom demonstrates how to use the ReadFrom method of Writer.
    func ExampleWriter_ReadFrom() {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/bucket-replication-utils_gen.go

    		// string "o"
    		o = append(o, 0xa1, 0x6f)
    		o = msgp.AppendString(o, za0002.Object)
    		// string "rc"
    		o = append(o, 0xa2, 0x72, 0x63)
    		o = msgp.AppendInt(o, za0002.RetryCount)
    	}
    	// string "v"
    	o = append(o, 0xa1, 0x76)
    	o = msgp.AppendInt(o, z.Version)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *MRFReplicateEntries) UnmarshalMsg(bts []byte) (o []byte, err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 03 06:45:06 UTC 2025
    - 59.8K bytes
    - Viewed (0)
  7. src/bytes/buffer_test.go

    	}
    }
    
    func TestWriteAppend(t *testing.T) {
    	var got Buffer
    	var want []byte
    	for i := 0; i < 1000; i++ {
    		b := got.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		want = strconv.AppendInt(want, int64(i), 10)
    		got.Write(b)
    	}
    	if !Equal(got.Bytes(), want) {
    		t.Fatalf("Bytes() = %q, want %q", &got, want)
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/archive/tar/writer.go

    			// Format the sparse map.
    			hdr.Size = 0 // Replace with encoded size
    			spb = append(strconv.AppendInt(spb, int64(len(spd)), 10), '\n')
    			for _, s := range spd {
    				hdr.Size += s.Length
    				spb = append(strconv.AppendInt(spb, s.Offset, 10), '\n')
    				spb = append(strconv.AppendInt(spb, s.Length, 10), '\n')
    			}
    			pad := blockPadding(int64(len(spb)))
    			spb = append(spb, zeroBlock[:pad]...)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_gen.go

    		o = msgp.AppendUint8(o, uint8(z.ErasureAlgorithm))
    		// string "EcM"
    		o = append(o, 0xa3, 0x45, 0x63, 0x4d)
    		o = msgp.AppendInt(o, z.ErasureM)
    		// string "EcN"
    		o = append(o, 0xa3, 0x45, 0x63, 0x4e)
    		o = msgp.AppendInt(o, z.ErasureN)
    		// string "EcBSize"
    		o = append(o, 0xa7, 0x45, 0x63, 0x42, 0x53, 0x69, 0x7a, 0x65)
    		o = msgp.AppendInt64(o, z.ErasureBlockSize)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 56K bytes
    - Viewed (0)
  10. cmd/data-usage-cache_gen.go

    		// string "ts"
    		o = append(o, 0x83, 0xa2, 0x74, 0x73)
    		o = msgp.AppendUint64(o, za0002.TotalSize)
    		// string "nv"
    		o = append(o, 0xa2, 0x6e, 0x76)
    		o = msgp.AppendInt(o, za0002.NumVersions)
    		// string "no"
    		o = append(o, 0xa2, 0x6e, 0x6f)
    		o = msgp.AppendInt(o, za0002.NumObjects)
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *allTierStats) UnmarshalMsg(bts []byte) (o []byte, err error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 86.4K bytes
    - Viewed (0)
Back to top