Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 205 for marino (0.42 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/main4.c

    		ok = 0;
    	} else if (nss.ss_sp != ss.ss_sp) {
    		fprintf(stderr, "sigaltstack changed on return from Go\n");
    		ok = 0;
    	}
    
    	return NULL;
    }
    
    int main(int argc, char **argv) {
    	pthread_t tid;
    	int i;
    
    	// Tell the Go library to start looking for SIGIO.
    	GoCatchSIGIO();
    
    	i = pthread_create(&tid, NULL, thread1, NULL);
    	if (i != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. src/cmd/asm/main.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bufio"
    	"flag"
    	"fmt"
    	"internal/buildcfg"
    	"log"
    	"os"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/asm"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    	"cmd/internal/telemetry"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/testdata/stdio/main.swig

    Austin Clements <******@****.***> 1683216807 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:07 UTC 2023
    - 563 bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testgodefs/testdata/main.go

    // Copyright 2014 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.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"reflect"
    )
    
    // Test that the struct field in anonunion.go was promoted.
    var v1 T
    var v2 = v1.L
    
    // Test that P, Q, and R all point to byte.
    var v3 = Issue8478{P: (*byte)(nil), Q: (**byte)(nil), R: (***byte)(nil)}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testplugin/altpath/testdata/plugin-mismatch/main.go

    // Copyright 2016 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.
    
    package main
    
    // // No C code required.
    import "C"
    
    // The common package imported here does not match the common package
    // imported by plugin1. A program that attempts to load plugin1 and
    // plugin-mismatch should produce an error.
    import "testplugin/common"
    
    func ReadCommonX() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 466 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/main.go

    package main
    
    import "cmd/cgo/internal/testsanitizers/testdata/asan_linkerx/p"
    
    func pstring(s *string) {
    	println(*s)
    }
    
    func main() {
    	all := []*string{
    		&S1, &S2, &S3, &S4, &S5, &S6, &S7, &S8, &S9, &S10,
    		&p.S1, &p.S2, &p.S3, &p.S4, &p.S5, &p.S6, &p.S7, &p.S8, &p.S9, &p.S10,
    	}
    	for _, ps := range all {
    		pstring(ps)
    	}
    }
    
    var S1 string
    var S2 string
    var S3 string
    var S4 string
    var S5 string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 471 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/testdata/issue18584/main.go

    // Copyright 2017 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.
    
    package main
    
    import "plugin"
    
    func main() {
    	p, err := plugin.Open("plugin.so")
    	if err != nil {
    		panic(err)
    	}
    
    	sym, err := p.Lookup("G")
    	if err != nil {
    		panic(err)
    	}
    	g := sym.(func() bool)
    	if !g() {
    		panic("expected types to match, Issue #18584")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 424 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testplugin/testdata/issue25756/main.go

    // license that can be found in the LICENSE file.
    
    // Run the game of life in C using Go for parallelization.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"plugin"
    )
    
    const MAXDIM = 100
    
    var dim = flag.Int("dim", 16, "board dimensions")
    var gen = flag.Int("gen", 10, "generations")
    
    func main() {
    	flag.Parse()
    
    	var a [MAXDIM * MAXDIM]int32
    	for i := 2; i < *dim; i += 8 {
    		for j := 2; j < *dim-3; j += 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 928 bytes
    - Viewed (0)
  9. src/cmd/doc/main.go

    	fmt.Fprintf(os.Stderr, "Flags:\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("doc: ")
    	telemetry.Start()
    	dirsInit()
    	err := do(os.Stdout, flag.CommandLine, os.Args[1:])
    	if err != nil {
    		log.Fatal(err)
    	}
    }
    
    // do is the workhorse, broken out of main to make testing easier.
    func do(writer io.Writer, flagSet *flag.FlagSet, args []string) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/cmd/internal/metadata/main.go

    // toolchain.
    
    // This program is only used by cmd/dist. Add an "ignore" build tag so it
    // is not installed. cmd/dist does "go run main.go" directly.
    
    //go:build ignore
    
    package main
    
    import (
    	"cmd/internal/osinfo"
    	"fmt"
    	"internal/sysinfo"
    	"runtime"
    )
    
    func main() {
    	fmt.Printf("# GOARCH: %s\n", runtime.GOARCH)
    	fmt.Printf("# CPU: %s\n", sysinfo.CPUName())
    
    	fmt.Printf("# GOOS: %s\n", runtime.GOOS)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 21:40:36 UTC 2023
    - 876 bytes
    - Viewed (0)
Back to top