Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 562 for idir (0.27 sec)

  1. src/archive/zip/reader.go

    						name:  dir,
    						file:  nil,
    						isDir: true,
    					}
    					r.fileList = append(r.fileList, entry)
    				}
    			}
    		}
    
    		sort.Slice(r.fileList, func(i, j int) bool { return fileEntryLess(r.fileList[i].name, r.fileList[j].name) })
    	})
    }
    
    func fileEntryLess(x, y string) bool {
    	xdir, xelem, _ := split(x)
    	ydir, yelem, _ := split(y)
    	return xdir < ydir || xdir == ydir && xelem < yelem
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. docs/tr/docs/tutorial/path-params.md

    ```JSON
    {"item_id":3}
    ```
    
    !!! check "Ek bilgi"
        Dikkatinizi çekerim ki, fonksiyonunuzun aldığı (ve döndürdüğü) değer olan `3` bir string `"3"` değil aksine bir Python `int`'idir.
    
        Bu tanımlamayla birlikte, **FastAPI** size otomatik istek <abbr title="HTTP isteği ile birlikte gelen string'i Python verisine dönüştürme">"ayrıştırma"</abbr> özelliği sağlar.
    
    ## Veri Doğrulama
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  3. apache-maven/src/assembly/dir.xml

    <assembly xmlns="http://maven.apache.org/ASSEMBLY/2.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.1.0 http://maven.apache.org/xsd/assembly-2.1.0.xsd">
      <id>dir</id>
      <formats>
        <format>dir</format>
      </formats>
      <includeBaseDirectory>false</includeBaseDirectory>
      <componentDescriptors>
        <componentDescriptor>src/assembly/component.xml</componentDescriptor>
      </componentDescriptors>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 27 13:14:24 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  4. cmd/config-dir.go

    	globalConfigDir = defaultConfigDir
    	// Points to current certs directory set by user with --certs-dir
    	globalCertsDir = defaultCertsDir
    	// Points to relative path to certs directory and is <value-of-certs-dir>/CAs
    	globalCertsCADir = defaultCertsCADir
    )
    
    // Get - returns current directory.
    func (dir *ConfigDir) Get() string {
    	return dir.path
    }
    
    // Attempts to create all directories, ignores any permission denied errors.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Viewed (0)
  5. cmd/is-dir-empty_linux.go

    		if err != nil {
    			return false
    		}
    		return len(entries) == 0
    	}
    	var stat syscall.Stat_t
    	if err := syscall.Stat(dirname, &stat); err != nil {
    		return false
    	}
    	return stat.Mode&syscall.S_IFMT == syscall.S_IFDIR && stat.Nlink == 2
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 15:17:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/shared/init.cmd

    goto stripPomDir
    :pomDirStripped
    exit /b
    
    :findBaseDir
    cd /d "%WDIR%"
    set "WDIR=%CD%"
    :findBaseDirLoop
    if exist ".mvn" goto baseDirFound
    cd ..
    IF "%WDIR%"=="%CD%" goto baseDirNotFound
    set "WDIR=%CD%"
    goto findBaseDirLoop
    
    :baseDirFound
    set "MAVEN_PROJECTBASEDIR=%WDIR%"
    cd /d "%EXEC_DIR%"
    goto endDetectBaseDir
    
    :baseDirNotFound
    if "_%EXEC_DIR:~-1%"=="_\" set "EXEC_DIR=%EXEC_DIR:~0,-1%"
    Batch File
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Dec 16 21:35:28 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top