- Sort Score
- Num 10 results
- Language All
Results 831 - 840 of 1,099 for Fsync (0.2 seconds)
-
cmd/metacache-bucket.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "errors" "maps" "runtime/debug" "sort" "sync" "time" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/console" ) // a bucketMetacache keeps track of all caches generated // for a bucket. type bucketMetacache struct {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.6K bytes - Click Count (0) -
fastapi/security/oauth2.py
""" return HTTPException( status_code=HTTP_401_UNAUTHORIZED, detail="Not authenticated", headers={"WWW-Authenticate": "Bearer"}, ) async def __call__(self, request: Request) -> Optional[str]: authorization = request.headers.get("Authorization") if not authorization: if self.auto_error:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 22K bytes - Click Count (0) -
internal/config/heal/heal.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package heal import ( "errors" "fmt" "strconv" "strings" "sync" "time" "github.com/minio/minio/internal/config" "github.com/minio/pkg/v3/env" ) // Compression environment variables const ( Bitrot = "bitrotscan" Sleep = "max_sleep"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 04 19:06:02 GMT 2024 - 4.9K bytes - Click Count (0) -
docs/ru/docs/tutorial/first-steps.md
В данном случае это асинхронная (`async`) функция. --- Вы также можете определить её как обычную функцию вместо `async def`: {* ../../docs_src/first_steps/tutorial003_py39.py hl[7] *} /// note | Примечание Если вы не знаете, в чём разница, посмотрите [Асинхронность: *"Нет времени?"*](../async.md#in-a-hurry){.internal-link target=_blank}. ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 17.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/first-steps.md
这是一个 Python 函数。 每当 **FastAPI** 接收一个使用 `GET` 方法访问 URL「`/`」的请求时这个函数会被调用。 在这个例子中,它是一个 `async` 函数。 --- 你也可以将其定义为常规函数而不使用 `async def`: {* ../../docs_src/first_steps/tutorial003.py hl[7] *} /// note 如果你不知道两者的区别,请查阅 [并发: *赶时间吗?*](../async.md#_1){.internal-link target=_blank}。 /// ### 步骤 5:返回内容 {* ../../docs_src/first_steps/tutorial001.py hl[8] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 10.5K bytes - Click Count (0) -
cmd/bucket-metadata-sys.go
"github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/policy" "github.com/minio/pkg/v3/sync/errgroup" "golang.org/x/sync/singleflight" ) // BucketMetadataSys captures all bucket metadata for a given cluster. type BucketMetadataSys struct { objAPI ObjectLayer sync.RWMutex initialized bool group *singleflight.Group metadataMap map[string]BucketMetadata }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.4K bytes - Click Count (0) -
cmd/bucket-targets.go
} // BucketTargetSys represents bucket targets subsystem type BucketTargetSys struct { sync.RWMutex arnRemotesMap map[string]arnTarget targetsMap map[string][]madmin.BucketTarget hMutex sync.RWMutex hc map[string]epHealth hcClient *madmin.AnonymousClient aMutex sync.RWMutex arnErrsMap map[string]arnErrs // map of ARN to error count of failures to get target }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 20.9K bytes - Click Count (0) -
internal/grid/types.go
// JSONPool is a pool for JSON objects that unmarshal into T. type JSONPool[T any] struct { pool sync.Pool emptySz int } // NewJSONPool returns a new JSONPool. func NewJSONPool[T any]() *JSONPool[T] { var t T sz := 128 if b, err := json.Marshal(t); err != nil { sz = len(b) } return &JSONPool[T]{ pool: sync.Pool{ New: func() any { var t T return &t }, }, emptySz: sz,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
fastapi/routing.py
async def app(scope: Scope, receive: Receive, send: Send) -> None: session = WebSocket(scope, receive=receive, send=send) async def app(scope: Scope, receive: Receive, send: Send) -> None: async with AsyncExitStack() as request_stack: scope["fastapi_inner_astack"] = request_stack async with AsyncExitStack() as function_stack:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
cmd/metrics-v3-cluster-notification.go
notificationEventsSkippedTotal = "events_skipped_total" ) var ( notificationCurrentSendInProgressMD = NewCounterMD(notificationCurrentSendInProgress, "Number of concurrent async Send calls active to all targets") notificationEventsErrorsTotalMD = NewCounterMD(notificationEventsErrorsTotal, "Events that were failed to be sent to the targets")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 24 04:10:35 GMT 2024 - 2.2K bytes - Click Count (0)