Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,460 for BAR (0.13 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

            when:
            mutate {
                add 'foo'
                add 'bar'
                remove 'foo'
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['bar'])
        }
    
        def "can remove all elements"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
                clear()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. test/typeparam/issue48617.go

    // 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() {
    	abc[int]()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 446 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal_test.go

    		{1, 2, true},
    		{2, 1, false},
    		{"foo", "fo", false},
    		{"foo", "foo", true},
    		{"foo", "foobar", false},
    		{Foo{1}, Foo{2}, true},
    		{Foo{2}, Foo{1}, false},
    		{Bar{1}, Bar{10}, true},
    		{&Bar{1}, &Bar{10}, true},
    		{Baz{Bar{1}}, Baz{Bar{10}}, true},
    		{[...]string{}, [...]string{"1", "2", "3"}, false},
    		{[...]string{"1"}, [...]string{"1", "2", "3"}, false},
    		{[...]string{"1", "2", "3"}, [...]string{}, false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 18:55:26 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_dependencies/test_tutorial004.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.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial004_an.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.4K bytes
    - Viewed (0)
  6. operator/pkg/util/progress/progress.go

    	// for handling the multiline issues.
    	bar := pb.New(0)
    	bar.Set(pb.Static, true)
    	if testWriter != nil {
    		bar.SetWriter(*testWriter)
    	}
    	bar.Start()
    	// if we aren't a terminal, we will return a new line for each new message
    	if !bar.GetBool(pb.Terminal) {
    		bar.Set(pb.ReturnSymbol, "\n")
    	}
    	return bar
    }
    
    // reportProgress will report an update for a given component
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. operator/pkg/util/yaml_test.go

    		expect string
    	}{
    		{
    			desc: "1-line-diff",
    			diff1: `hola: yo
    foo: bar
    goo: tar
    `,
    			diff2: `hola: yo
    foo: bar
    notgoo: nottar
    `,
    			expect: ` foo: bar
    -goo: tar
     hola: yo
    +notgoo: nottar
     `,
    		},
    		{
    			desc:   "no-diff",
    			diff1:  `foo: bar`,
    			diff2:  `foo: bar`,
    			expect: ``,
    		},
    		{
    			desc:   "invalid-yaml",
    			diff1:  `Ij#**#f#`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 17:00:14 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.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)
  9. pkg/config/security/security_test.go

    		expectedError bool
    	}{
    		{
    			in:            "foo.bar.com",
    			expectedError: true,
    		},
    		{
    			in:            "tcp://foo.bar.com:abc",
    			expectedError: true,
    		},
    		{
    			in:            "http://foo.bar.com:abc",
    			expectedError: true,
    		},
    		{
    			in: "http://foo.bar.com",
    			expected: security.JwksInfo{
    				Hostname: "foo.bar.com",
    				Scheme:   "http",
    				Port:     80,
    				UseSSL:   false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

                    /**
                     * This returns a bar.
                     *
                     * @return return the bar
                     */
                    public String getBar() {
                        return "bar";
                    }
                }
            """
            file("src/main/java/com/example/Bar.java").java """
                package com.example;
    
                public class Bar {
                    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top