- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 466 for ctx_ (0.03 seconds)
-
cmd/metacache-bucket.go
// Recursively delete all caches. objAPI := newObjectLayerFn() if objAPI != nil { ez, ok := objAPI.(deleteAllStorager) if ok { ctx := context.Background() ez.deleteAll(ctx, minioMetaBucket, metacachePrefixForID(bucket, slashSeparator)) } } } return &bucketMetacache{ bucket: bucket, caches: make(map[string]metacache, 10), cachesRoot: make(map[string][]string, 10), } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.6K bytes - Click Count (0) -
prepare_stmt.go
result, err = stmt.ExecContext(ctx, args...) if errors.Is(err, driver.ErrBadConn) { db.Stmts.Delete(query) } } return result, err } func (db *PreparedStmtDB) QueryContext(ctx context.Context, query string, args ...interface{}) (rows *sql.Rows, err error) { stmt, err := db.prepare(ctx, db.ConnPool, false, query) if err == nil { rows, err = stmt.QueryContext(ctx, args...) if errors.Is(err, driver.ErrBadConn) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 5.7K bytes - Click Count (0) -
cmd/warm-backend-s3.go
return remoteVersionID(res.VersionID), s3.ToObjectError(err, object) } func (s3 *warmBackendS3) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) { return s3.PutWithMeta(ctx, object, r, length, map[string]string{}) } func (s3 *warmBackendS3) Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (io.ReadCloser, error) { gopts := minio.GetObjectOptions{} if rv != "" {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jun 08 16:13:30 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
public LeaseV1CreateContextResponse getLeaseV1Context() { if (this.createContexts != null) { for (CreateContextResponse ctx : this.createContexts) { if (ctx instanceof LeaseV1CreateContextResponse) { return (LeaseV1CreateContextResponse) ctx; } } } return null; } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
if (this.createContexts != null) { for (CreateContextRequest ctx : this.createContexts) { if (ctx instanceof jcifs.internal.smb2.persistent.DurableHandleRequest || ctx instanceof jcifs.internal.smb2.persistent.DurableHandleV2Request || ctx instanceof jcifs.internal.smb2.persistent.DurableHandleReconnect) { return true;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (0) -
cmd/local-locker.go
func (l *localLocker) IsLocal() bool { return true } func (l *localLocker) ForceUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) { if ctx.Err() != nil { return false, ctx.Err() } defer l.getMutex()() if ctx.Err() != nil { return false, ctx.Err() } if len(args.UID) == 0 { for _, resource := range args.Resources { lris, ok := l.lockMap[resource]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
cmd/admin-handlers_test.go
} // prepareAdminErasureTestBed - helper function that setups a single-node // Erasure backend for admin-handler tests. func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) { ctx, cancel := context.WithCancel(ctx) // reset global variables to start afresh. resetTestGlobals() // Set globalIsErasure to indicate that the setup uses an erasure // code backend.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (1) -
internal/cachevalue/cache.go
func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] { return &Cache[T]{ ttl: ttl, updateFn: update, opts: opts, } } // InitOnce initializes the cache with a TTL and an update function. It is // guaranteed to be called only once. func (t *Cache[T]) InitOnce(ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) { t.Once.Do(func() { t.ttl = ttl
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 12:50:46 GMT 2024 - 4.4K bytes - Click Count (0) -
cmd/warm-backend-azure.go
vid = *resp.VersionID } return remoteVersionID(vid), nil } func (az *warmBackendAzure) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) { return az.PutWithMeta(ctx, object, r, length, map[string]string{}) } func (az *warmBackendAzure) Get(ctx context.Context, object string, rv remoteVersionID, opts WarmBackendGetOpts) (r io.ReadCloser, err error) { if opts.startOffset < 0 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Oct 31 22:10:24 GMT 2024 - 7K bytes - Click Count (0) -
cmd/object-api-options.go
apiErr = toAPIError(ctx, vErr) argumentName = strings.ToLower("versionId") argumentValue = vErr.VersionID default: apiErr = toAPIError(ctx, vErr) } valid = false return opts, valid } opts.MaxParts, err = parseIntHeader(bucket, object, r.Header, xhttp.AmzMaxParts) if err != nil { apiErr = toAPIError(ctx, err) argumentName = strings.ToLower(xhttp.AmzMaxParts) valid = false
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.3K bytes - Click Count (0)