Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Main (0.17 sec)

  1. misc/go_android_exec/main.go

    //go:build darwin || dragonfly || freebsd || illumos || linux || netbsd || openbsd
    
    // This program can be used as go_android_GOARCH_exec by the Go tool.
    // It executes binaries on an android device using adb.
    package main
    
    import (
    	"bytes"
    	"errors"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"os/exec"
    	"os/signal"
    	"path"
    	"path/filepath"
    	"regexp"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"syscall"
    )
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    // license that can be found in the LICENSE file.
    
    // This package computes the exported API of a set of Go packages.
    // It is only a test, not a command, nor a usefully importable package.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"go/ast"
    	"go/build"
    	"go/parser"
    	"go/token"
    	"go/types"
    	"internal/testenv"
    	"io"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/s390x.s

    	VSUMH	V22, V23, V24           // e78670001e64
    
    	RET
    	RET	foo(SB)
    
    TEXT main·init(SB),DUPOK|NOSPLIT,$0 // TEXT main.init(SB), DUPOK|NOSPLIT, $0
    	RET
    
    TEXT main·main(SB),DUPOK|NOSPLIT,$0 // TEXT main.main(SB), DUPOK|NOSPLIT, $0
    	BL      main·foo(SB)    // CALL main.foo(SB)
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Nov 22 03:55:32 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/operand_test.go

    	{"$1", "$1"},
    	{"$1.0", "$(1.0)"},
    	{"$10", "$10"},
    	{"$1000", "$1000"},
    	{"$1000000", "$1000000"},
    	{"$1000000000", "$1000000000"},
    	{"$__tsan_func_enter(SB)", "$__tsan_func_enter(SB)"},
    	{"$main(SB)", "$main(SB)"},
    	{"$masks<>(SB)", "$masks<>(SB)"},
    	{"$setg_gcc<>(SB)", "$setg_gcc<>(SB)"},
    	{"$shifts<>(SB)", "$shifts<>(SB)"},
    	{"$~(1<<63)", "$9223372036854775807"},
    	{"$~0x3F", "$-64"},
    	{"$~15", "$-16"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    in general generate direct references to the system libraries.
    
    Instead, the build process generates an object file using dynamic
    linkage to the desired libraries. The main function is provided by
    _cgo_main.c:
    
    	int main() { return 0; }
    	void crosscall2(void(*fn)(void*), void *a, int c, uintptr_t ctxt) { }
    	uintptr_t _cgo_wait_runtime_init_done(void) { return 0; }
    	void _cgo_release_context(uintptr_t ctxt) { }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/ast.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Parse input AST and prepare Prog structure.
    
    package main
    
    import (
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"os"
    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    	// Check if we can use USTAR prefix/suffix splitting.
    	var namePrefix string
    	if prefix, suffix, ok := splitUSTARPath(hdr.Name); ok {
    		namePrefix, hdr.Name = prefix, suffix
    	}
    
    	// Pack the main header.
    	var f formatter
    	blk := tw.templateV7Plus(hdr, f.formatString, f.formatOctal)
    	f.formatString(blk.toUSTAR().prefix(), namePrefix)
    	blk.setFormat(FormatUSTAR)
    	if f.err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  8. doc/godebug.md

    The defaults that will be compiled into a main package
    are reported by the command:
    
    {{raw `
    	go list -f '{{.DefaultGODEBUG}}' my/main/package
    `}}
    
    Only differences from the base Go toolchain defaults are reported.
    
    When testing a package, `//go:debug` lines in the `*_test.go`
    files are treated as directives for the test's main package.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. doc/asm.html

    (the actual output may differ from what you see here):
    </p>
    
    <pre>
    $ cat x.go
    package main
    
    func main() {
    	println(3)
    }
    $ GOOS=linux GOARCH=amd64 go tool compile -S x.go        # or: go build -gcflags -S x.go
    "".main STEXT size=74 args=0x0 locals=0x10
    	0x0000 00000 (x.go:3)	TEXT	"".main(SB), $16-0
    	0x0000 00000 (x.go:3)	MOVQ	(TLS), CX
    	0x0009 00009 (x.go:3)	CMPQ	SP, 16(CX)
    	0x000d 00013 (x.go:3)	JLS	67
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/input.go

    package lex
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strconv"
    	"strings"
    	"text/scanner"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // Input is the main input: a stack of readers and some macro definitions.
    // It also handles #include processing (by pushing onto the input stack)
    // and parses and instantiates macro definitions.
    type Input struct {
    	Stack
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
Back to top