Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 843 for bytes1 (0.2 sec)

  1. src/cmd/compile/internal/syntax/parser_test.go

    	var buf1 bytes.Buffer
    	_, err := Fprint(&buf1, ast1, LineForm)
    	if err != nil {
    		panic(err)
    	}
    	bytes1 := buf1.Bytes()
    
    	ast2, err := Parse(NewFileBase(filename), &buf1, nil, nil, 0)
    	if err != nil {
    		panic(err)
    	}
    
    	var buf2 bytes.Buffer
    	_, err = Fprint(&buf2, ast2, LineForm)
    	if err != nil {
    		panic(err)
    	}
    	bytes2 := buf2.Bytes()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/Bytes.java

    // javadoc?
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Bytes {
      private Bytes() {}
    
      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Byte)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Byte#hashCode(byte)} instead.
       *
       * @param value a primitive {@code byte} value
       * @return a hash code for the value
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Bytes.java

    // javadoc?
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Bytes {
      private Bytes() {}
    
      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Byte)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Byte#hashCode(byte)} instead.
       *
       * @param value a primitive {@code byte} value
       * @return a hash code for the value
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy

        byte[] encode(Closure<Encoder> closure) {
            def bytes = new ByteArrayOutputStream()
            encodeTo(bytes, closure)
            return bytes.toByteArray()
        }
    
        byte[] truncate(Closure<Encoder> closure) {
            def bytes = new ByteArrayOutputStream()
            encodeTo(bytes, closure)
            def result = bytes.toByteArray()
            if (result.length < 2) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. src/crypto/ecdsa/ecdsa.go

    		addASN1IntBytes(b, r)
    		addASN1IntBytes(b, s)
    	})
    	return b.Bytes()
    }
    
    // addASN1IntBytes encodes in ASN.1 a positive integer represented as
    // a big-endian byte slice with zero or more leading zeroes.
    func addASN1IntBytes(b *cryptobyte.Builder, bytes []byte) {
    	for len(bytes) > 0 && bytes[0] == 0 {
    		bytes = bytes[1:]
    	}
    	if len(bytes) == 0 {
    		b.SetError(errors.New("invalid integer"))
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/crypto/internal/nistec/generate.go

    // BytesX returns the encoding of the x-coordinate of p, as specified in SEC 1,
    // Version 2.0, Section 2.3.5, or an error if p is the point at infinity.
    func (p *{{.P}}Point) BytesX() ([]byte, error) {
    	// This function is outlined to make the allocations inline in the caller
    	// rather than happen on the heap.
    	var out [{{.p}}ElementLength]byte
    	return p.bytesX(&out)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. src/crypto/internal/nistec/p256.go

    // BytesX returns the encoding of the x-coordinate of p, as specified in SEC 1,
    // 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) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go

    	_               uint64    // 0xc0
    	St_res05        [16]uint8 // 0xc8
    	// end of version 2
    }
    
    type BpxFilestatus struct {
    	Oflag1 byte
    	Oflag2 byte
    	Oflag3 byte
    	Oflag4 byte
    }
    
    type BpxMode struct {
    	Ftype byte
    	Mode1 byte
    	Mode2 byte
    	Mode3 byte
    }
    
    // Thr attribute structure for extended attributes
    type Bpxyatt_t struct { // DSECT BPXYATT
    	Att_id           [4]uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  10. 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)
Back to top