Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for converter (0.56 sec)

  1. src/cmd/compile/internal/walk/convert.go

    		// converted by value, not by pointer.
    		fn = typecheck.LookupRuntime(fnname)
    		var arg ir.Node
    		switch {
    		case fromType == argType:
    			// already in the right type, nothing to do
    			arg = n
    		case fromType.Kind() == argType.Kind(),
    			fromType.IsPtrShaped() && argType.IsPtrShaped():
    			// can directly convert (e.g. named type to underlying type, or one pointer to another)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    	close(r.next)
    
    	if a.Failed {
    		// We were unable to build the binary.
    		a.Failed = false
    		fmt.Fprintf(stdout, "FAIL\t%s [build failed]\n", a.Package.ImportPath)
    		// Tell the JSON converter that this was a failure, not a passing run.
    		err = errors.New("build failed")
    		base.SetExitStatus(1)
    		return nil
    	}
    
    	coverProfTempFile := func(a *work.Action) string {
    		if a.Objdir == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/inlheur/function_properties.go

    	ResultNoInfo ResultPropBits = 0
    	// This result always contains allocated memory.
    	ResultIsAllocatedMem ResultPropBits = 1 << iota
    	// This result is always a single concrete type that is
    	// implicitly converted to interface.
    	ResultIsConcreteTypeConvertedToInterface
    	// Result is always the same non-composite compile time constant.
    	ResultAlwaysSameConstant
    	// Result is always the same function or closure.
    	ResultAlwaysSameFunc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 10 18:52:53 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/reflectdata/helpers.go

    }
    
    // ConvIfaceSrcRType asserts that n is a conversion from
    // non-interface type to interface type, and
    // returns an expression that yields the *runtime._type for copying
    // the convertee value to the heap.
    func ConvIfaceSrcRType(pos src.XPos, n *ir.ConvExpr) ir.Node {
    	assertOp(n, ir.OCONVIFACE)
    	if hasRType(n, n.SrcRType, "SrcRType") {
    		return n.SrcRType
    	}
    	return concreteRType(pos, n.X.Type())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 04:50:32 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. doc/go_spec.html

    <pre>
    *Point(p)        // same as *(Point(p))
    (*Point)(p)      // p is converted to *Point
    &lt;-chan int(c)    // same as &lt;-(chan int(c))
    (&lt;-chan int)(c)  // c is converted to &lt;-chan int
    func()(x)        // function signature func() x
    (func())(x)      // x is converted to func()
    (func() int)(x)  // x is converted to func() int
    func() int(x)    // x is converted to func() int (unambiguous)
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_tidy_convergence.txt

    # missing package, only to remove that package when resolving its dependencies.
    #
    # If we naively iterate 'go mod tidy' until the dependency graph converges, this
    # scenario may fail to converge.
    
    # The import graph used in this test looks like:
    #
    # m --- x
    #       |
    #       x_test --- y
    #
    # The module dependency graph of m is initially empty.
    # Modules x and y look like:
    #
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/buildlist.go

    // version, the caller may need to reload and recompute the package graph.
    //
    // To ensure that the loading process eventually converges, the caller should
    // add any needed roots from the tidy root set (without removing existing untidy
    // roots) until the set of roots has converged.
    func tidyPrunedRoots(ctx context.Context, mainModule module.Version, old *Requirements, pkgs []*loadPkg) (*Requirements, error) {
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/compile.go

    var BuildDump map[string]bool = make(map[string]bool) // names of functions to dump after initial build of ssa
    
    var GenssaDump map[string]bool = make(map[string]bool) // names of functions to dump after ssa has been converted to asm
    
    // PhaseOption sets the specified flag in the specified ssa phase,
    // returning empty string if this was successful or a string explaining
    // the error if it was not.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/rangefunc/rewrite.go

    		n = r.stack[len(r.stack)-1]
    
    		// If we are inside a range-over-func,
    		// take this moment to replace any break/continue/goto/return
    		// statements directly contained in this node.
    		// Also replace any converted for statements
    		// with the rewritten block.
    		switch n := n.(type) {
    		case *syntax.BlockStmt:
    			for i, s := range n.List {
    				n.List[i] = r.editStmt(s)
    			}
    		case *syntax.CaseClause:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    // These functions take concrete types in the runtime. But they may
    // be used for a wider range of types, which have the same memory
    // layout as the parameter type. The compiler converts the
    // to-be-converted type to the parameter type before calling the
    // runtime function. This way, the call is ABI-insensitive.
    func convT16(val uint16) unsafe.Pointer
    func convT32(val uint32) unsafe.Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top