- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for PrintFile (0.13 sec)
-
src/cmd/go/testdata/script/cgo_trimpath_macro.txt
v.com/main -- vendor/v.com/main/main.go -- package main // #cgo CFLAGS: -I../c // #include "stdio.h" // void printfile(); import "C" func main() { C.printfile() C.fflush(C.stdout) } -- vendor/v.com/main/foo.c -- #include "bar.h" -- vendor/v.com/c/bar.h -- #include "stdio.h" void printfile() { printf("%s\n", __FILE__); } -- main/main.go -- package main // #cgo CFLAGS: -I../c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 22 19:56:37 UTC 2023 - 1.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_trimpath_main.txt
-- main.go -- package main import "runtime" func PrintFile() { _, file, _, _ := runtime.Caller(0) println(file) } -- main_test.go -- package main import ( "runtime" "testing" ) func PrintFileForTest() { _, file, _, _ := runtime.Caller(0) println(file) } func TestMain(m *testing.M) { PrintFile() PrintFileForTest()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 12 15:17:33 UTC 2021 - 477 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_trimpath_test_suffix.txt
package pkg_test import "runtime" func PrintFile() { _, file, _, _ := runtime.Caller(0) println(file) } -- pkg_x_test.go -- package pkg_test_test import ( "runtime" "testing" "example.com/pkg_test" ) func PrintFileForTest() { _, file, _, _ := runtime.Caller(0) println(file) } func TestMain(m *testing.M) { pkg_test.PrintFile() PrintFileForTest()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 12 15:17:33 UTC 2021 - 539 bytes - Viewed (0) -
src/cmd/go/testdata/script/test_trimpath.txt
[short] skip go test -trimpath -v . ! stdout '[/\\]pkg_test[/\\]' stdout -count=3 '[/\\]pkg[/\\]' -- go.mod -- module example.com/pkg go 1.17 -- pkg.go -- package pkg import "runtime" func PrintFile() { _, file, _, _ := runtime.Caller(0) println(file) } -- pkg_test.go -- package pkg import "runtime" func PrintFileForTest() { _, file, _, _ := runtime.Caller(0) println(file) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 12 15:17:33 UTC 2021 - 657 bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/UpToDateIntegTest.groovy
expect: (1..4).each { def givenText = "[$it] Hello World!" inputFile.text = givenText run "printFile" executedAndNotSkipped(":printFile") outputContains(givenText) assert originalInputFileLength == inputFile.length() } where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 13 12:00:09 UTC 2022 - 9.6K bytes - Viewed (0)