Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of about 10,000 for thinsp (0.2 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            thing1.onMethodMissing = { name, args -> [].foo() }
            conf(thing1) { m1() }
    
            then:
            def e = thrown(MissingMethodException)
            e.method == "foo"
    
            when:
            thing1.onPropertyMissingGet = { new Object().bar }
            conf(thing1) { abc }
    
            then:
            e = thrown(MissingPropertyException)
            e.property == "bar"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

    import java.util.Collection;
    import java.util.List;
    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * To be implemented by test generators of things that can contain elements. Such things include
     * both {@link Collection} and {@link Map}; since there isn't an established collective noun that
     * encompasses both of these, 'container' is used.
     *
     * @author George van den Driessche
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/CustomToolingModelCrossVersionSpec.groovy

    import javax.inject.Inject
    
    allprojects {
        apply plugin: CustomPlugin
    }
    
    class CustomModel implements Serializable {
        List<CustomThing> things = new ArrayList()
    
        CustomModel(int heapSizeMb) {
            for(int i = 0; i < heapSizeMb; i++) {
                things.add(new CustomThing())
            }
        }
    }
    
    class CustomThing implements Serializable {
        byte[] payload = new byte[1024 * 1024]
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/util/internal/NameMatcherTest.groovy

            expect:
            matcher.formatErrorMessage("thing", "container") == "thing 'name' not found in container."
        }
    
        def "builds error message for multiple matches"() {
            setup:
            matcher.find("n", ["number", "name", "other"])
    
            expect:
            matcher.formatErrorMessage("thing", "container") == "thing 'n' is ambiguous in container. Candidates are: 'name', 'number'."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/GroovyPluginImplementation.groovy

            sourceFile << """
                ${read.requiredImports().collect { "import $it" }.join("\n")}
    
                println("apply = " + ${read.groovyExpression})
                tasks.register("thing") {
                    doLast {
                        println("task = " + ${read.groovyExpression})
                    }
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SimpleJavaContinuousIntegrationTest.groovy

            when:
            def libDir = file('libs').createDir()
            jarWithClasses(libDir.file("somelib.jar"), Thing: 'interface Thing {}')
            def anotherJar = libDir.file("anotherlib.jar")
            jarWithClasses(anotherJar, Thing2: 'interface Thing2 {}')
            file("src/main/java/Foo.java") << "class Foo implements Thing, Thing2{}"
            buildFile << """
                dependencies {
                    implementation fileTree("libs/")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. test/fixedbugs/issue30908.dir/m.go

    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"os"
    
    	"./b"
    )
    
    func main() {
    	seed := "some things are better"
    	bsl := []byte(seed)
    	b.CallReadValues("/dev/null")
    	vals, err := b.ReadValues(bsl)
    	if vals["better"] != seed || err != nil {
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 15:00:08 UTC 2019
    - 393 bytes
    - Viewed (0)
  8. cmd/import-boss/README.md

    }
    ```
    
    The `SelectorRegexp` specifies that this rule applies only to imports which
    match that regex.
    
    Note: an empty list (`[]`) matches nothing, and an empty string (`""`) is a
    prefix of everything.
    
    ### What are InverseRules?
    
    In contrast to rules, which are defined in terms of "things this package
    depends on", inverse rules are defined in terms of "things which import this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. releasenotes/notes/cni-no-sh.yaml

        The new logic runs with no external dependencies, and will attempt to continue if errors are encountered (which could be caused by things like SELinux rules).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 21:29:52 UTC 2024
    - 445 bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/InvalidManagedModelRuleIntegrationTest.groovy

            when:
            buildScript '''
                interface Thing { }
    
                class Rules extends RuleSource {
                  @Model
                  void s(Thing s) {}
                }
    
                apply type: Rules
            '''
    
            then:
            fails "tasks"
    
            and:
            failure.assertHasCause("Declaration of model rule Rules#s(Thing) is invalid.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top