Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for 50000 (0.14 sec)

  1. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

            }
            return builder.build();
          }
        };
    
        abstract Map<Element, Element> create(Collection<Element> contents);
      }
    
      @Param({"5", "50", "500", "5000", "50000"})
      private int size;
    
      // TODO: look at exact (==) hits vs. equals() hits?
      @Param("0.9")
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
        out.writeInt(0xCAFEBABE);
        out.writeLong(0xDEADBEEFCAFEBABEL);
        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                    + "class java.lang.RuntimeException\\]\\]");
      }
    
      public void testCompletionFinishesWithDone() {
        ExecutorService executor = Executors.newFixedThreadPool(10);
        for (int i = 0; i < 50000; i++) {
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
          final AtomicReference<String> errorMessage = Atomics.newReference();
          executor.execute(
              new Runnable() {
    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. guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

            }
            return builder.build();
          }
        };
    
        abstract Map<Element, Element> create(Collection<Element> contents);
      }
    
      @Param({"5", "50", "500", "5000", "50000"})
      private int size;
    
      // TODO: look at exact (==) hits vs. equals() hits?
      @Param("0.9")
      private double hitRate;
    
      @Param("true")
      private boolean isUserTypeFast;
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

      private static final int STRING_LENGTH = 10000;
    
      private static final String OLD_WHITESPACE_TABLE =
          "\u0001\u0000\u00a0\u0000\u0000\u0000\u0000\u0000"
              + "\u0000\u0009\n\u000b\u000c\r\u0000\u0000\u2028\u2029\u0000\u0000\u0000\u0000\u0000"
              + "\u202f\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0020\u0000\u0000\u0000\u0000"
              + "\u0000\u0000\u0000\u0000\u0000\u0000\u3000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 16 22:49:59 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                    + "class java.lang.RuntimeException\\]\\]");
      }
    
      public void testCompletionFinishesWithDone() {
        ExecutorService executor = Executors.newFixedThreadPool(10);
        for (int i = 0; i < 50000; i++) {
          final AbstractFuture<String> future = new AbstractFuture<String>() {};
          final AtomicReference<String> errorMessage = Atomics.newReference();
          executor.execute(
              new Runnable() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ByteSinkTest.java

    /**
     * Tests for the default implementations of {@code ByteSink} methods.
     *
     * @author Colin Decker
     */
    public class ByteSinkTest extends IoTestCase {
    
      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top