Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,758 for bytesB (0.35 sec)

  1. src/crypto/internal/nistec/p256_asm.go

    // Version 2.0, Section 2.3.5, or an error if p is the point at infinity.
    func (p *P256Point) BytesX() ([]byte, error) {
    	// This function is outlined to make the allocations inline in the caller
    	// rather than happen on the heap.
    	var out [p256ElementLength]byte
    	return p.bytesX(&out)
    }
    
    func (p *P256Point) bytesX(out *[p256ElementLength]byte) ([]byte, error) {
    	if p.isInfinity() == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	{V(uintptr(0x110004)), V(MyString("\uFFFD"))},
    
    	// named []byte
    	{V(string("bytes1")), V(MyBytes("bytes1"))},
    	{V(MyBytes("bytes2")), V(string("bytes2"))},
    	{V(MyBytes("bytes3")), V(MyBytes("bytes3"))},
    	{V(MyString("bytes1")), V(MyBytes("bytes1"))},
    	{V(MyBytes("bytes2")), V(MyString("bytes2"))},
    
    	// named []rune
    	{V(string("runes♝")), V(MyRunes("runes♝"))},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy

            def file = tmpDir.file("thing.zip")
    
            when:
            builder.jar(file) {
                it.put("a.class", "bytes".bytes)
                it.put("dir/b.class", "bytes".bytes)
                it.put("dir/c.class", "bytes".bytes)
                it.put("dir/sub/d.class", "bytes".bytes)
            }
    
            then:
            def zip = new ZipTestFixture(file)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/unicode/norm/composition.go

    func (rb *reorderBuffer) runeAt(n int) rune {
    	inf := rb.rune[n]
    	r, _ := utf8.DecodeRune(rb.byte[inf.pos : inf.pos+inf.size])
    	return r
    }
    
    // bytesAt returns the UTF-8 encoding of the rune at position n.
    // It is used for Hangul and recomposition.
    func (rb *reorderBuffer) bytesAt(n int) []byte {
    	inf := rb.rune[n]
    	return rb.byte[inf.pos : int(inf.pos)+int(inf.size)]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. internal/grid/types.go

    }
    
    // Bytes provides a byte slice that can be serialized.
    type Bytes []byte
    
    // UnmarshalMsg deserializes b from the provided byte slice and returns the
    // remainder of bytes.
    func (b *Bytes) UnmarshalMsg(bytes []byte) ([]byte, error) {
    	if b == nil {
    		return bytes, errors.New("Bytes: UnmarshalMsg on nil pointer")
    	}
    	if bytes, err := msgp.ReadNilBytes(bytes); err == nil {
    		if *b != nil {
    			PutByteBuffer(*b)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 01 23:42:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

      proto.SerializeToString(&bytes1);
    
      const int64_t pts2[] = {1, 3, 5, 7};
      tensorflow::PartialTensorShape(pts2).AsProto(&proto);
      proto.SerializeToString(&bytes2);
    
      std::unique_ptr<const void*[]> list_ptrs;
      std::unique_ptr<size_t[]> list_lens;
      const std::vector<string> list = {bytes1, bytes2};
      StringVectorToArrays(list, &list_ptrs, &list_lens);
    
      auto desc = init("list(shape)");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
Back to top