- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for copyTest (0.16 sec)
-
pkg/file/file_test.go
assert.Equal(t, m.Mode(), 0o750) body, _ := io.ReadAll(f) // Contents should be copied assert.Equal(t, body, []byte("hello world")) } func TestCopy(t *testing.T) { copyTest(t, Copy) } func TestAtomicCopy(t *testing.T) { copyTest(t, AtomicCopy) } func TestAtomicWrite(t *testing.T) { d := t.TempDir() file := filepath.Join(d, "test") data := []byte("hello world") err := AtomicWrite(file, data, 0o750)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 11 19:10:54 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/api/testing/copy_test.go
Tim Hockin <******@****.***> 1679595032 -0700
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:45:31 UTC 2023 - 2.7K bytes - Viewed (0) -
src/make.bat
if x%2==x-no-clean...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 6.2K bytes - Viewed (0) -
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
clone.setFile(artifact.getFile()); clone.setAvailableVersions(copyList(artifact.getAvailableVersions())); if (artifact.getVersion() != null) { clone.setBaseVersion(artifact.getBaseVersion()); } clone.setDependencyFilter(artifact.getDependencyFilter()); clone.setDependencyTrail(copyList(artifact.getDependencyTrail())); clone.setDownloadUrl(artifact.getDownloadUrl());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 06 08:51:18 UTC 2023 - 6.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_vendor.txt
# if any package within their module is copied. exists vendor/a/foo/AUTHORS.txt exists vendor/a/foo/CONTRIBUTORS exists vendor/a/foo/LICENSE exists vendor/a/foo/PATENTS exists vendor/a/foo/COPYING exists vendor/a/foo/COPYLEFT exists vendor/x/NOTICE! exists vendor/mysite/myname/mypkg/LICENSE.txt ! exists vendor/a/foo/licensed-to-kill ! exists vendor/w ! exists vendor/w/LICENSE ! exists vendor/x/x2 ! exists vendor/x/x2/LICENSE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 7.5K bytes - Viewed (0) -
common/config/license-lint.yml
- W3C - Xnet - Zlib reciprocal_licenses: - CC0-1.0 - APSL-2.0 - CDDL-1.0 - CDDL-1.1 - CPL-1.0 - EPL-1.0 - IPL-1.0 - MPL-1.0 - MPL-1.1 - MPL-2.0 - MPL-2.0-no-copyleft-exception - Ruby restricted_licenses: - GPL-1.0-only - GPL-1.0-or-later - GPL-2.0-only - GPL-2.0-or-later - GPL-3.0-only - GPL-3.0-or-later - LGPL-2.0-only - LGPL-2.0-or-later
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 25 19:26:20 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/copyGen.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 3.6K bytes - Viewed (0)