Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 376 for timeEnd (0.11 sec)

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

            assertThrows(
                TimeoutException.class,
                () -> service.startAsync().awaitRunning(1, TimeUnit.MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private class FakeService extends AbstractExecutionThreadService implements TearDown {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

                    getChecked(
                        FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithGoodAndBadConstructor.class));
        assertThat(expected).hasCauseThat().isSameInstanceAs(CHECKED_EXCEPTION);
      }
    
      // Boring timed-get tests:
    
      public void testGetCheckedTimed_success() throws TwoArgConstructorException {
        assertEquals(
            "foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class, 0, SECONDS));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  3. src/internal/trace/base.go

    // has 5 arguments and needs to smuggle in a 6th. Figure out a way to
    // shrink this in the future.
    const maxArgs = 6
    
    // timedEventArgs is an array that is able to hold the arguments for any
    // timed event.
    type timedEventArgs [maxArgs - 1]uint64
    
    // baseEvent is the basic unprocessed event. This serves as a common
    // fundamental data structure across.
    type baseEvent struct {
    	typ  event.Type
    	time Time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. cluster/gce/windows/common.psm1

      param (
        [parameter(Mandatory=$true)] [string]$Path
      )
      # Verify that the $Path is not already in the $env:Path variable.
      $pathForCompare = $Path.TrimEnd('\').ToLower()
      foreach ($p in $env:Path.Split(";")) {
        if ($p.TrimEnd('\').ToLower() -eq $pathForCompare) {
            return
        }
      }
    
      $newMachinePath = $Path + ";" + `
        [System.Environment]::GetEnvironmentVariable("Path","Machine")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 19 14:47:38 UTC 2022
    - 25.4K bytes
    - Viewed (0)
  5. pkg/controller/storageversiongc/gc_controller.go

    	logger.Info("Starting storage version garbage collector")
    
    	if !cache.WaitForCacheSync(ctx.Done(), c.leasesSynced, c.storageVersionSynced) {
    		utilruntime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	// Identity lease deletion and storageversion update don't happen too often. Start one
    	// worker for each of them.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

            assertThrows(
                TimeoutException.class,
                () -> service.startAsync().awaitRunning(1, TimeUnit.MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private class FakeService extends AbstractExecutionThreadService implements TearDown {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. pkg/controller/nodelifecycle/scheduler/rate_limited_queue.go

    	return &RateLimitedTimedQueue{
    		queue: UniqueQueue{
    			queue: TimedQueue{},
    			set:   sets.NewString(),
    		},
    		limiter: limiter,
    	}
    }
    
    // ActionFunc takes a timed value and returns false if the item must
    // be retried, with an optional time.Duration if some minimum wait
    // interval should be used.
    type ActionFunc func(TimedValue) (bool, time.Duration)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. src/syscall/exec_unix_test.go

    	defer timer.Stop()
    	for {
    		select {
    		case sig := <-ch1:
    			t.Errorf("unexpected signal %v", sig)
    		case <-ch2:
    			// Success.
    			return
    		case <-timer.C:
    			t.Fatal("timed out waiting for child process")
    		}
    	}
    }
    
    // Test a couple of cases that SysProcAttr can't handle. Issue 29458.
    func TestInvalidExec(t *testing.T) {
    	t.Parallel()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

        val readTimeout = soTimeout
        try {
          soTimeout = 1
          !source.exhausted()
        } finally {
          soTimeout = readTimeout
        }
      } catch (_: SocketTimeoutException) {
        true // Read timed out; socket is good.
      } catch (_: IOException) {
        false // Couldn't read; socket is closed.
      }
    }
    
    internal inline fun threadName(
      name: String,
      block: () -> Unit,
    ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. src/net/net.go

    	Err         string // description of the error
    	Name        string // name looked for
    	Server      string // server used
    	IsTimeout   bool   // if true, timed out; not all timeouts set this
    	IsTemporary bool   // if true, error is temporary; not all errors set this
    
    	// IsNotFound is set to true when the requested name does not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top