- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 214 for dirname (0.28 sec)
-
cmd/is-dir-empty_linux.go
func isDirEmpty(dirname string, legacy bool) bool { if legacy { // On filesystems such as btrfs, nfs this is not true, so fallback // to performing readdir() instead. entries, err := readDirN(dirname, 1) if err != nil { return false } return len(entries) == 0 } var stat syscall.Stat_t if err := syscall.Stat(dirname, &stat); err != nil { return false }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 05 15:17:08 GMT 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/env.h
// // Typical status codes: // * TF_OK - dirname exists and we were able to delete everything underneath // * TF_NOT_FOUND - dirname doesn't exist // * TF_PERMISSION_DENIED - dirname or some descendant is not writable // * TF_UNIMPLEMENTED - some underlying functions (like Delete) are not // implemented TF_CAPI_EXPORT extern void TF_DeleteRecursively(const char* dirname,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
bin/update_ztunnel.sh
# See the License for the specific language governing permissions and # limitations under the License. set -e UPDATE_BRANCH=${UPDATE_BRANCH:-"master"} SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOTDIR=$(dirname "${SCRIPTPATH}") cd "${ROOTDIR}" # Get the sha of top commit # $1 = repo function getSha() { local dir result dir=$(mktemp -d)
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 11 17:50:01 GMT 2023 - 1.1K bytes - Viewed (0) -
tensorflow/c/env.cc
std::vector<::tensorflow::string>* list; size_t position; }; void TF_CreateDir(const char* dirname, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status( status, ::tensorflow::Env::Default()->CreateDir(dirname)); } void TF_DeleteDir(const char* dirname, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status(
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
gradlew.bat
@rem Set local scope for the variables with windows NT shell if "%OS%"=="Windows_NT" setlocal set DIRNAME=%~dp0 if "%DIRNAME%"=="" set DIRNAME=. @rem This is normally unused set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @rem Resolve any "." and ".." in APP_HOME to make it shorter. for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
Batch File - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Fri Nov 25 16:14:58 GMT 2022 - 2.7K bytes - Viewed (0) -
bin/init.sh
# $2: The full path of the output binary. # $3: Non-versioned name to use function download_envoy_if_necessary () { if [[ ! -f "$2" ]] ; then # Enter the output directory. mkdir -p "$(dirname "$2")" pushd "$(dirname "$2")" # Download and extract the binary to the output directory. echo "Downloading ${SIDECAR}: $1 to $2" time ${DOWNLOAD_COMMAND} --header "${AUTH_HEADER:-}" "$1" |\
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jan 25 19:11:31 GMT 2024 - 6.1K bytes - Viewed (0) -
cmd/is-dir-empty_other.go
package cmd // isDirEmpty - returns true if there is no error and no object and prefix inside this directory func isDirEmpty(dirname string, _ bool) bool { entries, err := readDirN(dirname, 1) if err != nil { return false } return len(entries) == 0
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 05 15:17:08 GMT 2024 - 1K bytes - Viewed (0) -
bin/build_ztunnel.sh
fi # Enter the output directory. mkdir -p "$(dirname "$2")" pushd "$(dirname "$2")" # Download and make the binary executable echo "Downloading ztunnel: $1 to $2" time ${DOWNLOAD_COMMAND} --header "${AUTH_HEADER:-}" "$1" > "$2" chmod +x "$2" # Make a copy named just "ztunnel" in the same directory (overwrite if necessary). echo "Copying $2 to $(dirname "$2")/${3}" cp -f "$2" "$(dirname "$2")/${3}" popd
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 21:46:06 GMT 2024 - 5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
ops_->delete_dir(filesystem_.get(), translated_name.c_str(), plugin_status.get()); return StatusFromTF_Status(plugin_status.get()); } Status ModularFileSystem::RecursivelyCreateDir(const std::string& dirname, TransactionToken* token) { if (ops_->recursively_create_dir == nullptr) return FileSystem::RecursivelyCreateDir(dirname, token);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
apache-maven/src/assembly/shared/mvnvalidate
while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG="`dirname "$PRG"`/$link" fi done saveddir=`pwd` MAVEN_HOME=`dirname "$PRG"`/.. # make it fully qualified MAVEN_HOME=`cd "$MAVEN_HOME" && pwd`
Plain Text - Registered: Sun Apr 21 03:35:09 GMT 2024 - Last Modified: Sat May 23 07:59:32 GMT 2020 - 418 bytes - Viewed (0)