Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 348 for encodeArg (0.61 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/scheme.go

    }
    
    func (dynamicCodec) Encode(obj runtime.Object, w io.Writer) error {
    	// There is no need to handle runtime.CacheableObject, as we only
    	// fallback to other encoders here.
    	return unstructured.UnstructuredJSONScheme.Encode(obj, w)
    }
    
    // Identifier implements runtime.Encoder interface.
    func (dynamicCodec) Identifier() runtime.Identifier {
    	return unstructured.UnstructuredJSONScheme.Identifier()
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 21 15:58:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy

            when:
            def bytes = encode { Encoder encoder ->
                encoder.encodeChunked { Encoder nested ->
                    nested.writeSmallInt(1)
                    nested.writeString("chunked")
                }
                encoder.encodeChunked { Encoder nested ->
                }
                encoder.encodeChunked { Encoder nested ->
                    nested.writeSmallInt(2)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ModuleComponentSelectorSerializer.java

            encoder.writeString(group);
            encoder.writeString(module);
            writeVersionConstraint(encoder, version);
            writeAttributes(encoder, attributes);
            writeCapabilities(encoder, capabilities);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializer.java

        private static void writePath(Encoder encoder, boolean isRoot, FileSystemLocationSnapshot snapshot) throws IOException {
            encoder.writeString(isRoot ? snapshot.getAbsolutePath() : snapshot.getName());
        }
    
        private static EntryType readEntryType(Decoder decoder) throws IOException {
            return EntryType.values()[decoder.readByte()];
        }
    
        private static void writeEntryType(Encoder encoder, EntryType type) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 15:45:55 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ThisBuildOnlySelectedVariantSerializer.java

            encoder.writeBoolean(false);
            writeVariantReference(encoder, state);
            ResolvedGraphVariant externalVariant = variant.getExternalVariant();
            if (externalVariant == null) {
                encoder.writeBoolean(false);
            } else {
                encoder.writeBoolean(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 04:22:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshotSerializer.java

                protected void writeAdditionalData(Encoder encoder, ImplementationSnapshot implementationSnapshot) throws Exception {
                    LambdaImplementationSnapshot serLambda = (LambdaImplementationSnapshot) implementationSnapshot;
                    hashCodeSerializer.write(encoder, serLambda.getClassLoaderHash());
                    encoder.writeString(serLambda.getFunctionalInterfaceClass());
                    encoder.writeString(serLambda.getImplClass());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:33:49 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/FilteringClassLoaderSpecSerializer.java

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/IvyArtifactNameSerializer.java

        }
    
        @Override
        public void write(Encoder encoder, IvyArtifactName value) throws IOException {
            encoder.writeString(value.getName());
            encoder.writeString(value.getType());
            encoder.writeNullableString(value.getExtension());
            encoder.writeNullableString(value.getClassifier());
        }
    
        public void writeNullable(Encoder encoder, @Nullable IvyArtifactName value) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonRegistryContent.java

                    writeAddresses(encoder, infosSize, addresses);
                    writeDaemonInfos(encoder, infosMap, addresses);
                    writeStopEvents(encoder, registry);
                } else {
                    encoder.writeBoolean(false);
                }
            }
    
            private void writeStopEvents(Encoder encoder, DaemonRegistryContent registry) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/TransportableActionExecutionSpecSerializer.java

        @Override
        public void write(Encoder encoder, TransportableActionExecutionSpec spec) throws Exception {
            encoder.writeString(spec.getImplementationClassName());
            encoder.writeBoolean(spec.isInternalServicesRequired());
            encoder.writeString(spec.getBaseDir().getAbsolutePath());
            encoder.writeString(spec.getProjectCacheDir().getAbsolutePath());
            encoder.writeBinary(spec.getSerializedParameters());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top