- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,174 for fsync (0.04 sec)
-
docs/em/docs/advanced/async-tests.md
β πͺ βοΈ π π’ π π― πͺ β , πΌ, πβ π π¬ π π½ π. π π π π― π¨ π¨ π FastAPI πΈ & β€΄οΈ β π π π©βπ» βͺ β β π½ π½, βͺ βοΈ π π½ π. β‘οΈ π β π₯ πͺ β π π·. ## pytest.mark.anyio π₯ π₯ π π€ π π’ π π―, π π― π’ βοΈ π. AnyIO π π π π, π β π₯ β π π― π’ π€ π. ## πΈπ² π₯ π **FastAPI** πΈ βοΈ π `def` π’ β©οΈ `async def`, β«οΈ `async` πΈ π.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3K bytes - Viewed (0) -
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" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 20 17:36:09 UTC 2022 - 4.4K bytes - Viewed (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)),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 15:49:49 UTC 2024 - 20.4K bytes - Viewed (0) -
api/go1.txt
pkg sync, method (*RWMutex) Unlock() pkg sync, method (*WaitGroup) Add(int) pkg sync, method (*WaitGroup) Done() pkg sync, method (*WaitGroup) Wait() pkg sync, type Cond struct pkg sync, type Cond struct, L Locker pkg sync, type Locker interface { Lock, Unlock } pkg sync, type Locker interface, Lock() pkg sync, type Locker interface, Unlock() pkg sync, type Mutex struct pkg sync, type Once struct
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (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}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/erasure.go
package cmd import ( "context" "errors" "fmt" "math/rand" "os" "runtime" "sort" "sync" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/dsync" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/pkg/v3/sync/errgroup" ) // list all errors that can be ignore in a bucket operation.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 16.1K bytes - Viewed (0) -
tests/test_dependency_contextmanager.py
class OtherDependencyError(Exception): pass async def asyncgen_state(state: Dict[str, str] = Depends(get_state)): state["/async"] = "asyncgen started" yield state["/async"] state["/async"] = "asyncgen completed" def generator_state(state: Dict[str, str] = Depends(get_state)): state["/sync"] = "generator started" yield state["/sync"] state["/sync"] = "generator completed"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:13:50 UTC 2024 - 11.6K bytes - Viewed (0) -
cmd/lock-rest-server-common_test.go
lockRequesterInfo2, } lri := locker.ll.lockMap["name"] // test unknown uid if locker.ll.removeEntry("name", dsync.LockArgs{ Owner: "owner", UID: "unknown-uid", }, &lri) { t.Errorf("Expected %#v, got %#v", false, true) } if !locker.ll.removeEntry("name", dsync.LockArgs{ Owner: "owner", UID: "0123-4567", }, &lri) { t.Errorf("Expected %#v, got %#v", true, false) } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 3.2K bytes - Viewed (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"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jan 24 20:52:12 UTC 2024 - 2.8K bytes - Viewed (0) -
internal/event/targetlist.go
eventsSkipped atomic.Int64 eventsErrorsTotal atomic.Int64 sync.RWMutex targets map[TargetID]Target queue chan asyncEvent ctx context.Context statLock sync.RWMutex targetStats map[TargetID]targetStat } type targetStat struct { // The number of concurrent async Send calls per targets currentSendCalls int64 // The number of total events per target totalEvents int64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.2K bytes - Viewed (0)