Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 174 for foo4 (0.13 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateCppBaseNamesTestApp.groovy

             sourceFile("cpp/foo2", "foo.cpp", """
                #include <iostream>
                #include "foo.h"
                using namespace std;
    
                void foo2() {
                    cout << "foo2";
                }
            """)]
        }
    
        @Override
        List<SourceFile> getHeaderFiles() {
            [sourceFile("headers", "foo.h", """
               void foo1();
               void foo2();
               """)
             ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateCBaseNamesTestApp.groovy

                #include <stdio.h>
                #include "foo.h"
                int main () {
                   foo1();
                   foo2();
                   return 0;
                }
            """),
    
            sourceFile("c/foo1", "foo.c", """
                #include <stdio.h>
                #include "foo.h"
    
                void foo1() {
                    printf("foo1");
                }
            """),
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. test/fixedbugs/bug113.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type I interface{}
    
    func foo1(i int) int     { return i }
    func foo2(i int32) int32 { return i }
    func main() {
    	var i I
    	i = 1
    	var v1 = i.(int)
    	if foo1(v1) != 1 {
    		panic(1)
    	}
    	var v2 = int32(i.(int))
    	if foo2(v2) != 1 {
    		panic(2)
    	}
    	
    	shouldPanic(p1)
    }
    
    func p1() {
    	var i I
    	i = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 693 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    			watchTests: []*testWatchStruct{
    				{basePod("t4-foo1"), true, watch.Added},
    				{basePod("t4-foo2"), false, ""},
    				{basePodUpdated("t4-foo1"), true, watch.Modified},
    				{basePodUpdated("t4-foo2"), false, ""},
    			},
    		},
    		{
    			name:          "cluster-wide watch, request with name, field selector with metadata.name and spec.nodeName",
    			requestedName: "t5-foo1",
    			fieldSelector: fields.SelectorFromSet(fields.Set{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/testdata/testprogcgo/cgo.go

    // Copyright 2015 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 main
    
    /*
    void foo1(void) {}
    void foo2(void* p) {}
    */
    import "C"
    import (
    	"fmt"
    	"os"
    	"runtime"
    	"strconv"
    	"time"
    	"unsafe"
    )
    
    func init() {
    	register("CgoSignalDeadlock", CgoSignalDeadlock)
    	register("CgoTraceback", CgoTraceback)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 13:20:27 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top