Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Slavin (0.81 sec)

  1. android/guava/src/com/google/common/collect/ImmutableCollection.java

       * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as
       * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would
       * require its own suppression, since it is also unsound. toArray(T[]) is just a mess from a
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

            .addEqualityGroup(
                MediaType.create("text", "plain"),
                MediaType.create("TEXT", "PLAIN"),
                MediaType.parse("text/plain"),
                MediaType.parse("TEXT/PLAIN"),
                MediaType.parse("text /plain"),
                MediaType.parse("TEXT/ plain"),
                MediaType.parse("text / plain"),
                MediaType.create("text", "plain").withParameter("a", "1").withoutParameters())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
       *
       * <p>In contrast, a plain call to {@link java.lang.System#gc()} does not ensure finalization
       * processing and may run concurrently, for example, if the JVM flag {@code
       * -XX:+ExplicitGCInvokesConcurrent} is used.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

           *
           * (And I don't believe there's any situation in which we call x.combine(y) when x is a plain
           * ImmutableSet.Builder but y is an ImmutableSortedSet.Builder (or vice versa). Certainly
           * ImmutableSortedSet.Builder.combine() is written as if its argument will never be a plain
           * ImmutableSet.Builder: It casts immediately to ImmutableSortedSet.Builder.)
           */
          copyIfNecessary();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Joiner.java

         *
         * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
         * and Joiner.on(...).useForNull(...) both declare the same return type: plain Joiner. To ensure
         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

        }
      }
    
      /**
       * Returns a {@link Collection} of all the permutations of the specified {@link Collection}.
       *
       * <p><i>Notes:</i> This is an implementation of the Plain Changes algorithm for permutations
       * generation, described in Knuth's "The Art of Computer Programming", Volume 4, Chapter 7,
       * Section 7.2.1.2.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

     * Benchmarks (as of December 2011) show that:
     *
     * <ul>
     *   <li>for an unnested {@code lock()} and {@code unlock()}, a cycle detecting lock takes 38ns as
     *       opposed to the 24ns taken by a plain lock.
     *   <li>for nested locking, the cost increases with the depth of the nesting:
     *       <ul>
     *         <li>2 levels: average of 64ns per lock()/unlock()
     *         <li>3 levels: average of 77ns per lock()/unlock()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      /*
       * Tests that we workaround GWT bug #3621 (or that it is already fixed).
       *
       * A call to of() with a parameter that is not a plain Object[] (here,
       * Interface[]) creates a RegularImmutableSortedSet backed by an array of that
       * type. Later, RegularImmutableSortedSet.toArray() calls System.arraycopy()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/net/MediaTypeTest.java

            .addEqualityGroup(
                MediaType.create("text", "plain"),
                MediaType.create("TEXT", "PLAIN"),
                MediaType.parse("text/plain"),
                MediaType.parse("TEXT/PLAIN"),
                MediaType.parse("text /plain"),
                MediaType.parse("TEXT/ plain"),
                MediaType.parse("text / plain"),
                MediaType.create("text", "plain").withParameter("a", "1").withoutParameters())
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

             * However, we don't expose currentFuture to users, so they can't attach listeners. And the
             * Future might not even be a ListenableFuture, just a plain Future. That said, similar
             * problems can exist with methods like FutureTask.done(), not to mention slow calls to
             * Thread.interrupt() (as discussed in InterruptibleTask). At the end of the day, it's
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top