Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 397 for afunc (0.15 sec)

  1. src/cmd/go/go_test.go

    	tg.tempFile("src/t/t2/t2_test.go", "package t\nimport _ \"p1\"\nimport \"testing\"\nfunc Test2(*testing.T) {}\n")
    	tg.tempFile("src/t/t3/t3_test.go", "package t\nimport \"p1\"\nimport \"testing\"\nfunc Test3(t *testing.T) {t.Log(p1.X)}\n")
    	tg.tempFile("src/t/t4/t4_test.go", "package t\nimport \"p2\"\nimport \"testing\"\nfunc Test4(t *testing.T) {t.Log(p2.X)}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/rangefunc/rewrite.go

    	rfunc := types2.CoreType(rclause.X.GetTypeInfo().Type).(*types2.Signature) // type of X - func(func(...)bool)
    	if rfunc.Params().Len() != 1 {
    		base.Fatalf("invalid typecheck of range func")
    	}
    	ftyp := types2.CoreType(rfunc.Params().At(0).Type()).(*types2.Signature) // func(...) bool
    	if ftyp.Results().Len() != 1 {
    		base.Fatalf("invalid typecheck of range func")
    	}
    
    	// Build X(bodyFunc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    func (a *Attribute) DuplicateOK() bool        { return a.load()&AttrDuplicateOK != 0 }
    func (a *Attribute) MakeTypelink() bool       { return a.load()&AttrMakeTypelink != 0 }
    func (a *Attribute) CFunc() bool              { return a.load()&AttrCFunc != 0 }
    func (a *Attribute) NoSplit() bool            { return a.load()&AttrNoSplit != 0 }
    func (a *Attribute) Leaf() bool               { return a.load()&AttrLeaf != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/reflect/all_test.go

    	},
    	{struct {
    		x struct {
    			f func(args ...int)
    		}
    	}{},
    		"struct { f func(...int) }",
    	},
    	{struct {
    		x (interface {
    			a(func(func(int) int) func(func(int)) int)
    			b()
    		})
    	}{},
    		"interface { reflect_test.a(func(func(int) int) func(func(int)) int); reflect_test.b() }",
    	},
    	{struct {
    		x struct {
    			int32
    			int64
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  5. tensorflow/c/kernels.cc

          break;
    
        case tensorflow::AttrValue::kFunc:
          *list_size = -1;
          *total_size = -1;
          break;
    
        case tensorflow::AttrValue::VALUE_NOT_SET:
          status->status = absl::InvalidArgumentError(
              absl::StrCat("Attribute '", attr_name, "' has no value set"));
          break;
      }
    }
    
    #define DEFINE_TF_GETATTR(func, c_type, cc_type, attr_type, list_field)        \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/obj9.go

    	} else {
    		return
    	}
    	obj.Nopout(p)
    }
    
    func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	// TODO(minux): add morestack short-cuts with small fixed frame-size.
    	if cursym.Func().Text == nil || cursym.Func().Text.Link == nil {
    		return
    	}
    
    	c := ctxt9{ctxt: ctxt, cursym: cursym, newprog: newprog}
    
    	p := c.cursym.Func().Text
    	textstksiz := p.To.Offset
    	if textstksiz == -8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  7. src/reflect/type.go

    }
    
    func (t *rtype) NumIn() int {
    	if t.Kind() != Func {
    		panic("reflect: NumIn of non-func type " + t.String())
    	}
    	tt := (*abi.FuncType)(unsafe.Pointer(t))
    	return tt.NumIn()
    }
    
    func (t *rtype) NumOut() int {
    	if t.Kind() != Func {
    		panic("reflect: NumOut of non-func type " + t.String())
    	}
    	tt := (*abi.FuncType)(unsafe.Pointer(t))
    	return tt.NumOut()
    }
    
    func (t *rtype) Out(i int) Type {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. src/cmd/dist/test.go

    //
    // heading and test.variant must be non-empty.
    func (t *tester) registerTest(heading string, test *goTest, opts ...registerTestOpt) {
    	var skipFunc func(*distTest) (string, bool)
    	for _, opt := range opts {
    		switch opt := opt.(type) {
    		case rtSkipFunc:
    			skipFunc = opt.skip
    		}
    	}
    	// Register each test package as a separate test.
    	register1 := func(test *goTest) {
    		if test.variant == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/atomic_386.go

    //go:noinline
    func Load8(ptr *uint8) uint8 {
    	return *ptr
    }
    
    //go:noescape
    func And8(ptr *uint8, val uint8)
    
    //go:noescape
    func Or8(ptr *uint8, val uint8)
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    func Or32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/reflect/badlinkname.go

    func badlinkname_rtype_AssignableTo(*rtype, Type) bool
    
    //go:linkname badlinkname_rtype_Bits reflect.(*rtype).Bits
    func badlinkname_rtype_Bits(*rtype) int
    
    //go:linkname badlinkname_rtype_ChanDir reflect.(*rtype).ChanDir
    func badlinkname_rtype_ChanDir(*rtype) ChanDir
    
    //go:linkname badlinkname_rtype_Comparable reflect.(*rtype).Comparable
    func badlinkname_rtype_Comparable(*rtype) bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top