Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for serializer (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. istioctl/pkg/tag/generate.go

    	}
    
    	scheme := runtime.NewScheme()
    	codecFactory := serializer.NewCodecFactory(scheme)
    	deserializer := codecFactory.UniversalDeserializer()
    	serializer := json.NewSerializerWithOptions(
    		json.DefaultMetaFactory, nil, nil, json.SerializerOptions{
    			Yaml:   true,
    			Pretty: true,
    			Strict: true,
    		})
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate_test.go

    			whURL:          "",
    			whSVC:          "istiod-revision",
    			whCA:           "ca",
    			userManaged:    true,
    		},
    	}
    	scheme := runtime.NewScheme()
    	codecFactory := serializer.NewCodecFactory(scheme)
    	deserializer := codecFactory.UniversalDeserializer()
    
    	fail := admitv1.Fail
    	fakeClient := kube.NewFakeClient(&admitv1.ValidatingWebhookConfiguration{
    		TypeMeta: metav1.TypeMeta{},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject.go

    		r.AddKnownTypes(admission.SchemeGroupVersion, &admission.AdmissionReview{})
    		return r
    	}()
    	codecs       = serializer.NewCodecFactory(runtimeScheme)
    	deserializer = codecs.UniversalDeserializer()
    )
    
    // GetFirstPod returns a pod matching the namespace and label selector
    // and the number of all pods that match the label selector.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. .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)
  8. istioctl/pkg/multicluster/remote_secret.go

    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/serializer/json"
    	"k8s.io/apimachinery/pkg/runtime/serializer/versioning"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	_ "k8s.io/client-go/plugin/pkg/client/auth" //  to avoid 'No Auth Provider found for name "gcp"'
    	"k8s.io/client-go/tools/clientcmd"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java

         * be created automatically.
         *
         * @param output The file to serialize the settings to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param settings The settings to serialize, must not be {@code null}.
         * @throws IOException If the settings could not be serialized.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * created automatically.
         *
         * @param output The file to serialize the model to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param model The model to serialize, must not be {@code null}.
         * @throws IOException If the model could not be serialized.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top