Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for tooSlow (0.16 sec)

  1. src/cmd/go/go_test.go

    func TestGoListStdDoesNotIncludeCommands(t *testing.T) {
    	tooSlow(t, "walks all of GOROOT/src")
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.run("list", "std")
    	tg.grepStdoutNot("cmd/", "go list std shows commands")
    }
    
    func TestGoListCmdOnlyShowsCommands(t *testing.T) {
    	skipIfGccgo(t, "gccgo does not have GOROOT")
    	tooSlow(t, "walks all of GOROOT/src/cmd")
    
    	tg := testgo(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/context/x_test.go

    			ctx: func() Context {
    				ctx, cancel := WithTimeoutCause(Background(), 0, tooSlow)
    				cancel()
    				return ctx
    			},
    			err:   DeadlineExceeded,
    			cause: tooSlow,
    		},
    		{
    			name: "WithTimeoutCause canceled",
    			ctx: func() Context {
    				ctx, cancel := WithTimeoutCause(Background(), forever, tooSlow)
    				cancel()
    				return ctx
    			},
    			err:   Canceled,
    			cause: Canceled,
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_test.go

    	for i := 0; i < 5; i++ {
    		tooSlow := time.NewTimer(1 * time.Second)
    		defer tooSlow.Stop()
    		var c1 net.Conn
    		c1, err = net.Dial(addr.Network(), addr.String())
    		if err != nil {
    			if runtime.GOOS == "dragonfly" && (isConnRefused(err) || os.IsTimeout(err)) {
    				// golang.org/issue/29583: Dragonfly sometimes returns a spurious
    				// ECONNREFUSED or ETIMEDOUT.
    				<-tooSlow.C
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    		cst.c.Timeout = timeout
    
    		_, err := cst.c.Get(cst.ts.URL)
    		if err == nil {
    			close(cancelHandler)
    			t.Fatal("unexpected Get success")
    		}
    
    		tooSlow := time.NewTimer(timeout * 10)
    		select {
    		case <-tooSlow.C:
    			// If we didn't get into the Handler, that probably means the builder was
    			// just slow and the Get failed in that time but never made it to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_tidy_indirect.txt

    -- incomplete/incomplete.go --
    package incomplete
    
    import _ "example.net/indirect/newpkg"
    
    -- toolow/go.mod --
    module example.net/toolow
    
    go 1.16
    
    require example.net/indirect v0.1.0
    -- toolow/toolow.go --
    package toolow
    
    import _ "example.net/indirect/oldpkg"
    
    -- indirect.1/go.mod --
    module example.net/indirect
    
    go 1.16
    -- indirect.1/oldpkg/oldpkg.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 16 13:39:46 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
          set.add(tooLow);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
          set.add(tooLow);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/GeneralRange.java

      }
    
      boolean isEmpty() {
        // The casts are safe because of the has*Bound() checks.
        return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint())))
            || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint())));
      }
    
      boolean tooLow(@ParametricNullness T t) {
        if (!hasLowerBound()) {
          return false;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/GeneralRange.java

      }
    
      boolean isEmpty() {
        // The casts are safe because of the has*Bound() checks.
        return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint())))
            || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint())));
      }
    
      boolean tooLow(@ParametricNullness T t) {
        if (!hasLowerBound()) {
          return false;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

                range.contains(i));
            assertEquals(
                ORDERING.compare(i, 3) < 0 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN),
                range.tooLow(i));
            assertFalse(range.tooHigh(i));
          }
        }
      }
    
      public void testUpperRange() {
        for (BoundType lBoundType : BoundType.values()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top