Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for callsite (0.44 sec)

  1. src/cmd/compile/internal/typecheck/syms.go

    // successive occurrences of the "any" placeholder in the
    // type syntax expression n.Type.
    func substArgTypes(old *ir.Name, types_ ...*types.Type) *ir.Name {
    	for _, t := range types_ {
    		types.CalcSize(t)
    	}
    	n := ir.NewNameAt(old.Pos(), old.Sym(), types.SubstAny(old.Type(), &types_))
    	n.Class = old.Class
    	n.Func = old.Func
    	if len(types_) > 0 {
    		base.Fatalf("SubstArgTypes: too many argument types")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:13 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. src/runtime/align_test.go

    	conf := types.Config{Importer: importer.Default()}
    	_, err = conf.Check("runtime", fset, files, &info)
    	if err != nil {
    		t.Fatalf("typechecking runtime failed: %v", err)
    	}
    
    	// Analyze all atomic.*64 callsites.
    	v := Visitor{t: t, fset: fset, types: info.Types, checked: checked}
    	ast.Walk(&v, pkg)
    }
    
    type Visitor struct {
    	fset    *token.FileSet
    	types   map[ast.Expr]types.TypeAndValue
    	checked map[string]bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/complit.go

    		te := types.NewArray(n.Type().Elem(), int64(len(entries)))
    
    		// TODO(#47904): mark tk and te NoAlg here once the
    		// compiler/linker can handle NoAlg types correctly.
    
    		types.CalcSize(tk)
    		types.CalcSize(te)
    
    		// make and initialize static arrays
    		vstatk := readonlystaticname(tk)
    		vstate := readonlystaticname(te)
    
    		datak := ir.NewCompLitExpr(base.Pos, ir.OARRAYLIT, nil, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

      mlir::Location unwrapped_inst_loc = GetLocationWithoutOpType(inst_loc);
    
      if (auto call_site = mlir::dyn_cast<mlir::CallSiteLoc>(unwrapped_inst_loc)) {
        if (auto name_loc = mlir::dyn_cast<mlir::NameLoc>(
                GetLocationWithoutOpType(call_site.getCallee()))) {
          llvm::StringRef original_node_name, original_func_name;
          std::tie(original_node_name, original_func_name) =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/walk.go

    	if base.Flag.W != 0 {
    		s := fmt.Sprintf("after walk %v", ir.CurFunc.Sym())
    		ir.DumpList(s, ir.CurFunc.Body)
    	}
    
    	// Eagerly compute sizes of all variables for SSA.
    	for _, n := range fn.Dcl {
    		types.CalcSize(n.Type())
    	}
    }
    
    // walkRecv walks an ORECV node.
    func walkRecv(n *ir.UnaryExpr) ir.Node {
    	if n.Typecheck() == 0 {
    		base.Fatalf("missing typecheck: %+v", n)
    	}
    	init := ir.TakeInit(n)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go

    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func write(fd int, p []byte) (n int, err error) {
    	var _p0 *byte
    	if len(p) > 0 {
    		_p0 = &p[0]
    	}
    	r0, e1 := callwrite(fd, uintptr(unsafe.Pointer(_p0)), len(p))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go

    	r1 = uintptr(C.ustat(C.int(dev), C.uintptr_t(ubuf)))
    	e1 = syscall.GetErrno()
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
    	r1 = uintptr(C.write(C.int(fd), C.uintptr_t(_p0), C.size_t(_lenp0)))
    	e1 = syscall.GetErrno()
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  8. src/regexp/syntax/parse.go

    	case OpCapture, OpStar:
    		// star can be 1+ or 2+; assume 2 pessimistically
    		size = 2 + p.calcSize(re.Sub[0], false)
    	case OpPlus, OpQuest:
    		size = 1 + p.calcSize(re.Sub[0], false)
    	case OpConcat:
    		for _, sub := range re.Sub {
    			size += p.calcSize(sub, false)
    		}
    	case OpAlternate:
    		for _, sub := range re.Sub {
    			size += p.calcSize(sub, false)
    		}
    		if len(re.Sub) > 1 {
    			size += int64(len(re.Sub)) - 1
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go

    	r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_ustat)), 2, uintptr(dev), ubuf, 0, 0, 0, 0)
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func callwrite(fd int, _p0 uintptr, _lenp0 int) (r1 uintptr, e1 Errno) {
    	r1, _, e1 = syscall6(uintptr(unsafe.Pointer(&libc_write)), 3, uintptr(fd), _p0, uintptr(_lenp0), 0, 0, 0)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/type.go

    }
    
    func (t *Type) Size() int64 {
    	if t.kind == TSSA {
    		if t == TypeInt128 {
    			return 16
    		}
    		return 0
    	}
    	CalcSize(t)
    	return t.width
    }
    
    func (t *Type) Alignment() int64 {
    	CalcSize(t)
    	return int64(t.align)
    }
    
    func (t *Type) SimpleString() string {
    	return t.kind.String()
    }
    
    // Cmp is a comparison between values a and b.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top