- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 259 for Variable (0.65 sec)
-
src/cmd/compile/internal/ssa/loopbce.go
// variable, and, if so, extracts: // - the minimum bound // - the increment value // - the "next" value (SSA value that is Phi'd into the induction variable every loop) // // Currently, we detect induction variables that match (Phi min nxt), // with nxt being (Add inc ind). // If it can't parse the induction variable correctly, it returns (nil, nil, nil).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 17:37:47 UTC 2023 - 11.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/doc.go
// iteration and possibly observe the wrong value of the variable. // // Note: An iteration variable can only outlive a loop iteration in Go versions <=1.21. // In Go 1.22 and later, the loop variable lifetimes changed to create a new // iteration variable per loop iteration. (See go.dev/issue/60078.) // // In this example, all the deferred functions run after the loop has // completed, so all observe the final value of v [<go1.22]. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 21:52:54 UTC 2023 - 2.6K bytes - Viewed (0) -
src/cmd/compile/internal/walk/temp.go
} // stackBufAddr returns the expression &tmp, where tmp is a newly // allocated temporary variable of type [len]elem. This variable is // initialized, and elem must not contain pointers. func stackBufAddr(len int64, elem *types.Type) *ir.AddrExpr { if elem.HasPointers() { base.FatalfAt(base.Pos, "%v has pointers", elem) } tmp := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(elem, len))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 16:41:23 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go
// checkLostCancel reports a failure to the call the cancel function // returned by context.WithCancel, either because the variable was // assigned to the blank identifier, or because there exists a // control-flow path from the call to a return statement and that path // does not "use" the cancel function. Any reference to the variable // counts as a use, even within a nested function literal. // If the variable's scope is larger than the function
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 9K bytes - Viewed (0) -
src/cmd/go/testdata/script/telemetry.txt
stdout 'on' go env stdout 'GOTELEMETRY=''?on''?' stdout 'GOTELEMETRYDIR=''?'$userconfig'[\\/]go[\\/]telemetry''?' ! go env -w GOTELEMETRY=off stderr '^go: unknown go command variable GOTELEMETRY$' ! go env -w GOTELEMETRYDIR=foo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 20:16:39 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_swig.txt
[!exec:swig] skip [!cgo] skip go test -v -count=1 -coverprofile=foo.p stdout 'coverage: 100.0% of statements' -- go.mod -- module simple go 1.21 -- main.c -- /* A global variable */ double Foo = 3.0; /* Compute the greatest common divisor of positive integers */ int gcd(int x, int y) { int g; g = y; while (x > 0) { g = x; x = y % x; y = g; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 05 21:29:51 UTC 2024 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stmt.go
// If lhs exists, declare a corresponding variable in the case-local scope. if lhs != nil { // spec: "The TypeSwitchGuard may include a short variable declaration. // When that form is used, the variable is declared at the beginning of // the implicit block in each clause. In clauses with a case listing // exactly one type, the variable has that type; otherwise, the variable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/compile/internal/noder/codes.go
func (c codeExpr) Value() int { return int(c) } // TODO(mdempsky): Split expr into addr, for lvalues. const ( exprConst codeExpr = iota exprLocal // local variable exprGlobal // global variable or function exprCompLit exprFuncLit exprFieldVal exprMethodVal exprMethodExpr exprIndex exprSlice exprAssert exprUnaryOp exprBinaryOp exprCall exprConvert
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 20:07:46 UTC 2023 - 1.9K bytes - Viewed (0) -
src/cmd/link/testdata/dynimportvar/main.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that we can access dynamically imported variables. // We ues mach_task_self_ from darwin's system library. // Check that loading the variable from C and Go gets the // same result. //go:build darwin package main /* #include <mach/mach_init.h> unsigned int Mach_task_self(void) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 19:39:32 UTC 2023 - 678 bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/crypto/tls/66214.md
3DES cipher suites were removed from the default list used when [Config.CipherSuites] is nil. The default can be reverted adding `tls3des=1` to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 178 bytes - Viewed (0)