Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for mydir (0.22 sec)

  1. cmd/os-readdir_test.go

    	dir := t.TempDir()
    	if err := os.MkdirAll(filepath.Join(dir, "mydir"), 0o777); err != nil {
    		t.Fatalf("Unable to create prefix directory \"mydir\", %s", err)
    	}
    	entries := []string{"mydir/"}
    	for i := 0; i < 10; i++ {
    		name := fmt.Sprintf("file-%d", i)
    		if err := os.WriteFile(filepath.Join(dir, "mydir", name), []byte{}, os.ModePerm); err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  2. deps.xml

    	<target name="install.jars">
    		<mkdir dir="${target.dir}" />
    		<delete dir="${webinf.dir}/lib" />
    		<mkdir dir="${webinf.dir}/lib" />
    		<delete dir="${webinf.dir}/plugin" />
    		<mkdir dir="${webinf.dir}/plugin" />
    		<delete dir="${crawler.dir}/lib" />
    		<mkdir dir="${crawler.dir}/lib" />
    		<delete dir="${suggest.dir}/lib" />
    		<mkdir dir="${suggest.dir}/lib" />
    		<delete dir="${thumbnail.dir}/lib" />
    XML
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:44:26 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

      ;;
    *)
      echo "Usage: $0 {devtoolset-9|devtoolset-10} <target-directory> <arch>"
      echo "Use 'devtoolset-9' to build a manylinux2014 compatible toolchain"
      exit 1
      ;;
    esac
    
    mkdir -p "${TARGET}"
    
    mkdir -p ${TARGET}/usr/include
    
    # Put the current kernel headers from ubuntu in place.
    ln -s "/usr/include/linux" "${TARGET}/usr/include/linux"
    ln -s "/usr/include/asm-generic" "${TARGET}/usr/include/asm-generic"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  4. cmd/os-instrumented.go

    	defer updateOSMetrics(osMetricRemoveAll, dirPath)(err)
    	return os.RemoveAll(dirPath)
    }
    
    // Mkdir captures time taken to call os.Mkdir
    func Mkdir(dirPath string, mode os.FileMode) (err error) {
    	defer updateOSMetrics(osMetricMkdir, dirPath)(err)
    	return os.Mkdir(dirPath, mode)
    }
    
    // MkdirAll captures time taken to call os.MkdirAll
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. lib/time/update.bash

    # in the CL match the update.bash in the CL.
    
    # Versions to use.
    CODE=2024a
    DATA=2024a
    
    set -e
    
    cd $(dirname $0)
    rm -rf work
    mkdir work
    go build -o work/mkzip mkzip.go # build now for correct paths in build errors
    cd work
    mkdir zoneinfo
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz
    curl -sS -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/EnumTest.java

                try ( SmbFile a = new SmbFile(f, "a/");
                      SmbFile b = new SmbFile(f, "b.txt");
                      SmbFile c = new SmbFile(f, "c.bar") ) {
    
                    a.mkdir();
    
                    b.createNewFile();
                    boolean haveHidden = false;
                    try {
                        b.setAttributes(SmbConstants.ATTR_HIDDEN);
                        haveHidden = true;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  7. ci/official/utilities/repack_libtensorflow.sh

      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
      cp "${tmp_dir}/new.jar" "${dest_jar}"
      rm -rf "${tmp_dir}"
    }
    DIR=$1
    TARBALL_SUFFIX=$2
    mkdir -p "$DIR"
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 12 19:47:53 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  8. maven-core/src/test/resources-project-builder/foo/sub/pom.xml

                    <property name="test.projects.repository" value="repositories/central" />
    
                    <mkdir dir="${basedir}/target/test-classes/${test.projects.repository}/${test.projects.target.directory}/" />
    
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Sep 22 08:59:31 GMT 2023
    - 15.6K bytes
    - Viewed (0)
  9. buildscripts/verify-healing-with-root-disks.sh

    }
    
    # Prepare fake disks with losetup
    function prepare_block_devices() {
    	set -e
    	mkdir -p ${WORK_DIR}/disks/ ${WORK_DIR}/mnt/
    	sudo modprobe loop
    	for i in 1 2 3 4; do
    		dd if=/dev/zero of=${WORK_DIR}/disks/img.${i} bs=1M count=2000
    		device=$(sudo losetup --find --show ${WORK_DIR}/disks/img.${i})
    		sudo mkfs.ext4 -F ${device}
    		mkdir -p ${WORK_DIR}/mnt/disk${i}/
    		sudo mount ${device} ${WORK_DIR}/mnt/disk${i}/
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  10. misc/go_android_exec/main.go

    		if modDir != "" {
    			// In module mode, the user may reasonably expect the entire module
    			// to be present. Copy it over.
    			deviceModDir := path.Join(deviceGopath, "src", modPath)
    			if err := adb("exec-out", "mkdir", "-p", path.Dir(deviceModDir)); err != nil {
    				return 0, err
    			}
    			// We use a single recursive 'adb push' of the module root instead of
    			// walking the tree and copying it piecewise. If the directory tree
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
Back to top