- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 528 for star (0.14 sec)
-
internal/disk/stat_linux_s390x.go
Praveen raj Mani <******@****.***> 1708976090 +0530
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Viewed (2) -
buildscripts/resolve-right-versions.sh
if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi function start_minio_5drive() { start_port=$1 export MINIO_ROOT_USER=minio export MINIO_ROOT_PASSWORD=minio123 export MC_HOST_minio="http://minio:minio123@127.0.0.1:${start_port}/" unset MINIO_KMS_AUTO_ENCRYPTION # do not auto-encrypt objects export MINIO_CI_CD=1 MC_BUILD_DIR="mc-$RANDOM"
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Aug 16 14:51:33 GMT 2023 - 1.5K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux.go
// If the directory has a different device as parent, then it is a mountpoint. if s1.Sys().(*syscall.Stat_t).Dev != s2.Sys().(*syscall.Stat_t).Dev { // path/.. on a different device as path return true } // path/.. is the same i-node as path - this check is for bind mounts. return s1.Sys().(*syscall.Stat_t).Ino == s2.Sys().(*syscall.Stat_t).Ino } // CheckCrossDevice - check if any list of paths has any sub-mounts at /proc/mounts.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.7K bytes - Viewed (0) -
docs_src/openapi_webhooks/tutorial001.py
from datetime import datetime from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Subscription(BaseModel): username: str monthly_fee: float start_date: datetime @app.webhooks.post("new-subscription") def new_subscription(body: Subscription): """ When a new user subscribes to your service we'll send you a POST request with this
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Oct 20 09:00:44 GMT 2023 - 550 bytes - Viewed (0) -
docs/site-replication/run-multi-site-oidc.sh
./mc cp ./lrgfile minio1/newbucket sleep 5 ./mc stat minio2/newbucket if [ $? -ne 0 ]; then echo "expecting bucket to be present. exiting.." exit_1 fi ./mc stat minio3/newbucket if [ $? -ne 0 ]; then echo "expecting bucket to be present. exiting.." exit_1 fi ./mc cp README.md minio2/newbucket/ sleep 5 ./mc stat minio1/newbucket/README.md if [ $? -ne 0 ]; then
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 26 21:30:28 GMT 2024 - 8.4K bytes - Viewed (0) -
cni/pkg/nodeagent/netns_linux.go
} func (n *NetnsWrapper) Close() error { return n.innerNetns.Close() } func (n *NetnsWrapper) Fd() uintptr { return n.innerNetns.Fd() } func inodeForFd(n NetnsFd) (uint64, error) { stats := &unix.Stat_t{} err := unix.Fstat(int(n.Fd()), stats) return stats.Ino, err } func OpenNetns(nspath string) (NetnsCloser, error) { n, err := netns.GetNS(nspath) if err != nil { return nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 31 10:05:36 GMT 2024 - 2.7K bytes - Viewed (0) -
internal/lock/lock_solaris.go
case syscall.O_RDWR | syscall.O_CREAT: lockType = syscall.F_WRLCK default: return nil, &os.PathError{ Op: "open", Path: path, Err: syscall.EINVAL, } } lock := syscall.Flock_t{ Start: 0, Len: 0, Pid: 0, Type: lockType, Whence: 0, } f, err := os.OpenFile(path, flag, perm) if err != nil { return nil, err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.8K bytes - Viewed (0) -
docs/kms/README.md
## Quick Start
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
Vamos utilizar essa aplicação como exemplo: ```Python hl_lines="9" {!../../../docs_src/query_params_str_validations/tutorial001.py!} ``` O parâmetro de consulta `q` é do tipo `Union[str, None]`, o que significa que é do tipo `str` mas que também pode ser `None`, e de fato, o valor padrão é `None`, então o FastAPI saberá que não é obrigatório. !!! note "Observação"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 9.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/query-params-str-validations.md
```Python hl_lines="7" {!../../../docs_src/query_params_str_validations/tutorial005.py!} ``` !!! note 具有默认值还会使该参数成为可选参数。 ## 声明为必需参数 当我们不需要声明额外的校验或元数据时,只需不声明默认值就可以使 `q` 参数成为必需参数,例如: ```Python q: str ``` 代替: ```Python q: Union[str, None] = None ``` 但是现在我们正在用 `Query` 声明它,例如: ```Python q: Union[str, None] = Query(default=None, min_length=3) ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0)