repo
stringlengths
6
47
file_url
stringlengths
77
269
file_path
stringlengths
5
186
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-07 08:35:43
2026-01-07 08:55:24
truncated
bool
2 classes
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go118_export.go
pkg/sync/atomic/go118_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.18 && !go1.19 // +build go1.18,!go1.19 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "un...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go124_export.go
pkg/sync/atomic/go124_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.24 && !go1.25 // +build go1.24,!go1.25 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "un...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go119_export.go
pkg/sync/atomic/go119_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.19 && !go1.20 // +build go1.19,!go1.20 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "un...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go117_export.go
pkg/sync/atomic/go117_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.17 && !go1.18 // +build go1.17,!go1.18 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "un...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go122_export.go
pkg/sync/atomic/go122_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.22 && !go1.23 // +build go1.22,!go1.23 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "un...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go116_export.go
pkg/sync/atomic/go116_export.go
// export by github.com/goplus/ixgo/cmd/qexp //+build go1.16,!go1.17 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "unsafe", }, Interfaces: map[...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go119_patch.go
pkg/sync/atomic/go119_patch.go
//go:build go1.19 // +build go1.19 package atomic import ( _ "embed" "github.com/goplus/ixgo" ) //go:embed _patch/type.go var patch_data []byte func init() { ixgo.RegisterPatch("sync/atomic", patch_data) }
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go114_export.go
pkg/sync/atomic/go114_export.go
// export by github.com/goplus/ixgo/cmd/qexp //+build go1.14,!go1.15 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "unsafe", }, Interfaces: map[...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go125_export.go
pkg/sync/atomic/go125_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.25 // +build go1.25 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "unsafe", }, Inter...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go121_export.go
pkg/sync/atomic/go121_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.21 && !go1.22 // +build go1.21,!go1.22 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "un...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go120_export.go
pkg/sync/atomic/go120_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.20 && !go1.21 // +build go1.20,!go1.21 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "un...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go115_export.go
pkg/sync/atomic/go115_export.go
// export by github.com/goplus/ixgo/cmd/qexp //+build go1.15,!go1.16 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "unsafe", }, Interfaces: map[...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/go123_export.go
pkg/sync/atomic/go123_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.23 && !go1.24 // +build go1.23,!go1.24 package atomic import ( q "sync/atomic" "reflect" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "atomic", Path: "sync/atomic", Deps: map[string]string{ "unsafe": "un...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/sync/atomic/_patch/type.go
pkg/sync/atomic/_patch/type.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 atomic import ( "sync/atomic" "unsafe" ) // A Pointer is an atomic pointer of type *T. The zero value is a nil *T. type Pointer[T any] struct { // ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/go124_export.go
pkg/unique/go124_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.24 && !go1.25 // +build go1.24,!go1.25 package unique import ( _ "unique" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "unique", Path: "unique", Deps: map[string]string{ "internal/abi": "abi", "...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/go125_export.go
pkg/unique/go125_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.25 // +build go1.25 package unique import ( _ "unique" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "unique", Path: "unique", Deps: map[string]string{ "internal/abi": "abi", "internal/goarch": ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/go125_patch.go
pkg/unique/go125_patch.go
//go:build go1.25 // +build go1.25 package unique import ( _ "embed" _ "unique" _ "unsafe" _ "github.com/goplus/ixgo/pkg/github.com/goplus/ixgo/x/abi" _ "github.com/goplus/ixgo/pkg/github.com/goplus/ixgo/x/goarch" _ "github.com/goplus/ixgo/pkg/github.com/goplus/ixgo/x/isync" _ "github.com/goplus/ixgo/pkg/gith...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/go123_export.go
pkg/unique/go123_export.go
// export by github.com/goplus/ixgo/cmd/qexp //go:build go1.23 && !go1.24 // +build go1.23,!go1.24 package unique import ( _ "unique" "github.com/goplus/ixgo" ) func init() { ixgo.RegisterPackage(&ixgo.Package{ Name: "unique", Path: "unique", Deps: map[string]string{ "internal/abi": "abi", "...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/go123_patch.go
pkg/unique/go123_patch.go
//go:build go1.23 && !go1.25 // +build go1.23,!go1.25 package unique import ( _ "embed" _ "unique" _ "unsafe" _ "github.com/goplus/ixgo/pkg/github.com/goplus/ixgo/x/abi" _ "github.com/goplus/ixgo/pkg/github.com/goplus/ixgo/x/goarch" _ "github.com/goplus/ixgo/pkg/github.com/goplus/ixgo/x/isync" _ "github.com/g...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/_patch/clone.go
pkg/unique/_patch/clone.go
// Copyright 2024 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 unique import ( "unsafe" "github.com/goplus/ixgo/x/abi" "github.com/goplus/ixgo/x/stringslite" ) // clone makes a copy of value, and may update st...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/_patch/handle.go
pkg/unique/_patch/handle.go
// Copyright 2024 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 unique import ( "runtime" "sync" "unsafe" "weak" "github.com/goplus/ixgo/x/abi" "github.com/goplus/ixgo/x/isync" ) var zero uintptr // Handle ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/_patch125/clone.go
pkg/unique/_patch125/clone.go
// Copyright 2024 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 unique import ( "unsafe" "github.com/goplus/ixgo/x/abi" "github.com/goplus/ixgo/x/stringslite" ) // clone makes a copy of value, and may update st...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/_patch125/handle.go
pkg/unique/_patch125/handle.go
// Copyright 2024 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 unique import ( "unsafe" "github.com/goplus/ixgo/x/abi" "github.com/goplus/ixgo/x/isync" ) var zero uintptr // Handle is a globally unique identi...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/pkg/unique/_patch125/canonmap.go
pkg/unique/_patch125/canonmap.go
// Copyright 2025 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 unique import ( "runtime" "sync" "sync/atomic" "unsafe" "weak" "github.com/goplus/ixgo/x/abi" "github.com/goplus/ixgo/x/goarch" ) // canonMap ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/constant/constant_test.go
constant/constant_test.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/constant/constant.go
constant/constant.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/qexp/main.go
cmd/qexp/main.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/ixgo/main.go
cmd/ixgo/main.go
/* Copyright 2025 The GoPlus Authors (goplus.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/ixgo/exec/xgo_support.go
cmd/ixgo/exec/xgo_support.go
//go:build go1.18 // +build go1.18 package exec import ( "go/ast" "go/constant" "go/token" "go/types" "io" "net/http" "time" _ "unsafe" "github.com/goplus/ixgo" _ "github.com/goplus/ixgo/xgobuild" _ "github.com/goplus/ixgo/xgobuild/pkg" ) type operandMode byte type builtinId int type operand struct { m...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/ixgo/exec/main.go
cmd/ixgo/exec/main.go
/* Copyright 2021 The GoPlus Authors (goplus.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/ixgotest/main.go
cmd/ixgotest/main.go
package main import ( "bytes" "fmt" "go/build" "io/ioutil" "os" "os/exec" "path/filepath" "runtime" "strconv" "strings" "time" ) var ( gorootTestSkips = make(map[string]string) ) func init() { if runtime.GOARCH == "386" { gorootTestSkips["printbig.go"] = "load failed" gorootTestSkips["peano.go"] = "...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/base/base.go
cmd/internal/base/base.go
/* Copyright 2021 The GoPlus Authors (goplus.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/help/help.go
cmd/internal/help/help.go
// Copyright 2017 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 help implements the ``ixgo help'' command. package help import ( "bufio" "fmt" "io" "log" "os" "strings" "text/template" "unicode" "unicode...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/repl/xgo.go
cmd/internal/repl/xgo.go
//go:build go1.18 // +build go1.18 /* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/repl/repl.go
cmd/internal/repl/repl.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/version/version.go
cmd/internal/version/version.go
/* Copyright 2021 The GoPlus Authors (goplus.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/flags/flag.go
cmd/internal/flags/flag.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/test/flagdefs.go
cmd/internal/test/flagdefs.go
// Copyright 2019 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. // Code generated by genflags.go — DO NOT EDIT. package test type Type int const ( Bool Type = iota Int String Duration ) // passFlagToTest contains the...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/test/test_go121.go
cmd/internal/test/test_go121.go
//go:build go1.21 // +build go1.21 package test import ( _ "runtime" "unsafe" "github.com/goplus/ixgo" ) //go:linkname setUpdate internal/godebug.setUpdate func setUpdate(update func(string, string)) //go:linkname registerMetric internal/godebug.registerMetric func registerMetric(name string, read func() uint64...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/test/test_go120.go
cmd/internal/test/test_go120.go
//go:build go1.20 && !go1.21 // +build go1.20,!go1.21 package test import ( _ "runtime" _ "unsafe" "github.com/goplus/ixgo" ) //go:linkname setUpdate internal/godebug.setUpdate func setUpdate(update func(string, string)) func init() { ixgo.RegisterExternal("internal/godebug.setUpdate", setUpdate) }
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/test/test.go
cmd/internal/test/test.go
/* Copyright 2021 The GoPlus Authors (goplus.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/build/build.go
cmd/internal/build/build.go
/* Copyright 2021 The GoPlus Authors (goplus.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/run/run.go
cmd/internal/run/run.go
/* Copyright 2021 The GoPlus Authors (goplus.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/export/loader.go
cmd/internal/export/loader.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/export/exportpkg.go
cmd/internal/export/exportpkg.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/export/typeparam_go117.go
cmd/internal/export/typeparam_go117.go
//go:build !go1.18 // +build !go1.18 /* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/export/typeparam_go118.go
cmd/internal/export/typeparam_go118.go
//go:build go1.18 // +build go1.18 /* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/export/export.go
cmd/internal/export/export.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/load/xgo.go
cmd/internal/load/xgo.go
//go:build go1.18 // +build go1.18 /* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/load/load.go
cmd/internal/load/load.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/cmd/internal/load/noxgo.go
cmd/internal/load/noxgo.go
//go:build !go1.18 // +build !go1.18 /* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/doc.go
x/doc.go
package x //go:generate go run ../cmd/qexp -outdir ../pkg ./testdeps //go:generate go run ../cmd/qexp -outdir ../pkg ./testlog //go:generate go run ../cmd/qexp -outdir ../pkg ./race //go:generate go run ../cmd/qexp -outdir ../pkg ./abi //go:generate go run ../cmd/qexp -outdir ../pkg ./goarch //go:generate go run ../cm...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/testdeps/deps.go
x/testdeps/deps.go
// Copyright 2016 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 testdeps provides access to dependencies needed by test execution. // // This package is imported by the generated main package, which passes // Test...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/abi/map_select_noswiss.go
x/abi/map_select_noswiss.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. //go:build !goexperiment.swissmap || !go1.24 package abi // See comment in map_select_swiss.go. type mapType = OldMapType
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/abi/map_select_swiss.go
x/abi/map_select_swiss.go
// Copyright 2024 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 (go1.24 && goexperiment.swissmap) || go1.25 package abi // Select the map type that this binary is built using. This is for common // lookup method...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/abi/iface.go
x/abi/iface.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. package abi import "unsafe" // The first word of every non-empty interface type contains an *ITab. // It records the underlying concrete type (Type), the inte...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/abi/type.go
x/abi/type.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. package abi import ( "unsafe" ) // Type is the runtime representation of a Go type. // // Be careful about accessing this type at build time, as the version ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/abi/map_swiss.go
x/abi/map_swiss.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. package abi import ( "unsafe" ) // Map constants common to several packages // runtime/runtime-gdb.py:MapTypePrinter contains its own copy const ( // Number...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/abi/escape.go
x/abi/escape.go
// Copyright 2024 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 abi import "unsafe" // NoEscape hides the pointer p from escape analysis, preventing it // from escaping to the heap. It compiles down to nothing. // ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/abi/map_noswiss.go
x/abi/map_noswiss.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. package abi import ( "unsafe" ) // Map constants common to several packages // runtime/runtime-gdb.py:MapTypePrinter contains its own copy const ( // Maximu...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/goarch/goarch.go
x/goarch/goarch.go
package goarch const PtrSize = 4 << (^uintptr(0) >> 63)
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/race/norace.go
x/race/norace.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 !race // +build !race package race import ( "unsafe" ) const Enabled = false func Acquire(addr unsafe.Pointer) { } func Release(addr unsafe.Poi...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/race/doc.go
x/race/doc.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. /* Package race contains helper functions for manually instrumenting code for the race detector. The runtime package intentionally exports these functions only...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/race/race.go
x/race/race.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 race // +build race package race import ( "runtime" "unsafe" ) const Enabled = true func Acquire(addr unsafe.Pointer) { runtime.RaceAcquire(ad...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/isync/hashtriemap.go
x/isync/hashtriemap.go
// Copyright 2024 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 isync import ( "math/rand" "sync" "sync/atomic" "unsafe" "github.com/goplus/ixgo/x/abi" "github.com/goplus/ixgo/x/goarch" ) // HashTrieMap is a...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/stringslite/strings.go
x/stringslite/strings.go
package stringslite import "unsafe" func Clone(s string) string { if len(s) == 0 { return "" } b := make([]byte, len(s)) copy(b, s) return string(unsafe.Slice(&b[0], len(b))) }
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/testlog/log.go
x/testlog/log.go
// Copyright 2017 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 testlog provides a back-channel communication path // between tests and package os, so that cmd/go can see which // environment variables and files a...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/x/testlog/exit.go
x/testlog/exit.go
// Copyright 2020 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 testlog import "sync" // PanicOnExit0 reports whether to panic on a call to os.Exit(0). // This is in the testlog package because, like other definiti...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/repl/repl.go
repl/repl.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/repl/pkg.go
repl/pkg.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/ixgo/main.go
ixgo/main.go
/* Copyright 2025 The GoPlus Authors (goplus.org) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to i...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/xgobuild/builtin.go
xgobuild/builtin.go
package xgobuild //go:generate go run ../cmd/qexp -outdir ../pkg github.com/qiniu/x/xgo/... //go:generate go run ../cmd/qexp -outdir ../pkg github.com/qiniu/x/osx //go:generate go run ../cmd/qexp -outdir ../pkg github.com/qiniu/x/errors //go:generate go run ../cmd/qexp -outdir ../pkg github.com/qiniu/x/stringutil //go...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/xgobuild/build.go
xgobuild/build.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/xgobuild/build_test.go
xgobuild/build_test.go
/* * Copyright (c) 2022 The GoPlus Authors (goplus.org). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/xgobuild/pkg/pkg.go
xgobuild/pkg/pkg.go
package pkg //go:generate go run ../../cmd/qexp -outdir ../../pkg github.com/qiniu/x/gsh //go:generate go run ../../cmd/qexp -outdir ../../pkg github.com/goplus/xgo/ast //go:generate go run ../../cmd/qexp -outdir ../../pkg github.com/goplus/xgo/parser //go:generate go run ../../cmd/qexp -outdir ../../pkg github.com/go...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/xgobuild/pkg/gsh/gsh.go
xgobuild/pkg/gsh/gsh.go
package gsh import ( _ "github.com/goplus/ixgo/pkg/github.com/qiniu/x/gsh" _ "github.com/goplus/ixgo/pkg/os" _ "github.com/goplus/ixgo/pkg/os/exec" )
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/xgobuild/pkg/tpl/tpl.go
xgobuild/pkg/tpl/tpl.go
package tpl import ( _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/tpl" _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/tpl/ast" _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/tpl/cl" _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/tpl/encoding/csv" _ "github.com/goplus/ixgo/pkg/github.com/gopl...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/xgobuild/pkg/test/test.go
xgobuild/pkg/test/test.go
package test import ( _ "github.com/goplus/ixgo/pkg/github.com/goplus/ixgo/x/testdeps" _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/test" _ "github.com/goplus/ixgo/pkg/testing" )
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/xgobuild/pkg/xgo/xgo.go
xgobuild/pkg/xgo/xgo.go
package gop import ( _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/ast" _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/parser" _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/printer" _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/scanner" _ "github.com/goplus/ixgo/pkg/github.com/goplus/xgo/to...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/internal/typesutil/types_test.go
internal/typesutil/types_test.go
package typesutil import ( "go/token" "go/types" "testing" "unsafe" ) func TestSizeof(t *testing.T) { if unsafe.Sizeof(Scope{}) != unsafe.Sizeof(types.Scope{}) { t.Fatal("unexpected sizeof types.Scope") } } // TestScopeDelete tests the ScopeDelete function. func TestScopeDelete(t *testing.T) { // Create a n...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/internal/typesutil/types.go
internal/typesutil/types.go
/* * Copyright (c) 2023 The XGo Authors (xgo.dev). All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/internal/typesalias/alias_go121.go
internal/typesalias/alias_go121.go
//go:build !go1.22 // +build !go1.22 package typesalias import "go/types" type Alias struct { } const unsupported = "typesAlias are unsupported at this go version" func (t *Alias) Underlying() types.Type { panic(unsupported) } func (t *Alias) String() string { panic(unsupported) } func (t *Alias) Obj() *types....
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/internal/typesalias/typeparam_go123.go
internal/typesalias/typeparam_go123.go
//go:build go1.23 // +build go1.23 package typesalias import "go/types" func HasTypeParam(typ types.Type) bool { switch t := typ.(type) { case *types.TypeParam: return true case *types.Named: return t.TypeParams() != nil case *types.Signature: return t.TypeParams() != nil case *types.Alias: return t.Typ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/internal/typesalias/typeparam_go117.go
internal/typesalias/typeparam_go117.go
//go:build !go1.18 // +build !go1.18 package typesalias func HasTypeParam(typ types.Type) bool { return false }
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/internal/typesalias/typeparam_go118.go
internal/typesalias/typeparam_go118.go
//go:build go1.18 && !go1.23 // +build go1.18,!go1.23 package typesalias import "go/types" func HasTypeParam(typ types.Type) bool { switch t := typ.(type) { case *types.TypeParam: return true case *types.Named: return t.TypeParams() != nil case *types.Signature: return t.TypeParams() != nil } return fals...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/internal/typesalias/alias_go122.go
internal/typesalias/alias_go122.go
//go:build go1.22 && !go1.23 // +build go1.22,!go1.23 package typesalias import "go/types" type Alias = types.Alias func NewAlias(obj *types.TypeName, rhs types.Type) *Alias { return types.NewAlias(obj, rhs) } func Unalias(t types.Type) types.Type { return types.Unalias(t) } func Rhs(t *Alias) types.Type { ret...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/internal/typesalias/alias_go123.go
internal/typesalias/alias_go123.go
//go:build go1.23 // +build go1.23 package typesalias import "go/types" type Alias = types.Alias func NewAlias(obj *types.TypeName, rhs types.Type) *Alias { return types.NewAlias(obj, rhs) } func Unalias(t types.Type) types.Type { return types.Unalias(t) } func Rhs(t *Alias) types.Type { return t.Rhs() }
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/ifaceconv.go
testdata/ifaceconv.go
package main // Tests of interface conversions and type assertions. type I0 interface { } type I1 interface { f() } type I2 interface { f() g() } type C0 struct{} type C1 struct{} func (C1) f() {} type C2 struct{} func (C2) f() {} func (C2) g() {} func main() { var i0 I0 var i1 I1 var i2 I2 // Nil always...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/static.go
testdata/static.go
package main // Static tests of SSA builder (via the sanity checker). // Dynamic semantics are not exercised. func init() { // Regression test for issue 6806. ch := make(chan int) select { case n, _ := <-ch: _ = n default: // The default case disables the simplification of // select to a simple receive sta...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/coverage.go
testdata/coverage.go
// This interpreter test is designed to run very quickly yet provide // some coverage of a broad selection of constructs. // // Validate this file with 'go run' after editing. // TODO(adonovan): break this into small files organized by theme. package main import ( "fmt" "reflect" "strings" ) func init() { // Cal...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/complit.go
testdata/complit.go
package main // Tests of composite literals. import "fmt" // Map literals. // TODO(adonovan): we can no longer print maps // until the interpreter supports (reflect.Value).MapRange. func _() { type M map[int]int m1 := []*M{{1: 1}, &M{2: 2}} want := "map[1:1] map[2:2]" if got := fmt.Sprint(*m1[0], *m1[1]); got !=...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/initorder.go
testdata/initorder.go
package main import "fmt" // Test of initialization order of package-level vars. var counter int func next() int { c := counter counter++ return c } func next2() (x int, y int) { x = next() y = next() return } func makeOrder() int { _, _, _, _ = f, b, d, e return 0 } func main() { // Initialization cons...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/recover.go
testdata/recover.go
package main // Tests of panic/recover. import "fmt" func fortyTwo() (r int) { r = 42 // The next two statements simulate a 'return' statement. defer func() { recover() }() panic(nil) } func zero() int { defer func() { recover() }() panic(1) } func zeroEmpty() (int, string) { defer func() { recover() }() p...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/defer.go
testdata/defer.go
package main // Tests of defer. (Deferred recover() belongs is recover.go.) import "fmt" func deferMutatesResults(noArgReturn bool) (a, b int) { defer func() { if a != 1 || b != 2 { panic(fmt.Sprint(a, b)) } a, b = 3, 4 }() if noArgReturn { a, b = 1, 2 return } return 1, 2 } func init() { a, b :...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/boundmeth.go
testdata/boundmeth.go
// Tests of bound method closures. package main import ( "errors" "fmt" ) func assert(b bool) { if !b { panic("oops") } } type I int func (i I) add(x int) int { return int(i) + x } func valueReceiver() { var three I = 3 assert(three.add(5) == 8) var add3 func(int) int = three.add assert(add3(5) == 8) }...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/ifaceprom.go
testdata/ifaceprom.go
package main // Test of promotion of methods of an interface embedded within a // struct. In particular, this test exercises that the correct // method is called. type I interface { one() int two() string } type S struct { I } type impl struct{} func (impl) one() int { return 1 } func (impl) two() string { ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/recover2.go
testdata/recover2.go
// run // Copyright 2010 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. // Test of xtype recover functionality. package main import ( "fmt" "os" "reflect" "runtime" ) func main() { // go.tools/ssa/interp still has: ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/tinyfin.go
testdata/tinyfin.go
// run // Copyright 2014 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. // Test finalizers work for tiny (combined) allocations. package main import ( "runtime" "time" ) func main() { // Does not work on gccgo due to p...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/fieldprom.go
testdata/fieldprom.go
package main // Tests of field promotion logic. type A struct { x int y *int } type B struct { p int q *int } type C struct { A *B } type D struct { a int C } func assert(cond bool) { if !cond { panic("failed") } } func f1(c C) { assert(c.x == c.A.x) assert(c.y == c.A.y) assert(&c.x == &c.A.x) as...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false
goplus/ixgo
https://github.com/goplus/ixgo/blob/990754f385f758cd67723ed808786649fbd95c46/testdata/issue5963.go
testdata/issue5963.go
// run // Copyright 2013 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. // Used to die in runtime due to init goroutine exiting while // locked to main thread. package main import ( "os" "runtime" ) func init() { c := ...
go
Apache-2.0
990754f385f758cd67723ed808786649fbd95c46
2026-01-07T09:45:41.007918Z
false