Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2401 - 2410 of 3,894 for Final (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

    public class LongMathRoundingBenchmark {
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonzero = new long[ARRAY_SIZE];
      private static final long[] longs = new long[ARRAY_SIZE];
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/NaturalOrdering.java

    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that uses the natural order of the values. */
    @GwtCompatible
    final class NaturalOrdering extends Ordering<Comparable<?>> implements Serializable {
      static final NaturalOrdering INSTANCE = new NaturalOrdering();
    
      // TODO: b/287198172 - Consider eagerly initializing these (but think about serialization).
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    /**
     * Unit tests for {@link Multimaps} filtering methods.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // nottested
    @NullUnmarked
    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          entry ->
              !Objects.equals(entry.getKey(), "badkey") && !Objects.equals(entry.getValue(), 55556);
    
      protected Multimap<String, Integer> create() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            });
        }
    
        // Helper class for testing with concrete NetbiosName implementation
        private class TestNetbiosName implements NetbiosName {
            private final String name;
            private final int type;
            private final String scope;
    
            TestNetbiosName(String name, int type, String scope) {
                // Ensure names are uppercase and limited to 15 characters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      public B withTearDown(Runnable tearDown) {
        this.tearDown = tearDown;
        return self();
      }
    
      public Runnable getTearDown() {
        return tearDown;
      }
    
      // Features
    
      private final Set<Feature<?>> features = new LinkedHashSet<>();
    
      /**
       * Configures this builder to produce tests appropriate for the given features. This method may be
       * called more than once to add features in multiple groups.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

            });
        }
    
        private static class DeduplicatePackageInfoFiles implements Spec<File> {
    
            private final Pattern pattern = Pattern.compile("package\\s*([^;\\s]+)\\s*;");
    
            private final Set<String> packagesSeenBefore = new HashSet<>();
            private final Set<File> canonicalPackageInfos = new HashSet<>();
    
            @Override
            public boolean isSatisfiedBy(File file) {
                try {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 02 14:18:24 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

        private void assertFoundDeadJavadocLinks(File file, String... paths) {
            assertFoundDeadLinks(paths.collect { DeadLink.forJavadoc(file, it) })
        }
    
        private static final class DeadLink {
            private final File file
            private final String message
    
            DeadLink(File file, String message) {
                this.file = file
                this.message = message
            }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Aug 21 16:24:54 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbResourceLocatorTest.java

         * happy-path expectations deterministic.
         */
        private static class DummySmbResourceLocator implements SmbResourceLocator {
            private final String urlStr;
            private final String host;
            private final String path;
            private final String canonical;
            private DfsReferralData dfsReferral;
    
            DummySmbResourceLocator(String urlStr) throws MalformedURLException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTester.java

     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    @NullUnmarked
    public class CharSourceTester extends SourceSinkTester<CharSource, String, CharSourceFactory> {
    
      private static final ImmutableList<Method> testMethods = getTestMethods(CharSourceTester.class);
    
      static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) {
        TestSuite suite = new TestSuite(name);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       */
      @LazyInit
      private @Nullable ImmutableCollection<? extends ListenableFuture<? extends InputT>> futures;
    
      private final boolean allMustSucceed;
      private final boolean collectsValues;
    
      AggregateFuture(
          ImmutableCollection<? extends ListenableFuture<? extends InputT>> futures,
          boolean allMustSucceed,
          boolean collectsValues) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top