Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 452 for untimed (0.05 sec)

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

                   * case we ever switch to JUnit 4:
                   */
                  fail();
                }
              }
            });
      }
    
      // TODO(cpovirk): promote to Uninterruptibles, and add untimed version
      private static void joinUninterruptibly(Thread thread, long timeout, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(timeout);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link Futures#getChecked(Future, Class)}. */
    @NullUnmarked
    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                   * case we ever switch to JUnit 4:
                   */
                  fail();
                }
              }
            });
      }
    
      // TODO(cpovirk): promote to Uninterruptibles, and add untimed version
      private static void joinUninterruptibly(Thread thread, long timeout, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(timeout);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        } else if (isTryEnter(method)) {
          assertFalse(desc, isTimed(method));
          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  5. cmd/admin-server-info.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"math"
    	"net/http"
    	"os"
    	"runtime"
    	"runtime/debug"
    	"sort"
    	"strings"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/kms"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (1)
  6. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            Throwable cause = new RuntimeException("Runtime error");
            CommandExecutionException exception = new CommandExecutionException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertEquals("Runtime error", exception.getCause().getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-process.go

    func loadProcessMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	m.Set(processGoRoutineTotal, float64(runtime.NumGoroutine()))
    
    	if !globalBootTime.IsZero() {
    		m.Set(processUptimeSeconds, time.Since(globalBootTime).Seconds())
    	}
    
    	if runtime.GOOS != globalWindowsOSName && runtime.GOOS != globalMacOSName {
    		p, err := procfs.Self()
    		if err != nil {
    			metricsLogIf(ctx, err)
    		} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

          return "SynchronizedHelper";
        }
      }
    
      private static boolean mightBeAndroid() {
        String runtime = System.getProperty("java.runtime.name", "");
        // I have no reason to believe that `null` is possible here, but let's make sure we don't crash:
        return runtime == null || runtime.contains("Android");
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. apache-maven/src/assembly/maven/bin/mvn

    # Environment Variable Prerequisites
    #
    #   JAVA_HOME           (Optional) Points to a Java installation.
    #   MAVEN_ARGS          (Optional) Arguments passed to Maven before CLI arguments.
    #   MAVEN_OPTS          (Optional) Java runtime options used when Maven is executed.
    #   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 24 09:49:07 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

        // e.g. using Thread#activeCount()
        return max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L));
      }
    
      /**
       * 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top