- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 536 for encodeArg (0.15 sec)
-
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HashCodeSerializer.java
decoder.readBytes(hash); return HashCode.fromBytes(hash); } @Override public void write(Encoder encoder, HashCode value) throws IOException { byte[] hash = value.toByteArray(); encoder.writeByte((byte) hash.length); encoder.writeBytes(hash); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 12:33:49 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/compilerapi/CompilerApiData.java
return CompilerApiData.withConstantsMapping(sourceToClassMapping, new ConstantToDependentsMapping(constantDependents)); } @Override public void write(Encoder encoder, CompilerApiData value) throws Exception { encoder.writeBoolean(value.isAvailable()); if (value.isAvailable()) { HierarchicalNameSerializer nameSerializer = classNameSerializerSupplier.get();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Feb 24 12:57:52 UTC 2024 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/helper.go
} return obj, gvk, err } type encoderWithAllocator struct { encoder EncoderWithAllocator memAllocator MemoryAllocator } // NewEncoderWithAllocator returns a new encoder func NewEncoderWithAllocator(e EncoderWithAllocator, a MemoryAllocator) Encoder { return &encoderWithAllocator{ encoder: e, memAllocator: a, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 13 22:54:34 UTC 2023 - 8.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleMetadataSerializer.java
encoder.writeBoolean(metadata.isMissing()); encoder.writeBoolean(metadata.isChanging()); encoder.writeBoolean(metadata.isExternalVariant()); encoder.writeString(metadata.getStatus()); writeStringList(metadata.getStatusScheme()); moduleSourcesSerializer.write(encoder, metadata.getSources()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 37.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/CachingFileHasher.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 5.3K bytes - Viewed (0) -
cmd/yamlfmt/yamlfmt.go
if err != nil { return nil, err } return &rootNode, nil } func streamYaml(writer io.Writer, indent *int, in *yaml.Node) error { encoder := yaml.NewEncoder(writer) encoder.SetIndent(*indent) err := encoder.Encode(in) if err != nil { return err } return encoder.Close()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 17 06:23:22 UTC 2023 - 1.7K bytes - Viewed (0) -
test/typeparam/issue50841.dir/a.go
// license that can be found in the LICENSE file. package a func Marshal[foobar any]() { _ = NewEncoder[foobar]() } func NewEncoder[foobar any]() *Encoder[foobar] { return nil } type Encoder[foobar any] struct { } func (e *Encoder[foobar]) EncodeToken(t Token[foobar]) { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 27 05:30:27 UTC 2022 - 418 bytes - Viewed (0) -
platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/PersistentVcsMetadataCache.java
} private static class VersionRefSerializer implements Serializer<VersionRef> { @Override public void write(Encoder encoder, VersionRef value) throws Exception { GitVersionRef gitRef = (GitVersionRef) value; encoder.writeString(gitRef.getVersion()); encoder.writeString(gitRef.getCanonicalId()); } @Override public VersionRef read(Decoder decoder) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 3.7K bytes - Viewed (0) -
cmd/site-replication-metrics_gen.go
return } } } return } // EncodeMsg implements msgp.Encodable func (z *RTimedMetrics) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 4 // write "LastHour" err = en.Append(0x84, 0xa8, 0x4c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x75, 0x72) if err != nil { return } err = z.LastHour.EncodeMsg(en) if err != nil { err = msgp.WrapError(err, "LastHour") return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 40.6K bytes - Viewed (0) -
cmd/batch-replicate_gen.go
return } } } return } // EncodeMsg implements msgp.Encodable func (z *BatchJobReplicateFlags) EncodeMsg(en *msgp.Writer) (err error) { // map header, size 3 // write "Filter" err = en.Append(0x83, 0xa6, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72) if err != nil { return } err = z.Filter.EncodeMsg(en) if err != nil { err = msgp.WrapError(err, "Filter") return }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Nov 22 18:51:46 UTC 2023 - 40.6K bytes - Viewed (0)