Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 261 for Msync (0.36 sec)

  1. src/syscall/syscall_darwin.go

    //sys	Fchmod(fd int, mode uint32) (err error)
    //sys	Fchown(fd int, uid int, gid int) (err error)
    //sys	Flock(fd int, how int) (err error)
    //sys	Fpathconf(fd int, name int) (val int, err error)
    //sys	Fsync(fd int) (err error)
    //  Fsync is not called for os.File.Sync(). Please see internal/poll/fd_fsync_darwin.go
    //sys	Ftruncate(fd int, length int64) (err error)
    //sys	Getdtablesize() (size int)
    //sysnb	Getegid() (egid int)
    //sysnb	Geteuid() (uid int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. docs/en/docs/async.md

    ```Python hl_lines="2-3"
    @app.get('/burgers')
    async def read_burgers():
        burgers = await get_burgers(2)
        return burgers
    ```
    
    ### More technical details
    
    You might have noticed that `await` can only be used inside of functions defined with `async def`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. build/common.sh

    function kube::build::rsync_probe {
      # Wait until rsync is up and running.
      local tries=20
      while (( tries > 0 )) ; do
        if rsync "rsync://k8s@${1}:${2}/" \
             --password-file="${LOCAL_OUTPUT_BUILD_CONTEXT}/rsyncd.password" \
             &> /dev/null ; then
          return 0
        fi
        tries=$(( tries - 1))
        sleep 0.1
      done
    
      return 1
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    			// Reset the timer for next interval
    			monitor.Reset(monitorInterval)
    		}
    	}
    }
    
    func (s *erasureSets) GetLockers(setIndex int) func() ([]dsync.NetLocker, string) {
    	return func() ([]dsync.NetLocker, string) {
    		lockers := make([]dsync.NetLocker, len(s.erasureLockers[setIndex]))
    		copy(lockers, s.erasureLockers[setIndex])
    		return lockers, s.erasureLockOwner
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  6. src/crypto/tls/bogo_config.json

            "Basic-Client-NoTicket-TLS-Sync": "TODO: first pass, this should be fixed",
            "Basic-Server-RSA-TLS-Sync": "TODO: first pass, this should be fixed",
            "Basic-Client-NoTicket-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
            "Basic-Server-RSA-TLS-Sync-SplitHandshakeRecords": "TODO: first pass, this should be fixed",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 15:52:42 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. src/time/tick_test.go

    	drainAsync := func() {
    		if synctimerchan {
    			// sync timers must have the right semantics without draining:
    			// there are no stale values.
    			return
    		}
    
    		// async timers can send one stale value (then the timer is disabled).
    		drain1()
    		if isTicker {
    			// async tickers can send two stale values: there may be one
    			// sitting in the channel buffer, and there may also be one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. cmd/iam-object-store.go

    	"context"
    	"errors"
    	"fmt"
    	"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/puzpuzpuz/xsync/v3"
    )
    
    // IAMObjectStore implements IAMStorageAPI
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top