Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 170 for timeEnd (0.37 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        }
      }
    
      private Outcome doCall() {
        boolean guarded = isGuarded(method);
        boolean timed = isTimed(method);
        Object[] arguments = new Object[(guarded ? 1 : 0) + (timed ? 2 : 0)];
        if (guarded) {
          arguments[0] = guard;
        }
        if (timed) {
          arguments[arguments.length - 2] = timeout.millis;
          arguments[arguments.length - 1] = TimeUnit.MILLISECONDS;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
      @SuppressWarnings("removal") // b/260137033
      public static void awaitDone(Future<?> future) {
        if (future.isDone()) {
          return;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
      @SuppressWarnings("removal") // b/260137033
      public static void awaitDone(Future<?> future) {
        if (future.isDone()) {
          return;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/resolveExtensionInfoProvider/AbstractResolveExtensionInfoProviderTest.kt

                appendLine("Resolve extension navigation targets: ${navTargets.size}")
                withIndent { navTargets.forEach { appendLine(it.toString()) } }
            }
        }.trimEnd()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/internal/trace/event/event.go

    	// trace reader.
    	//
    	// Events that are not "timed" are considered "structural"
    	// since they either need significant reinterpretation or
    	// otherwise aren't actually surfaced by the trace reader.
    	IsTimedEvent bool
    
    	// HasData is true if the event has trailer consisting of a
    	// varint length followed by unencoded bytes of some data.
    	//
    	// An event may not be both a timed event and have data.
    	HasData bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/change_test.go

    	updateCRD()
    
    	drained := make(chan struct{})
    	go func() {
    		defer close(drained)
    		wg.Wait()
    	}()
    
    	select {
    	case <-drained:
    	case <-time.After(wait.ForeverTestTimeout):
    		t.Fatal("timed out waiting for watchers to be terminated")
    	}
    
    	stopChan := make(chan struct{})
    
    	// Set up loop to modify CRD in the background
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		for {
    			select {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:59:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig_test.go

    				result, err := getCNIConfigFilepath(ctx1, c.specifiedConfName, tempDir, c.chainedCNIPlugin)
    				if err != nil {
    					assert.Equal(t, result, "")
    					if err == context.DeadlineExceeded {
    						t.Fatalf("timed out waiting for expected %s", expectedFilepath)
    					}
    					t.Fatal(err)
    				}
    				if result != expectedFilepath {
    					t.Fatalf("expected %s, got %s", expectedFilepath, result)
    				}
    				// Successful test case
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. cni/pkg/install/install_test.go

    				assert.Equal(t, isReady.Load(), true)
    			case err := <-errChan:
    				if err == nil {
    					t.Fatal("invalid configuration detected")
    				}
    				t.Fatal(err)
    			case <-time.After(5 * time.Second):
    				t.Fatal("timed out waiting for isReady to be set to true")
    			}
    
    			// Change SA token
    			if len(c.saNewFilename) > 0 {
    				t.Log("Expecting detect changes to the SA token")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/RecordingCallback.kt

          }
          val nowMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime())
          if (nowMillis >= timeoutMillis) break
          (this as Object).wait(timeoutMillis - nowMillis)
        }
    
        throw AssertionError("Timed out waiting for response to $url")
      }
    
      companion object {
        val TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10)
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/TestLogHandler.kt

      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
        logs.drainTo(list)
        return list
      }
    
      fun take(): String {
        return logs.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for log message.")
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top