Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for foo_1 (0.05 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. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    				"request.dryRun == false",
    				"request.options == {'whatever': 'you want'}",
    			},
    		},
    		{
    			name: "invalid request",
    			errorExpressions: map[string]string{
    				"request.foo1 == 'nope'":                 "undefined field 'foo1'",
    				"request.resource.foo2 == 'nope'":        "undefined field 'foo2'",
    				"request.requestKind.foo3 == 'nope'":     "undefined field 'foo3'",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributeSelectionSchemaTest.groovy

        }
    
        def "prefers extra attributes from the selection schema"() {
            def foo1 = Attribute.of("foo", String)
            def foo2 = Attribute.of("foo", String)
            def attr3 = Attribute.of("baz", String)
    
            given:
    
            ImmutableAttributes[] candidates = [candidate(ImmutableMap.of(attr3, "v2", foo1, "v2"))]
            AttributeContainer requested = attribute(attr3, "v3")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 20:17:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testerrors/testdata/err2.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    /*
    #include <stdio.h>
    
    typedef struct foo foo_t;
    typedef struct bar bar_t;
    
    foo_t *foop;
    
    long double x = 0;
    
    static int transform(int x) { return x; }
    
    typedef void v;
    void F(v** p) {}
    
    void fvi(void *p, int x) {}
    
    void fppi(int** p) {}
    
    int i;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. pkg/kube/krt/collection_test.go

    	cc.Create(&corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Name: "foo1", Labels: lblFoo}})
    	assert.EventuallyEqual(t, fetcherSorted(Results), []Result{{NewNamed(pod), []string{"foo1"}}})
    
    	cc.Create(&corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Name: "switch", Labels: lblFoo}})
    	assert.EventuallyEqual(t, fetcherSorted(Results), []Result{{NewNamed(pod), []string{"foo1", "switch"}}})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue47747.go

    	Foo(Barer[t])
    }
    type Barer[t any] interface {
    	Bar(t)
    }
    
    // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639).
    // type Foo1[t any] t
    // type Bar[t any] t
    // 
    // func (l Foo1[t]) Foo(v Barer[t]) { v.Bar(t(l)) }
    // func (b *Bar[t]) Bar(l t)        { *b = Bar[t](l) }
    // 
    // func _[t any](f Fooer1[t]) t {
    // 	var b Bar[t]
    // 	f.Foo(&b)
    // 	return t(b)
    // }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. pkg/kubelet/util/queue/work_queue_test.go

    	}
    }
    
    func TestGetWork(t *testing.T) {
    	q, clock := newTestBasicWorkQueue()
    	q.Enqueue(types.UID("foo1"), -1*time.Minute)
    	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())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-gradient-def.pbtxt

      }
    }
    library {
      function {
        signature {
          name: "foo"
          input_arg {
            name: "foo"
            type: DT_FLOAT
          }
          output_arg {
            name: "foo1"
            type: DT_FLOAT
          }
        }
        node_def {
          name: "Exp"
          op: "Exp"
          input: "foo"
          attr {
            key: "T"
            value {
              type: DT_FLOAT
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 4.3K bytes
    - Viewed (0)
  9. pkg/cache/cache_test.go

    		go func() {
    			for j := 0; j < each; j++ {
    				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")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/switch_test.go

    func benchmarkSwitchString(b *testing.B, predictable bool) {
    	a := []string{
    		"foo",
    		"foo1",
    		"foo22",
    		"foo333",
    		"foo4444",
    		"foo55555",
    		"foo666666",
    		"foo7777777",
    	}
    	n := 0
    	rng := newRNG()
    	for i := 0; i < b.N; i++ {
    		rng = rng.next(predictable)
    		switch a[rng.value()&7] {
    		case "foo":
    			n += 1
    		case "foo1":
    			n += 2
    		case "foo22":
    			n += 3
    		case "foo333":
    			n += 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top