Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ignoreInterface (0.11 sec)

  1. src/encoding/gob/decode.go

    	if !typ.AssignableTo(ityp) {
    		errorf("%s is not assignable to type %s", typ, ityp)
    	}
    	// Copy the interface value to the target.
    	value.Set(v)
    }
    
    // ignoreInterface discards the data for an interface value with no destination.
    func (dec *Decoder) ignoreInterface(state *decoderState) {
    	// Read the name of the concrete type.
    	n, ok := state.getLength()
    	if !ok {
    		errorf("bad interface encoding: name too large for buffer")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context_test.go

    		// These are not feasible/worth comparing
    		cmpopts.IgnoreTypes(sync.RWMutex{}, localServiceDiscovery{}, FakeStore{}, atomic.Bool{}, sync.Mutex{}),
    		cmpopts.IgnoreUnexported(IstioEndpoint{}),
    		cmpopts.IgnoreInterfaces(struct{ mesh.Holder }{}),
    		protocmp.Transform(),
    	)
    	if diff != "" {
    		t.Fatalf("Push context had a diff after update: %v", diff)
    	}
    }
    
    func TestSidecarScope(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top