- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 229 for rename (0.04 sec)
-
cmd/os-rename_linux.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 999 bytes - Viewed (0) -
cmd/os-rename_nolinux.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 985 bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
// If the old CNI config filename ends with .conf, rename it to .conflist, because it has to be changed to a list installLog.Infof("Renaming %s extension to .conflist", cniConfigFilepath) err = os.Rename(cniConfigFilepath, cniConfigFilepath+"list") if err != nil { installLog.Errorf("Failed to rename CNI config file %v: %v", cniConfigFilepath, err) return cniConfigFilepath, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 8.2K bytes - Viewed (0) -
cmd/os-reliable.go
if baseDir != "" && nbaseDir != "" && nbaseDir != SlashSeparator { baseDir = nbaseDir } continue } } break } return err } // Wrapper function to os.Rename, which calls reliableMkdirAll // and reliableRenameAll. This is to ensure that if there is a // racy parent directory delete in between we can simply retry // the operation.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/os-instrumented.go
return osMkdirAll(dirPath, mode, baseDir) } // Rename captures time taken to call os.Rename func Rename(src, dst string) (err error) { defer updateOSMetrics(osMetricRename, src, dst)(err) return RenameSys(src, dst) } // OpenFile captures time taken to call os.OpenFile func OpenFile(name string, flag int, perm os.FileMode) (f *os.File, err error) { switch flag & writeMode {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 15 01:09:38 UTC 2024 - 6.3K bytes - Viewed (0) -
ci/official/utilities/rename_and_verify_wheels.sh
# # Usage: rename_and_verify_wheels.sh # This script is aware of TFCI_ variables, so it doesn't need any arguments. # Puts new wheel through auditwheel to rename and verify it, deletes the old # one, checks the filesize, and then ensures the new wheel is installable. set -euxo pipefail cd "$TFCI_OUTPUT_DIR" # Move extra wheel files somewhere out of the way. This script
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 21:18:17 UTC 2024 - 4.3K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh
# Check and rename wheels with auditwheel. Inserts the platform tags like # "manylinux_xyz" into the wheel filename. set -euxo pipefail for wheel in /tf/pkg/*.whl; do echo "Checking and renaming $wheel..." time python3 -m auditwheel repair --plat manylinux2014_aarch64 "$wheel" --wheel-dir /tf/pkg 2>&1 | tee check.txt # We don't need the original wheel if it was renamed
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Sep 18 19:00:37 UTC 2023 - 1.3K bytes - Viewed (0) -
migrator/migrator.go
// RenameColumn rename value's field name from oldName to newName func (m Migrator) RenameColumn(value interface{}, oldName, newName string) error { return m.RunWithValue(value, func(stmt *gorm.Statement) error { if stmt.Schema != nil { if field := stmt.Schema.LookUpField(oldName); field != nil { oldName = field.DBName } if field := stmt.Schema.LookUpField(newName); field != nil { newName = field.DBName } }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Apr 26 07:15:49 UTC 2024 - 29K bytes - Viewed (0) -
cmd/xl-storage-meta-inline.go
plSize += len(key) + len(value) + msgp.StringPrefixSize + msgp.ArrayHeaderSize } // Reserialize... x.serialize(plSize, keys, vals) } // rename will rename a key. // Returns whether the key was found. func (x *xlMetaInlineData) rename(oldKey, newKey string) bool { in := x.afterVersion() sz, buf, _ := msgp.ReadMapHeaderBytes(in) keys := make([][]byte, 0, sz) vals := make([][]byte, 0, sz)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileOperationsTest.java
f.createNewFile(); boolean renamed = false; try { f.renameTo(f2); try { assertTrue(f2.exists()); renamed = true; assertEquals(nameSrc, f.getName()); assertEquals(nameTgt, f2.getName()); assertFalse(f.exists()); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0)