Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 630 for linkstr (1.19 sec)

  1. src/cmd/cgo/internal/testplugin/testdata/issue19418/main.go

    )
    
    func main() {
    	p, err := plugin.Open("plugin.so")
    	if err != nil {
    		panic(err)
    	}
    
    	val, err := p.Lookup("Val")
    	if err != nil {
    		panic(err)
    	}
    	got := *val.(*string)
    	const want = "linkstr"
    	if got != want {
    		fmt.Fprintf(os.Stderr, "issue19418 value is %q, want %q\n", got, want)
    		os.Exit(2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 511 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testplugin/plugin_test.go

    	goCmd(t, "build", "-o", "issue18584.exe", "./issue18584/main.go")
    	run(t, "./issue18584.exe")
    }
    
    func TestIssue19418(t *testing.T) {
    	globalSkip(t)
    	goCmd(t, "build", "-buildmode=plugin", "-ldflags=-X main.Val=linkstr", "-o", "plugin.so", "./issue19418/plugin.go")
    	goCmd(t, "build", "-o", "issue19418.exe", "./issue19418/main.go")
    	run(t, "./issue19418.exe")
    }
    
    func TestIssue19529(t *testing.T) {
    	globalSkip(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    func (intstr *IntOrString) UnmarshalJSON(value []byte) error {
    	if value[0] == '"' {
    		intstr.Type = String
    		return json.Unmarshal(value, &intstr.StrVal)
    	}
    	intstr.Type = Int
    	return json.Unmarshal(value, &intstr.IntVal)
    }
    
    func (intstr *IntOrString) UnmarshalCBOR(value []byte) error {
    	if err := cbor.Unmarshal(value, &intstr.StrVal); err == nil {
    		intstr.Type = String
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/base/link.go

    	}
    	return linksym(prefix, prefix+sep+name, abi)
    }
    
    // Linkname returns the linker symbol for the given name as it might
    // appear within a //go:linkname directive.
    func Linkname(name string, abi obj.ABI) *obj.LSym {
    	return linksym("_", name, abi)
    }
    
    // linksym is an internal helper function for implementing the above
    // exported APIs.
    func linksym(pkg, name string, abi obj.ABI) *obj.LSym {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 11:28:56 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho_combine_dwarf.go

    		if err != nil {
    			return err
    		}
    		linkoffset := uint64(linkstart) - linkseg.Offset
    		switch cmd.Cmd {
    		case macho.LoadCmdSegment64:
    			err = machoUpdateSegment(reader, linkseg, linkoffset)
    		case macho.LoadCmdSegment:
    			panic("unexpected 32-bit segment")
    		case LC_DYLD_INFO, LC_DYLD_INFO_ONLY:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/staticdata/data.go

    	}
    	funcsymsmu.Unlock()
    
    	return sf.Linksym()
    }
    
    func GlobalLinksym(n *ir.Name) *obj.LSym {
    	if n.Op() != ir.ONAME || n.Class != ir.PEXTERN {
    		base.Fatalf("expected global variable: %v", n)
    	}
    	return n.Linksym()
    }
    
    func WriteFuncSyms() {
    	sort.Slice(funcsyms, func(i, j int) bool {
    		return funcsyms[i].Linksym().Name < funcsyms[j].Linksym().Name
    	})
    	for _, nam := range funcsyms {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/build/relnote/links.go

    		addSymbolLinksBlocks(b.Blocks, defaultPackage)
    	// no links in these blocks
    	case *md.CodeBlock:
    	case *md.HTMLBlock:
    	case *md.Empty:
    	case *md.ThematicBreak:
    	default:
    		panic(fmt.Sprintf("unknown block type %T", b))
    	}
    }
    
    // addSymbolLinksInlines looks for symbol links in the slice of inline markdown
    // elements. It returns a new slice of inline elements with links added.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. docs/ja/docs/external-links.md

    Sebastián Ramírez <******@****.***> 1697960113 +0400
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Oct 22 07:35:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. docs/en/docs/external-links.md

    # External Links and Articles
    
    **FastAPI** has a great community constantly growing.
    
    There are many posts, articles, tools, and projects, related to **FastAPI**.
    
    Here's an incomplete list of some of them.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Oct 22 07:35:13 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. src/go/doc/testdata/examples/issue43658.go

    			0:  linksTo(2, 4),
    			1:  linksTo(4, 8),
    			2:  linksTo(0, 3, 4, 5, 8, 9),
    			3:  linksTo(2, 8, 11),
    			4:  linksTo(0, 1, 2, 8),
    			5:  linksTo(2),
    			6:  nil,
    			7:  linksTo(9, 11),
    			8:  linksTo(1, 2, 3, 4, 10, 12),
    			9:  linksTo(2, 7, 11),
    			10: linksTo(8),
    			11: linksTo(3, 7, 9, 12),
    			12: linksTo(8, 11),
    		},
    
    		// red cells
    		enemies: []intset{
    			0:  linksTo(1, 3, 5, 6, 7, 8, 9, 10, 11, 12),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 23:13:45 UTC 2022
    - 6.6K bytes
    - Viewed (0)
Back to top