Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for layout (0.18 sec)

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

          T result = valueOrNull;
          valueOrNull = null;
          // We put the common case first, even though it's unlikely to matter if the code is run much:
          // https://shipilev.net/jvm/anatomy-quarks/28-frequency-based-code-layout/
          if (result != null) {
            return result;
          }
          throw new NoSuchElementException();
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

     *   <li>element extraction methods which facilitate the retrieval of certain elements (for example
     *       {@link #last})
     *   <li>query methods which answer questions about the {@code FluentIterable}'s contents (for
     *       example {@link #anyMatch})
     *   <li>conversion methods which copy the {@code FluentIterable}'s contents into a new collection
     *       or array (for example {@link #toList})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultisetGwtSerializationDependencies.java

    /**
     * A dummy superclass to support GWT serialization of the element type of an {@link
     * ImmutableMultiset}. The GWT supersource for this class contains a field of type {@code E}.
     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
     * approach but with a subclass rather than a superclass.
     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 01 22:07:10 GMT 2021
    - 1.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/MapIteratorCache.java

       * the entry was returned by the iterator, except through the setValue operation on the map entry"
       * As such, this field must be cleared before every map mutation.
       *
       * Note about volatile: volatile doesn't make it safe to read from a mutable graph in one thread
       * while writing to it in another. All it does is help with _reading_ from multiple threads
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Oct 06 00:47:57 GMT 2021
    - 4.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/SipHashFunction.java

        private final int d;
    
        // Four 64-bit words of internal state.
        // The initial state corresponds to the ASCII string "somepseudorandomlygeneratedbytes",
        // big-endian encoded. There is nothing special about this value; the only requirement
        // was some asymmetry so that the initial v0 and v1 differ from v2 and v3.
        private long v0 = 0x736f6d6570736575L;
        private long v1 = 0x646f72616e646f6dL;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/Dispatcher.java

      private static final class LegacyAsyncDispatcher extends Dispatcher {
    
        // This dispatcher matches the original dispatch behavior of AsyncEventBus.
        //
        // We can't really make any guarantees about the overall dispatch order for this dispatcher in
        // a multithreaded environment for a couple of reasons:
        //
        // 1. Subscribers to events posted on different threads can be interleaved with each other
    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)
  7. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
        Reader reader = concatenated.openStream(); // no need to worry about closing
        for (int i = 0; i < 8; i++) {
          builder.append((char) reader.read());
        }
        assertEquals(expected, builder.toString());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     *       public void finalizeReferent() {
     *         references.remove(this):
     *         if (!serverSocket.isClosed()) {
     *           ...log a message about how nobody called close()...
     *           try {
     *             serverSocket.close();
     *           } catch (IOException e) {
     *             ...
     *           }
     *         }
     *       }
     *     };
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

         * zero bytes (3 ints), while the BYTE_TABLE is for advancing one byte at a time.
         * This algorithm is due to the paper "Everything we know about CRC but [are] afraid to forget"
         * by Kadatch and Jenkins, 2010.
         */
    
        Crc32cHasher() {
          super(16);
        }
    
        private boolean finished = false;
    
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 21.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

     *       public void finalizeReferent() {
     *         references.remove(this):
     *         if (!serverSocket.isClosed()) {
     *           ...log a message about how nobody called close()...
     *           try {
     *             serverSocket.close();
     *           } catch (IOException e) {
     *             ...
     *           }
     *         }
     *       }
     *     };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top