Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 993 for result7 (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

              public List<String> getResult() {
                return collector;
              }
            };
        List<String> result = Resources.readLines(resource, US_ASCII, collectAndLowercaseAndTrim);
        assertEquals(3600, result.size());
        assertThat(result.get(0)).isEqualTo("ALICE'S ADVENTURES IN WONDERLAND");
        assertThat(result.get(result.size() - 1)).isEqualTo("THE END");
      }
    
      public void testCopyToOutputStream() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/MoreCollectors.java

              (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o),
              ToOptionalState::combine,
              state -> {
                Object result = state.getElement();
                return (result == NULL_PLACEHOLDER) ? null : result;
              },
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that takes a stream containing exactly one element and returns that element. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(
          Runnable task, @ParametricNullness T result) {
        return (ListenableFuture<T>) super.submit(task, result);
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 17:47:46 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableRangeSet.java

          // racy single-check idiom
          Integer result = size;
          if (result == null) {
            long total = 0;
            for (Range<C> range : ranges) {
              total += ContiguousSet.create(range, domain).size();
              if (total >= Integer.MAX_VALUE) {
                break;
              }
            }
            result = size = Ints.saturatedCast(total);
          }
          return result;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

      public static <K, V> SortedMapTestSuiteBuilder<K, V> using(
          TestSortedMapGenerator<K, V> generator) {
        SortedMapTestSuiteBuilder<K, V> result = new SortedMapTestSuiteBuilder<>();
        result.usingGenerator(generator);
        return result;
      }
    
      @SuppressWarnings("rawtypes") // class literals
      @Override
      protected List<Class<? extends AbstractTester>> getTesters() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

            final LogNotificationAppender result = LogNotificationAppender.createAppender("testAppender", "ERROR", null, null);
            assertNotNull(result);
        }
    
        @Test
        public void test_createAppender_nullName() {
            final LogNotificationAppender result = LogNotificationAppender.createAppender(null, "ERROR", null, null);
            assertNull(result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/io/FileUtilTest.java

            try (FileOutputStream fos = new FileOutputStream(normalFile)) {
                fos.write(content.getBytes("UTF-8"));
            }
    
            final byte[] result = FileUtil.readBytes(normalFile);
            assertThat(new String(result, "UTF-8"), is(content));
        }
    
        /**
         * Test readBytes with empty file
         *
         * @throws Exception
         */
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top