Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,113 for bytes1 (0.15 sec)

  1. cmd/httprange_test.go

    		errExpected bool
    	}{
    		{"bytes=0-", false},
    		{"bytes=1-", false},
    
    		{"bytes=0-9", false},
    		{"bytes=1-10", false},
    		{"bytes=1-1", false},
    		{"bytes=2-5", false},
    
    		{"bytes=-5", false},
    		{"bytes=-1", false},
    		{"bytes=-1000", false},
    		{"bytes=", true},
    		{"bytes= ", true},
    		{"byte=", true},
    		{"bytes=A-B", true},
    		{"bytes=1-B", true},
    		{"bytes=B-1", true},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue7921.go

    	var b bytes.Buffer
    	b.Grow(64) // ERROR "bufferNoEscape4 ignoring self-assignment in bytes.b.buf = bytes.b.buf\[:bytes.m\]$" "inlining call to bytes.\(\*Buffer\).Grow$" `".+" escapes to heap`
    	useBuffer(&b)
    	return b.Bytes() // ERROR "inlining call to bytes.\(\*Buffer\).Bytes$"
    }
    
    func bufferNoEscape5() { // ERROR "can inline bufferNoEscape5$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

                    new byte[] {(byte) 2, (byte) 3, (byte) 4}))
            .isEqualTo(2);
        assertThat(
                Bytes.indexOf(
                    new byte[] {(byte) 2, (byte) 2, (byte) 3, (byte) 4, (byte) 2, (byte) 3, (byte) 4},
                    new byte[] {(byte) 2, (byte) 3, (byte) 4}))
            .isEqualTo(1);
        assertThat(
                Bytes.indexOf(
                    new byte[] {(byte) 4, (byte) 3, (byte) 2},
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    	tg.run("list", "-test", "-deps", "bytes")
    	tg.grepStdout(`^bytes.test$`, "missing test main")
    	tg.grepStdout(`^bytes$`, "missing real bytes")
    	tg.grepStdout(`^bytes \[bytes.test\]$`, "missing test copy of bytes")
    	tg.grepStdout(`^testing \[bytes.test\]$`, "missing test copy of testing")
    	tg.grepStdoutNot(`^testing$`, "unexpected real copy of testing")
    
    	tg.run("list", "-test", "bytes")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemoryAmount.java

        public static MemoryAmount of(long bytes) {
            return new MemoryAmount(bytes, String.valueOf(bytes));
        }
    
        public static MemoryAmount ofKiloBytes(long kiloBytes) {
            long bytes = kiloBytes * KILO_FACTOR;
            return new MemoryAmount(bytes, bytes + "k");
        }
    
        public static MemoryAmount ofMegaBytes(long megaBytes) {
            long bytes = megaBytes * MEGA_FACTOR;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/input.go

    		for ; p < len(in.bytes) && !utf8.RuneStart(in.bytes[p]); p++ {
    		}
    	}
    	return p
    }
    
    func (in *input) appendSlice(buf []byte, b, e int) []byte {
    	if in.bytes != nil {
    		return append(buf, in.bytes[b:e]...)
    	}
    	for i := b; i < e; i++ {
    		buf = append(buf, in.str[i])
    	}
    	return buf
    }
    
    func (in *input) copySlice(buf []byte, b, e int) int {
    	if in.bytes == nil {
    		return copy(buf, in.str[b:e])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

      }
    
      @Test fun `five byte integer`() {
        val bytes = "02058000000001".decodeHex()
        assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(-549755813887L)
        assertThat(Adapters.INTEGER_AS_LONG.toDer(-549755813887L)).isEqualTo(bytes)
      }
    
      @Test fun `eight zeros`() {
        val bytes = "020200ff".decodeHex()
        assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(255)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MemoryAmountTest.groovy

    class MemoryAmountTest extends Specification {
    
        def "bytes #bytes"() {
            given:
            def amount = MemoryAmount.of(bytes)
    
            expect:
            amount.bytes == bytes
            amount.toString() == bytes.toString()
    
            where:
            bytes << [1L, Long.MAX_VALUE]
        }
    
        def "invalid bytes #bytes"() {
            when:
            MemoryAmount.of(bytes)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/encoding/xml/read_test.go

    	}
    
    	// Test with a pre-populated dst.
    	// Multiple addressable copies, as pointer-to fields will replace value during unmarshal.
    	vBytes0, vInt0, vStr0, vFloat0, vBool0 := []byte("x"), 1, "x", float32(1), true
    	vBytes1, vInt1, vStr1, vFloat1, vBool1 := []byte("x"), 1, "x", float32(1), true
    	vInt2, vStr2, vFloat2, vBool2 := 1, "x", float32(1), true
    	v = &Parent{
    		I:            vInt0,
    		IPtr:         &vInt1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  10. pkg/ctrlz/topics/assets/templates/mem.html

            <td id="HeapInuse">{{.HeapInuse}} bytes</td>
            <td>Bytes in in-use spans.</td>
        </tr>
    
        <tr>
            <td>Total Alloc</td>
            <td id="TotalAlloc">{{.TotalAlloc}} bytes</td>
            <td>Cumulative bytes allocated for heap objects.</td>
        </tr>
    
        <tr>
            <td>Sys</td>
            <td id="Sys">{{.Sys}} bytes</td>
            <td>Total bytes of memory obtained from the OS.</td>
        </tr>
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top