Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for emptyObj (0.89 sec)

  1. 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)
  2. pkg/config/resource/instance_test.go

    // limitations under the License.
    
    package resource
    
    import (
    	"testing"
    
    	. "github.com/onsi/gomega"
    	"google.golang.org/protobuf/types/known/emptypb"
    )
    
    func TestInstance_IsEmpty_False(t *testing.T) {
    	g := NewWithT(t)
    
    	e := Instance{
    		Message: &emptypb.Empty{},
    	}
    
    	g.Expect(e.IsEmpty()).To(BeFalse())
    }
    
    func TestInstance_IsEmpty_True(t *testing.T) {
    	g := NewWithT(t)
    	e := Instance{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. pkg/config/analysis/local/helpers_test.go

    // limitations under the License.
    package local
    
    // Test helpers common to this package
    
    import (
    	"reflect"
    	"testing"
    
    	"google.golang.org/protobuf/types/known/emptypb"
    	"google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/pkg/config/analysis/legacy/source/kube"
    	"istio.io/istio/pkg/config/resource"
    	r2 "istio.io/istio/pkg/config/schema/resource"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. pilot/pkg/security/authn/policy_applier_test.go

    	"github.com/google/go-cmp/cmp"
    	"google.golang.org/protobuf/proto"
    	"google.golang.org/protobuf/testing/protocmp"
    	"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"
    	"istio.io/api/security/v1beta1"
    	type_beta "istio.io/api/type/v1beta1"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  5. istioctl/pkg/util/configdump/wrapper.go

    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    type resolver struct {
    	*protoregistry.Types
    }
    
    var nonStrictResolver = &resolver{protoregistry.GlobalTypes}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. pkg/config/schema/resource/schema_test.go

    	s := Builder{
    		Kind:         "Empty",
    		Plural:       "Empties",
    		ProtoPackage: "google.golang.org/protobuf/types/known/emptypb",
    		Proto:        "google.protobuf.Empty",
    	}.MustBuild()
    
    	p, err := s.NewInstance()
    	assert.NoError(t, err)
    	assert.Equal(t, p, config.Spec(&emptypb.Empty{}))
    }
    
    func TestMustNewProtoInstance_Panic_Nil(t *testing.T) {
    	g := NewWithT(t)
    	defer func() {
    		r := recover()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/comparator.go

    	exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1"
    	"google.golang.org/protobuf/reflect/protoreflect"
    	"google.golang.org/protobuf/reflect/protoregistry"
    	"google.golang.org/protobuf/types/known/emptypb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    // Comparator diffs between a config dump from Istiod and one from Envoy
    type Comparator struct {
    	envoy, istiod *configdump.Wrapper
    	w             io.Writer
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. pkg/config/schema/collection/schemas_test.go

    	_ "google.golang.org/protobuf/types/known/emptypb"
    	_ "google.golang.org/protobuf/types/known/structpb"
    
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/schema/collection"
    	"istio.io/istio/pkg/config/schema/resource"
    )
    
    var (
    	emptyResource = resource.Builder{
    		Kind:         "Empty",
    		Plural:       "empties",
    		ProtoPackage: "google.golang.org/protobuf/types/known/emptypb",
    		Proto:        "google.protobuf.Empty",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top