Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 174 for roundTrip (0.72 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/testapigroup/install/roundtrip_test.go

    limitations under the License.
    */
    
    package install
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	testapigroupfuzzer "k8s.io/apimachinery/pkg/apis/testapigroup/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, testapigroupfuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 928 bytes
    - Viewed (0)
  2. pkg/proxy/apis/config/scheme/scheme_test.go

    limitations under the License.
    */
    
    package scheme
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	componentconfigtesting "k8s.io/component-base/config/testing"
    	"k8s.io/kubernetes/pkg/proxy/apis/config/fuzzer"
    )
    
    func TestRoundTripFuzzing(t *testing.T) {
    	roundtrip.RoundTripTestForScheme(t, Scheme, fuzzer.Funcs)
    }
    
    func TestRoundTripYAML(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 16 17:34:39 UTC 2019
    - 1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/audit/install/roundtrip_test.go

    limitations under the License.
    */
    
    package install
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	"k8s.io/apiserver/pkg/apis/audit/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, fuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, fuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 875 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/install/roundtrip_test.go

    import (
    	"testing"
    
    	apiextensionsfuzzer "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/fuzzer"
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, apiextensionsfuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 03:35:42 UTC 2019
    - 943 bytes
    - Viewed (0)
  5. pkg/apis/storage/v1/defaults_test.go

    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	_ "k8s.io/kubernetes/pkg/apis/storage/install"
    	"k8s.io/kubernetes/pkg/features"
    )
    
    func roundTrip(t *testing.T, obj runtime.Object) runtime.Object {
    	codec := legacyscheme.Codecs.LegacyCodec(storagev1.SchemeGroupVersion)
    	data, err := runtime.Encode(codec, obj)
    	if err != nil {
    		t.Errorf("%v\n %#v", err, obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. pkg/apis/apiserverinternal/install/roundtrip_test.go

    limitations under the License.
    */
    
    package install
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    	"k8s.io/kubernetes/pkg/apis/apiserverinternal/fuzzer"
    )
    
    func TestRoundTrip(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, Install, fuzzer.Funcs)
    	roundtrip.RoundTripProtobufTestForAPIGroup(t, Install, fuzzer.Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 08 21:34:55 UTC 2020
    - 888 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.json

    // Checks if calibrated type is exported back to quantized type.
    // RoundTrip: name: "effective_hidden_scale_intermediate",
    // RoundTrip-NEXT: quantization: {
    // RoundTrip-NEXT: min: [ -0.5 ],
    // RoundTrip-NEXT: max: [ 0.5 ]
    
    {
      "version": 3,
      "operator_codes": [
        {
          "builtin_code": "UNIDIRECTIONAL_SEQUENCE_LSTM"
        }
      ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. pkg/apis/scheduling/v1/defaults_test.go

    	v1 "k8s.io/api/scheduling/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    
    	// ensure types are installed
    	_ "k8s.io/kubernetes/pkg/apis/scheduling/install"
    )
    
    func roundTrip(t *testing.T, obj runtime.Object) runtime.Object {
    	codec := legacyscheme.Codecs.LegacyCodec(v1.SchemeGroupVersion)
    	data, err := runtime.Encode(codec, obj)
    	if err != nil {
    		t.Errorf("%v\n %#v", err, obj)
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/output/fuzzer/fuzzer_test.go

    limitations under the License.
    */
    
    package fuzzer
    
    import (
    	"testing"
    
    	"k8s.io/apimachinery/pkg/api/apitesting/roundtrip"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/output/scheme"
    )
    
    func TestRoundTripTypes(t *testing.T) {
    	roundtrip.RoundTripTestForAPIGroup(t, scheme.AddToScheme, Funcs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 17 14:40:46 UTC 2021
    - 828 bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/v1beta3/defaults.go

    	}
    }
    
    // SetDefaults_PriorityLevelConfiguration sets the default values for a
    // PriorityLevelConfiguration object. Since we need to inspect the presence
    // of the roundtrip annotation in order to determine whether the user has
    // specified a zero value for the 'NominalConcurrencyShares' field,
    // the defaulting logic needs visibility to the annotations field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top