Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for main (0.17 sec)

  1. src/cmd/asm/doc.go

    Input language:
    
    The assembler uses mostly the same syntax for all architectures,
    the main variation having to do with addressing modes. Input is
    run through a simplified C preprocessor that implements #include,
    #define, #ifdef/endif, but not #if or ##.
    
    For more information, see https://golang.org/doc/asm.
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:46:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/fmahash_test.go

    	t.Logf("%v", cmd)
    	t.Logf("%v", cmd.Env)
    	b, e := cmd.CombinedOutput()
    	if e != nil {
    		t.Errorf("build failed: %v\n%s", e, b)
    	}
    	s := string(b) // Looking for "GOFMAHASH triggered main.main:24"
    	re := "fmahash(0?) triggered .*fma.go:29:..;.*fma.go:18:.."
    	match := regexp.MustCompile(re)
    	if !match.MatchString(s) {
    		t.Errorf("Expected to match '%s' with \n-----\n%s-----", re, s)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 21:57:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. lib/time/mkzip.go

    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/cmd/distpack/test.go

    // This file contains tests applied to the archives before they are written.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"log"
    	"os"
    	"path"
    	"path/filepath"
    	"strings"
    )
    
    type testRule struct {
    	name    string
    	goos    string
    	exclude bool
    }
    
    var srcRules = []testRule{
    	{name: "go/VERSION"},
    	{name: "go/src/cmd/go/main.go"},
    	{name: "go/src/bytes/bytes.go"},
    	{name: "**/.DS_Store", exclude: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 22:29:19 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. src/cmd/dist/util_gccgo.go

    // Copyright 2015 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.
    
    //go:build gccgo
    
    package main
    
    func useVFPv1() {}
    
    func useVFPv3() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 252 bytes
    - Viewed (0)
  6. src/cmd/covdata/covdata.go

    // Copyright 2022 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 (
    	"cmd/internal/cov"
    	"cmd/internal/pkgpattern"
    	"cmd/internal/telemetry"
    	"flag"
    	"fmt"
    	"os"
    	"runtime"
    	"runtime/pprof"
    	"strings"
    )
    
    var verbflag = flag.Int("v", 0, "Verbose trace output level")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/1-time.md

    they had fired and never collected unstopped `Ticker`s.
    
    <!-- go.dev/issue/37196 -->
    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    that for any call to a `Reset` or `Stop` method, no stale values
    prepared before that call will be sent or received after the call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. doc/next/1-intro.md

    <!--
    NOTE: In this document and others in this directory, the convention is to
    set fixed-width phrases with non-fixed-width spaces, as in
    `hello` `world`.
    -->
    
    <style>
      main ul li { margin: 0.5em 0; }
    </style>
    
    ## DRAFT RELEASE NOTES — Introduction to Go 1.23 {#introduction}
    
    **Go 1.23 is not yet released. These are work-in-progress release notes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:25:26 UTC 2024
    - 406 bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/testdata/msan8.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
    
    /*
    #include <pthread.h>
    #include <signal.h>
    #include <stdint.h>
    
    #include <sanitizer/msan_interface.h>
    
    // cgoTracebackArg is the type of the argument passed to msanGoTraceback.
    struct cgoTracebackArg {
    	uintptr_t context;
    	uintptr_t sigContext;
    	uintptr_t* buf;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:30:58 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. misc/ios/detect.go

    // be obtained by following the instructions at
    // https://github.com/libimobiledevice/libimobiledevice.
    package main
    
    import (
    	"bytes"
    	"crypto/x509"
    	"fmt"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	udids := getLines(exec.Command("idevice_id", "-l"))
    	if len(udids) == 0 {
    		fail("no udid found; is a device connected?")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top