- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 87 for Decoders (0.16 sec)
-
src/encoding/binary/binary_test.go
t.Fatal(err) } for _, dec := range decoders { t.Run(dec.name, func(t *testing.T) { defer func() { if recover() == nil { t.Fatal("did not panic") } }() var u2 Unexported dec.fn(LittleEndian, &u2, buf.Bytes()) }) } } func TestReadErrorMsg(t *testing.T) { for _, dec := range decoders { t.Run(dec.name, func(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/package-info.java
* limitations under the License. */ /** * This subsystem implements serialization of configuration state. * <h2>Key abstractions</h2> * * <h3>Encoders and Decoders</h3> * <p> * Serialization of an object that is supported by the configuration cache is performed by an {@link org.gradle.internal.serialize.graph.EncodingProvider}.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 4.7K bytes - Viewed (0) -
src/encoding/gob/type.go
ut := userType(rt) return getType(name, ut, ut.base) } // getType returns the Gob type describing the given reflect.Type. // Should be called only when handling GobEncoders/Decoders, // which may be pointers. All other types are handled through the // base type, never a pointer. // typeLock must be held. func getType(name string, ut *userTypeInfo, rt reflect.Type) (gobType, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
} // Now test with a running encoder/decoder pair that we recognize a type mismatch. err = enc.Encode(et1) if err != nil { t.Error("round 3: encoder fail:", err) } newEt2 := new(ET2) err = dec.Decode(newEt2) if err == nil { t.Fatal("round 3: expected `bad type' error decoding ET2") } } // Run one value through the encoder/decoder, but use the wrong type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
const ( // This tested by using `mc lock` command maximumRetentionDays = 36500 maximumRetentionYears = 100 ) // UnmarshalXML - decodes XML data. func (dr *DefaultRetention) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { // Make subtype to avoid recursive UnmarshalXML(). type defaultRetention DefaultRetention retention := defaultRetention{}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 17.1K bytes - Viewed (0) -
internal/s3select/select.go
// writer is set later by Reset() before using it. return bufio.NewWriter(xioutil.Discard) }, } // UnmarshalXML - decodes XML data. func (c *CompressionType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { var s string if err := d.DecodeElement(&s, &start); err != nil { return errMalformedXML(err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 21K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go
DefaultMapType: reflect.TypeOf(map[string]interface{}(nil)), // A CBOR text string whose content is not a valid UTF-8 sequence is well-formed but // invalid according to the CBOR spec. Reject invalid inputs. Encoders are // responsible for ensuring that all text strings they produce contain valid UTF-8 // sequences and may use the byte string major type to encode strings that have not // been validated. UTF8: cbor.UTF8RejectInvalid,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 14:03:36 UTC 2024 - 3.9K bytes - Viewed (0) -
internal/bucket/replication/destination.go
return err } } return e.EncodeToken(xml.EndElement{Name: start.Name}) } // UnmarshalXML - decodes XML data. func (d *Destination) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) { // Make subtype to avoid recursive UnmarshalXML(). type destination Destination dest := destination{}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4K bytes - Viewed (0) -
src/encoding/binary/binary.go
func (d *decoder) int16() int16 { return int16(d.uint16()) } func (e *encoder) int16(x int16) { e.uint16(uint16(x)) } func (d *decoder) int32() int32 { return int32(d.uint32()) } func (e *encoder) int32(x int32) { e.uint32(uint32(x)) } func (d *decoder) int64() int64 { return int64(d.uint64()) } func (e *encoder) int64(x int64) { e.uint64(uint64(x)) } func (d *decoder) value(v reflect.Value) { switch v.Kind() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:29:31 UTC 2024 - 23.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java
HashCode classLoaderHash = hashCodeSerializer.read(decoder); String functionalInterfaceClass = decoder.readString(); String implClass = decoder.readString(); String implMethodName = decoder.readString(); String implMethodSignature = decoder.readString();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:33:49 UTC 2024 - 6K bytes - Viewed (0)