- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 658 for programs (0.11 sec)
-
src/regexp/onepass.go
// A onePassProg is a compiled one-pass regular expression program. // It is the same as syntax.Prog except for the use of onePassInst. type onePassProg struct { Inst []onePassInst Start int // index of start instruction NumCap int // number of InstCapture insts in re } // A onePassInst is a single instruction in a one-pass regular expression program. // It is the same as syntax.Inst except for the new 'Next' field.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 13.7K bytes - Viewed (0) -
src/go/parser/short_test.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. // This file contains test cases for short valid and invalid programs. package parser import "testing" var valids = []string{ "package p\n", `package p;`, `package p; import "fmt"; func f() { fmt.Println("Hello, World!") };`, `package p; func f() { if f(T{}) {} };`,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 10.1K bytes - Viewed (0) -
src/cmd/go/internal/toolchain/select.go
// countEnv is a special environment variable // that is incremented during each toolchain switch, to detect loops. // It is cleared before invoking programs in 'go run', 'go test', 'go generate', and 'go tool' // by invoking them in an environment filtered with FilterEnv, // so user programs should not see this in their environment. countEnv = "GOTOOLCHAIN_INTERNAL_SWITCH_COUNT" // maxSwitch is the maximum toolchain switching depth.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:25:05 UTC 2024 - 23.4K bytes - Viewed (0) -
src/cmd/covdata/metamerge.go
var counters []uint32 key := pkfunc{pk: pkgIdx, fcn: fnIdx} v, haveCounters := mm.pod.pmm[key] if haveCounters { counters = v.Counters } if pcombine { // If the merge is running in "combine programs" mode, then hash // the function and look it up in the package ftab to see if we've // encountered it before. If we haven't, then register it with the // meta-data builder. fnhash := encodemeta.HashFuncDesc(fd)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
src/runtime/race_s390x.s
#include "funcdata.h" #include "textflag.h" // The following thunks allow calling the gcc-compiled race runtime directly // from Go code without going all the way through cgo. // First, it's much faster (up to 50% speedup for real Go programs). // Second, it eliminates race-related special cases from cgocall and scheduler. // Third, in long-term it will allow to remove cyclic runtime/race dependency on cmd/go. // A brief recap of the s390x C calling convention.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 13.1K bytes - Viewed (0) -
src/unsafe/unsafe.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* Package unsafe contains operations that step around the type safety of Go programs. Packages that import unsafe may be non-portable and are not protected by the Go 1 compatibility guidelines. */ package unsafe // ArbitraryType is here for the purposes of documentation only and is not actually
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0) -
src/runtime/mstats.go
// GCCPUFraction is the fraction of this program's available // CPU time used by the GC since the program started. // // GCCPUFraction is expressed as a number between 0 and 1, // where 0 means GC has consumed none of this program's CPU. A // program's available CPU time is defined as the integral of // GOMAXPROCS since the program started. That is, if // GOMAXPROCS is 2 and a program has been running for 10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 34.2K bytes - Viewed (0) -
src/internal/trace/trace_test.go
cmd.Env = append(cmd.Env, "GODEBUG="+godebug) // Capture stdout and stderr. // // The protocol for these programs is that stdout contains the trace data // and stderr is an expectation in string format. var traceBuf, errBuf bytes.Buffer cmd.Stdout = &traceBuf cmd.Stderr = &errBuf // Run the program. if err := cmd.Run(); err != nil { if errBuf.Len() != 0 { t.Logf("stderr: %s", string(errBuf.Bytes()))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/go/printer/testdata/comments.input
func _() { _ = []int{0, 1 /* don't introduce a newline after this comment - was issue 1365 */} } // Test cases from issue 1542: // Comments must not be placed before commas and cause invalid programs. func _() { var a = []int{1, 2, /*jasldf*/ } _ = a } func _() { var a = []int{1, 2, /*jasldf */ } _ = a } func _() { var a = []int{1, 2, // jasldf }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 25 23:11:14 UTC 2022 - 11.3K bytes - Viewed (0) -
src/go/doc/doc.go
AllMethods // PreserveAST says to leave the AST unmodified. Originally, pieces of // the AST such as function bodies were nil-ed out to save memory in // godoc, but not all programs want that behavior. PreserveAST ) // New computes the package documentation for the given package AST. // New takes ownership of the AST pkg and may edit or overwrite it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 11.2K bytes - Viewed (0)