Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 630 for idir (0.12 sec)

  1. .teamcity/mvnw

        echo "Path not specified to find_maven_basedir"
        return 1
      fi
    
      basedir="$1"
      wdir="$1"
      while [ "$wdir" != '/' ] ; do
        if [ -d "$wdir"/.mvn ] ; then
          basedir=$wdir
          break
        fi
        # workaround for JBEAP-8937 (on Solaris 10/Sparc)
        if [ -d "${wdir}" ]; then
          wdir=`cd "$wdir/.."; pwd`
        fi
        # end of workaround
      done
      echo "${basedir}"
    }
    
    Shell Script
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  2. cmd/object-api-getobjectinfo_test.go

    			}
    			if testCase.result.IsDir != result.IsDir {
    				t.Errorf("Test %d: %s: Expected IsDir flag of the object to be %v, but instead found it to be %v", i+1, instanceType, testCase.result.IsDir, result.IsDir)
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

        stats->is_directory = S_ISDIR(sbuf.st_mode);
        TF_SetStatus(status, TF_OK, "");
      }
    }
    
    static int GetChildren(const TF_Filesystem* filesystem, const char* path,
                           char*** entries, TF_Status* status) {
      struct dirent** dir_entries = nullptr;
      /* we don't promise entries would be sorted */
      int num_entries =
          scandir(path, &dir_entries, RemoveSpecialDirectoryEntries, nullptr);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/packaging/deb/init.d/fess

    		log_end_msg 0
    		exit 0
    	fi
    
    	# Prepare environment
    	mkdir -p "$LOG_DIR" "$DATA_DIR" && chown "$FESS_USER":"$FESS_GROUP" "$LOG_DIR" "$DATA_DIR"
    
    	# Ensure that the PID_DIR exists (it is cleaned at OS startup time)
    	if [ -n "$PID_DIR" ] && [ ! -e "$PID_DIR" ]; then
    		mkdir -p "$PID_DIR" && chown "$FESS_USER":"$FESS_GROUP" "$PID_DIR"
    	fi
    	if [ -n "$PID_FILE" ] && [ ! -e "$PID_FILE" ]; then
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    	// Name should match...
    	if e.name != other.name {
    		if e.name < other.name {
    			return e, false
    		}
    		return other, false
    	}
    
    	if other.isDir() || e.isDir() {
    		if e.isDir() {
    			return e, other.isDir() == e.isDir()
    		}
    		return other, other.isDir() == e.isDir()
    	}
    	eVers, eErr := e.xlmeta()
    	oVers, oErr := other.xlmeta()
    	if eErr != nil || oErr != nil {
    		return nil, false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. src/archive/tar/testdata/file-and-dir.tar

    Caio Marcelo de Oliveira Filho <******@****.***> 1514852203 -0800
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 13 18:36:49 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  7. src/archive/zip/struct.go

    func (fi headerFileInfo) Size() int64 {
    	if fi.fh.UncompressedSize64 > 0 {
    		return int64(fi.fh.UncompressedSize64)
    	}
    	return int64(fi.fh.UncompressedSize)
    }
    func (fi headerFileInfo) IsDir() bool { return fi.Mode().IsDir() }
    func (fi headerFileInfo) ModTime() time.Time {
    	if fi.fh.Modified.IsZero() {
    		return fi.fh.ModTime()
    	}
    	return fi.fh.Modified.UTC()
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    	if err != nil {
    		return err
    	}
    
    	// Delete all directories we expect to be there.
    	for _, dir := range wantDirs {
    		delete(foundDirs, dir)
    	}
    
    	// Delete excessive directories.
    	// Do not abort on context errors.
    	for dir := range foundDirs {
    		toRemove := pathJoin(volumeDir, path, dir+SlashSeparator)
    		err = s.deleteFile(volumeDir, toRemove, true, true)
    		diskHealthCheckOK(ctx, err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  9. cni/pkg/install/binaries.go

    )
    
    // Copies/mirrors any files present in a single source dir to N number of target dirs
    // and returns a set of the filenames copied.
    func copyBinaries(srcDir string, targetDirs []string) (sets.String, error) {
    	copiedFilenames := sets.String{}
    	srcFiles, err := os.ReadDir(srcDir)
    	if err != nil {
    		return copiedFilenames, err
    	}
    
    	for _, f := range srcFiles {
    		if f.IsDir() {
    			continue
    		}
    
    		filename := f.Name()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Dec 11 19:10:54 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. cmd/os_unix.go

    			}
    
    			// Ignore symlinked directories.
    			if !opts.followDirSymlink && typ&os.ModeSymlink == os.ModeSymlink && fi.IsDir() {
    				continue
    			}
    
    			typ = fi.Mode() & os.ModeType
    		}
    
    		var nameStr string
    		if typ.IsRegular() {
    			nameStr = string(name)
    		} else if typ.IsDir() {
    			// Use temp buffer to append a slash to avoid string concat.
    			tmp = tmp[:len(name)+1]
    			copy(tmp, name)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top