Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 106 for mkstruct (0.27 sec)

  1. pilot/pkg/xds/ecds_test.go

    	md := model.NodeMetadata{
    		ClusterID: constants.DefaultClusterName,
    	}
    	res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    		Node: &core.Node{
    			Id:       ads.ID,
    			Metadata: md.ToStruct(),
    		},
    		ResourceNames: []string{wantExtensionConfigName},
    	})
    
    	var ec core.TypedExtensionConfig
    	err := res.Resources[0].UnmarshalTo(&ec)
    	if err != nil {
    		t.Fatal("Failed to unmarshal extension config", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	{struct{ x int32 }{}, "int32"},
    	{struct{ x int64 }{}, "int64"},
    	{struct{ x uint }{}, "uint"},
    	{struct{ x uint8 }{}, "uint8"},
    	{struct{ x uint16 }{}, "uint16"},
    	{struct{ x uint32 }{}, "uint32"},
    	{struct{ x uint64 }{}, "uint64"},
    	{struct{ x float32 }{}, "float32"},
    	{struct{ x float64 }{}, "float64"},
    	{struct{ x int8 }{}, "int8"},
    	{struct{ x (**int8) }{}, "**int8"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/expand_calls.go

    	if i >= 0 { // float PR
    		return OpArgFloatReg, i
    	}
    	return OpArgIntReg, int64(r)
    }
    
    type selKey struct {
    	from          *Value // what is selected from
    	offsetOrIndex int64  // whatever is appropriate for the selector
    	size          int64
    	typ           *types.Type
    }
    
    type expandState struct {
    	f       *Func
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  4. pilot/pkg/bootstrap/configcontroller.go

    		s.addTerminatingStartFunc("ingress status", func(stop <-chan struct{}) error {
    			leaderelection.
    				NewLeaderElection(args.Namespace, args.PodName, leaderelection.IngressController, args.Revision, s.kubeClient).
    				AddRunFunction(func(leaderStop <-chan struct{}) {
    					ingressSyncer := ingress.NewStatusSyncer(s.environment.Watcher, s.kubeClient)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/expr.go

    // index'th field of the given expression, which must be of struct or
    // pointer-to-struct type.
    func DotField(pos src.XPos, x ir.Node, index int) *ir.SelectorExpr {
    	op, typ := ir.ODOT, x.Type()
    	if typ.IsPtr() {
    		op, typ = ir.ODOTPTR, typ.Elem()
    	}
    	if !typ.IsStruct() {
    		base.FatalfAt(pos, "DotField of non-struct: %L", x)
    	}
    
    	// TODO(mdempsky): This is the backend's responsibility.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/calloptions.go

    	Headers http.Header
    
    	// FollowRedirects will instruct the call to follow 301 redirects. Otherwise, the original 301 response
    	// is returned directly.
    	FollowRedirects bool
    
    	// HTTProxy used for making ingress echo call via proxy
    	HTTPProxy string
    }
    
    // TLS settings
    type TLS struct {
    	// Use the custom certificate to make the call. This is mostly used to make mTLS request directly
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. pilot/pkg/xds/lds_test.go

    		ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    			Node: &core.Node{
    				Id:       ads.ID,
    				Metadata: model.NodeMetadata{Labels: labels}.ToStruct(),
    			},
    		})
    	})
    }
    
    // TestLDS using sidecar scoped on workload without Service
    func TestLDSWithSidecarForWorkloadWithoutService(t *testing.T) {
    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    	}
    
    	return typ
    }
    
    // StructType = "struct" "{" { FieldDecl ";" } "}" .
    func (p *parser) structType() *StructType {
    	if trace {
    		defer p.trace("structType")()
    	}
    
    	typ := new(StructType)
    	typ.pos = p.pos()
    
    	p.want(_Struct)
    	p.want(_Lbrace)
    	p.list("struct type", _Semi, _Rbrace, func() bool {
    		p.fieldDecl(typ)
    		return false
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/size.go

    }
    
    // when a type's width should be known, we call CheckSize
    // to compute it.  during a declaration like
    //
    //	type T *struct { next T }
    //
    // it is necessary to defer the calculation of the struct width
    // until after T has been initialized to be a pointer to that struct.
    // similarly, during import processing structs may be used
    // before their definition.  in those situations, calling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. pilot/test/xds/fake.go

    		}))
    	}
    	adscConn, err := adsc.New(f.Listener.Addr().String(), &adsc.ADSConfig{
    		Config: adsc.Config{
    			IP:        p.IPAddresses[0],
    			NodeType:  p.Type,
    			Meta:      p.Metadata.ToStruct(),
    			Locality:  p.Locality,
    			Namespace: p.ConfigNamespace,
    			GrpcOpts:  opts,
    		},
    		InitialDiscoveryRequests: initialWatch,
    	})
    	if err != nil {
    		f.t.Fatalf("Error connecting: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top