Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,460 for BAR (0.04 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ElementSourceSpec.groovy

        }
    
        def "can remove a provider"() {
            given:
            def bar = provider("bar")
            source.add("foo")
            source.addPending(bar)
            source.add("baz")
    
            expect:
            source.removePending(bar)
    
            and:
            source.size() == 2
            source.iterator().collect() == iterationOrder("foo", "baz")
        }
    
        def "can remove a provider of iterable"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationByReference/nestedClass.kt

    class Foo {
        class Bar {
            fun bar() {}
        }
    }
    
    fun test(bar: Foo.Bar) {
        bar.<caret>bar()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 14 10:20:29 UTC 2024
    - 105 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ExclusiveRepositoryContentFilteringIntegrationTest.groovy

            def foo = ivyHttpRepo.module('org', 'foo', '1.0').publish()
            def barIvy = ivyHttpRepo.module('other', 'bar', '2.0')
            def bar = mavenHttpRepo.module('other', 'bar', '2.0').publish()
            given:
            buildFile << """
                repositories {
                    exclusiveContent {
                       forRepository {
                          ivy {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/SourcePathProviderTest.kt

            withFolders {
                "project" {
                    "buildSrc/src/main" {
                        +"foo"
                        +"bar"
                    }
                }
                "gradle" {
                    "src" {
                        +"gradle-foo"
                        +"gradle-bar"
                    }
                }
            }
    
            assertThat(
                sourcePathFor(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 17:35:41 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensionsTest.kt

            val container = mock<PolymorphicDomainObjectContainer<DomainObjectBase>> {
                on { getByName("alice") } doReturn alice
                on { maybeCreate("alice", DomainObjectBase.Foo::class.java) } doReturn alice
                on { create(eq("bob"), eq(DomainObjectBase.Bar::class.java), any<Action<DomainObjectBase.Bar>>()) } doReturn bob
                on { create("john") } doReturn default
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 22:58:28 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. test/fixedbugs/issue7863.go

    	return int64(*f)
    }
    
    type Bar int64
    
    func (b Bar) F() int64 {
    	return int64(b)
    }
    
    type Baz int32
    
    func (b Baz) F() int64 {
    	return int64(b)
    }
    
    func main() {
    	foo := Foo(123)
    	f := foo.F
    	if foo.F() != f() {
    		bug()
    		fmt.Println("foo.F", foo.F(), f())
    	}
    	bar := Bar(123)
    	f = bar.F
    	if bar.F() != f() {
    		bug()
    		fmt.Println("bar.F", bar.F(), f()) // duh!
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 790 bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py

                200,
                {"items": [{"item_name": "Bar"}, {"item_name": "Baz"}], "q": "foo"},
            ),
            (
                "/items?q=bar&limit=2",
                200,
                {"items": [{"item_name": "Foo"}, {"item_name": "Bar"}], "q": "bar"},
            ),
            (
                "/items?q=bar&skip=1&limit=1",
                200,
                {"items": [{"item_name": "Bar"}], "q": "bar"},
            ),
            (
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. pkg/config/host/names.go

    // e.g.:
    // NamesForNamespace(["ns1/foo.com","ns2/bar.com"], "ns1")   = Names(["foo.com"])
    // NamesForNamespace(["ns1/foo.com","ns2/bar.com"], "ns3")   = Names([])
    // NamesForNamespace(["ns1/foo.com","*/bar.com"], "ns1")     = Names(["foo.com","bar.com"])
    // NamesForNamespace(["ns1/foo.com","*/bar.com"], "ns3")     = Names(["bar.com"])
    // NamesForNamespace(["foo.com","ns2/bar.com"], "ns2")       = Names(["foo.com","bar.com"])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 01 19:19:22 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/cel/openapi/compiling_test.go

    	}{
    		{
    			expression:       "foo.foo == bar.bar",
    			expectEvalResult: true,
    		},
    		{
    			expression:         "foo.bar == 'value'",
    			expectCompileError: true,
    		},
    		{
    			expression:       "foo.foo == 'value'",
    			expectEvalResult: true,
    		},
    		{
    			expression:       "bar.bar == 'value'",
    			expectEvalResult: true,
    		},
    		{
    			expression:       "foo.common + bar.common <= 2",
    			expectEvalResult: false, // 3 > 2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    				builder.AppendRuleV6(iptableslog.UndefinedCommand, "chain", "table", "-f", "fu", "-b", "bar")
    				builder.AppendRuleV6(iptableslog.UndefinedCommand, "chain", "table", "-f", "foo", "-b", "baz")
    			},
    			true,
    		},
    		{
    			"insert-multi-v4",
    			true,
    			false,
    			func(builder *IptablesRuleBuilder) {
    				builder.InsertRuleV4(iptableslog.UndefinedCommand, "chain", "table", 1, "-f", "foo", "-b", "bar")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top