Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 587 for openat (0.1 sec)

  1. src/internal/syscall/unix/constants.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    package unix
    
    const (
    	R_OK = 0x4
    	W_OK = 0x2
    	X_OK = 0x1
    
    	// NoFollowErrno is the error returned from open/openat called with
    	// O_NOFOLLOW flag, when the trailing component (basename) of the path
    	// is a symbolic link.
    	NoFollowErrno = noFollowErrno
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 434 bytes
    - Viewed (0)
  2. src/syscall/linkname_darwin.go

    import _ "unsafe"
    
    // used by os
    //go:linkname closedir
    //go:linkname readdir_r
    
    // used by internal/poll
    //go:linkname fdopendir
    
    // used by internal/syscall/unix
    //go:linkname unlinkat
    //go:linkname openat
    //go:linkname fstatat
    
    // used by cmd/link
    //go:linkname msync
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 468 bytes
    - Viewed (0)
  3. src/internal/syscall/unix/at_solaris.go

    func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
    
    //go:cgo_import_dynamic libc_fstatat fstatat "libc.so"
    //go:cgo_import_dynamic libc_openat openat "libc.so"
    //go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so"
    //go:cgo_import_dynamic libc_uname uname "libc.so"
    
    const (
    	AT_REMOVEDIR        = 0x1
    	AT_SYMLINK_NOFOLLOW = 0x1000
    
    	UTIME_OMIT = -0x2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:25 UTC 2024
    - 814 bytes
    - Viewed (0)
  4. src/syscall/linkname_openbsd.go

    // license that can be found in the LICENSE file.
    
    //go:build openbsd && !mips64
    
    package syscall
    
    import _ "unsafe"
    
    // used by internal/syscall/unix
    //go:linkname unlinkat
    //go:linkname openat
    //go:linkname fstatat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 351 bytes
    - Viewed (0)
  5. src/internal/syscall/unix/nofollow_posix.go

    //   - android: see linux
    //   - darwin: https://github.com/apple/darwin-xnu/blob/main/bsd/man/man2/open.2
    //   - hurd: who knows if it works at all (https://www.gnu.org/software/hurd/open_issues/open_symlink.html)
    //   - illumos: https://illumos.org/man/2/open
    //   - ios: see darwin
    //   - linux: https://man7.org/linux/man-pages/man2/openat.2.html
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 933 bytes
    - Viewed (0)
  6. src/syscall/syscall_openbsd_libc.go

    //sysnb getentropy(p []byte) (err error)
    //sys   fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
    //sys   unlinkat(fd int, path string, flags int) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/os/removeall_at.go

    // we are going to (try to) remove the file.
    // The contents of this file are not relevant for test caching.
    func openDirAt(dirfd int, name string) (*File, error) {
    	var r int
    	for {
    		var e error
    		r, e = unix.Openat(dirfd, name, O_RDONLY|syscall.O_CLOEXEC|syscall.O_DIRECTORY|syscall.O_NOFOLLOW, 0)
    		if e == nil {
    			break
    		}
    
    		// See comment in openFileNolog.
    		if e == syscall.EINTR {
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_openatAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·openat(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    TEXT ·get_openat2Addr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·openat2(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/routes/openapi.go

    	"k8s.io/apiserver/pkg/server/mux"
    	builder2 "k8s.io/kube-openapi/pkg/builder"
    	"k8s.io/kube-openapi/pkg/builder3"
    	"k8s.io/kube-openapi/pkg/common"
    	"k8s.io/kube-openapi/pkg/common/restfuladapter"
    	"k8s.io/kube-openapi/pkg/handler"
    	"k8s.io/kube-openapi/pkg/handler3"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    // OpenAPI installs spec endpoints for each web service.
    type OpenAPI struct {
    	Config   *common.Config
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 19:05:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. docs/ja/docs/how-to/conditional-openapi.md

    ## 設定と環境変数による条件付き OpenAPI
    
    生成するOpenAPIとドキュメントUIの構成は、共通のPydanticの設定を使用して簡単に切り替えられます。
    
    例えば、
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/conditional_openapi/tutorial001.py!}
    ```
    
    ここでは `openapi_url` の設定を、デフォルトの `"/openapi.json"` のまま宣言しています。
    
    そして、これを `FastAPI` appを作る際に使います。
    
    それから、以下のように `OPENAPI_URL` という環境変数を空文字列に設定することによってOpenAPI (UIドキュメントを含む) を無効化することができます。
    
    <div class="termy">
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top