- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 880 for resync (0.11 seconds)
-
internal/dsync/dsync-client_test.go
// GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package dsync import ( "bytes" "context" "errors" "net/http" "net/url" "time" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/rest" )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 20 17:36:09 GMT 2022 - 4.4K bytes - Click Count (0) -
cmd/namespace-lock.go
// volume, path and operation ID. func (n *nsLockMap) NewNSLock(lockers func() ([]dsync.NetLocker, string), volume string, paths ...string) RWLocker { sort.Strings(paths) opsID := mustGetUUID() if n.isDistErasure { drwmutex := dsync.NewDRWMutex(&dsync.Dsync{ GetLockers: lockers, Timeouts: dsync.DefaultTimeouts, }, pathsJoinPrefix(volume, paths...)...) return &distLockInstance{drwmutex, opsID}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0) -
internal/dsync/drwmutex.go
} func (g *Granted) isLocked() bool { return isLocked(g.lockUID) } func isLocked(uid string) bool { return len(uid) > 0 } // NewDRWMutex - initializes a new dsync RW mutex. func NewDRWMutex(clnt *Dsync, names ...string) *DRWMutex { restClnts, _ := clnt.GetLockers() sort.Strings(names) return &DRWMutex{ writeLocks: make([]string, len(restClnts)),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.3K bytes - Click Count (0) -
fastapi/.agents/skills/fastapi/SKILL.md
## Async vs Sync *path operations* Use `async` *path operations* only when fully certain that the logic called inside is compatible with async and await (it's called with `await`) or that doesn't block. ```python from fastapi import FastAPI app = FastAPI() # Use async def when calling async code @app.get("/async-items/") async def read_async_items():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 10:05:57 GMT 2026 - 10.1K bytes - Click Count (0) -
tests/test_dependency_wrapped.py
"/class-instance-async-wrapped-gen-dependency/", "/class-instance-async-wrapped-gen-async-dependency/", "/wrapped-class-dependency/", "/wrapped-endpoint/", "/async-wrapped-endpoint/", "/wrapped-dependency-async-wrapper/", "/wrapped-gen-dependency-async-wrapper/", "/async-wrapped-dependency-async-wrapper/",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 11.2K bytes - Click Count (0) -
ci/official/upload.sh
# "/path/bar". This script uses "gsutil rsync" instead, which acts on directory # contents. About arguments to gsutil: # "gsutil -m rsync" runs in parallel. # "gsutil rsync -r" is recursive and makes directories work. # "gsutil rsync -d" is "sync and delete files from destination if not present in source" DOWNLOADS="$(mktemp -d)" mkdir -p "$DOWNLOADS" gsutil -m rsync -r "$TFCI_ARTIFACT_STAGING_GCS_URI" "$DOWNLOADS"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Mar 04 22:39:12 GMT 2025 - 2.8K bytes - Click Count (0) -
cmd/iam-etcd-store.go
return ies.loadMappedPolicy(ctx, name, userType, isGroup, m) } func (ies *IAMEtcdStore) loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error { var p MappedPolicy
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (0) -
.github/workflows/sync-main-branch.yml
name: "Sync main branch" on: push: branches: - master jobs: sync_latest_from_upstream: runs-on: ubuntu-latest name: Sync latest commits from master branch steps: - name: Checkout target repo uses: actions/checkout@v2 with: ref: main - name: Sync upstream changes id: sync
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 24 22:51:33 GMT 2021 - 689 bytes - Click Count (0) -
internal/lsync/lrwmutex_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package lsync_test import ( "context" "fmt" "runtime" "sync" "sync/atomic" "testing" "time" . "github.com/minio/minio/internal/lsync" ) func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) { ctx := t.Context() lrwm := NewLRWMutex()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
cmd/iam-object-store.go
"fmt" "maps" "path" "strings" "sync" "time" "unicode/utf8" jsoniter "github.com/json-iterator/go" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/config" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/kms" "github.com/minio/minio/internal/logger" "github.com/minio/pkg/v3/sync/errgroup" "github.com/puzpuzpuz/xsync/v3" )
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 26.6K bytes - Click Count (0)