Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for test_link (5.08 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7Symlink.java

            Path linkFile = null;
            try {
                sourceFile = temporaryFileProvider.createTemporaryFile("symlink", "test").toPath();
                linkFile = temporaryFileProvider.createTemporaryFile("symlink", "test_link").toPath();
    
                Files.delete(linkFile);
                Files.createSymbolicLink(linkFile, sourceFile);
                return true;
            } catch (InternalError e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy

                @Override
                boolean accept(File pathname) {
                    return pathname.name.startsWith("symlink") && (pathname.name.endsWith("test") || pathname.name.endsWith("test_link")) && pathname.canWrite()
                }
            })
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. src/flag/flag_test.go

    	if s == "0" {
    		return "false"
    	}
    	return "true"
    }
    
    func TestEverything(t *testing.T) {
    	ResetForTesting(nil)
    	Bool("test_bool", false, "bool value")
    	Int("test_int", 0, "int value")
    	Int64("test_int64", 0, "int64 value")
    	Uint("test_uint", 0, "uint value")
    	Uint64("test_uint64", 0, "uint64 value")
    	String("test_string", "0", "string value")
    	Float64("test_float64", 0, "float64 value")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class));
        }
    
        public void test_list() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key1", Arrays.asList("aaa", "bbb"));
            assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/composite_op_round_trip.mlir

        // CHECK-ROUNDTRIP:  %0 = stablehlo.composite "stablehlo.add_n" %arg0 {composite_attributes = {test_bool = false, test_int = 2 : i64, test_string = "test"}, decomposition = @add_n.impl} : (tensor<i64>) -> tensor<i64>
        %0 = stablehlo.composite "stablehlo.add_n" %arg0 { composite_attributes = { test_int = 2 : i64, test_bool = 0 : i1, test_string = "test"}, decomposition = @add_n.impl } : (tensor<i64>) -> tensor<i64>
        return %0 : tensor<i64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:40:50 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/plugins/NativeBasePluginTest.groovy

            linkTask.linkedFile.get().asFile == projectDir.file("build/lib/windows/debug/test_lib.dll")
    
            def stripTask = project.tasks['stripSymbolsWindowsDebug']
            stripTask instanceof StripSymbols
            stripTask.binaryFile.get().asFile == linkTask.linkedFile.get().asFile
            stripTask.outputFile.get().asFile == projectDir.file("build/lib/windows/debug/stripped/test_lib.dll")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  7. src/runtime/export_debug_ppc64le_test.go

    }
    
    func (h *debugCallHandler) saveSigContext(ctxt *sigctxt) {
    	sp := ctxt.sp()
    	sp -= 4 * goarch.PtrSize
    	ctxt.set_sp(sp)
    	*(*uint64)(unsafe.Pointer(uintptr(sp))) = ctxt.link() // save the current lr
    	ctxt.set_link(ctxt.pc())                              // set new lr to the current pc
    	// Write the argument frame size.
    	*(*uintptr)(unsafe.Pointer(uintptr(sp - 32))) = h.argSize
    	// Save current registers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 15:33:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestWithLibraryIntegrationTest.groovy

            """
            file("src/test/cpp/test_lib.cpp") << """
                #include <lib.h>
                #include <tests.h>
                int main() {
                    return lib();
                }
            """
        }
    
        @Override
        protected void changeTestImplementation() {
            file("src/test/cpp/test_lib.cpp") << """
                void test_func() { }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents/test_main.cpp

    #include "gtest/gtest.h"
    #include "${generatedId}/header.h"
    
    using namespace testing;
    <%
    if (hasTests) {
        out.println """
    TEST(GeneratedTests, test_lib) {
        ASSERT_EQ(0, function_${generatedId}());
    }"""
    }
    %>
    
    int main(int argc, char **argv) {
      testing::InitGoogleTest(&argc, argv);
      return RUN_ALL_TESTS();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 316 bytes
    - Viewed (0)
  10. platforms/native/language-native/src/test/groovy/org/gradle/language/swift/plugins/SwiftBasePluginTest.groovy

            def library = Stub(DefaultSwiftSharedLibrary)
            library.name >> name
            library.names >> Names.of(name)
            library.module >> Providers.of("TestLib")
            library.baseName >> Providers.of("test_lib")
            library.targetMachine >> Stub(SwiftPlatform)
            library.sourceCompatibility >> Stub(PropertyInternal) { getType() >> null }
            library.platformToolProvider >> new TestPlatformToolProvider()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top