- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for CreateBar (0.32 sec)
-
test/typeparam/issue48604.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main type Foo[T any] interface { CreateBar() Bar[T] } type Bar[T any] func() Bar[T] func (f Bar[T]) CreateBar() Bar[T] { return f } func abc[R any]() { var _ Foo[R] = Bar[R](nil)() } func main() { abc[int]()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 396 bytes - Viewed (0) -
test/typeparam/issue48617.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main type Foo[T any] interface { CreateBar() Bar[T] } type Bar[T any] func() Bar[T] func (f Bar[T]) CreateBar() Bar[T] { return f } func abc[T any]() { var b Bar[T] = func() Bar[T] { var b Bar[T] return b } var _ Foo[T] = b() } func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 446 bytes - Viewed (0) -
operator/pkg/util/progress/progress.go
bar *pb.ProgressBar template string mu sync.Mutex state InstallState } func NewLog() *Log { return &Log{ components: map[string]*ManifestLog{}, bar: createBar(), } } const inProgress = `{{ yellow (cycle . "-" "-" "-" " ") }} ` // createStatus will return a string to report the current status. // ex: - Processing resources for components. Waiting for foo, bar
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy
} def "returns empty classpath for jar without manifest"() { when: createJar() then: ManifestUtil.parseManifestClasspath(jarFile) == [] } def "returns empty classpath for jar with manifest without Class-Path"() { when: createJar(manifestWithClasspath(null)) then: ManifestUtil.parseManifestClasspath(jarFile) == [] }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 4.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy
ignoredResourceInNestedJar = new TestResource(file('some/package/ignored.txt') << "This should be ignored", this.&createJar) notIgnoredResourceInNestedJar = new TestResource(file('some/package/not-ignored.txt') << "This should not be ignored", this.&createJar)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 37.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:32:21 UTC 2024 - 28.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java
testDir = tmpDir.createDir("scripts"); scriptFile = new File(testDir, "build.script"); scriptFileUri = scriptFile.toURI(); createJar(); } private URI createJar() throws URISyntaxException { TestFile jarFile = tmpDir.getTestDirectory().file("test.jar"); testDir.file("ignoreme").write("content"); testDir.zipTo(jarFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 15 01:04:05 UTC 2023 - 12K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/UriTextResourceTest.groovy
file.text = '<content>' UriTextResource resource = new UriTextResource('<display-name>', createJar(), resolver) then: resource.exists resource.text == "<content>" } def hasNoContentWhenUsingJarUriAndFileDoesNotExistInJar() { when: URI jarUri = createJar() UriTextResource resource = new UriTextResource('<display-name>', jarUri, resolver)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.4K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt
val classGraph = JarAnalyzer("", keepClasses, keepClasses, setOf()).analyze(artifact, classesDir, manifestFile, buildReceiptFile) createJar(classGraph, classesDir, manifestFile, jarFile) return jarFile } private fun createJar(classGraph: ClassGraph, classesDir: File, manifestFile: File, jarFile: File) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 30.2K bytes - Viewed (0)