Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 67 for fInt16 (0.18 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    	const src = "package p; func f() int16; var _ = f(undef)"
    	f := mustParse(src)
    	conf := Config{
    		Error: func(err error) {}, // allow errors
    	}
    	info := &Info{
    		Types: make(map[syntax.Expr]TypeAndValue),
    	}
    	conf.Check("p", []*syntax.File{f}, info) // ignore result
    	for e, tv := range info.Types {
    		if _, ok := e.(*syntax.CallExpr); ok {
    			if tv.Type != Typ[Int16] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    	conf.Check("p", fset, []*ast.File{f}, info) // ignore result
    	for e, tv := range info.Types {
    		if _, ok := e.(*ast.CallExpr); ok {
    			if tv.Type != Typ[Int16] {
    				t.Errorf("CallExpr has type %v, want int16", tv.Type)
    			}
    			return
    		}
    	}
    	t.Errorf("CallExpr has no type")
    }
    
    // TestCompositeLitTypes verifies that Info.Types registers the correct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ppc64/ssa.go

    	p := s.Prog(loadByType(t))
    	p.From.Type = obj.TYPE_MEM
    	p.From.Name = obj.NAME_AUTO
    	p.From.Sym = n.Linksym()
    	p.From.Offset = n.FrameOffset() + off
    	p.To.Type = obj.TYPE_REG
    	p.To.Reg = reg
    	return p
    }
    
    func spillArgReg(pp *objw.Progs, p *obj.Prog, f *ssa.Func, t *types.Type, reg int16, n *ir.Name, off int64) *obj.Prog {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  4. tests/migrate_test.go

    		UID uint32
    	}
    
    	type Event1 struct {
    		ID  uint   `gorm:"primarykey"`
    		UID uint32 `gorm:"not null;autoIncrement"`
    	}
    
    	type Event2 struct {
    		ID  uint   `gorm:"primarykey"`
    		UID uint16 `gorm:"not null;autoIncrement"`
    	}
    
    	var err error
    	err = DB.Migrator().DropTable(&Event{})
    	if err != nil {
    		t.Errorf("DropTable err:%v", err)
    	}
    
    	// create sequence
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  5. src/encoding/xml/marshal_test.go

    	{Value: &Plain{int8(42)}, ExpectXML: `<Plain><V>42</V></Plain>`},
    	{Value: &Plain{int16(42)}, ExpectXML: `<Plain><V>42</V></Plain>`},
    	{Value: &Plain{int32(42)}, ExpectXML: `<Plain><V>42</V></Plain>`},
    	{Value: &Plain{uint(42)}, ExpectXML: `<Plain><V>42</V></Plain>`},
    	{Value: &Plain{uint8(42)}, ExpectXML: `<Plain><V>42</V></Plain>`},
    	{Value: &Plain{uint16(42)}, ExpectXML: `<Plain><V>42</V></Plain>`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      ASSERT_THAT(op->inputs, SizeIs(3));
      ASSERT_THAT(op->outputs, SizeIs(1));
    
      const SubGraph* float_graph = readonly_model_->subgraphs()->Get(0);
      // Verify FC input tensor and weight are int16 and int8 quantized.
      const Operator* float_op = float_graph->operators()->Get(0);
      ASSERT_THAT(float_graph->tensors()->Get(float_op->inputs()->Get(0))->type(),
                  Eq(TensorType_FLOAT32));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  7. src/html/template/exec_test.go

    var debug = flag.Bool("debug", false, "show the errors produced by the tests")
    
    // T has lots of interesting pieces to use to test execution.
    type T struct {
    	// Basics
    	True        bool
    	I           int
    	U16         uint16
    	X, S        string
    	FloatZero   float64
    	ComplexZero complex128
    	// Nested structs.
    	U *U
    	// Struct with String method.
    	V0     V
    	V1, V2 *V
    	// Struct with Error method.
    	W0     W
    	W1, W2 *W
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/out.go

    	"rune":       {Size: 4, Align: 4, C: c("GoInt32")},
    	"int8":       {Size: 1, Align: 1, C: c("GoInt8")},
    	"uint8":      {Size: 1, Align: 1, C: c("GoUint8")},
    	"int16":      {Size: 2, Align: 2, C: c("GoInt16")},
    	"uint16":     {Size: 2, Align: 2, C: c("GoUint16")},
    	"int32":      {Size: 4, Align: 4, C: c("GoInt32")},
    	"uint32":     {Size: 4, Align: 4, C: c("GoUint32")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm/asm5.go

    		fixShift(&p.To)
    	}
    
    	ops := oprange[p.As&obj.AMask]
    	c1 := &xcmp[a1]
    	c3 := &xcmp[a3]
    	for i := range ops {
    		op := &ops[i]
    		if int(op.a2) == a2 && c1[op.a1] && c3[op.a3] {
    			p.Optab = uint16(cap(optab) - cap(ops) + i + 1)
    			checkSuffix(c, p, op)
    			return op
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  10. src/text/template/exec_test.go

    var debug = flag.Bool("debug", false, "show the errors produced by the tests")
    
    // T has lots of interesting pieces to use to test execution.
    type T struct {
    	// Basics
    	True        bool
    	I           int
    	U16         uint16
    	X, S        string
    	FloatZero   float64
    	ComplexZero complex128
    	// Nested structs.
    	U *U
    	// Struct with String method.
    	V0     V
    	V1, V2 *V
    	// Struct with Error method.
    	W0     W
    	W1, W2 *W
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top