Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for CBlock (0.21 sec)

  1. cmd/admin-handlers.go

    		if err != nil {
    			errResp(err)
    			return
    		}
    	}
    
    	nsLock := objectAPI.NewNSLock(minioMetaBucket, "health-check-in-progress")
    	lkctx, err := nsLock.GetLock(ctx, newDynamicTimeout(deadline, deadline))
    	if err != nil { // returns a locked lock
    		errResp(err)
    		return
    	}
    
    	defer nsLock.Unlock(lkctx)
    	healthCtx, healthCancel := context.WithTimeout(lkctx.Context(), deadline)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  2. cmd/bucket-replication.go

    		mrfWorkers = maxWorkers
    	}
    	p.priority = pri
    	p.maxWorkers = maxWorkers
    	p.mu.Unlock()
    	p.ResizeWorkers(workers, 0)
    	p.ResizeFailedWorkers(mrfWorkers)
    }
    
    // ResizeFailedWorkers sets replication failed workers pool size
    func (p *ReplicationPool) ResizeFailedWorkers(n int) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    
    	for p.mrfWorkerSize < n {
    		p.mrfWorkerSize++
    		go p.AddMRFWorker()
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. doc/go1.17_spec.html

    of an interface type or of elements of a composite type remains unchanged:
    </p>
    
    <pre>
    // A Mutex is a data type with two methods, Lock and Unlock.
    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    type NewMutex Mutex
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

          } finally {
            unlock();
            postWriteCleanup();
          }
        }
    
        // reference queues, for garbage collection cleanup
    
        /** Cleanup collected entries when the lock is available. */
        void tryDrainReferenceQueues() {
          if (tryLock()) {
            try {
              drainReferenceQueues();
            } finally {
              unlock();
            }
          }
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

          } finally {
            unlock();
            postWriteCleanup();
          }
        }
    
        // reference queues, for garbage collection cleanup
    
        /** Cleanup collected entries when the lock is available. */
        void tryDrainReferenceQueues() {
          if (tryLock()) {
            try {
              drainReferenceQueues();
            } finally {
              unlock();
            }
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    				nil,
    			)
    			resultsMu.Lock()
    			results.NodeResults = append(results.NodeResults, result)
    			resultsMu.Unlock()
    			return
    		}()
    	}
    	wg.Wait()
    	return
    }
    
    // GetClusterInfo - returns site replication information.
    func (c *SiteReplicationSys) GetClusterInfo(ctx context.Context) (info madmin.SiteReplicationInfo, err error) {
    	c.RLock()
    	defer c.RUnlock()
    	if !c.enabled {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. tensorflow/c/c_api.cc

    bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) {
      if (session->graph != nullptr) {
        // Take the graph lock before the session lock to avoid deadlock. This is
        // safe since session->graph does not change.
        session->graph->mu.lock();
        mutex_lock session_lock(session->mu);
        const Graph& graph = session->graph->graph;
    
        const string& mutation_warning = session->graph->sessions[session];
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  8. cmd/server_test.go

    }
    
    func (s *TestSuiteCommon) TestPutBucket(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    	// Block 1: Testing for racy access
    	// The assertion is removed from this block since the purpose of this block is to find races
    	// The purpose this block is not to check for correctness of functionality
    	// Run the test with -race flag to utilize this
    	var wg sync.WaitGroup
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * "value" of a successful step or the "result" (value or exception) of any step.
     *
     * <ol>
     *   <li>A pipeline starts at its leaf step (or steps), which is created from either a callable
     *       block or a {@link ListenableFuture}.
     *   <li>Each other step is derived from one or more input steps. At each step, zero or more objects
     *       can be captured for later closing.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

       *     HashBiMap.<Long, String>create());
       * ...
       * Set<Long> set = map.keySet();  // Needn't be in synchronized block
       * ...
       * synchronized (map) {  // Synchronizing on map, not set!
       *   Iterator<Long> it = set.iterator(); // Must be in synchronized block
       *   while (it.hasNext()) {
       *     foo(it.next());
       *   }
       * }
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top