Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3781 - 3790 of 4,223 for lint (0.02 sec)

  1. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

      }
    
      @GwtIncompatible // concurrency
    
      public void testConcurrentAutoIncrementStep() throws Exception {
        int incrementByNanos = 3;
        FakeTicker ticker = new FakeTicker().setAutoIncrementStep(incrementByNanos, NANOSECONDS);
    
        int numberOfThreads = 64;
        runConcurrentTest(
            numberOfThreads,
            new Callable<@Nullable Void>() {
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link LinearTransformation}.
     *
     * @author Pete Gillin
     */
    @NullUnmarked
    public class LinearTransformationTest extends TestCase {
    
      private static final double ALLOWED_ERROR = 1e-10;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        RuntimeException exception = new RuntimeException();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
        FutureCallback<String> callback =
            new FutureCallback<String>() {
              @Override
              public void onSuccess(String result) {
                successCalls[0]++;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

    import com.google.common.testing.NullPointerTester;
    import java.util.Map.Entry;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableMultimap}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class ImmutableMultimapTest extends TestCase {
    
      @SuppressWarnings("JUnitIncompatibleType")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/EquivalenceTest.java

        SerializableTester.reserializeAndAssert(Equivalence.equals());
        SerializableTester.reserializeAndAssert(Equivalence.identity());
      }
    
      private static class IntValue {
        private final int value;
    
        IntValue(int value) {
          this.value = value;
        }
    
        @Override
        public String toString() {
          return "value = " + value;
        }
      }
    
      public void testOnResultOf() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LinearTransformationTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link LinearTransformation}.
     *
     * @author Pete Gillin
     */
    @NullUnmarked
    public class LinearTransformationTest extends TestCase {
    
      private static final double ALLOWED_ERROR = 1e-10;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * analysis that that means "plain {@code T}" rather than the inferred type {@code @Nullable T}.
       * (And even if annotations on local variables were permitted as an optional hint, no annotation
       * would be the right tool for the job here: {@code @Nullable} is the annotation that we're trying
       * to get rid of, and {@code @NonNull} would be wrong for our use case for the same reason as
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java

    import org.lastaflute.di.core.SingletonLaContainer;
    import org.opensearch.core.xcontent.ToXContent;
    import org.opensearch.core.xcontent.XContentBuilder;
    
    /**
     * OpenSearchAccessResult is an implementation of {@link AccessResult} for OpenSearch.
     *
     * @author shinsuke
     *
     */
    public class OpenSearchAccessResult extends AccessResultImpl<String> implements ToXContent {
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsCrawlingInfoCQ.java

            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    CrawlingInfoCQ cf = new CrawlingInfoCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
                });
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsCrawlingInfoParamCQ.java

            queryLambda.callback(cq);
            final Collection<FilterFunctionBuilder> list = new ArrayList<>();
            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    CrawlingInfoParamCQ cf = new CrawlingInfoParamCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
                });
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 36K bytes
    - Viewed (0)
Back to top