Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 302 for fStruct (0.22 sec)

  1. src/cmd/compile/internal/types/type.go

    }
    
    // StructType contains Type fields specific to struct types.
    type Struct struct {
    	fields fields
    
    	// Maps have three associated internal structs (see struct MapType).
    	// Map links such structs back to their map type.
    	Map *Type
    
    	ParamTuple bool // whether this struct is actually a tuple of signature parameters
    }
    
    // StructType returns t's extra struct-specific fields.
    func (t *Type) StructType() *Struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. src/encoding/json/decode_test.go

    	type (
    		embed1 struct{ Q int }
    		embed2 struct{ Q int }
    		embed3 struct {
    			Q int64 `json:",string"`
    		}
    		S1 struct {
    			*embed1
    			R int
    		}
    		S2 struct {
    			*embed1
    			Q int
    		}
    		S3 struct {
    			embed1
    			R int
    		}
    		S4 struct {
    			*embed1
    			embed2
    		}
    		S5 struct {
    			*embed3
    			R int
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  3. src/reflect/type.go

    // mapType represents a map type.
    type mapType struct {
    	abi.MapType
    }
    
    // ptrType represents a pointer type.
    type ptrType struct {
    	abi.PtrType
    }
    
    // sliceType represents a slice type.
    type sliceType struct {
    	abi.SliceType
    }
    
    // Struct field
    type structField = abi.StructField
    
    // structType represents a struct type.
    type structType struct {
    	abi.StructType
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/zero_test.go

    	if a != want {
    		t.Errorf("zero1025 got=%v, want %v\n", a, want)
    	}
    }
    
    type Z8u1 struct {
    	b   bool
    	val [8]byte
    }
    type Z8u2 struct {
    	i   uint16
    	val [8]byte
    }
    
    //go:noinline
    func zero8u1_ssa(t *Z8u1) {
    	t.val = [8]byte{}
    }
    
    //go:noinline
    func zero8u2_ssa(t *Z8u2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 49.6K bytes
    - Viewed (0)
  5. src/encoding/xml/marshal_test.go

    }
    
    type Book struct {
    	XMLName struct{} `xml:"book"`
    	Title   string   `xml:",chardata"`
    }
    
    type Event struct {
    	XMLName struct{} `xml:"event"`
    	Year    int      `xml:",chardata"`
    }
    
    type Movie struct {
    	XMLName struct{} `xml:"movie"`
    	Length  uint     `xml:",chardata"`
    }
    
    type Pi struct {
    	XMLName       struct{} `xml:"pi"`
    	Approximation float32  `xml:",chardata"`
    }
    
    type Universe struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  6. pkg/controller/history/controller_history_test.go

    		},
    	}
    	for i := range tests {
    		testFn(&tests[i], t)
    	}
    }
    
    func TestRealHistory_CreateControllerRevision(t *testing.T) {
    	type testcase struct {
    		name     string
    		parent   metav1.Object
    		revision *apps.ControllerRevision
    		existing []struct {
    			parent   metav1.Object
    			revision *apps.ControllerRevision
    		}
    		rename bool
    	}
    	testFn := func(test *testcase, t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/api_test.go

    		// collisions
    		{"type ( E1 struct{ f int }; E2 struct{ f int }; x struct{ E1; *E2 })", false, []int{1, 0}, false},
    		{"type ( E1 struct{ f int }; E2 struct{}; x struct{ E1; *E2 }); func (E2) f() {}", false, []int{1, 0}, false},
    
    		// collisions on a generic type
    		{"type ( E1[P any] struct{ f P }; E2[P any] struct{ f P }; x struct{ E1[int]; *E2[int] })", false, []int{1, 0}, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  8. tests/migrate_test.go

    	type UserStat struct {
    		GroundDestroyCount int
    	}
    
    	type GameUser struct {
    		gorm.Model
    		StatAb UserStat `gorm:"embedded;embeddedPrefix:stat_ab_"`
    	}
    
    	type UserStat1 struct {
    		GroundDestroyCount string
    	}
    
    	type GroundRate struct {
    		GroundDestroyCount int
    	}
    
    	type GameUser1 struct {
    		gorm.Model
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  9. tensorflow/c/kernels_test.cc

      struct MyCustomKernel* s = static_cast<struct MyCustomKernel*>(kernel);
      s->compute_called = true;
      if (ctx != nullptr) {
        EXPECT_EQ(43, TF_StepId(ctx));
      }
    }
    
    static void MyAsyncComputeFunc(void* kernel, TF_OpKernelContext* ctx,
                                   TF_AsyncOpKernelDoneCallback* done) {
      struct MyCustomKernel* s = static_cast<struct MyCustomKernel*>(kernel);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  10. src/go/types/api_test.go

    		// collisions
    		{"type ( E1 struct{ f int }; E2 struct{ f int }; x struct{ E1; *E2 })", false, []int{1, 0}, false},
    		{"type ( E1 struct{ f int }; E2 struct{}; x struct{ E1; *E2 }); func (E2) f() {}", false, []int{1, 0}, false},
    
    		// collisions on a generic type
    		{"type ( E1[P any] struct{ f P }; E2[P any] struct{ f P }; x struct{ E1[int]; *E2[int] })", false, []int{1, 0}, false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top