Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for playground (0.18 sec)

  1. src/go/doc/example.go

    		if err != nil {
    			continue
    		}
    		if p == "syscall/js" {
    			// We don't support examples that import syscall/js,
    			// because the package syscall/js is not available in the playground.
    			return nil
    		}
    		n := path.Base(p)
    		if s.Name != nil {
    			n = s.Name.Name
    			switch n {
    			case "_":
    				blankImports = append(blankImports, s)
    				continue
    			case ".":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. src/os/exec/exec.go

    // To expand environment variables, use package os's ExpandEnv.
    //
    // Note that the examples in this package assume a Unix system.
    // They may not run on Windows, and they do not run in the Go Playground
    // used by golang.org and godoc.org.
    //
    // # Executables in the current directory
    //
    // The functions [Command] and [LookPath] look for a program
    // in the directories listed in the current path, following the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/main.go

    	}
    
    	isPowerOfTwo := func(n int64) bool {
    		return n > 0 && n&(n-1) == 0
    	}
    	if *FlagRound != -1 && (*FlagRound < 4096 || !isPowerOfTwo(*FlagRound)) {
    		Exitf("invalid -R value 0x%x", *FlagRound)
    	}
    
    	checkStrictDups = *FlagStrictDups
    
    	switch flagW {
    	case ternaryFlagFalse:
    		*FlagW = false
    	case ternaryFlagTrue:
    		*FlagW = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/macho.go

    		s6b.Grow(s6b.Size() + n)
    		s6b.SetSize(s6b.Size() + n)
    		size += n
    	}
    
    	if size > 0 {
    		linkoff = Rnd(int64(uint64(HEADR)+Segtext.Length), *FlagRound) + Rnd(int64(Segrelrodata.Filelen), *FlagRound) + Rnd(int64(Segdata.Filelen), *FlagRound) + Rnd(int64(Segdwarf.Filelen), *FlagRound)
    		ctxt.Out.SeekSet(linkoff)
    
    		ctxt.Out.Write(ldr.Data(s1))
    		ctxt.Out.Write(ldr.Data(s2))
    		ctxt.Out.Write(ldr.Data(s3))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	// Kernel requires all loaded segments to be page-aligned in the file,
    	// even though we mark this one as being 0 bytes of virtual address space.
    	dwarfstart := Rnd(int64(linkseg.Offset), *FlagRound)
    	if _, err := outf.Seek(dwarfstart, 0); err != nil {
    		return err
    	}
    
    	if _, err := dwarff.Seek(int64(realdwarf.Offset), 0); err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top