- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for have (0.56 sec)
-
src/cmd/cgo/internal/testgodefs/testdata/main.go
var _ = issue38649{X: 0} // Test that prefixes do not cause duplicate field names. var _ = Issue48396{Fd: 1, Bpf_fd: 2} func main() { pass := true // The Go translation of bitfields should not have any of the // bitfield types. The order in which bitfields are laid out // in memory is implementation defined, so we can't easily // know how a bitfield should correspond to a Go type, even if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/doc/main.go
if period < 0 { period = len(arg) } else { period += start symbol = arg[period+1:] } // Have we identified a package already? pkg, err := build.Import(arg[0:period], wd, build.ImportComment) if err == nil { return pkg, arg[0:period], symbol, false } // See if we have the basename or tail of a package, as in json for encoding/json // or ivy/value for robpike.io/ivy/value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/cmd/bisect/main.go
} // Process output, collecting match reports for suffix. have := make(map[uint64]bool) all := r.Out for all != "" { var line string line, all, _ = strings.Cut(all, "\n") short, id, ok := bisect.CutMarker(line) if !ok || (id&mask) != bits { continue } if !have[id] { have[id] = true r.MatchIDs = append(r.MatchIDs, id) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 18:11:19 UTC 2023 - 23.9K bytes - Viewed (0) -
src/cmd/dist/main.go
gohostarch = "ppc64" case "plan9": gohostarch = os.Getenv("objtype") if gohostarch == "" { fatalf("$objtype is unset") } case "solaris", "illumos": // Solaris and illumos systems have multi-arch userlands, and // "uname -m" reports the machine hardware name; e.g., // "i86pc" on both 32- and 64-bit x86 systems. Check for the // native (widest) instruction set on the running kernel:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:44:52 UTC 2023 - 5.5K bytes - Viewed (0) -
src/cmd/test2json/main.go
// (for example, by using b.Log or b.Error), that extra output is reported // as a sequence of events with Test set to the benchmark name, terminated // by a final event with Action == "bench" or "fail". // Benchmarks have no events with Action == "pause". package main import ( "flag" "fmt" "io" "os" "os/exec" "os/signal" "cmd/internal/telemetry" "cmd/internal/test2json" ) var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/main.go
filesize := ctxt.layout(order) // Write out the output file. // It is split into two parts (Asmb and Asmb2). The first // part writes most of the content (sections and segments), // for which we have computed the size and offset, in a // mmap'd region. The second part writes more content, for // which we don't know the size. if ctxt.Arch.Family != sys.Wasm { // Don't mmap if we're building for Wasm. Wasm file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:59:50 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/main.go
} else if needEffect { log.Fatalf("symEffect needed for aux %s", v.aux) } if a.name == "generic" { fmt.Fprintln(w, "generic:true,") fmt.Fprintln(w, "},") // close op // generic ops have no reg info or asm continue } if v.asm != "" { fmt.Fprintf(w, "asm: %s.A%s,\n", pkg, v.asm) } if v.scale != 0 { fmt.Fprintf(w, "scale: %d,\n", v.scale) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 22:42:34 UTC 2023 - 16.9K bytes - Viewed (0) -
src/cmd/go/main.go
// The -C flag must be the first flag on the command line, to make it easy to find // even with commands that have custom flag parsing. // handleChdirFlag handles the flag by chdir'ing to the directory // and then removing that flag from the command line entirely. // // We have to handle the -C flag this way for two reasons: // // 1. Toolchain selection needs to be in the right directory to look for go.mod and go.work.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/issue62430/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. // Issue 62430: a program that uses plugins may appear // to have no references to an initialized global map variable defined // in some stdlib package (ex: unicode), however there // may be references to that map var from a plugin that // gets loaded. package main import ( "fmt"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 13:18:51 UTC 2023 - 804 bytes - Viewed (0) -
misc/go_android_exec/main.go
return 0, err } // In case we're booting a device or emulator alongside all.bash, wait for // it to be ready. adb wait-for-device is not enough, we have to // wait for sys.boot_completed. if err := adb("wait-for-device", "exec-out", "while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;"); err != nil { return 0, err } // Done once per make.bash.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0)