Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for 00101000 (0.07 sec)

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

        joinHelper(10, 20);
        joinHelper(10, 0, 20);
        joinHelper(0, 10, 20);
        joinHelper(10, 20, 0);
        joinHelper(10, 20, 1);
        joinHelper(1, 1, 1, 1, 1, 1, 1, 1);
        joinHelper(1, 0, 1, 0, 1, 0, 1, 0);
      }
    
      public void testOnlyOneOpen() throws Exception {
        ByteSource source = newByteSource(0, 50);
        int[] counter = new int[1];
        ByteSource checker =
            new ByteSource() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java

            }
            return new MeanAndVariance(mean, s / values.length);
          }
        };
    
        abstract MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm);
      }
    
      @Param({"100", "10000"})
      int n;
    
      @Param MeanAlgorithm meanAlgorithm;
      @Param VarianceAlgorithm varianceAlgorithm;
    
      private final double[][] values = new double[0x100][];
    
      @BeforeExperiment
      void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

      @Param private ComparatorType comparator;
    
      // TODO(kevinb): add 1000000 back when we have the ability to throw
      // NotApplicableException in the expensive comparator case.
      @Param({"100", "10000"})
      private int size;
    
      @Param private HeapType heap;
    
      private Queue<Integer> queue;
    
      private final Random random = new Random();
    
      @BeforeExperiment
      void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. android/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)
  5. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

          var hostname = inetAddress.hostName
          if (inetAddress is Inet6Address && hostname.contains(':')) {
            // hostname is likely some form representing the IPv6 bytes
            // 2001:0db8:85a3:0000:0000:8a2e:0370:7334
            // 2001:db8:85a3::8a2e:370:7334
            // ::1
            hostname = "[$hostname]"
          }
    
          val localPort = socket.localPort
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        joinHelper(10, 20);
        joinHelper(10, 0, 20);
        joinHelper(0, 10, 20);
        joinHelper(10, 20, 0);
        joinHelper(10, 20, 1);
        joinHelper(1, 1, 1, 1, 1, 1, 1, 1);
        joinHelper(1, 0, 1, 0, 1, 0, 1, 0);
      }
    
      public void testOnlyOneOpen() throws Exception {
        ByteSource source = newByteSource(0, 50);
        int[] counter = new int[1];
        ByteSource checker =
            new ByteSource() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(cookie.matches("http://[::1]/".toHttpUrl())).isTrue()
      }
    
      @Test fun domainMatchesIpv6AddressWithCompression() {
        val cookie = parse("http://[0001:0000::]/".toHttpUrl(), "a=b; domain=0001:0000::")
        assertThat(cookie!!.domain).isEqualTo("1::")
        assertThat(cookie.matches("http://[1::]/".toHttpUrl())).isTrue()
      }
    
      @Test fun domainMatchesIpv6AddressWithIpv4Suffix() {
    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. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            IntervalRule rule = new IntervalRule("10:00", "18:00", "*", 1000);
    
            // Within range
            assertTrue(rule.isTarget(12, 30, 1)); // 12:30 on Sunday
            assertTrue(rule.isTarget(10, 0, 1)); // 10:00 on Sunday (start time)
            assertTrue(rule.isTarget(18, 0, 1)); // 18:00 on Sunday (end time)
    
            // Outside range
            assertFalse(rule.isTarget(9, 59, 1)); // 9:59 on Sunday
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top