Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,812 for encoding1 (0.2 sec)

  1. src/cmd/internal/obj/riscv/obj.go

    	uEncoding = encoding{encode: encodeU, validate: validateU, length: 4}
    	jEncoding = encoding{encode: encodeJ, validate: validateJ, length: 4}
    
    	// rawEncoding encodes a raw instruction byte sequence.
    	rawEncoding = encoding{encode: encodeRawIns, validate: validateRaw, length: 4}
    
    	// pseudoOpEncoding panics if encoding is attempted, but does no validation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. src/mime/encodedword_test.go

    		src, exp string
    	}{
    		{QEncoding, utf8, "François-Jérôme", "=?utf-8?q?Fran=C3=A7ois-J=C3=A9r=C3=B4me?="},
    		{BEncoding, utf8, "Café", "=?utf-8?b?Q2Fmw6k=?="},
    		{QEncoding, iso88591, "La Seleção", "=?iso-8859-1?q?La_Sele=C3=A7=C3=A3o?="},
    		{QEncoding, utf8, "", ""},
    		{QEncoding, utf8, "A", "A"},
    		{QEncoding, iso88591, "a", "a"},
    		{QEncoding, utf8, "123 456", "123 456"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 18:41:18 UTC 2020
    - 7K bytes
    - Viewed (0)
  3. src/encoding/base32/base32.go

    // license that can be found in the LICENSE file.
    
    // Package base32 implements base32 encoding as specified by RFC 4648.
    package base32
    
    import (
    	"io"
    	"slices"
    	"strconv"
    )
    
    /*
     * Encodings
     */
    
    // An Encoding is a radix 32 encoding/decoding scheme, defined by a
    // 32-character alphabet. The most common is the "base32" encoding
    // introduced for SASL GSSAPI and standardized in RFC 4648.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. src/crypto/internal/edwards25519/edwards25519_test.go

    	} else if out != nil {
    		t.Error("SetBytes did not return nil on an invalid encoding")
    	} else if p.Equal(B) != 1 {
    		t.Error("the Point was modified while decoding an invalid encoding")
    	}
    	checkOnCurve(t, p)
    }
    
    func TestNonCanonicalPoints(t *testing.T) {
    	type test struct {
    		name                string
    		encoding, canonical string
    	}
    	tests := []test{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:45:00 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  5. src/encoding/base64/base64.go

    // Package base64 implements base64 encoding as specified by RFC 4648.
    package base64
    
    import (
    	"encoding/binary"
    	"io"
    	"slices"
    	"strconv"
    )
    
    /*
     * Encodings
     */
    
    // An Encoding is a radix 64 encoding/decoding scheme, defined by a
    // 64-character alphabet. The most common encoding is the "base64"
    // encoding defined in RFC 4648 and used in MIME (RFC 2045) and PEM
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  6. src/net/http/transfer_test.go

    		},
    		{
    			hdr:     Header{"Transfer-Encoding": {"chunked, identity"}},
    			wantErr: &unsupportedTEError{`unsupported transfer encoding: "chunked, identity"`},
    		},
    		{
    			hdr:     Header{"Transfer-Encoding": {"chunked", "identity"}},
    			wantErr: &unsupportedTEError{`too many transfer encodings: ["chunked" "identity"]`},
    		},
    		{
    			hdr:     Header{"Transfer-Encoding": {"\x0bchunked"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:16:28 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. src/crypto/ed25519/ed25519vectors_test.go

    package ed25519_test
    
    import (
    	"crypto/ed25519"
    	"encoding/hex"
    	"encoding/json"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"testing"
    )
    
    // TestEd25519Vectors runs a very large set of test vectors that exercise all
    // combinations of low-order points, low-order components, and non-canonical
    // encodings. These vectors lock in unspecified and spec-divergent behaviors in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 14:52:51 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode.go

    		// defined in RFC 8949 4.2.1 "Core Deterministic Encoding Requirements".
    		Sort: cbor.SortBytewiseLexical,
    
    		// CBOR supports distinct types for IEEE-754 float16, float32, and float64. Store
    		// floats in the smallest width that preserves value so that equivalent float32 and
    		// float64 values encode to identical bytes, as they do in a JSON
    		// encoding. Satisfies one of the "Core Deterministic Encoding Requirements".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 15:31:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/fiat/p384.go

    // If v is not 48 bytes or it encodes a value higher than 2^384 - 2^128 - 2^96 + 2^32 - 1,
    // SetBytes returns nil and an error, and e is unchanged.
    func (e *P384Element) SetBytes(v []byte) (*P384Element, error) {
    	if len(v) != p384ElementLen {
    		return nil, errors.New("invalid P384Element encoding")
    	}
    
    	// Check for non-canonical encodings (p + k, 2p + k, etc.) by comparing to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/fiat/p521.go

    // SetBytes sets e = v, where v is a big-endian 66-byte encoding, and returns e.
    // If v is not 66 bytes or it encodes a value higher than 2^521 - 1,
    // SetBytes returns nil and an error, and e is unchanged.
    func (e *P521Element) SetBytes(v []byte) (*P521Element, error) {
    	if len(v) != p521ElementLen {
    		return nil, errors.New("invalid P521Element encoding")
    	}
    
    	// Check for non-canonical encodings (p + k, 2p + k, etc.) by comparing to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top