Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 676 for main2 (0.04 sec)

  1. src/cmd/go/testdata/script/version_buildvcs_git.txt

    go 1.18
    -- repo/gitsubmodule/main.go --
    package main
    
    func main() {}
    -- outside/empty.txt --
    -- outside/c/go.mod --
    module example.com/c
    
    go 1.18
    -- outside/c/main.go --
    package main
    
    func main() {}
    -- outside/d/go.mod --
    module example.com/d
    
    go 1.18
    
    require example.com/b v0.0.0
    -- outside/d/main.go --
    package main
    
    import _ "example.com/b"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/go/ast/example_test.go

    	//      3  .  .  NamePos: 2:9
    	//      4  .  .  Name: "main"
    	//      5  .  }
    	//      6  .  Decls: []ast.Decl (len = 1) {
    	//      7  .  .  0: *ast.FuncDecl {
    	//      8  .  .  .  Name: *ast.Ident {
    	//      9  .  .  .  .  NamePos: 3:6
    	//     10  .  .  .  .  Name: "main"
    	//     11  .  .  .  .  Obj: *ast.Object {
    	//     12  .  .  .  .  .  Kind: func
    	//     13  .  .  .  .  .  Name: "main"
    	//     14  .  .  .  .  .  Decl: *(obj @ 7)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/SwiftApplicationInitIntegrationTest.groovy

            then:
            subprojectDir.file("src/main/swift").assertHasDescendants("main.swift")
            subprojectDir.file("src/test/swift").assertHasDescendants("HolaTests.swift", LINUX_MAIN_DOT_SWIFT)
            dslFixtureFor(scriptDsl).assertGradleFilesGenerated()
    
            and:
            subprojectDir.file("src/main/swift/${SAMPLE_APPLICATION_CLASS}").text.contains("hola()")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/work.txt

    relative to the go.work, not the cwd.
    -- d/go.mod --
    module example.com/d
    
    -- d/main.go --
    package main
    
    import "example.com/b/lib"
    
    func main() {
    	lib.Hello()
    }
    
    -- go.work.backwards --
    go 1.18
    
    use (
    	d
    	b
    	a
    )
    
    -- foo.go --
    package main
    import "fmt"
    func main() {
    	fmt.Println("Hello, World")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

                }
    
                task projectExecTask {
                    dependsOn 'compileJava'
                    doLast {
                        def result = exec { commandLine '${fileToPath(Jvm.current().javaExecutable)}', '-cp', '${fileToPath(file('build/classes/java/main'))}', 'Block' }
                        assert result.exitValue == 0
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/runtime/testdata/testprog/lockosthread.go

    package main
    
    import (
    	"os"
    	"runtime"
    	"sync"
    	"time"
    )
    
    var mainTID int
    
    func init() {
    	registerInit("LockOSThreadMain", func() {
    		// init is guaranteed to run on the main thread.
    		mainTID = gettid()
    	})
    	register("LockOSThreadMain", LockOSThreadMain)
    
    	registerInit("LockOSThreadAlt", func() {
    		// Lock the OS thread now so main runs on the main thread.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/cmd/fix/buildtag_test.go

    package main
    
    func init() {
    	addTestCases(buildtagTests, buildtag)
    }
    
    var buildtagTests = []testCase{
    	{
    		Name:    "buildtag.oldGo",
    		Version: "go1.10",
    		In: `//go:build yes
    // +build yes
    
    package main
    `,
    	},
    	{
    		Name:    "buildtag.new",
    		Version: "go1.99",
    		In: `//go:build yes
    // +build yes
    
    package main
    `,
    		Out: `//go:build yes
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 522 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_precompiled.adoc

    For example, a script named `code-quality.gradle(.kts)` located in `src/main/groovy` (or `src/main/kotlin`) without a package declaration would be exposed as the `code-quality` plugin:
    
    [source,kotlin]
    ----
    plugins {
        id("code-quality")
    }
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolvedFileOrderingIntegrationTest.groovy

            outputContains("files 3: [test-lib.jar, a.jar, a-lib.jar, b.jar, b-lib.jar, c.jar, c-lib.jar, test-1.0.jar, test-1.0-from-main.jar, test-1.0-from-a.jar, test-1.0-from-c.jar, test2-1.0.jar, test3-1.0.jar]")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    In the file `main.py` you have your **FastAPI** app:
    
    
    ```Python
    {!../../../docs_src/app_testing/main.py!}
    ```
    
    ### Testing file
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top