Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for initially (0.14 sec)

  1. internal/lsync/lrwmutex_test.go

    	ctx := context.Background()
    	lrwm := NewLRWMutex()
    
    	// fmt.Println("Getting initial write lock")
    	if !lrwm.GetLock(ctx, "", "", time.Second) {
    		panic("Failed to acquire initial write lock")
    	}
    
    	go func() {
    		time.Sleep(2 * time.Second)
    		lrwm.Unlock()
    		// fmt.Println("Initial write lock released, waiting...")
    	}()
    
    	// fmt.Println("Trying to acquire 2nd write lock, waiting...")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex_test.go

    	// fmt.Println("Getting initial write lock")
    	ctx1, cancel1 := context.WithCancel(context.Background())
    	if !drwm1.GetLock(ctx1, cancel1, id, source, Options{Timeout: time.Second}) {
    		panic("Failed to acquire initial write lock")
    	}
    
    	go func() {
    		time.Sleep(3 * testDrwMutexAcquireTimeout)
    		drwm1.Unlock(context.Background())
    		// fmt.Println("Initial write lock released, waiting...")
    	}()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    // If data is not xlv2, it is returned in full.
    func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) {
    	initial := size
    	hasFull := true
    	if initial > metaDataReadDefault {
    		initial = metaDataReadDefault
    		hasFull = false
    	}
    
    	buf := metaDataPoolGet()[:initial]
    	_, err := io.ReadFull(r, buf)
    	if err != nil {
    		return nil, fmt.Errorf("readXLMetaNoData(io.ReadFull): %w", err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  4. cmd/iam-object-store.go

    			// If a service account's parent user is not in iamUsersMap, the
    			// parent is an STS account. Such accounts may have a policy mapped
    			// on the parent user, so we load them. This is not needed for the
    			// initial server startup, however, it is needed for the case where
    			// the STS account's policy mapping (for example in LDAP mode) may
    			// be changed and the user's policy mapping in memory is stale
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top