Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Tstruct (0.43 sec)

  1. 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)
  2. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		vt.Dimension.goString(indent+2, "Dimension: "),
    		vt.Base.goString(indent+2, "Base: "))
    }
    
    // ElaboratedType is an elaborated struct/union/enum type.
    type ElaboratedType struct {
    	Kind string
    	Type AST
    }
    
    func (et *ElaboratedType) print(ps *printState) {
    	ps.writeString(et.Kind)
    	ps.writeString(" ")
    	et.Type.print(ps)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework_test.go

    type PluginNotImplementingScore struct{}
    
    func (pl *PluginNotImplementingScore) Name() string {
    	return pluginNotImplementingScore
    }
    
    func newTestPlugin(_ context.Context, injArgs runtime.Object, f framework.Handle) (framework.Plugin, error) {
    	return &TestPlugin{name: testPlugin}, nil
    }
    
    // TestPlugin implements all Plugin interfaces.
    type TestPlugin struct {
    	name string
    	inj  injectedResult
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_test.go

    				FilterMetadata: map[string]*structpb.Struct{
    					util.IstioMetadataKey: {
    						Fields: map[string]*structpb.Value{
    							"services": {
    								Kind: &structpb.Value_ListValue{
    									ListValue: &structpb.ListValue{
    										Values: []*structpb.Value{
    											{
    												Kind: &structpb.Value_StructValue{
    													StructValue: &structpb.Struct{
    														Fields: map[string]*structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. pkg/api/pod/util_test.go

    		extractedNames.Insert(name)
    		return true
    	}, AllContainers)
    
    	// excludedSecretPaths holds struct paths to fields with "secret" in the name that are not actually references to secret API objects
    	excludedSecretPaths := sets.New[string](
    		"Spec.Volumes[*].VolumeSource.CephFS.SecretFile",
    	)
    	// expectedSecretPaths holds struct paths to fields with "secret" in the name that are references to secret API objects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  6. src/database/sql/sql.go

    // arguments to [DB.Query] or [DB.Exec] and bind to the corresponding named
    // parameter in the SQL statement.
    //
    // For a more concise way to create NamedArg values, see
    // the [Named] function.
    type NamedArg struct {
    	_NamedFieldsRequired struct{}
    
    	// Name is the name of the parameter placeholder.
    	//
    	// If empty, the ordinal position in the argument list will be
    	// used.
    	//
    	// Name must omit any symbol prefix.
    	Name string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  7. src/net/http/transport_test.go

    	tr := c.Transport.(*Transport)
    	dialStarted := make(chan struct{})
    	stallDial := make(chan struct{})
    	tr.Dial = func(network, addr string) (net.Conn, error) {
    		dialStarted <- struct{}{}
    		<-stallDial
    		return net.Dial(network, addr)
    	}
    
    	tr.DisableKeepAlives = true
    	tr.MaxConnsPerHost = 1
    
    	preDial := make(chan struct{})
    	reqComplete := make(chan struct{})
    	doReq := func(reqId string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  8. src/database/sql/sql_test.go

    	prepares0 := numPrepares(t, db)
    	rows, err := db.Query("SELECT|people|age,name|;SELECT|people|name|")
    	if err != nil {
    		t.Fatalf("Query: %v", err)
    	}
    	type row1 struct {
    		age  int
    		name string
    	}
    	type row2 struct {
    		name string
    	}
    	got1 := []row1{}
    	for rows.Next() {
    		var r row1
    		err = rows.Scan(&r.age, &r.name)
    		if err != nil {
    			t.Fatalf("Scan: %v", err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers_test.go

    	utilpointer "k8s.io/utils/pointer"
    	"k8s.io/utils/ptr"
    )
    
    var containerRestartPolicyAlways = api.ContainerRestartPolicyAlways
    
    func TestFormatResourceName(t *testing.T) {
    	tests := []struct {
    		kind schema.GroupKind
    		name string
    		want string
    	}{
    		{schema.GroupKind{}, "", ""},
    		{schema.GroupKind{}, "name", "name"},
    		{schema.GroupKind{Kind: "Kind"}, "", "kind/"}, // should not happen in practice
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  10. src/reflect/value.go

    // pointer or a field that is not a struct.
    func (v Value) FieldByIndex(index []int) Value {
    	if len(index) == 1 {
    		return v.Field(index[0])
    	}
    	v.mustBe(Struct)
    	for i, x := range index {
    		if i > 0 {
    			if v.Kind() == Pointer && v.typ().Elem().Kind() == abi.Struct {
    				if v.IsNil() {
    					panic("reflect: indirection through nil pointer to embedded struct")
    				}
    				v = v.Elem()
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top