- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 536 for encodeArg (0.22 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectionReasonSerializer.java
} @Override public void write(Encoder encoder, ComponentSelectionReason value) throws IOException { List<ComponentSelectionDescriptor> descriptions = value.getDescriptions(); encoder.writeSmallInt(descriptions.size()); for (ComponentSelectionDescriptor description : descriptions) { componentSelectionDescriptorSerializer.write(encoder, description); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.7K bytes - Viewed (0) -
src/go/doc/comment/testdata/text7.txt
-- input -- Package gob manages streams of gobs - binary values exchanged between an Encoder (transmitter) and a Decoder (receiver). A typical use is transporting arguments and results of remote procedure calls (RPCs) such as those provided by package "net/rpc". The implementation compiles a custom codec for each data type in the stream and is most efficient when a single Encoder is used to transmit a stream of values, amortizing the cost of compilation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:45 UTC 2022 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/versioning/versioning.go
var identifiersMap sync.Map type codecIdentifier struct { EncodeGV string `json:"encodeGV,omitempty"` Encoder string `json:"encoder,omitempty"` Name string `json:"name,omitempty"` } // identifier computes Identifier of Encoder based on codec parameters. func identifier(encodeGV runtime.GroupVersioner, encoder runtime.Encoder) runtime.Identifier { result := codecIdentifier{ Name: "versioning", }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 9.8K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerJvmMemoryInfoSerializer.java
return new JvmMemoryStatusSnapshot(maxMemory, committedMemory); } @Override public void write(Encoder encoder, JvmMemoryStatus jvmMemoryStatus) throws Exception { encoder.writeLong(jvmMemoryStatus.getCommittedMemory()); encoder.writeLong(jvmMemoryStatus.getMaxMemory()); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/codec.go
"k8s.io/klog/v2" ) // codec binds an encoder and decoder. type codec struct { Encoder Decoder } // NewCodec creates a Codec from an Encoder and Decoder. func NewCodec(e Encoder, d Decoder) Codec { return codec{e, d} } // Encode is a convenience wrapper for encoding to a []byte from an Encoder func Encode(e Encoder, obj Object) ([]byte, error) { buf := &bytes.Buffer{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 03:20:30 UTC 2023 - 12.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/StyledTextOutputEventSerializer.java
} @Override public void write(Encoder encoder, StyledTextOutputEvent event) throws Exception { encoder.writeLong(event.getTimestamp()); encoder.writeString(event.getCategory()); logLevelSerializer.write(encoder, event.getLogLevel()); if (event.getBuildOperationId() == null) { encoder.writeBoolean(false); } else { encoder.writeBoolean(true);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/compilerapi/deps/DependentSetSerializer.java
} @Override public void write(Encoder encoder, DependentsSet dependentsSet) throws Exception { HierarchicalNameSerializer nameSerializer = hierarchicalNameSerializerSupplier.get(); if (dependentsSet.isDependencyToAll()) { encoder.writeByte((byte) 0); encoder.writeString(dependentsSet.getDescription()); } else { encoder.writeByte((byte) 1);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Feb 24 12:57:52 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ResolvedVariantResultSerializer.java
encoder.writeString(variant.getDisplayName()); attributeContainerSerializer.write(encoder, variant.getAttributes()); writeCapabilities(encoder, variant.getCapabilities()); write(encoder, variant.getExternalVariant().orElse(null)); } else { encoder.writeSmallInt(index); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5K bytes - Viewed (0) -
src/encoding/base32/example_test.go
// "Hello, world!" } func ExampleNewEncoder() { input := []byte("foo\x00bar") encoder := base32.NewEncoder(base32.StdEncoding, os.Stdout) encoder.Write(input) // Must close the encoder when finished to flush any partial blocks. // If you comment out the following line, the last partial block "r" // won't be encoded. encoder.Close() // Output: // MZXW6ADCMFZA====
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 27 16:54:36 UTC 2021 - 1.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleComponentResolveMetadataSerializer.java
encoder.writeString(platformOwner.getGroup()); encoder.writeString(platformOwner.getModule()); encoder.writeString(platformOwner.getVersion()); } private AbstractRealisedModuleComponentResolveMetadata assertRealized(ModuleComponentResolveMetadata metadata) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8K bytes - Viewed (0)