Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 572 for choose (0.06 sec)

  1. internal/dsync/dsync-server_test.go

    	if err == nil && !reply {
    		err = errLockConflict
    	}
    	if err != nil {
    		lh.writeErrorResponse(w, err)
    		return
    	}
    }
    
    func stopLockServers() {
    	for i := 0; i < numberOfNodes; i++ {
    		nodes[i].Close()
    	}
    }
    
    func startLockServers() {
    	for i := 0; i < numberOfNodes; i++ {
    		lsrv := &lockServer{
    			mutex:   sync.Mutex{},
    			lockMap: make(map[string]int64),
    		}
    		lockServer := lockServerHandler{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 23 16:46:37 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

         *
         * <p>Note that the method will be called even upon an invocation of {@code tryLock()}. Although
         * {@code tryLock()} technically recovers from deadlock by eventually timing out, this behavior
         * is chosen based on the assumption that it is the application's wish to prohibit any cyclical
         * lock acquisitions.
         */
        void handlePotentialDeadlock(PotentialDeadlockException exception);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  3. docs/zh/docs/deployment/concepts.md

    * 您计算机上运行的每个应用程序背后都有一些进程,每个正在运行的程序,每个窗口等。并且通常在计算机打开时**同时**运行许多进程。
    * **同一程序**可以有**多个进程**同时运行。
    
    如果您检查操作系统中的“任务管理器”或“系统监视器”(或类似工具),您将能够看到许多正在运行的进程。
    
    例如,您可能会看到有多个进程运行同一个浏览器程序(Firefox、Chrome、Edge 等)。 他们通常每个tab运行一个进程,再加上一些其他额外的进程。
    
    <img class="shadow" src="/img/deployment/concepts/image01.png">
    
    ---
    
    现在我们知道了术语“进程”和“程序”之间的区别,让我们继续讨论部署。
    
    ## 启动时运行
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        val candidate = connectionUser.candidateConnection() ?: return null
    
        // Make sure this connection is healthy & eligible for new exchanges. If it's no longer needed
        // then we're on the hook to close it.
        val healthy = candidate.isHealthy(connectionUser.doExtensiveHealthChecks())
        var noNewExchangesEvent = false
        val toClose: Socket? =
          candidate.withLock {
            when {
              !healthy -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/BloomFilterStrategies.java

          return (long) data.length() * Long.SIZE;
        }
    
        /**
         * Number of set bits (1s).
         *
         * <p>Note that because of concurrent set calls and uses of atomics, this bitCount is a (very)
         * close *estimate* of the actual number of bits set. It's not possible to do better than an
         * estimate without locking. Note that the number, if not exactly accurate, is *always*
         * underestimating, never overestimating.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcHandle.java

    
        protected abstract int doSendReceiveFragment ( byte[] out, int off, int length, byte[] inB ) throws IOException;
    
    
        @Override
        public void close () throws IOException {
            this.state = 0;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    	doneCh := make(chan error, 1)
    	defer xioutil.SafeClose(doneCh)
    
    	// Save rebalance.bin periodically.
    	go func() {
    		// Update rebalance.bin periodically once every 5-10s, chosen randomly
    		// to avoid multiple pool leaders herding to update around the same
    		// time.
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    		randSleepFor := func() time.Duration {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. callbacks/create.go

    			}
    
    			rows, err := db.Statement.ConnPool.QueryContext(
    				db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...,
    			)
    			if db.AddError(err) == nil {
    				defer func() {
    					db.AddError(rows.Close())
    				}()
    				gorm.Scan(rows, db, mode)
    			}
    
    			return
    		}
    
    		result, err := db.Statement.ConnPool.ExecContext(
    			db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...,
    		)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/main/webapp/css/admin/adminlte.min.css

    .modal-header{border-color:#343a40}.modal-content.bg-danger .close,.modal-content.bg-danger .mailbox-attachment-close,.modal-content.bg-info .close,.modal-content.bg-info .mailbox-attachment-close,.modal-content.bg-primary .close,.modal-content.bg-primary .mailbox-attachment-close,.modal-content.bg-secondary .close,.modal-content.bg-secondary .mailbox-attachment-close,.modal-content.bg-success .close,.modal-content.bg-success .mailbox-attachment-close{color:#fff;text-shadow:0 1px 0 #000}.dark-mode .modal-footer,.dark-mode...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 1.3M bytes
    - Viewed (0)
  10. docs/en/docs/alternatives.md

    * <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank">Swagger UI</a>
    * <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a>
    
    These two were chosen for being fairly popular and stable, but doing a quick search, you could find dozens of alternative user interfaces for OpenAPI (that you can use with **FastAPI**).
    
    ///
    
    ### Flask REST frameworks
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top