Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 806 for cout (0.17 sec)

  1. guava/src/com/google/common/collect/Cut.java

     * always be represented by a pair of {@code Cut} instances.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class Cut<C extends Comparable> implements Comparable<Cut<C>>, Serializable {
      final C endpoint;
    
      Cut(C endpoint) {
        this.endpoint = endpoint;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Count.java

     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Aug 05 00:40:25 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

                try {
                    if (count < 10) {
                        System.out.println(path1);
                    }
                    assertThat(path1, is(notNullValue()));
                    assertThat(is, is(notNullValue()));
                    count++;
                } finally {
                    CloseableUtil.close(is);
                }
            });
            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            }
            if (300 <= count) {
                logger.info("Time out: Failed to start crawler)");
                fail(); // Time Out
            }
    
            logger.info("Crawler is running");
            count = 0;
            isRunning = true;
            while (count < 300 && isRunning) { // Wait until the crawler terminates
                ThreadUtil.sleep(1000);
                count++;
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          return delegate;
        }
    
        void writeMapTo(ObjectOutputStream out) throws IOException {
          out.writeInt(delegate.size());
          for (Entry<K, V> entry : delegate.entrySet()) {
            out.writeObject(entry.getKey());
            out.writeObject(entry.getValue());
          }
          out.writeObject(null); // terminate entries
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Strings.java

      public static String repeat(String string, int count) {
        checkNotNull(string); // eager for GWT.
    
        if (count <= 1) {
          checkArgument(count >= 0, "invalid count: %s", count);
          return (count == 0) ? "" : string;
        }
    
        // IF YOU MODIFY THE CODE HERE, you must update StringsRepeatBenchmark
        final int len = string.length();
        final long longSize = (long) len * (long) count;
        final int size = (int) longSize;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

      @Override
      public int setCount(@ParametricNullness E element, int count) {
        checkNonnegative(count, "count");
        if (!range.contains(element)) {
          checkArgument(count == 0);
          return 0;
        }
    
        AvlNode<E> root = rootReference.get();
        if (root == null) {
          if (count > 0) {
            add(element, count);
          }
          return 0;
        }
    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)
  8. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

                append(b, "count", () -> c.getCollectionCount()).append(',');
                append(b, "time", () -> c.getCollectionTime().getMillis()).append('}');
                return b.toString();
            }).collect(Collectors.joining(",")));
            buf.append("},");
            final Threads threads = jvmStats.getThreads();
            buf.append("\"threads\":{");
            append(buf, "count", () -> threads.getCount()).append(',');
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      public synchronized void write(byte[] b, int off, int len) throws IOException {
        update(len);
        out.write(b, off, len);
      }
    
      @Override
      public synchronized void close() throws IOException {
        out.close();
      }
    
      @Override
      public synchronized void flush() throws IOException {
        out.flush();
      }
    
      /**
    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)
  10. guava-tests/test/com/google/common/collect/StreamsTest.java

        AtomicInteger count = new AtomicInteger(0);
        Streams.forEachPair(
            streamA,
            streamB,
            (a, b) -> {
              count.incrementAndGet();
              assertThat(a.equals(String.valueOf(b))).isTrue();
            });
        assertThat(count.get()).isEqualTo(100000);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
Back to top