- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,259 for thingo (0.1 sec)
-
subprojects/core/src/test/groovy/org/gradle/internal/progress/SimpleProgressFormatterTest.groovy
def "formats progress"() { def f = new SimpleProgressFormatter(10, "things") expect: f.progress == "0/10 things" f.incrementAndGetProgress() == "1/10 things" f.incrementAndGetProgress() == "2/10 things" f.progress == "2/10 things" } def "does not allow overflow"() { def f = new SimpleProgressFormatter(2, "cats");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 17 00:14:35 UTC 2013 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/exceptions/FormattingDiagnosticsVisitorTest.groovy
def visitor = new FormattingDiagnosticsVisitor() given: visitor.candidate("thing 1") visitor.candidate("thing 2").example("a") visitor.candidate("thing 3").example("a").example("b") expect: visitor.candidates == ["thing 1", "thing 2, for example a.", "thing 3, for example a, b."] } def "merges duplicate candidates"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/HasSuffixPatternStepTest.groovy
def step = new HasSuffixPatternStep(".java", true) expect: step.matches("thing.java") step.matches(".java") !step.matches("thing.JAVA") !step.matches("thing.Java") !step.matches("thing.jav") !step.matches("thing.c") !step.matches("") !step.matches("something else") } def "matches name case insensitive"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/FormattingValidationProblemCollectorTest.groovy
def collector = new FormattingValidationProblemCollector("<thing>", ModelType.of(WithConstructor)) collector.add(SuperClass.class.getMethod("thing"), "rule", "is not annotated with anything.") expect: collector.format() == """Type ${fullyQualifiedNameOf(WithConstructor)} is not a valid <thing>: - Method FormattingValidationProblemCollectorTest.SuperClass.thing() is not a valid rule method: is not annotated with anything.""" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/UnmanagedElementIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/i22558.go
package main import ( "fmt" "os" ) type big struct { pile [768]int8 } type thing struct { name string next *thing self *thing stuff []big } func test(t *thing, u *thing) { if t.next != nil { return } fmt.Fprintf(os.Stderr, "%s\n", t.name) u.self = u t.self = t t.next = u for _, p := range t.stuff { if isFoo(t, p) { return } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 773 bytes - Viewed (0) -
pkg/kube/krt/internal.go
stop <-chan struct{} } // dependency is a specific thing that can be depended on type dependency struct { id collectionUID collectionName string // Filter over the collection filter *filter } type erasedEventHandler = func(o []Event[any], initialSync bool) // registerDependency is an internal interface for things that can register dependencies.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 5.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/configurationcache/options/ConfigurationCacheSettingsFinalizedBuildOperationIntegTest.groovy
settingsFile << "includeBuild 'plugin'" file("buildSrc/src/main/java/Thing.java") << "class Thing {}" createDir("plugin") { file("settings.gradle") << "" file("build.gradle") << "plugins { id 'java' }" file("buildSrc/src/main/java/Thing.java") << "class Thing {}" file("src/main/java/Thing.java") << "class Thing {}" } file("build.gradle") << "task t" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 33K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy
def "detects change in classpath order"() { jarWithClasses(file("lib1.jar"), Thing: "class Thing {public void foo() {} }") jarWithClasses(file("lib2.jar"), Thing: "class Thing { public void bar() {} }") file("src/main/java/Foo.java") << "public class Foo extends Thing {}" buildFile << buildScriptWithClasspath("lib1.jar", "lib2.jar") when: run "compile"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:39 UTC 2024 - 39.6K bytes - Viewed (0)