Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for foo_1 (0.08 sec)

  1. src/cmd/cgo/internal/test/issue29563/weak.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 issue29563
    
    //int foo1();
    //int foo2();
    import "C"
    
    func Bar() int {
    	return int(C.foo1()) + int(C.foo2())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 277 bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateWindowsResourcesBaseNamesTestApp.groovy

        return std::string(wide.begin(), wide.end());
    }
    
    void hello() {
        std::string foo1 = LoadStringFromResource(IDS_FOO1);
        std::string foo2 = LoadStringFromResource(IDS_FOO2);
        std::cout << foo1;
        std::cout << foo2;
    }
    """),
            sourceFile("rc/dir1", "resources.rc", """
    #include "hello.h"
    
    STRINGTABLE
    {
        IDS_FOO1, "foo1"
    }
    """),
            sourceFile("rc/dir2", "resources.rc", """
    #include "hello.h"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  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