Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 434 for 20something (0.2 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammarTest.kt

        @Test
        fun `will not parse @ followed by whitespace`() {
            kotlinGrammar.annotation.failToConsumeFrom("@ something")
            kotlinGrammar.annotation.failToConsumeFrom("@\nsomething")
            kotlinGrammar.annotation.failToConsumeFrom("@/*comment*/something")
            kotlinGrammar.annotation.failToConsumeFrom("@/*comment*/ something")
        }
    
        @Test
        fun `can parse single annotation`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildBuildActionExecuterCrossVersionSpec.groovy

                rootProject.name = 'other-build'
                include 'sub'
            """
            file('other-build/sub/build.gradle') << """
                tasks.register('doSomething') {
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            toolingApi.withConnection { ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildModelBuilderCrossVersionSpec.groovy

                rootProject.name = 'other-build'
                include 'sub'
            """
            file('other-build/sub/build.gradle') << """
                tasks.register('doSomething') {
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            toolingApi.withConnection { ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r62/CapturingMultipleUserInputCrossVersionSpec.groovy

            withConnection { ProjectConnection connection ->
                runBuildWithStandardInput(connection, 'something one', 'something two')
            }
    
            then:
            output.contains(FOO.prompt)
            output.contains(FOO.answerOutput('something one'))
            output.contains(BAR.prompt)
            output.contains(BAR.answerOutput('something two'))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/groovy/scripts/internal/BuildScriptTransformerSpec.groovy

            !scriptData.hasMethods
        }
    
        def "method declarations are not considered imperative code"() {
            expect:
            def scriptData = parse("""def method() { println 'hi' }
    private void doSomething() { thing = true }
    """)
            !scriptData.runDoesSomething
            !scriptData.data.hasImperativeStatements
            scriptData.hasMethods
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/work_issue51204.txt

    go 1.18
    -- test/file.go --
    package test
    
    func DoSomething() {
    }
    -- test2/go.mod --
    module example.com/test2
    
    go 1.18
    
    replace example.com/test => ../test
    
    require example.com/test v0.0.0-00010101000000-000000000000
    -- test2/file.go --
    package test2
    
    import (
    	"example.com/test"
    )
    
    func DoSomething() {
    	test.DoSomething()
    }
    -- test2/sub/go.mod --
    module example.com/test2/sub
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 15 22:28:43 UTC 2022
    - 749 bytes
    - Viewed (0)
  7. tensorflow/c/experimental/stream_executor/stream_executor_internal.h

                                          std::string* platform_name);
    
    // This file implements core stream executor base classes in terms of
    // the C API defined in stream_executor.h. A class "CSomething" represents a
    // "Something" that can be manipulated via calls in the C interface.
    class CPlatform : public Platform {
     public:
      explicit CPlatform(SP_Platform platform,
                         void (*destroy_platform)(SP_Platform*),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/transport/NetworkOperationBackOffAndRetryTest.groovy

            ex << [
                new SocketException("something went wrong"),
                new SocketTimeoutException("something went wrong"),
                new HttpHostConnectException(new IOException("something went wrong"), null, null),
                new HttpErrorStatusCodeException("something", "something", 503, "something"),
                new RuntimeException("with cause", new SocketTimeoutException("something went wrong"))
            ]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 04:09:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptVisibilityIntegrationTest.groovy

            settingsFile << "include 'child1'"
            buildFile """
    def doSomething(def value) {
        return "{" + value + "}"
    }
    private String doSomethingElse(def value) {
        return "[" + value + "]"
    }
    println "root: " + doSomething(10)
    println "root: " + doSomethingElse(10)
    """
            file("child1/build.gradle") << """
    println "child: " + doSomething(11)
    println "child: " + doSomethingElse(11)
    """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. pkg/util/filesystem/util_test.go

    		{path: "/logs", expected: true},
    		{path: "/var/lib/something", expected: true},
    		{path: "var/lib/something", expected: true},
    		{path: "var\\lib\\something", expected: true},
    		{path: "/", expected: true},
    		{path: ".", expected: true},
    		{path: "/var/../something", expected: false},
    		{path: "/var//lib/something", expected: false},
    		{path: "/var/./lib/something", expected: false},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top