Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 109 for System (0.15 sec)

  1. guava-tests/test/com/google/common/base/SuppliersTest.java

              public Boolean get() {
                // Check that this method is called exactly once, by the first
                // thread to synchronize.
                long t0 = System.nanoTime();
                while (waitingThreads() != numThreads - 1) {
                  if (System.nanoTime() - t0 > timeout) {
                    thrown.set(
                        new TimeoutException(
                            "timed out waiting for other threads to block"
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

              public Boolean get() {
                // Check that this method is called exactly once, by the first
                // thread to synchronize.
                long t0 = System.nanoTime();
                while (waitingThreads() != numThreads - 1) {
                  if (System.nanoTime() - t0 > timeout) {
                    thrown.set(
                        new TimeoutException(
                            "timed out waiting for other threads to block"
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      private static final BigInteger BAD_FOR_GINGERBREAD_Q = new BigInteger("-4294967296");
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // slow
      public void testDivNonZeroExact() {
        String runtimeName = System.getProperty("java.runtime.name");
        boolean isAndroid = runtimeName != null && runtimeName.contains("Android");
        for (BigInteger p : NONZERO_BIGINTEGER_CANDIDATES) {
          for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      private static final BigInteger BAD_FOR_GINGERBREAD_Q = new BigInteger("-4294967296");
    
      @GwtIncompatible // TODO
      @AndroidIncompatible // slow
      public void testDivNonZeroExact() {
        String runtimeName = System.getProperty("java.runtime.name");
        boolean isAndroid = runtimeName != null && runtimeName.contains("Android");
        for (BigInteger p : NONZERO_BIGINTEGER_CANDIDATES) {
          for (BigInteger q : NONZERO_BIGINTEGER_CANDIDATES) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

          return false;
        }
        return asByteSource(file1).contentEquals(asByteSource(file2));
      }
    
      /**
       * Atomically creates a new directory somewhere beneath the system's temporary directory (as
       * defined by the {@code java.io.tmpdir} system property), and returns its name.
       *
       * <p>The temporary directory is created with permissions restricted to the current user or, in
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          this.unit = unit;
        }
    
        @Override
        public void run() {
          startTime = System.nanoTime();
          try {
            future.get(timeout, unit);
          } catch (Exception e) {
            // nothing
            exception = e;
          } finally {
            timeSpentBlocked = System.nanoTime() - startTime;
          }
        }
    
        void awaitWaiting() {
          while (!isBlocked()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  7. android/pom.xml

        <otherVariant.jvmEnvironment>standard-jvm</otherVariant.jvmEnvironment>
        <otherVariant.jvmEnvironmentVariantName>jre</otherVariant.jvmEnvironmentVariantName>
      </properties>
      <issueManagement>
        <system>GitHub Issues</system>
        <url>https://github.com/google/guava/issues</url>
      </issueManagement>
      <inceptionYear>2010</inceptionYear>
      <licenses>
        <license>
          <name>Apache License, Version 2.0</name>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Cut.java

          }
        }
    
        @Override
        public int compareTo(Cut<Comparable<?>> o) {
          return (o == this) ? 0 : -1;
        }
    
        @Override
        public int hashCode() {
          return System.identityHashCode(this);
        }
    
        @Override
        public String toString() {
          return "-\u221e";
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

                      @Override
                      protected List<String> create(String[] elements) {
                        String[] rest = new String[elements.length - 1];
                        System.arraycopy(elements, 1, rest, 0, elements.length - 1);
                        return Lists.asList(elements[0], rest);
                      }
                    })
                .named("Lists.asList, 2 parameter")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

        Comparable<?>[] contents = new Comparable<?>[6 + remaining.length];
        contents[0] = e1;
        contents[1] = e2;
        contents[2] = e3;
        contents[3] = e4;
        contents[4] = e5;
        contents[5] = e6;
        System.arraycopy(remaining, 0, contents, 6, remaining.length);
        return construct(Ordering.natural(), contents.length, (E[]) contents);
      }
    
      // TODO(kevinb): Consider factory methods that reject duplicates
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top