Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,210 for directory (0.43 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    internal fun FileSystem.deleteContents(directory: Path) {
      var exception: IOException? = null
      val files =
        try {
          list(directory)
        } catch (fnfe: FileNotFoundException) {
          return
        }
      for (file in files) {
        try {
          if (metadata(file).isDirectory) {
            deleteContents(file)
          }
    
          delete(file)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/archive/zip/fuzz_test.go

    package zip
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"path/filepath"
    	"testing"
    )
    
    func FuzzReader(f *testing.F) {
    	testdata, err := os.ReadDir("testdata")
    	if err != nil {
    		f.Fatalf("failed to read testdata directory: %s", err)
    	}
    	for _, de := range testdata {
    		if de.IsDir() {
    			continue
    		}
    		b, err := os.ReadFile(filepath.Join("testdata", de.Name()))
    		if err != nil {
    			f.Fatalf("failed to read testdata: %s", err)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jan 13 18:06:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl

    interface samr
    {
    	import "../rpc.idl";
    	import "lsarpc.idl";
    
    	typedef [v1_enum] enum {
    		ACB_DISABLED               = 0x00000001, /* 1 = User account disabled */
    		ACB_HOMDIRREQ              = 0x00000002, /* 1 = Home directory required */
    		ACB_PWNOTREQ               = 0x00000004, /* 1 = User password not required */
    		ACB_TEMPDUP                = 0x00000008, /* 1 = Temporary duplicate account */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  4. cmd/is-dir-empty_other.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    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
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 05 15:17:08 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

     */
    package org.apache.maven.artifact.repository.metadata;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     * Metadata for the artifact version directory of the repository.
     *
     * TODO split instantiation (versioning, plugin mappings) from definition
     */
    @Deprecated
    public class SnapshotArtifactRepositoryMetadata extends AbstractRepositoryMetadata {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/ResourceUtil.java

                return path.substring(0, extPos);
            }
            return path;
        }
    
        /**
         * Returns the root directory where the class file of the specified class is located.
         *
         * @param clazz
         *            The class. Must not be {@literal null}.
         * @return The root directory.
         * @see #getBuildDir(String)
         */
        public static File getBuildDir(final Class<?> clazz) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

    package org.apache.maven.artifact.repository.metadata;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy;
    
    /**
     * Describes repository directory metadata.
     *
     * TODO not happy about the store method - they use "this"
     */
    @Deprecated
    public interface RepositoryMetadata extends org.apache.maven.artifact.metadata.ArtifactMetadata {
    
        int RELEASE = 1;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. buildscripts/verify-healing-with-root-disks.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$(mktemp -d)"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    function start_minio() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

             *
             * <p>This method is used to find POM files in various contexts, such as:</p>
             * <ul>
             *   <li>Directly at the specified path</li>
             *   <li>Within a directory at the specified path</li>
             *   <li>In standard Maven project locations relative to the specified path</li>
             * </ul>
             *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            AssertionError error = new AssertionError("malformed class path entry: " + entry);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top