Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for foos (0.07 sec)

  1. src/cmd/cgo/internal/test/issue29563/weak.go

    // 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/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributeSelectionUtilsTest.groovy

            def foo1 = Attribute.of("foo", String)
            def foo2 = Attribute.of("foo", String)
            def attr3 = Attribute.of("baz", String)
    
            given:
            candidate {
                attribute(attr3, "v2")
                attribute(foo1, "v2")
            }
            requested {
                attribute(attr3, "v3")
            }
            schema.getAttribute("foo") >> foo2
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/cc/framework/cc_op_gen_test.cc

      ExpectHasSubstr(h_file_text, "class Foo {");
      ExpectDoesNotHaveSubstr(h_file_text, "class Foo1");
      ExpectDoesNotHaveSubstr(h_file_text, "class Foo2");
    
      // With ApiDef
      TF_ASSERT_OK(api_def_map.LoadApiDef(api_def));
      GenerateCcOpFiles(env, op_defs, api_def_map, &h_file_text,
                        &internal_h_file_text);
      ExpectHasSubstr(h_file_text, "class Foo1");
      ExpectHasSubstr(h_file_text, "typedef Foo1 Foo2");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 20:04:30 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateObjectiveCppBaseNamesTestApp.groovy

                #import "foo.h"
    
                void sayFoo1()
                {
                    NSFileHandle *stdout = [NSFileHandle fileHandleWithStandardOutput];
                    NSData *strData = [@"foo1" dataUsingEncoding: NSASCIIStringEncoding];
                    [stdout writeData: strData];
                }
            """),
                    sourceFile("objcpp/foo2", "foo.mm", """
                #import <iostream>
                #import "foo.h"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue47747.go

    // 	var b Bar[t]
    // 	f.Foo(&b)
    // 	return t(b)
    // }
    
    // Test case 2 from issue
    
    // For now, a lone type parameter is not permitted as RHS in a type declaration (issue #45639).
    // type Fooer2[t any] interface {
    // 	Foo()
    // }
    // 
    // type Foo2[t any] t
    // 
    // func (f *Foo2[t]) Foo() {}
    // 
    // func _[t any](v t) {
    // 	var f = Foo2[t](v)
    // 	_ = Fooer2[t](&f)
    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. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributeSelectionSchemaTest.groovy

            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")
            attributesSchema.getAttributeByName("foo") >> foo2
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 20:17:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. pkg/cache/cache_test.go

    	c.Set("foo5", "bar")
    	c.Set("foo6", "bar")
    	c.Set("foo7", "bar")
    
    	wg := new(sync.WaitGroup)
    	workers := runtime.NumCPU()
    	each := b.N / workers
    	wg.Add(workers)
    
    	b.ResetTimer()
    	for i := 0; i < workers; i++ {
    		go func() {
    			for j := 0; j < each; j++ {
    				c.Get("foo1")
    				c.Get("foo2")
    				c.Get("foo3")
    				c.Get("foo5")
    				c.Get("foo6")
    				c.Get("foo7")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. src/runtime/mfinal_test.go

    func TestFinalizerOnGlobal(t *testing.T) {
    	runtime.SetFinalizer(Foo1, func(p *Object1) {})
    	runtime.SetFinalizer(Foo2, func(p *Object2) {})
    	runtime.SetFinalizer(Foo1, nil)
    	runtime.SetFinalizer(Foo2, nil)
    }
    
    type Object1 struct {
    	Something []byte
    }
    
    type Object2 struct {
    	Something byte
    }
    
    var (
    	Foo2 = &Object2{}
    	Foo1 = &Object1{}
    )
    
    func TestDeferKeepAlive(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. pkg/filewatcher/fakefilewatcher_test.go

    			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"} {
    		wantEvent := fsnotify.Event{Name: file, Op: fsnotify.Write}
    		fakeWatcher.InjectEvent(file, wantEvent)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top