Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,206 for 20something (0.28 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinDslJvmDefaultIntegrationTest.kt

                class SomeOverriddenPrecompiledScript : Some {
                    override fun something() {
                        println("precompiled overridden")
                    }
                }
    
                SomePrecompiledScript().something()
                SomeOverriddenPrecompiledScript().something()
                """
            )
            withBuildScript(
                """
                import some.Some
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtilsTest.groovy

            @Incubating
            Object doSomething() { null }
        }
    
        class Child extends Base implements Serializable {
            @Nullable
            Object doSomething() { null }
        }
    
        def "overridden methods retain annotations"() {
            when:
            def methods = ModelSchemaUtils.getCandidateMethods(Child)
    
            then:
            methods.methodNames() == (["doSomething"] as Set)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            when:
            lexer.pushText("{@link <something> & &lt; </something>}")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartJavadocTag('link')
            1 * visitor.onText('<something> & &lt; </something>')
            1 * visitor.onEndJavadocTag('link')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/action/InstantiatingActionTest.groovy

                this.service = service
                this.x = x
            }
    
            @Override
            void execute(Details details) {
                details.see(service.doSomething(), x)
            }
        }
    
        static interface SomeService<T> {
            T doSomething()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 14 07:19:04 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailureTest.groovy

    * What went wrong:
    something bad
    > cause 1
    
    * Try:
    something
    
    Failure 2:
    
    * What went wrong:
    something else bad
    > cause 2
    
    * Try:
    something
    
    """
            when:
            def failure = OutputScrapingExecutionFailure.from(output, "")
    
            then:
            failure.assertHasCause("cause 1")
            failure.assertHasCause("cause 2")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. pkg/test/framework/resource/matcher_test.go

    			matches:   []string{"TestFoo/something/TestBaz"},
    			nomatches: []string{"TestFoo", "TestFoo/TestBaz", "TestFoo/something/TestBar"},
    		},
    		{
    			name:      "multiple",
    			input:     []string{"TestFoo/subset", "TestBar"},
    			matches:   []string{"TestBar", "TestBar/subtest", "TestFoo/subset"},
    			nomatches: []string{"TestFoo/something/subset", "TestFoo/something", "TestFoo", "TestFoo/TestBar"},
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 12 23:30:37 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  7. tests/test_custom_schema_fields.py

    class Item(BaseModel):
        name: str
    
        if PYDANTIC_V2:
            model_config = {
                "json_schema_extra": {
                    "x-something-internal": {"level": 4},
                }
            }
        else:
    
            class Config:
                schema_extra = {
                    "x-something-internal": {"level": 4},
                }
    
    
    @app.get("/foo", response_model=Item)
    def foo():
        return {"name": "Foo item"}
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

                    new CaseSensitivityTestSpec(children, child, childIndex),
                    new CaseSensitivityTestSpec(children, "$child/a/something", childIndex),
                    new CaseSensitivityTestSpec(children, "$child/A/something", childIndex),
                    new CaseSensitivityTestSpec(children, "$child/e/something", childIndex),
                    new CaseSensitivityTestSpec(children, "$child/E/other", childIndex),
                ]
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/counter/interface.go

    	// Call Add(1) before forking a goroutine, Add(-1) at the end of that goroutine.
    	// Call Add(-1) just before waiting on something from another goroutine (e.g.,
    	// just before a `select`).
    	// Call Add(1) just before doing something that unblocks a goroutine that is
    	// waiting on that something.
    	Add(delta int)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 16:12:48 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tutorial/mkdirTrap/groovy/build.gradle

        def localClassesDir = classesDir
        doLast {
            if (!localClassesDir.isDirectory()) {
                println 'The class directory does not exist. I can not operate'
                // do something
            }
            // do something
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 406 bytes
    - Viewed (0)
Back to top