Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 4,301 for main2 (0.05 sec)

  1. src/cmd/dist/main.go

    	"clean":     cmdclean,
    	"env":       cmdenv,
    	"install":   cmdinstall,
    	"list":      cmdlist,
    	"test":      cmdtest,
    	"version":   cmdversion,
    }
    
    // main takes care of OS-specific startup and dispatches to xmain.
    func main() {
    	os.Setenv("TERM", "dumb") // disable escape codes in clang errors
    
    	// provide -check-armv6k first, before checking for $GOROOT so that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 22 19:44:52 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. test/asmhdr.dir/main.go

    // Copyright 2021 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 "unsafe"
    
    const (
    	smallInt = 42
    
    	// For bigInt, we use a value that's too big for an int64, but still
    	// fits in uint64. go/constant uses a different representation for
    	// values larger than int64, but the cmd/asm parser can't parse
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 10 21:27:19 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  3. test/typeparam/mapsimp.dir/main.go

    // Copyright 2021 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 (
    	"./a"
    	"fmt"
    	"math"
    	"sort"
    )
    
    var m1 = map[int]int{1: 2, 2: 4, 4: 8, 8: 16}
    var m2 = map[int]string{1: "2", 2: "4", 4: "8", 8: "16"}
    
    func TestKeys() {
    	want := []int{1, 2, 4, 8}
    
    	got1 := a.Keys(m1)
    	sort.Ints(got1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. test/typeparam/listimp.dir/main.go

    // Copyright 2021 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 (
    	"./a"
    	"fmt"
    )
    
    func main() {
    	i3 := &a.List[int]{nil, 1}
    	i2 := &a.List[int]{i3, 3}
    	i1 := &a.List[int]{i2, 2}
    	if got, want := i1.Largest(), 3; got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/link/testdata/pe-llvm/main.go

    //     RELOCATION RECORDS FOR [.rsrc$01]:
    //     OFFSET           TYPE                     VALUE
    //     0000000000000048 IMAGE_REL_AMD64_ADDR32NB $R000000
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 26 18:15:09 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/analysis-api-standalone-native/testData/nativeSessionBuilder/resolveAgainstNativeKLib/src/main.kt

    import nativeKLib.nativeKLibFunction
    
    fun main() {
        nativeKLibFunction("aaa")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Nov 16 13:31:53 UTC 2023
    - 82 bytes
    - Viewed (0)
  7. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    // Copyright 2023 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 (
    	"cmp"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"slices"
    	"text/tabwriter"
    
    	"internal/trace/event"
    	"internal/trace/raw"
    )
    
    func init() {
    	flag.Usage = func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/variants/groovy/src/main/cpp/main.cpp

    #include "hello.h"
    
    int main () {
      hello();
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 59 bytes
    - Viewed (0)
  9. src/runtime/pprof/testdata/mappingtest/main.go

    // both Go and Cgo stacks. This is used by the mapping info
    // tests in runtime/pprof.
    //
    // If SETCGOTRACEBACK=1 is set, the CPU profile will includes
    // PCs from C side but they will not be symbolized.
    package main
    
    /*
    #include <stdint.h>
    #include <stdlib.h>
    
    int cpuHogCSalt1 = 0;
    int cpuHogCSalt2 = 0;
    
    void CPUHogCFunction0(int foo) {
    	int i;
    	for (i = 0; i < 100000; i++) {
    		if (foo > 0) {
    			foo *= foo;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 08 02:40:04 UTC 2019
    - 2K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testplugin/testdata/checkdwarf/main.go

    // Usage:
    //
    //  checkdwarf <exe> <suffix>
    //
    // Opens <exe>, which must be an executable or a library and checks that
    // there is an entry in .debug_info whose name ends in <suffix>
    
    package main
    
    import (
    	"debug/dwarf"
    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"fmt"
    	"os"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "checkdwarf executable-or-library DIE-suffix\n")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top