Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for foo333 (0.16 sec)

  1. analysis/analysis-api/testData/components/containingDeclarationProvider/containingDeclarationFromMemberScope/subsitutionOverride.kt

    abstract class X<T> {
        fun <S> foo1(t: T): T = t
        fun <Q> foo2(t: T) {}
        fun <U> foo3() {}
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Oct 26 19:19:00 UTC 2022
    - 129 bytes
    - Viewed (0)
  2. test/fixedbugs/bug441.go

    package main
    
    var did int
    
    func main() {
    	foo(side())
    	foo2(side(), side())
    	foo3(side(), side())
    	T.m1(T(side()))
    	T(1).m2(side())
    	const want = 7
    	if did != want {
    		println("BUG: missing", want-did, "calls")
    	}
    }
    
    func foo(_ int) {}
    func foo2(_, _ int) {}
    func foo3(int, int) {}
    type T int
    func (_ T) m1() {}
    func (t T) m2(_ int) {}
    
    func side() int {
    	did++
    	return 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 641 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    			errorExpressions: map[string]string{
    				"request.foo1 == 'nope'":                 "undefined field 'foo1'",
    				"request.resource.foo2 == 'nope'":        "undefined field 'foo2'",
    				"request.requestKind.foo3 == 'nope'":     "undefined field 'foo3'",
    				"request.requestResource.foo4 == 'nope'": "undefined field 'foo4'",
    				"request.userInfo.foo5 == 'nope'":        "undefined field 'foo5'",
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. pkg/kubelet/util/queue/work_queue_test.go

    	q.Enqueue(types.UID("foo2"), -1*time.Minute)
    	q.Enqueue(types.UID("foo3"), 1*time.Minute)
    	q.Enqueue(types.UID("foo4"), 1*time.Minute)
    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    	// Dial the time to 1 hour ahead.
    	clock.Step(time.Hour)
    	expected = []types.UID{types.UID("foo3"), types.UID("foo4")}
    	compareResults(t, expected, q.GetWork())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. pkg/cache/cache_test.go

    				c.Set("foo1", "bar")
    				c.Set("foo2", "bar")
    				c.Set("foo3", "bar")
    				c.Set("foo4", "bar")
    				c.Set("foo5", "bar")
    				c.Set("foo6", "bar")
    				c.Set("foo7", "bar")
    			}
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    }
    
    func benchmarkCacheGetSetConcurrent(c Cache, b *testing.B) {
    	c.Set("foo1", "bar")
    	c.Set("foo2", "bar")
    	c.Set("foo3", "bar")
    	c.Set("foo4", "bar")
    	c.Set("foo5", "bar")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. test/fixedbugs/issue4215.go

    }
    
    func foo2() {
    	return int(2), 2 // ERROR "too many (arguments to return|return values)\n\thave \(int, number\)\n\twant \(\)|return with value in function with no return type"
    }
    
    func foo3(v int) (a, b, c, d int) {
    	if v >= 0 {
    		return 1 // ERROR "not enough return values\n\thave \(number\)\n\twant \(int, int, int, int\)|not enough arguments to return"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 21:43:02 UTC 2022
    - 2K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    				makeGCContainer("foo2", "bar2", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo3", "bar3", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo3", "bar3", 0, 0, runtimeapi.ContainerState_CONTAINER_EXITED),
    				makeGCContainer("foo4", "bar4", 1, 1, runtimeapi.ContainerState_CONTAINER_EXITED),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. pkg/filewatcher/fakefilewatcher_test.go

    		}
    		if err := watcher.Remove(file); err == nil {
    			t.Fatal("Removing a path that doesn't exist should fail")
    		}
    	}
    
    	// verify Close()
    	for _, file := range []string{"foo3", "bar3", "baz3"} {
    		watcher.Add(file)
    	}
    	if err := watcher.Close(); err != nil {
    		t.Fatalf("Close() failed: %v", err)
    	}
    
    	for _, file := range []string{"foo2", "bar2", "baz2"} {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/DefaultRuleActionAdapterTest.groovy

            ruleAction.execute("", ["foo", 3])
    
            then:
            ruleAction.inputTypes == [String, Integer]
            closureCalled == "foo3"
        }
    
        def "can adapt from action" () {
            ruleActionAdapter = new DefaultRuleActionAdapter(noopValidator, "context")
            def actionCalled = false
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/constraints/DependencyConstraintsIntegrationTest.groovy

            def bar20 = mavenRepo.module('org', 'bar', '2.0').publish()
            def foo10 = mavenRepo.module('org', 'foo', '1.0').dependsOn(bar10).publish()
            def foo13 = mavenRepo.module('org', 'foo', '1.3').dependsOn(bar10).publish()
            def bar15 = mavenRepo.module('org', 'bar', '1.5').publish()
            def foo15 = mavenRepo.module('org', 'foo', '1.5').dependsOn(bar15).publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 28.8K bytes
    - Viewed (0)
Back to top