Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for src (0.23 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

     * members of JCP JSR-166 Expert Group and released to the public
     * domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck-jsr166e/AtomicDoubleTest.java?revision=1.8
     * (Modified to adapt to guava coding conventions)
     */
    
    package com.google.common.util.concurrent;
    
    import static java.lang.Math.max;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 10.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

     * members of JCP JSR-166 Expert Group and released to the public
     * domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/extra/AtomicDouble.java?revision=1.13
     * (Modified to adapt to guava coding conventions and
     * to use AtomicLong instead of sun.misc.Unsafe)
     */
    
    package com.google.common.util.concurrent;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 28 21:00:54 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Striped64.java

     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/Striped64.java?revision=1.9
     */
    
    package com.google.common.hash;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Random;
    import javax.annotation.CheckForNull;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    /*
     * Portions of this file are modified versions of
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/AbstractExecutorServiceTest.java?revision=1.30
     * which contained the following notice:
     *
     * Written by Doug Lea with assistance from members of JCP JSR-166
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (3)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

    public class MonitorBasedPriorityBlockingQueue<E> extends AbstractQueue<E>
        implements BlockingQueue<E> {
    
      // Based on revision 1.55 of PriorityBlockingQueue by Doug Lea, from
      // http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/
    
      private static final long serialVersionUID = 5595510919245408276L;
    
      final PriorityQueue<E> q;
      final Monitor monitor = new Monitor(true);
      private final Monitor.Guard notEmpty =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

    public class MonitorBasedArrayBlockingQueue<E> extends AbstractQueue<E>
        implements BlockingQueue<E> {
    
      // Based on revision 1.58 of ArrayBlockingQueue by Doug Lea, from
      // http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/
    
      /** The queued items */
      final E[] items;
      /** items index for next take, poll or remove */
      int takeIndex;
      /** items index for next put, offer, or add. */
      int putIndex;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

    public class MonitorBasedArrayBlockingQueue<E> extends AbstractQueue<E>
        implements BlockingQueue<E> {
    
      // Based on revision 1.58 of ArrayBlockingQueue by Doug Lea, from
      // http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/
    
      /** The queued items */
      final E[] items;
      /** items index for next take, poll or remove */
      int takeIndex;
      /** items index for next put, offer, or add. */
      int putIndex;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

      }
    
      public void testLinkedPutAllMultimap() {
        Multimap<String, Integer> src = create();
        src.put("bar", 1);
        src.put("foo", 2);
        src.put("bar", 3);
        Multimap<String, Integer> dst = create();
        dst.putAll(src);
        assertEquals("{bar=[1, 3], foo=[2]}", dst.toString());
        assertEquals("[bar=1, foo=2, bar=3]", src.entries().toString());
      }
    
      public void testLinkedReplaceValues() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

                return murmur3_32(seed).hashBytes(input).asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
        HashTestUtils.verifyHashFunction(hf, 32, 0xB0F57EE3);
      }
    
      public void testParanoid() {
        HashFn hf =
            new HashFn() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

      /*
       * Ideally, this class would have exposed only constructors that require a non-null cause. See
       * https://github.com/jspecify/jspecify-reference-checker/blob/61aafa4ae52594830cfc2d61c8b113009dbdb045/src/main/java/com/google/jspecify/nullness/NullSpecTransfer.java#L789
       * and https://github.com/jspecify/jspecify/issues/490.
       *
       * (Perhaps it should also have required that its cause was a RuntimeException. However, that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top