Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for returnFalse (0.06 sec)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        int returnValue = 0;
        for (int i = 0; i < reps; i++) {
          list = impl.newExecutionList();
          listenerLatch = new CountDownLatch(numListeners);
          for (int j = 0; j < numListeners; j++) {
            list.add(listener, directExecutor());
            returnValue += listenerLatch.getCount();
          }
          list.execute();
          returnValue += listenerLatch.getCount();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

        private static class TestScoreBooster extends ScoreBooster {
            private final long returnValue;
    
            public TestScoreBooster(long returnValue) {
                this.returnValue = returnValue;
            }
    
            @Override
            public long process() {
                return returnValue;
            }
        }
    
        // Test class that throws exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
          Assert.assertTrue(
              factory + " returns null but it's not annotated with @Nullable", isNullable(factory));
        }
        return returnValue;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
    
        void check() {
          runTester();
          FromTo<?, ?> defaultFunction = (FromTo<?, ?>) getDefaultParameterValue(0);
          FromTo<?, ?> returnValue = (FromTo<?, ?>) defaultFunction.apply(null);
          assertEquals("", returnValue.apply(null));
        }
      }
    
      public void testGenericInterfaceReturnedByGenericMethod() {
        new GenericInterface2DefaultValueChecker().check();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * collectsValues} is true, called for each future when all futures complete.
       */
      abstract void collectOneValue(int index, @ParametricNullness InputT returnValue);
    
      abstract void handleAllCompleted();
    
      /** Adds the chain to the seen set, and returns whether all the chain was new to us. */
      private static boolean addCausalChain(Set<Throwable> seen, Throwable param) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top