Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 203 for Serializer (0.22 sec)

  1. schema/serializer.go

    1. var serializerMap = sync.Map{}
    2.  
    3. // RegisterSerializer register serializer
    4. func RegisterSerializer(name string, serializer SerializerInterface) {
    5. serializerMap.Store(strings.ToLower(name), serializer)
    6. }
    7.  
    8. // GetSerializer get serializer
    9. func GetSerializer(name string) (serializer SerializerInterface, ok bool) {
    10. v, ok := serializerMap.Load(strings.ToLower(name))
    11. if ok {
    12. serializer, ok = v.(SerializerInterface)
    13. }
    14. return serializer, ok
    15. }
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 08:45:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

    1. public class ExecutionSequencerTest extends TestCase {
    2.  
    3. ExecutorService executor;
    4.  
    5. private ExecutionSequencer serializer;
    6. private SettableFuture<@Nullable Void> firstFuture;
    7. private TestCallable firstCallable;
    8.  
    9. @Override
    10. public void setUp() throws Exception {
    11. executor = Executors.newCachedThreadPool();
    12. serializer = ExecutionSequencer.create();
    13. 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)
  3. architecture/standards/0002-avoid-using-java-serialization.md

    1. * Existing usages of Serializer outside of this infrastructure should be migrated to use it.
    2. * Existing usages of Java serialization should be migrated to use it.
    3. * 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)
  4. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

    1. public class ExecutionSequencerTest extends TestCase {
    2.  
    3. ExecutorService executor;
    4.  
    5. private ExecutionSequencer serializer;
    6. private SettableFuture<@Nullable Void> firstFuture;
    7. private TestCallable firstCallable;
    8.  
    9. @Override
    10. public void setUp() throws Exception {
    11. executor = Executors.newCachedThreadPool();
    12. serializer = ExecutionSequencer.create();
    13. 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)
  5. schema/field.go

    1. field.DataType = String
    2. field.Serializer = v
    3. } else {
    4. serializerName := field.TagSettings["JSON"]
    5. if serializerName == "" {
    6. serializerName = field.TagSettings["SERIALIZER"]
    7. }
    8. if serializerName != "" {
    9. if serializer, ok := GetSerializer(serializerName); ok {
    10. // Set default data type to string for serializer
    11. field.DataType = String
    12. field.Serializer = serializer
    13. } else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/generate.go

    1. admitv1 "k8s.io/api/admissionregistration/v1"
    2. "k8s.io/apimachinery/pkg/api/errors"
    3. metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    4. "k8s.io/apimachinery/pkg/runtime"
    5. "k8s.io/apimachinery/pkg/runtime/serializer"
    6. "k8s.io/apimachinery/pkg/runtime/serializer/json"
    7.  
    8. "istio.io/istio/operator/pkg/helm"
    9. "istio.io/istio/operator/pkg/render"
    10. "istio.io/istio/operator/pkg/values"
    11. "istio.io/istio/pkg/kube"
    12. "istio.io/istio/pkg/maps"
    13. )
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/generate_test.go

    1. "context"
    2. "fmt"
    3. "path/filepath"
    4. "testing"
    5.  
    6. admitv1 "k8s.io/api/admissionregistration/v1"
    7. metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    8. "k8s.io/apimachinery/pkg/runtime"
    9. "k8s.io/apimachinery/pkg/runtime/serializer"
    10.  
    11. "istio.io/api/label"
    12. "istio.io/istio/pkg/kube"
    13. "istio.io/istio/pkg/test/env"
    14. "istio.io/istio/pkg/test/util/assert"
    15. )
    16.  
    17. var (
    18. 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)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    1. private
    2. fun containsFailedTest(testBinaryResultsDir: File): Boolean {
    3. var containingFailures = false
    4.  
    5. val serializer = TestResultSerializer(testBinaryResultsDir)
    6. if (serializer.isHasResults) {
    7. serializer.read {
    8. if (failuresCount > 0) {
    9. containingFailures = true
    10. }
    11. }
    12. }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableList.java

    1. final class SingletonImmutableList<E> extends ForwardingImmutableList<E> {
    2.  
    3. final transient List<E> delegate;
    4. // This reference is used both by the custom field serializer, and by the
    5. // GWT compiler to infer the elements of the lists that needs to be
    6. // serialized.
    7. E element;
    8.  
    9. SingletonImmutableList(E element) {
    10. this.delegate = singletonList(checkNotNull(element));
    11. this.element = element;
    12. }
    13.  
    14. @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)
  10. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

    1. package model
    2.  
    3. import com.alibaba.fastjson.JSON
    4. import com.alibaba.fastjson.JSONArray
    5. import com.alibaba.fastjson.JSONObject
    6. import com.alibaba.fastjson.serializer.SerializerFeature
    7. import common.Arch
    8. import common.Os
    9. import common.VersionedSettingsBranch
    10. import configurations.ParallelizationMethod
    11. import java.io.File
    12. import java.util.LinkedList
    13.  
    14. 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)
Back to top