- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,124 for serializers (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go
// external (public internet) URLs for this GenericAPIServer. ExternalAddress string // Serializer controls how common API objects not in a group/version prefix are serialized for this server. // Individual APIGroups may define their own serializers. Serializer runtime.NegotiatedSerializer // "Outputs" // Handler holds the handlers being used by this API server Handler *APIServerHandler
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 42.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy
given: def invocation1Serialized = serialize(invocation1) def invocation2Serialized = serialize(invocation2) when: def serialized = serialize(invocation1, invocation2) def result = deserializeMultiple(serialized, 2) then: result[0].method == method1 result[0].arguments == [1, 2] as Object[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Serializer.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.serialize; import java.io.EOFException; public interface Serializer<T> { /** * Reads the next object from the given stream. The implementation must not perform any buffering, so that it reads only those bytes from the input stream that are
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
for _, s := range a.group.Serializer.SupportedMediaTypes() { if len(s.MediaTypeSubType) == 0 || len(s.MediaTypeType) == 0 { return nil, nil, fmt.Errorf("all serializers in the group Serializer must have MediaTypeType and MediaTypeSubType set: %s", s.MediaType) } } mediaTypes, streamMediaTypes := negotiation.MediaTypesForSerializer(a.group.Serializer) allMediaTypes := append(mediaTypes, streamMediaTypes...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializerTest.groovy
import org.gradle.internal.hash.TestHashCodes import org.gradle.internal.serialize.SerializerSpec class CompilationStateSerializerTest extends SerializerSpec { private CompilationStateSerializer serializer = new CompilationStateSerializer() def "serializes empty state"() { def state = new CompilationState() expect: with (serialized(state)) { sourceInputs.empty fileStates.isEmpty()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentResultSerializerTest.groovy
} private byte[] serialize(ResolvedGraphComponent component) { def outstr = new ByteArrayOutputStream() def encoder = new KryoBackedEncoder(outstr) serializer.write(encoder, component) encoder.flush() return outstr.toByteArray() } private ResolvedComponentResult deserialize(byte[] serialized) { def builder = new ResolutionResultGraphBuilder()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/internal/pgo/serialize.go
// Serialization of a Profile allows go tool preprofile to construct the edge // map only once (rather than once per compile process). The compiler processes // then parse the pre-processed data directly from the serialized format. // // The format of the serialized output is as follows. // // GO PREPROFILE V1 // caller_name // callee_name // "call site offset" "call edge weight" // ... // caller_name
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:20:01 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy
def encoder = new OutputStreamBackedEncoder(output) @Subject def serializer = new SnapshotSerializer(Mock(ClassLoaderHierarchyHasher)) def "serializes serialized properties"() { def original = snapshot("x".bytes) write(original) expect: original == written } def "serializes string properties"() { def original = string("x") write(original)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 8K bytes - Viewed (0) -
schema/serializer.go
var serializerMap = sync.Map{} // RegisterSerializer register serializer func RegisterSerializer(name string, serializer SerializerInterface) { serializerMap.Store(strings.ToLower(name), serializer) } // GetSerializer get serializer func GetSerializer(name string) (serializer SerializerInterface, ok bool) { v, ok := serializerMap.Load(strings.ToLower(name)) if ok { serializer, ok = v.(SerializerInterface) } return serializer, ok }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Mar 18 08:28:46 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentIdentifierSerializerTest.groovy
import org.gradle.internal.serialize.SerializerSpec import org.gradle.util.Path class ComponentIdentifierSerializerTest extends SerializerSpec { ComponentIdentifierSerializer serializer = new ComponentIdentifierSerializer() def "throws exception if null is provided"() { when: serialize(null, serializer) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 5.8K bytes - Viewed (0)