Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for systems (5.19 sec)

  1. android/guava/src/com/google/common/io/FileBackedOutputStream.java

                @Override
                protected void finalize() {
                  try {
                    reset();
                  } catch (Throwable t) {
                    t.printStackTrace(System.err);
                  }
                }
              };
        } else {
          source =
              new ByteSource() {
                @Override
                public InputStream openStream() throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

                return true;
              } else if (nanos <= 0) {
                return false;
              } else {
                long now = System.nanoTime();
                TimeUnit.NANOSECONDS.timedWait(lock, nanos);
                nanos -= System.nanoTime() - now; // subtract the actual time we waited
              }
            }
          }
        }
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      int internalArrayStart() {
        return 0;
      }
    
      @Override
      int internalArrayEnd() {
        return size;
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        System.arraycopy(elements, 0, dst, offset, size);
        return offset + size;
      }
    
      @Override
      ImmutableList<E> createAsList() {
        return ImmutableList.asImmutableList(elements, size);
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        size = 0;
      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation
      public Object[] toArray() {
        Object[] copyTo = new Object[size];
        System.arraycopy(queue, 0, copyTo, 0, size);
        return copyTo;
      }
    
      /**
       * Returns the comparator used to order the elements in this queue. Obeys the general contract of
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedInts.java

     * {@code int} values. When possible, it is recommended that the {@link UnsignedInteger} wrapper
     * class be used, at a small efficiency penalty, to enforce the distinction in the type system.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @since 11.0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Bytes.java

        int length = 0;
        for (byte[] array : arrays) {
          length += array.length;
        }
        byte[] result = new byte[length];
        int pos = 0;
        for (byte[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      /**
       * Returns an array containing the same values as {@code array}, but guaranteed to be of a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        sort(insertionOrder, Helpers.entryComparator(keyComparator));
        return insertionOrder;
      }
    
      /**
       * Private replacement for {@link com.google.gwt.user.client.rpc.GwtTransient} to work around
       * build-system quirks.
       */
      private @interface GwtTransient {}
    
      /**
       * Compares strings in natural order except that null comes immediately before a given value. This
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/UnsignedBytes.java

          static {
            // fall back to the safer pure java implementation unless we're in
            // a 64-bit JVM with an 8-byte aligned field offset.
            if (!("64".equals(System.getProperty("sun.arch.data.model"))
                && (BYTE_ARRAY_BASE_OFFSET % 8) == 0
                // sanity check - this should never fail
                && theUnsafe.arrayIndexScale(byte[].class) == 1)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
Back to top