- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 203 for Serializer (0.22 sec)
-
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: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jun 20 08:45:38 UTC 2024 - 4.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
- public class ExecutionSequencerTest extends TestCase {
- ExecutorService executor;
- private ExecutionSequencer serializer;
- private SettableFuture<@Nullable Void> firstFuture;
- private TestCallable firstCallable;
- @Override
- public void setUp() throws Exception {
- executor = Executors.newCachedThreadPool();
- serializer = ExecutionSequencer.create();
- firstFuture = SettableFuture.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0) -
architecture/standards/0002-avoid-using-java-serialization.md
- * Existing usages of Serializer outside of this infrastructure should be migrated to use it.
- * Existing usages of Java serialization should be migrated to use it.
- * It is ok for Serializer to be used as a replacement for Java serialization as a migration step.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Feb 29 22:32:18 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
- public class ExecutionSequencerTest extends TestCase {
- ExecutorService executor;
- private ExecutionSequencer serializer;
- private SettableFuture<@Nullable Void> firstFuture;
- private TestCallable firstCallable;
- @Override
- public void setUp() throws Exception {
- executor = Executors.newCachedThreadPool();
- serializer = ExecutionSequencer.create();
- firstFuture = SettableFuture.create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 16.7K bytes - Viewed (0) -
schema/field.go
- field.DataType = String
- field.Serializer = v
- } else {
- serializerName := field.TagSettings["JSON"]
- if serializerName == "" {
- serializerName = field.TagSettings["SERIALIZER"]
- }
- if serializerName != "" {
- if serializer, ok := GetSerializer(serializerName); ok {
- // Set default data type to string for serializer
- field.DataType = String
- field.Serializer = serializer
- } else {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
istioctl/pkg/tag/generate.go
- admitv1 "k8s.io/api/admissionregistration/v1"
- "k8s.io/apimachinery/pkg/api/errors"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- "k8s.io/apimachinery/pkg/runtime"
- "k8s.io/apimachinery/pkg/runtime/serializer"
- "k8s.io/apimachinery/pkg/runtime/serializer/json"
- "istio.io/istio/operator/pkg/helm"
- "istio.io/istio/operator/pkg/render"
- "istio.io/istio/operator/pkg/values"
- "istio.io/istio/pkg/kube"
- "istio.io/istio/pkg/maps"
- )
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.3K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
- "context"
- "fmt"
- "path/filepath"
- "testing"
- admitv1 "k8s.io/api/admissionregistration/v1"
- metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
- "k8s.io/apimachinery/pkg/runtime"
- "k8s.io/apimachinery/pkg/runtime/serializer"
- "istio.io/api/label"
- "istio.io/istio/pkg/kube"
- "istio.io/istio/pkg/test/env"
- "istio.io/istio/pkg/test/util/assert"
- )
- var (
- defaultRevisionCanonicalWebhook = admitv1.MutatingWebhookConfiguration{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 12.1K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
- private
- fun containsFailedTest(testBinaryResultsDir: File): Boolean {
- var containingFailures = false
- val serializer = TestResultSerializer(testBinaryResultsDir)
- if (serializer.isHasResults) {
- serializer.read {
- if (failuresCount > 0) {
- containingFailures = true
- }
- }
- }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 28 16:19:47 UTC 2023 - 12.5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java
- final class SingletonImmutableList<E> extends ForwardingImmutableList<E> {
- final transient List<E> delegate;
- // This reference is used both by the custom field serializer, and by the
- // GWT compiler to infer the elements of the lists that needs to be
- // serialized.
- E element;
- SingletonImmutableList(E element) {
- this.delegate = singletonList(checkNotNull(element));
- this.element = element;
- }
- @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 1.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
- package model
- import com.alibaba.fastjson.JSON
- import com.alibaba.fastjson.JSONArray
- import com.alibaba.fastjson.JSONObject
- import com.alibaba.fastjson.serializer.SerializerFeature
- import common.Arch
- import common.Os
- import common.VersionedSettingsBranch
- import configurations.ParallelizationMethod
- import java.io.File
- import java.util.LinkedList
- const val MASTER_CHECK_CONFIGURATION = "Gradle_Master_Check"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Aug 29 11:04:49 UTC 2024 - 8.5K bytes - Viewed (0)