Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,782 for vfunc (0.05 sec)

  1. src/cmd/compile/internal/staticdata/data.go

    var (
    	funcsymsmu sync.Mutex // protects funcsyms and associated package lookups (see func funcsym)
    	funcsyms   []*ir.Name // functions that need function value symbols
    )
    
    // FuncLinksym returns n·f, the function value symbol for n.
    func FuncLinksym(n *ir.Name) *obj.LSym {
    	if n.Op() != ir.ONAME || n.Class != ir.PFUNC {
    		base.Fatalf("expected func name: %v", n)
    	}
    	s := n.Sym()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    		func(w io.Writer) io.Writer { return w },
    	}
    
    	rs := []func(io.Reader) io.Reader{
    		iotest.DataErrReader,
    		func(r io.Reader) io.Reader { return r },
    	}
    
    	for ri, rfunc := range rs {
    		for wi, wfunc := range ws {
    			input := createTestInput(8192)
    			b := new(strings.Builder)
    			w := NewWriter(wfunc(b))
    			r := rfunc(bytes.NewReader(input))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testshared/shared_test.go

    func testMain(m *testing.M) (int, error) {
    	if testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		globalSkip = func(t testing.TB) { t.Skip("short mode and $GO_BUILDER_NAME not set") }
    		return m.Run(), nil
    	}
    	if !platform.BuildModeSupported(runtime.Compiler, "shared", runtime.GOOS, runtime.GOARCH) {
    		globalSkip = func(t testing.TB) { t.Skip("shared build mode not supported") }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/s390x/objz.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 := ctxtz{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: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/mips/obj0.go

    			}
    
    			if autosize == 0 && c.cursym.Func().Text.Mark&LEAF == 0 {
    				if c.cursym.Func().Text.From.Sym.NoSplit() {
    					if ctxt.Debugvlog {
    						ctxt.Logf("save suppressed in: %s\n", c.cursym.Name)
    					}
    
    					c.cursym.Func().Text.Mark |= LEAF
    				}
    			}
    
    			p.To.Offset = int64(autosize) - ctxt.Arch.FixedFrameSize
    
    			if c.cursym.Func().Text.Mark&LEAF != 0 {
    				c.cursym.Set(obj.AttrLeaf, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 30.6K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/symtab.go

    }
    
    type byPkg []*sym.Library
    
    func (libs byPkg) Len() int {
    	return len(libs)
    }
    
    func (libs byPkg) Less(a, b int) bool {
    	return libs[a].Pkg < libs[b].Pkg
    }
    
    func (libs byPkg) Swap(a, b int) {
    	libs[a], libs[b] = libs[b], libs[a]
    }
    
    // Create a table with information on the text sections.
    // Return the symbol of the table, and number of sections.
    func textsectionmap(ctxt *Link) (loader.Sym, uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 16:29:40 UTC 2023
    - 29.2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.cc

      status->status = MessageToBuffer(*run_metadata, buf);
    }
    
    namespace {
    TFE_Op* GetFunc(TFE_Context* ctx, const tensorflow::NameAttrList& func,
                    TF_Status* status) {
      TFE_Op* func_op = TFE_NewOp(ctx, func.name().data(), status);
      for (const auto& attr : func.attr()) {
        if (!status->status.ok()) return nullptr;
        SetOpAttrValueScalar(ctx, func_op, attr.second, attr.first.data(), status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/subr.go

    	"cmd/internal/src"
    )
    
    func AssignConv(n ir.Node, t *types.Type, context string) ir.Node {
    	return assignconvfn(n, t, func() string { return context })
    }
    
    // LookupNum returns types.LocalPkg.LookupNum(prefix, n).
    func LookupNum(prefix string, n int) *types.Sym {
    	return types.LocalPkg.LookupNum(prefix, n)
    }
    
    // Given funarg struct list, return list of fn args.
    func NewFuncParams(origs []*types.Field) []*types.Field {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  9. src/go/scanner/scanner_test.go

    	{"foo    /* an EOF terminates a line */ //", "IDENT COMMENT COMMENT ;"},
    
    	{"package main\n\nfunc main() {\n\tif {\n\t\treturn /* */ }\n}\n", "package IDENT ; func IDENT ( ) { if { return COMMENT } ; } ;"},
    	{"package main", "package IDENT ;"},
    }
    
    func TestSemicolons(t *testing.T) {
    	for _, test := range semicolonTests {
    		input, want := test.input, test.want
    		checkSemi(t, input, want, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  10. 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)
Back to top