- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for GODEBUG (0.2 sec)
-
doc/godebug.md
[permitted by the Go 1 compatibility rules](/doc/go1compat). Even so, Go provides a mechanism called GODEBUG to reduce the impact such changes have on Go developers using newer toolchains to compile old code. A GODEBUG setting is a `key=value` pair that controls the execution of certain parts of a Go program. The environment variable `GODEBUG` can hold a comma-separated list of these settings.
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Apr 16 17:29:58 GMT 2024 - 13.5K bytes - Viewed (0) -
doc/next/6-stdlib/1-time.md
These new behaviors are only enabled when the main Go program is in a module with a `go.mod` `go` line using Go 1.23.0 or later. When Go 1.23 builds older programs, the old behaviors remain in effect. The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer) can be used to revert back to asynchronous channel behaviors
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 1.5K bytes - Viewed (0) -
doc/go1.22.html
and some less so—treatment of escaped paths has been improved. The change is controlled by a <a href="/doc/godebug"><code>GODEBUG</code></a> field named <code>httpmuxgo121</code>. Set <code>httpmuxgo121=1</code> to restore the old behavior. </p> <h3 id="minor_library_changes">Minor changes to the library</h3> <p>
HTML - Registered: Tue Feb 06 11:13:10 GMT 2024 - Last Modified: Wed Jan 31 20:51:56 GMT 2024 - 45.6K bytes - Viewed (0) -
internal/jwt/parser_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package jwt // This file is a re-implementation of the original code here with some // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1 // original file https://github.com/golang-jwt/jwt/blob/main/parser.go // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE import ( "fmt" "testing" "time"
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Nov 05 19:20:08 GMT 2021 - 6K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump_test.go
// See the License for the specific language governing permissions and // limitations under the License. package mesh import ( "os" "path/filepath" "regexp" "testing" "github.com/kylelemons/godebug/diff" "istio.io/istio/operator/pkg/util" ) func TestProfileDump(t *testing.T) { testDataDir := filepath.Join(operatorRootDir, "cmd/mesh/testdata/profile-dump") tests := []struct { desc string
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Jan 20 11:44:25 GMT 2022 - 3.7K bytes - Viewed (0) -
src/archive/zip/reader.go
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/archive/zip/reader_test.go
} if got := fi.ModTime(); !got.Equal(test.want) { t.Errorf("%s: got modtime %v, want %v", test.name, got, test.want) } } } func TestCVE202127919(t *testing.T) { t.Setenv("GODEBUG", "zipinsecurepath=0") // Archive containing only the file "../test.txt" data := []byte{ 0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/archive/tar/common.go
package tar import ( "errors" "fmt" "internal/godebug" "io/fs" "math" "path" "reflect" "strconv" "strings" "time" ) // BUG: Use of the Uid and Gid fields in Header could overflow on 32-bit // architectures. If a large value is encountered when decoding, the result // stored in Header will be the truncated version. var tarinsecurepath = godebug.New("tarinsecurepath") var (
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
internal/jwt/parser.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package jwt // This file is a re-implementation of the original code here with some // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1 // original file https://github.com/golang-jwt/jwt/blob/main/parser.go // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE import ( "bytes" "crypto" "crypto/hmac"
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue May 09 07:53:08 GMT 2023 - 13.9K bytes - Viewed (0) -
src/builtin/builtin.go
// built-in function recover. // // Starting in Go 1.21, calling panic with a nil interface value or an // untyped nil causes a run-time error (a different panic). // The GODEBUG setting panicnil=1 disables the run-time error. func panic(v any) // The recover built-in function allows a program to manage behavior of a // panicking goroutine. Executing a call to recover inside a deferred
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0)