Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for foo$i (0.05 sec)

  1. test/fixedbugs/issue8385.go

    // license that can be found in the LICENSE file.
    
    // Issue 8385: provide a more descriptive error when a method expression
    // is called without a receiver.
    
    package main
    
    type Fooer interface {
    	Foo(i, j int)
    }
    
    func f(x int) {
    }
    
    type I interface {
    	M(int)
    }
    type T struct{}
    
    func (t T) M(x int) {
    }
    
    func g() func(int)
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/antbuilder/AntBuilderMemoryLeakTest.groovy

            // time out after 10 minutes
            CountdownTimer timer = Time.startCountdownTimer(10, TimeUnit.MINUTES)
            try {
                while (!timer.hasExpired()) {
                    builder.withClasspath([new File("foo$i")]).execute {
    
                    }
    
                    classes[classes.length - 1] = Proxy.getProxyClass(classLoaderFactory.createIsolatedClassLoader("test", []), Serializable)
                    4.times {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 26 09:30:27 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        fun someClassesInDefaultPackage(): Sequence<Path> {
            val directory = projectDir.resolve("classes-default")
    
            DEFAULT_EXCLUDES_FOR_TEST.forEachIndexed { i, pkg ->
                touchFile(directory.resolve("$pkg/Foo$i.class"))
            }
    
            return sequenceOf(directory)
        }
    
        private
        fun aJar(sourceFiles: Sequence<Path>): Sequence<Path> {
            val outputPath = projectDir.resolve("mylib.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Queues.java

       * ...
       * synchronized (queue) {  // Must synchronize on queue!
       *   Iterator<E> i = queue.iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }</pre>
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. src/html/template/js.go

    // tokens, regular expression literal tokens, or division operators.
    //
    // This fails on some valid but nonsensical JavaScript programs like
    // "x = ++/foo/i" which is quite different than "x++/foo/i", but is not known to
    // fail on any known useful programs. It is based on the draft
    // JavaScript 2.0 lexical grammar and requires one token of lookbehind:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt

                    // Class<T> + Groovy named arguments to KClass<T> + vararg of Pair
                    filter(ReplaceTokens::class, "foo" to "bar")
                }
                """
            )
    
            build("foo", "-I", "init.gradle.kts")
        }
    
        @Test
        @LeaksFileHandles("Kotlin Compiler Daemon working directory")
        fun `can use Gradle API generated extensions in buildSrc`() {
    
            withKotlinBuildSrc()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 03 15:53:16 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Queues.java

       * ...
       * synchronized (queue) {  // Must synchronize on queue!
       *   Iterator<E> i = queue.iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }</pre>
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 18K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleInputDetectionIntegrationSpec.groovy

                'if (true) { add $("foo") }',
                'if (false) {} else if (true) { add $("foo") }',
                'if (false) {} else { add $("foo") }',
                'def i = true; while(i) { add $("foo"); i = false }',
                '[1].each { add $("foo") }',
                'add "${$("foo")}"',
                'def v = $("foo"); add(v)',
                'add($("foo"))',
                'add($("foo").toString())',
                '''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            // Arrange
            CliRequest request = new CliRequest(
                    new String[] {
                        "-Dfoo=bar",
                        "-DvalFound=s${foo}i",
                        "-DvalNotFound=s${foz}i",
                        "-DvalRootDirectory=${session.rootDirectory}/.mvn/foo",
                        "-DvalTopDirectory=${session.topDirectory}/pom.xml",
                        "-f",
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  10. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/DependencyReportTaskIntegrationTest.groovy

            createDirs("a")
            file("settings.gradle") << "include 'a'"
    
            file("build.gradle") << """
            project(":a") {
              configurations { foo }
              dependencies {
                foo "i.dont.exist:foo:1.0"
              }
            }
    """
            when:
            run "dependencies"
    
            then:
            noExceptionThrown()
            //note that 'a' project dependencies are not being resolved
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 05:32:54 UTC 2023
    - 31.2K bytes
    - Viewed (0)
Back to top