Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for dirent (0.04 sec)

  1. cmd/os-dirent_namelen_bsd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "syscall"
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	return uint64(dirent.Namlen), nil
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 982 bytes
    - Viewed (0)
  2. cmd/os_unix.go

    	}
    	if len(buf) < int(dirent.Reclen) {
    		return consumed, nil, typ, fmt.Errorf("buf size %d < record length %d", len(buf), dirent.Reclen)
    	}
    	consumed = int(dirent.Reclen)
    	if direntInode(dirent) == 0 { // File absent in directory.
    		return
    	}
    	switch dirent.Type {
    	case syscall.DT_REG:
    		typ = 0
    	case syscall.DT_DIR:
    		typ = os.ModeDir
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. cmd/os-dirent_namelen_linux.go

    package cmd
    
    import (
    	"bytes"
    	"fmt"
    	"syscall"
    	"unsafe"
    )
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	const fixedHdr = uint16(unsafe.Offsetof(syscall.Dirent{}.Name))
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	const nameBufLen = uint16(len(nameBuf))
    	limit := dirent.Reclen - fixedHdr
    	if limit > nameBufLen {
    		limit = nameBufLen
    	}
    	// Avoid bugs in long file names
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. cmd/os-dirent_ino.go

    //go:build (linux || darwin) && !appengine
    // +build linux darwin
    // +build !appengine
    
    package cmd
    
    import "syscall"
    
    func direntInode(dirent *syscall.Dirent) uint64 {
    	return dirent.Ino
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 953 bytes
    - Viewed (0)
  5. cmd/os-dirent_fileino.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import "syscall"
    
    func direntInode(dirent *syscall.Dirent) uint64 {
    	return uint64(dirent.Fileno)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 950 bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/extra-models.md

    ```
    
    #### Ein `dict` entpacken
    
    Wenn wir ein `dict` wie `user_dict` nehmen, und es einer Funktion (oder Klassenmethode) mittels `**user_dict` übergeben, wird Python es „entpacken“. Es wird die Schlüssel und Werte von `user_dict` direkt als Schlüsselwort-Argumente übergeben.
    
    Wenn wir also das `user_dict` von oben nehmen und schreiben:
    
    ```Python
    UserInDB(**user_dict)
    ```
    
    dann ist das ungefähr äquivalent zu:
    
    ```Python
    UserInDB(
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/index.md

    Das ist es, was alle diese „Login mit Facebook, Google, X (Twitter), GitHub“-Systeme unter der Haube verwenden.
    
    ### OAuth 1
    
    Es gab ein OAuth 1, das sich stark von OAuth2 unterscheidet und komplexer ist, da es direkte Spezifikationen enthält, wie die Kommunikation verschlüsselt wird.
    
    Heutzutage ist es nicht sehr populär und wird kaum verwendet.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/index.md

    That's what all the systems with "login with Facebook, Google, X (Twitter), GitHub" use underneath.
    
    ### OAuth 1 { #oauth-1 }
    
    There was an OAuth 1, which is very different from OAuth2, and more complex, as it included direct specifications on how to encrypt the communication.
    
    It is not very popular or used nowadays.
    
    OAuth2 doesn't specify how to encrypt the communication, it expects you to have your application served with HTTPS.
    
    /// tip
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/response-cookies.md

    Sie können den `Response`-Parameter auch in Abhängigkeiten deklarieren und darin Cookies (und Header) setzen.
    
    ## Eine `Response` direkt zurückgeben
    
    Sie können Cookies auch erstellen, wenn Sie eine `Response` direkt in Ihrem Code zurückgeben.
    
    Dazu können Sie eine Response erstellen, wie unter [Eine Response direkt zurückgeben](response-directly.md){.internal-link target=_blank} beschrieben.
    
    Setzen Sie dann Cookies darin und geben Sie sie dann zurück:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

    /**
     * SMB Direct Negotiate Request message.
     *
     * As per MS-SMBD 2.2.1 - SMB_DIRECT_NEGOTIATE_REQUEST
     * This message is sent to negotiate SMB Direct protocol parameters.
     */
    public class SmbDirectNegotiateRequest {
    
        // Protocol constants
        /** Minimum supported SMB Direct protocol version (1.0) */
        public static final int MIN_VERSION = 0x0100; // SMB Direct 1.0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top