Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for atTotal (0.15 sec)

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

        }
        checkPositionIndexes(off, off + len, b.length);
        int total = 0;
        while (total < len) {
          int result = in.read(b, off + total, len - total);
          if (result == -1) {
            break;
          }
          total += result;
        }
        return total;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheStats.java

     *             are incremented, and the total loading time, in nanoseconds, is added to {@code
     *             totalLoadTime}.
     *         <li>When an exception is thrown while loading an entry, {@code missCount} and {@code
     *             loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is
     *             added to {@code totalLoadTime}.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheStats.java

     *             are incremented, and the total loading time, in nanoseconds, is added to {@code
     *             totalLoadTime}.
     *         <li>When an exception is thrown while loading an entry, {@code missCount} and {@code
     *             loadExceptionCount} are incremented, and the total loading time, in nanoseconds, is
     *             added to {@code totalLoadTime}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

        for (int i = 0; i < threads; i++) {
          futures.add(threadPool.submit(task));
        }
        long total = 0;
        for (Future<Long> future : futures) {
          total += future.get();
        }
        return total;
      }
    
      private long runAddSingleThread(int reps) {
        Random random = new Random();
        int nKeys = keys.size();
        long blah = 0;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multiset.java

     * elements. A multiset is also sometimes called a <i>bag</i>.
     *
     * <p>Elements of a multiset that are equal to one another are referred to as <i>occurrences</i> of
     * the same single element. The total number of occurrences of an element in a multiset is called
     * the <i>count</i> of that element (the terms "frequency" and "multiplicity" are equivalent, but
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Floats.java

        public String toString() {
          return "Floats.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
       * <p>Note that this method uses the total order imposed by {@link Float#compare}, which treats
       * all NaN values as equal and 0.0 as greater than -0.0.
       *
       * @since 23.1
       */
      public static void sortDescending(float[] array) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

       * absent, it will fall back to a heavyweight operation that will open a stream, {@link
       * Reader#skip(long) skip} to the end of the stream, and return the total number of chars that
       * were skipped.
       *
       * <p>Note that for sources that implement {@link #lengthIfKnown} to provide a more efficient
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

       * absent, it will fall back to a heavyweight operation that will open a stream, read (or {@link
       * InputStream#skip(long) skip}, if possible) to the end of the stream and return the total number
       * of bytes that were read.
       *
       * <p>Note that for some sources that implement {@link #sizeIfKnown} to provide a more efficient
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeMultiset.java

      private long aggregateForEntries(Aggregate aggr) {
        AvlNode<E> root = rootReference.get();
        long total = aggr.treeAggregate(root);
        if (range.hasLowerBound()) {
          total -= aggregateBelowRange(aggr, root);
        }
        if (range.hasUpperBound()) {
          total -= aggregateAboveRange(aggr, root);
        }
        return total;
      }
    
      private long aggregateBelowRange(Aggregate aggr, @CheckForNull AvlNode<E> node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

            }
            if (done) {
              break;
            }
          }
        }
      }
    
      /**
       * Multiple threads using same array of counters successfully update a number of times equal to
       * total count
       */
      public void testCountingInMultipleThreads() throws InterruptedException {
        final AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10K bytes
    - Viewed (0)
Back to top