Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for 00123 (0.04 seconds)

  1. guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

      }
    
      public void testFlatMapToInt_nullStream() {
        SpliteratorTester.ofInt(
                () ->
                    CollectSpliterators.flatMapToInt(
                        Arrays.spliterator(new Integer[] {1, 0, 1, 2, 3}),
                        (Integer i) -> i == 0 ? null : IntStream.of(i).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        4))
            .expect(1, 1, 2, 3);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            // Test basic patterns that should be valid
            String[] potentiallyValidCrons = { "0 0 * * * ?", // Every hour
                    "0 */15 * * * ?", // Every 15 minutes
                    "0 0 12 * * ?", // Daily at noon
                    "0 15 10 ? * MON-FRI" // Weekdays at 10:15
            };
    
            // Test each pattern and see what actually works
            for (String cron : potentiallyValidCrons) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertThrows(IOException.class, () -> okSource.copyTo(out));
        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
    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)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

        assertThrows(IOException.class, () -> okSource.copyTo(out));
        assertTrue(okSource.wasStreamClosed());
      }
    
      public void testConcat() throws IOException {
        ByteSource b1 = ByteSource.wrap(new byte[] {0, 1, 2, 3});
        ByteSource b2 = ByteSource.wrap(new byte[0]);
        ByteSource b3 = ByteSource.wrap(new byte[] {4, 5});
    
        byte[] expected = {0, 1, 2, 3, 4, 5};
    
    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)
  5. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            searchRenderData.setExecTime("");
            assertEquals("", searchRenderData.getExecTime());
    
            // Test with formatted time string
            searchRenderData.setExecTime("0.123 sec");
            assertEquals("0.123 sec", searchRenderData.getExecTime());
        }
    
        @Test
        public void test_setAndGetPageSize() {
            // Test with zero
            searchRenderData.setPageSize(0);
    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)
  6. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        ImmutableLongArray.of().forEach(i -> fail());
        ImmutableLongArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicLong count = new AtomicLong(0);
        ImmutableLongArray.of(0, 1, 2, 3)
            .forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableLongArray.of().stream().forEach(i -> fail());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        ImmutableIntArray.of().forEach(i -> fail());
        ImmutableIntArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicInteger count = new AtomicInteger(0);
        ImmutableIntArray.of(0, 1, 2, 3).forEach(i -> assertThat(i).isEqualTo(count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableIntArray.of().stream().forEach(i -> fail());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        ImmutableDoubleArray.of().forEach(i -> fail());
        ImmutableDoubleArray.of(0, 1, 3).subArray(1, 1).forEach(i -> fail());
    
        AtomicInteger count = new AtomicInteger(0);
        ImmutableDoubleArray.of(0, 1, 2, 3)
            .forEach(i -> assertThat(i).isEqualTo((double) count.getAndIncrement()));
        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/Shorts.java

       * NumberFormatException} if the input string is invalid.
       *
       * <p><b>Warning:</b> please see {@link Short#decode} to understand exactly how strings are
       * parsed. For example, the string {@code "0123"} is treated as <i>octal</i> and converted to the
       * value {@code 83}.
       *
       * @since 16.0
       */
      public static Converter<String, Short> stringConverter() {
        return ShortConverter.INSTANCE;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            fileBuilder.append(".tmp")
            dirtyFiles += directory / fileBuilder.toString()
            fileBuilder.setLength(truncateTo)
          }
        }
    
        /** Set lengths using decimal numbers like "10123". */
        @Throws(IOException::class)
        internal fun setLengths(strings: List<String>) {
          if (strings.size != valueCount) {
            invalidLengths(strings)
          }
    
          try {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top