- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for test_link (0.15 sec)
-
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) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5K bytes - Viewed (0) -
src/container/ring/ring_test.go
verify(t, r2b, 1, 0) } func TestLink2(t *testing.T) { var r0 *Ring r1a := &Ring{Value: 42} r1b := &Ring{Value: 77} r10 := makeN(10) r1a.Link(r0) verify(t, r1a, 1, 42) r1a.Link(r1b) verify(t, r1a, 2, 42+77) r10.Link(r0) verify(t, r10, 10, sumN(10)) r10.Link(r1a) verify(t, r10, 12, sumN(10)+42+77) } func TestLink3(t *testing.T) { var r Ring n := 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/apis_meta_v1_unstructed_unstructure_test.go
{ json: []byte(`{"apiVersion": "test", "kind": "test_kind"}`), want: &unstructured.Unstructured{ Object: map[string]interface{}{"apiVersion": "test", "kind": "test_kind"}, }, }, { json: []byte(`{"apiVersion": "test", "kind": "test_list", "items": []}`), want: &unstructured.UnstructuredList{ Object: map[string]interface{}{"apiVersion": "test", "kind": "test_list"}, Items: []unstructured.Unstructured{}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 20:12:50 UTC 2022 - 17.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
test/typeparam/chansimp.dir/main.go
ctx := context.Background() got := a.ReadAll(ctx, a.Filter(ctx, c, even)) want := []int{2} if !a.SliceEqual(got, want) { panic(fmt.Sprintf("Filter returned %v, want %v", got, want)) } } func TestSink() { c := a.Sink[int](context.Background()) after := time.NewTimer(time.Minute) defer after.Stop() send := func(v int) { select { case c <- v: case <-after.C: panic("timed out sending to Sink")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 3.1K bytes - Viewed (0) -
src/internal/testenv/testenv_notwin.go
_ = os.RemoveAll(dir) }() fpath := filepath.Join(dir, "testfile.txt") if err := os.WriteFile(fpath, nil, 0644); err != nil { return false, "" } if err := os.Symlink(fpath, filepath.Join(dir, "testlink")); err != nil { if SyscallIsNotSupported(err) { return false, fmt.Sprintf("symlinks unsupported: %s", err.Error()) } return false, "" } } return true, ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 05:22:00 UTC 2023 - 1.1K bytes - Viewed (0)