Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 60 for 01000000 (0.1 seconds)

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

      @GwtIncompatible // Too slow in GWT (~3min fully optimized)
      public void testDivideRemainderEuclideanProperty() {
        // Use a seed so that the test is deterministic:
        Random r = new Random(0L);
        for (int i = 0; i < 1000000; i++) {
          long dividend = r.nextLong();
          long divisor = r.nextLong();
          // Test that the Euclidean property is preserved:
          assertThat(
                  dividend
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

      @GwtIncompatible // Too slow in GWT (~3min fully optimized)
      public void testDivideRemainderEuclideanProperty() {
        // Use a seed so that the test is deterministic:
        Random r = new Random(0L);
        for (int i = 0; i < 1000000; i++) {
          int dividend = r.nextInt();
          int divisor = r.nextInt();
          // Test that the Euclidean property is preserved:
          assertThat(
                  dividend
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

      @GwtIncompatible // Too slow in GWT (~3min fully optimized)
      public void testDivideRemainderEuclideanProperty() {
        // Use a seed so that the test is deterministic:
        Random r = new Random(0L);
        for (int i = 0; i < 1000000; i++) {
          long dividend = r.nextLong();
          long divisor = r.nextLong();
          // Test that the Euclidean property is preserved:
          assertThat(
                  dividend
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                return "[" + address + "]";
            }
            return address;
        }
    
        /**
         * Compresses an IPv6 address string to its canonical compressed form.
         * For example, "0:0:0:0:0:0:0:1" becomes "::1"
         *
         * @param ipv6Address the IPv6 address string to compress
         * @return the compressed IPv6 address string
         */
        protected static String compressIPv6(final String ipv6Address) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

                assertEquals("2001:db8::1", method.invoke(null, "2001:db8::1"));
    
                // Expanded forms should be compressed
                assertEquals("::1", method.invoke(null, "0:0:0:0:0:0:0:1"));
                assertEquals("2001:db8::1", method.invoke(null, "2001:0db8:0000:0000:0000:0000:0000:0001"));
                assertEquals("fe80::1", method.invoke(null, "fe80:0000:0000:0000:0000:0000:0000:0001"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertTrue(populatedString.contains("partialResults=false"));
            assertTrue(populatedString.contains("queryTime=500"));
            assertTrue(populatedString.contains("requestedTime=1000000"));
        }
    
        @Test
        public void test_complexScenario() {
            // Simulate a typical search result scenario
            // Page 2 of search results with 10 items per page
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertCorrectSlice(100, 0, 10, 10);
        assertCorrectSlice(100, 0, 100, 100);
        assertCorrectSlice(100, 5, 10, 10);
        assertCorrectSlice(100, 5, 100, 95);
        assertCorrectSlice(100, 100, 0, 0);
        assertCorrectSlice(100, 100, 10, 0);
        assertCorrectSlice(100, 101, 10, 0);
      }
    
      /**
       * Tests that the default slice() behavior is correct when the source is sliced starting at an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

                val low = (if (i + 1 < limit) this[i + 1] else '\u0000')
                if (c.isLowSurrogate() || !low.isLowSurrogate()) {
                  '?'.code
                } else {
                  i++
                  0x010000 + (c.code and 0x03ff shl 10 or (low.code and 0x03ff))
                }
              }
    
              else -> {
                c.code
              }
            }
          i++
        }
        return result
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            // Integer
            assertEquals(42, groovyEngine.evaluate("return 42", params));
    
            // Long
            assertEquals(1000000L, groovyEngine.evaluate("return 1000000L", params));
    
            // Double
            final Object doubleResult = groovyEngine.evaluate("return 3.14159", params);
            assertTrue(doubleResult instanceof Number);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertThat(b).isEmpty();
      }
    
      public void testToByteArray_largeStream() throws IOException {
        // well, large enough to require multiple buffers
        byte[] expected = newPreFilledByteArray(10000000);
        InputStream in = new ByteArrayInputStream(expected);
        byte[] b = ByteStreams.toByteArray(in);
        assertThat(b).isEqualTo(expected);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
Back to Top