- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,812 for encoding1 (0.27 sec)
-
src/crypto/internal/nistec/fiat/p224.go
// SetBytes sets e = v, where v is a big-endian 28-byte encoding, and returns e. // If v is not 28 bytes or it encodes a value higher than 2^224 - 2^96 + 1, // SetBytes returns nil and an error, and e is unchanged. func (e *P224Element) SetBytes(v []byte) (*P224Element, error) { if len(v) != p224ElementLen { return nil, errors.New("invalid P224Element 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) -
src/crypto/internal/nistec/fiat/p256.go
// the encoding of -1 mod p, so p - 1, the highest canonical encoding. var minusOneEncoding = new(P256Element).Sub( new(P256Element), new(P256Element).One()).Bytes() for i := range v { if v[i] < minusOneEncoding[i] { break } if v[i] > minusOneEncoding[i] { return nil, errors.New("invalid P256Element encoding") } } var in [p256ElementLen]byte copy(in[:], v) p256InvertEndianness(in[:])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 3.6K bytes - Viewed (0) -
src/crypto/ecdh/ecdh.go
// // For NIST curves, this decodes an uncompressed point according to SEC 1, // Version 2.0, Section 2.3.4. Compressed encodings and the point at // infinity are rejected. // // For X25519, this only checks the u-coordinate length. Adversarially // selected public keys can cause ECDH to return an error. NewPublicKey(key []byte) (*PublicKey, error) // ecdh performs an ECDH exchange and returns the shared secret. It's exposed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 6.4K bytes - Viewed (0) -
src/internal/pkgbits/encoder.go
// and then returns the bool value. // // For simple, 2-alternative encodings, the idiomatic way to call Bool // is something like: // // if w.Bool(x != 0) { // // alternative #1 // } else { // // alternative #2 // } // // For multi-alternative encodings, use Code instead. func (w *Encoder) Bool(b bool) bool { w.Sync(SyncBool) var x byte if b { x = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 10 23:26:58 UTC 2022 - 9.6K bytes - Viewed (0) -
src/net/http/transfer.go
return ok } // parseTransferEncoding sets t.Chunked based on the Transfer-Encoding header. func (t *transferReader) parseTransferEncoding() error { raw, present := t.Header["Transfer-Encoding"] if !present { return nil } delete(t.Header, "Transfer-Encoding") // Issue 12785; ignore Transfer-Encoding on HTTP/1.0 requests. if !t.protoAtLeast(1, 1) { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 22:14:00 UTC 2024 - 31.1K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/work/NormalizeLineEndings.java
* when snapshotting inputs. Two files with the same contents but different line endings * will be considered equivalent. * * Line ending normalization is only supported with ASCII encoding and its supersets (i.e. * UTF-8, ISO-8859-1, etc). Other encodings (e.g. UTF-16) will be treated as binary files * and will not be subject to line ending normalization. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 13 17:35:59 UTC 2022 - 2K bytes - Viewed (0) -
src/crypto/internal/edwards25519/edwards25519.go
return out } var feOne = new(field.Element).One() // SetBytes sets v = x, where x is a 32-byte encoding of v. If x does not // represent a valid point on the curve, SetBytes returns nil and an error and // the receiver is unchanged. Otherwise, SetBytes returns v. // // Note that SetBytes accepts all non-canonical encodings of valid points. // That is, it follows decoding rules that match most implementations in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 13 19:21:54 UTC 2023 - 10.3K bytes - Viewed (0) -
src/go/build/deps_test.go
io, reflect < internal/saferio; # encodings # core ones do not use fmt. io, strconv, slices < encoding; encoding, reflect < encoding/binary < encoding/base32, encoding/base64; FMT, encoding < flag; fmt !< encoding/base32, encoding/base64; FMT, encoding/base32, encoding/base64, internal/saferio < encoding/ascii85, encoding/csv, encoding/gob, encoding/hex,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0) -
src/crypto/x509/oid.go
o &= 0x7f if i != 0 { o |= 0x80 } dst = append(dst, o) } return dst } // MarshalText implements [encoding.TextMarshaler] func (o OID) MarshalText() ([]byte, error) { return []byte(o.String()), nil } // UnmarshalText implements [encoding.TextUnmarshaler] func (o *OID) UnmarshalText(text []byte) error { return o.unmarshalOIDText(string(text)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 19:10:38 UTC 2024 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 15.7K bytes - Viewed (0)