Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for freeze (0.17 sec)

  1. guava/src/com/google/common/base/CharMatcher.java

     *
     * <p>For up-to-date Unicode character properties (digit, letter, etc.) and support for
     * supplementary code points, use ICU4J UCharacter and UnicodeSet (freeze() after building). For
     * basic text processing based on UnicodeSet use the ICU4J UnicodeSetSpanner.
     *
     * <p>Example usages:
     *
     * <pre>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/Dispatcher.java

        // a multithreaded environment for a couple of reasons:
        //
        // 1. Subscribers to events posted on different threads can be interleaved with each other
        //    freely. (A event on one thread, B event on another could yield any of
        //    [a1, a2, a3, b1, b2], [a1, b2, a2, a3, b2], [a1, b2, b3, a2, a3], etc.)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Charsets.java

    import java.nio.charset.Charset;
    
    /**
     * Contains constant definitions for the six standard {@link Charset} instances, which are
     * guaranteed to be supported by all Java platform implementations.
     *
     * <p>Assuming you're free to choose, note that <b>{@link #UTF_8} is widely preferred</b>.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/StringsExplained#charsets">{@code Charsets}</a>.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          RunnableExecutorPair list;
          synchronized (this) {
            if (executed) {
              return;
            }
            executed = true;
            list = runnables;
            runnables = null; // allow GC to free listeners even if this stays around for a while.
          }
          while (list != null) {
            executeListener(list.runnable, list.executor);
            list = list.next;
          }
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Graphs.java

       */
      public static <N> boolean hasCycle(Graph<N> graph) {
        int numEdges = graph.edges().size();
        if (numEdges == 0) {
          return false; // An edge-free graph is acyclic by definition.
        }
        if (!graph.isDirected() && numEdges >= graph.nodes().size()) {
          return true; // Optimization for the undirected case: at least one cycle must exist.
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/DoubleMath.java

      public static boolean fuzzyEquals(double a, double b, double tolerance) {
        MathPreconditions.checkNonNegative("tolerance", tolerance);
        return Math.copySign(a - b, 1.0) <= tolerance
            // copySign(x, 1.0) is a branch-free version of abs(x), but with different NaN semantics
            || (a == b) // needed to ensure that infinities equal themselves
            || (Double.isNaN(a) && Double.isNaN(b));
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * in no particular order.
       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
       * returned array.
       *
       * <p>This method acts as bridge between array-based and collection-based APIs.
       *
       * @return an array containing all of the elements in this queue
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

     *
     * <p>For up-to-date Unicode character properties (digit, letter, etc.) and support for
     * supplementary code points, use ICU4J UCharacter and UnicodeSet (freeze() after building). For
     * basic text processing based on UnicodeSet use the ICU4J UnicodeSetSpanner.
     *
     * <p>Example usages:
     *
     * <pre>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    it hurried off, without waiting for the end of the song.
    
      `What trial is it?' Alice panted as she ran; but the Gryphon
    only answered `Come on!' and ran the faster, while more and more
    faintly came, carried on the breeze that followed them, the
    melancholy words:--
    
        `Soo--oop of the e--e--evening,
            Beautiful, beautiful Soup!'
    
    
    
                               CHAPTER XI
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
Back to top