Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for appendInt (0.13 sec)

  1. src/time/format.go

    	buf = append(buf, ", "...)
    	buf = appendInt(buf, hour, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, minute, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, second, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, t.Nanosecond(), 0)
    	buf = append(buf, ", "...)
    	switch loc := t.Location(); loc {
    	case UTC, nil:
    		buf = append(buf, "time.UTC"...)
    	case Local:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  2. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  3. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  4. 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)
    	// string "EcIndex"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    		if rn.Intn(8) == 0 && cap(b) > 0 {
    			b = b[1:1:cap(b)]
    		}
    
    		// Append a random integer of varying width.
    		n := int64(rn.Intn(1 << rn.Intn(30)))
    		want = append(strconv.AppendInt(want, n, 10), ' ')
    		b = append(strconv.AppendInt(b, n, 10), ' ')
    		w.Write(b)
    	}
    	w.Flush()
    
    	if !bytes.Equal(got.Bytes(), want) {
    		t.Errorf("output mismatch:\ngot  %s\nwant %s", got.Bytes(), want)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  6. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformInputArtifactIntegrationTest.groovy

            then:
            output.contains("Appending implementation to build cache key: MakeGreen")
            output.contains("Appending input value fingerprint for 'inputPropertiesHash' to build cache key:")
            output.contains("Appending input file fingerprints for 'inputArtifact' to build cache key:")
            output.contains("Appending input file fingerprints for 'inputArtifactDependencies' to build cache key:")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 27 19:15:32 UTC 2023
    - 51.9K bytes
    - Viewed (0)
  8. src/regexp/syntax/parse.go

    		return 0
    	})
    	return ok
    }
    
    // appendLiteral returns the result of appending the literal x to the class r.
    func appendLiteral(r []rune, x rune, flags Flags) []rune {
    	if flags&FoldCase != 0 {
    		return appendFoldedRange(r, x, x)
    	}
    	return appendRange(r, x, x)
    }
    
    // appendRange returns the result of appending the range lo-hi to the class r.
    func appendRange(r []rune, lo, hi rune) []rune {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  9. src/bytes/bytes_test.go

    	{"\xff-\xff", "-", -1, []string{"\xff", "\xff"}},
    }
    
    func TestSplit(t *testing.T) {
    	for _, tt := range splittests {
    		a := SplitN([]byte(tt.s), []byte(tt.sep), tt.n)
    
    		// Appending to the results should not change future results.
    		var x []byte
    		for _, v := range a {
    			x = append(v, 'z')
    		}
    
    		result := sliceOfString(a)
    		if !eq(result, tt.a) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  10. src/fmt/fmt_test.go

    	}
    }
    
    func TestAppendln(t *testing.T) {
    	b := make([]byte, 100)
    	b = b[:copy(b, hello)]
    	got := Appendln(b, "world,", 23)
    	if string(got) != appendResult+"\n" {
    		t.Fatalf("Appendln returns %q not %q", got, appendResult+"\n")
    	}
    	if &b[0] != &got[0] {
    		t.Fatalf("Appendln allocated a new slice")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
Back to top