Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for emptyObj (0.71 sec)

  1. staging/src/k8s.io/apimachinery/pkg/api/apitesting/roundtrip/compatibility.go

    		}
    		return
    	}
    
    	emptyObj, err := c.Scheme.New(gvk)
    	if err != nil {
    		t.Fatal(err)
    	}
    	{
    		// compact before decoding since embedded RawExtension fields retain indenting
    		compacted := &bytes.Buffer{}
    		if err := gojson.Compact(compacted, actualJSON); err != nil {
    			t.Error(err)
    		}
    
    		jsonDecoded := emptyObj.DeepCopyObject()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 16:38:32 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  2. src/syscall/js/js_test.go

    	}
    }
    
    func TestEqual(t *testing.T) {
    	if !dummys.Get("someFloat").Equal(dummys.Get("someFloat")) {
    		t.Errorf("same float is not equal")
    	}
    	if !dummys.Get("emptyObj").Equal(dummys.Get("emptyObj")) {
    		t.Errorf("same object is not equal")
    	}
    	if dummys.Get("someFloat").Equal(dummys.Get("someInt")) {
    		t.Errorf("different values are not unequal")
    	}
    }
    
    func TestNaN(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go

    		emptyObj := &runtimetesting.Unstructured{Object: make(map[string]interface{})}
    		if _, _, err := scheme.ObjectKinds(emptyObj); !runtime.IsMissingKind(err) {
    			t.Errorf("unexpected error: %v", err)
    		}
    		emptyObj.SetGroupVersionKind(schema.GroupVersionKind{Kind: "Test"})
    		if _, _, err := scheme.ObjectKinds(emptyObj); !runtime.IsMissingVersion(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  4. pkg/workloadapi/security/authorization.pb.go

    package security
    
    import (
    	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    	emptypb "google.golang.org/protobuf/types/known/emptypb"
    	reflect "reflect"
    	sync "sync"
    )
    
    const (
    	// Verify that this generated code is sufficiently up-to-date.
    	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  5. pkg/wasm/convert_test.go

    	resource "github.com/envoyproxy/go-control-plane/pkg/resource/v3"
    	"google.golang.org/protobuf/proto"
    	anypb "google.golang.org/protobuf/types/known/anypb"
    	"google.golang.org/protobuf/types/known/emptypb"
    	"google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/config/xds"
    )
    
    type mockCache struct {
    	wantSecret []byte
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. pilot/pkg/security/authn/policy_applier.go

    	tlsv3 "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3"
    	"google.golang.org/protobuf/types/known/durationpb"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	authn_alpha "istio.io/api/authentication/v1alpha1"
    	authn_filter "istio.io/api/envoy/config/filter/http/authn/v2alpha1"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/api/security/v1beta1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top