Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for waitms (0.13 sec)

  1. src/database/sql/sql_test.go

    	opening.Add(tryOpen)
    
    	setHookOpenErr(func() error {
    		// Wait for all connections to enqueue.
    		opening.Wait()
    		return errOffline
    	})
    
    	for i := 0; i < tryOpen; i++ {
    		go func() {
    			opening.Done() // signal one connection is in flight
    			_, err := db.Exec("will never run")
    			errs <- err
    		}()
    	}
    
    	opening.Wait() // wait for all workers to begin running
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. src/database/sql/sql.go

    func (db *DB) Stats() DBStats {
    	wait := db.waitDuration.Load()
    
    	db.mu.Lock()
    	defer db.mu.Unlock()
    
    	stats := DBStats{
    		MaxOpenConnections: db.maxOpen,
    
    		Idle:            len(db.freeConn),
    		OpenConnections: db.numOpen,
    		InUse:           db.numOpen - len(db.freeConn),
    
    		WaitCount:         db.waitCount,
    		WaitDuration:      time.Duration(wait),
    		MaxIdleClosed:     db.maxIdleClosed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    narrow, to be sure; but I THINK I can kick a little!'
    
      She drew her foot as far down the chimney as she could, and
    waited till she heard a little animal (she couldn't guess of what
    sort it was) scratching and scrambling about in the chimney close
    above her:  then, saying to herself `This is Bill,' she gave one
    sharp kick, and waited to see what would happen next.
    
      The first thing she heard was a general chorus of `There goes
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    narrow, to be sure; but I THINK I can kick a little!'
    
      She drew her foot as far down the chimney as she could, and
    waited till she heard a little animal (she couldn't guess of what
    sort it was) scratching and scrambling about in the chimney close
    above her:  then, saying to herself `This is Bill,' she gave one
    sharp kick, and waited to see what would happen next.
    
      The first thing she heard was a general chorus of `There goes
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

        }
      }
    
      /** A reference to a value. */
      interface ValueReference<K, V> {
        /** Returns the value. Does not block or throw exceptions. */
        @CheckForNull
        V get();
    
        /**
         * Waits for a value that may still be loading. Unlike get(), this method can block (in the case
         * of FutureValueReference).
         *
         * @throws ExecutionException if the loading thread throws an exception
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

        }
      }
    
      /** A reference to a value. */
      interface ValueReference<K, V> {
        /** Returns the value. Does not block or throw exceptions. */
        @CheckForNull
        V get();
    
        /**
         * Waits for a value that may still be loading. Unlike get(), this method can block (in the case
         * of FutureValueReference).
         *
         * @throws ExecutionException if the loading thread throws an exception
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            def cleaningBarrier = blockingHttpServer.expectAndBlock("cleaning")
            def cleaningBuild = executer.withTasks("waitForCleaningBarrier").withArgument("--no-daemon").start()
    
            then: 'cleaning build starts and waits on its barrier'
            cleaningBarrier.waitForAllPendingCalls()
    
            when: 'transforming build is started'
            def transformBarrier = blockingHttpServer.expectAndBlock("transform")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ExecutorService executor = newSingleThreadExecutor();
        Future<V> waiter =
            executor.submit(
                new Callable<V>() {
                  @Override
                  public V call() throws Exception {
                    return input.get();
                  }
                });
    
        try {
          return getUninterruptibly(waiter, timeout, unit);
        } catch (ExecutionException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ExecutorService executor = newSingleThreadExecutor();
        Future<V> waiter =
            executor.submit(
                new Callable<V>() {
                  @Override
                  public V call() throws Exception {
                    return input.get();
                  }
                });
    
        try {
          return getUninterruptibly(waiter, timeout, unit);
        } catch (ExecutionException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.4.md

    * Cherrypick [#34851](https://github.com/kubernetes/kubernetes/pull/34851) "Only wait for cache syncs once in NodeController" ([#34861](https://github.com/kubernetes/kubernetes/pull/34861), [@jessfraz](https://github.com/jessfraz))
    * NodeController waits for informer sync before doing anything ([#34809](https://github.com/kubernetes/kubernetes/pull/34809), [@gmarek](https://github.com/gmarek))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 133.5K bytes
    - Viewed (0)
Back to top