Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for 0x1000 (0.02 sec)

  1. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      }
    
      public void testCopyOf_iterable_notCollection_nonempty() {
        List<Double> list = Arrays.asList(0.0, 1.0, 3.0);
        ImmutableDoubleArray iia = ImmutableDoubleArray.copyOf(iterable(list));
        list.set(2, 2.0);
        assertThat(iia.asList()).containsExactly(0.0, 1.0, 3.0).inOrder();
      }
    
      public void testCopyOf_iterable_collection_empty() {
        Iterable<Double> iterable = Collections.emptySet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

    /**
     * Benchmarks for certain methods of {@code UnsignedLongs}.
     *
     * @author Eamonn McManus
     */
    @NullUnmarked
    public class UnsignedLongsBenchmark {
      private static final int ARRAY_SIZE = 0x10000;
      private static final int ARRAY_MASK = 0x0ffff;
      private static final Random randomSource = new Random(314159265358979L);
      private static final long[] longs = new long[ARRAY_SIZE];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      public void testAsList_toArray_roundTrip() {
        double[] array = {0.0, 1.0, 2.0};
        List<Double> list = Doubles.asList(array);
        double[] newArray = Doubles.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, 4.0);
        assertThat(newArray).isEqualTo(new double[] {0.0, 1.0, 2.0});
        newArray[1] = 5.0;
        assertThat((double) list.get(1)).isEqualTo(1.0);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt

       */
      @JvmField val minimumConcurrentCalls: Int = 0,
      /** How long to wait to retry pre-emptive connection attempts that fail. */
      @JvmField val backoffDelayMillis: Long = 60 * 1000,
      /** How much jitter to introduce in connection retry backoff delays */
      @JvmField val backoffJitterMillis: Int = 100,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            String query = "*";
            int allRecordCount = 1000;
            int pageSize = 100;
            int offset = 50;
            try (RankFusionProcessor rankFusionProcessor = new RankFusionProcessor()) {
                rankFusionProcessor.setSeacher(new TestMainSearcher(allRecordCount));
                rankFusionProcessor.register(new TestSubSearcher(0, 0, 1000));
                rankFusionProcessor.init();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/MathBenchmarking.java

     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEscaping(e, "%00", '\u0000'); // nul
        assertEscaping(e, "%7F", '\u007f'); // del
        assertEscaping(e, "%C2%80", '\u0080'); // xx-00010,x-000000
        assertEscaping(e, "%DF%BF", '\u07ff'); // xx-11111,x-111111
        assertEscaping(e, "%E0%A0%80", '\u0800'); // xxx-0000,x-100000,x-00,0000
        assertEscaping(e, "%EF%BF%BF", '\uffff'); // xxx-1111,x-111111,x-11,1111
        assertUnicodeEscaping(e, "%F0%90%80%80", '\uD800', '\uDC00');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            // Test with different implementations to ensure interface contract
            IndexUpdateCallback callback1 = createMockCallback(10, 500);
            IndexUpdateCallback callback2 = createMockCallback(20, 1000);
    
            assertEquals(10L, callback1.getDocumentSize());
            assertEquals(500L, callback1.getExecuteTime());
    
            assertEquals(20L, callback2.getDocumentSize());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

          .isEqualTo(0L)
        assertThat(parse(url, "a=b; Expires=Thu, 01 Jan 1970 00:00:0 GMT")!!.expiresAt)
          .isEqualTo(0L)
        assertThat(parse(url, "a=b; Expires=00:00:00 Thu, 01 Jan 1970 GMT")!!.expiresAt)
          .isEqualTo(0L)
        assertThat(parse(url, "a=b; Expires=00:00:00 1970 Jan 01")!!.expiresAt)
          .isEqualTo(0L)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/MathTesting.java

                102,
                Math.scalb(1.0, 53),
                Integer.MIN_VALUE,
                Integer.MAX_VALUE,
                Long.MIN_VALUE,
                Long.MAX_VALUE)) {
          for (double delta : Doubles.asList(0.0, 1.0, 2.0)) {
            integralBuilder.addAll(Doubles.asList(d + delta, d - delta, -d - delta, -d + delta));
          }
          for (double delta : Doubles.asList(0.01, 0.1, 0.25, 0.499, 0.5, 0.501, 0.7, 0.8)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top