Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for margin (0.17 sec)

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

    import java.util.concurrent.Executors;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
          new Runnable() {
            @Override
            public void run() {
              completed = true;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     *
     * <p>This class only provides testing utilities. It is not designed for direct use in production or
     * for benchmarking.
     *
     * @author mike nonemacher
     * @author Martin Buchholz
     * @since 11.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @J2ObjCIncompatible // gc
    @ElementTypesAreNonnullByDefault
    public final class GcFinalization {
      private GcFinalization() {}
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link FluentIterable}.
     *
     * @author Marcin Mikosik
     */
    @GwtCompatible(emulated = true)
    public class FluentIterableTest extends TestCase {
    
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 17:32:08 GMT 2023
    - 30.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        } catch (SecurityException e) {
          generateCancellationCauses = false;
        }
        GENERATE_CANCELLATION_CAUSES = generateCancellationCauses;
      }
    
      /**
       * Tag interface marking trusted subclasses. This enables some optimizations. The implementation
       * of this interface must also be an AbstractFuture and must not override or expose for overriding
       * any of the public methods of ListenableFuture.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

    /*
     * Written by Doug Lea and Martin Buchholz with assistance from
     * 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)
     */
    
    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)
  6. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link GcFinalization}.
     *
     * @author Martin Buchholz
     * @author mike nonemacher
     */
    @AndroidIncompatible // depends on details of gc
    
    public class GcFinalizationTest extends TestCase {
    
      // ----------------------------------------------------------------
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

    import java.util.concurrent.atomic.AtomicBoolean;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link GcFinalization}.
     *
     * @author Martin Buchholz
     * @author mike nonemacher
     */
    @AndroidIncompatible // depends on details of gc
    
    public class GcFinalizationTest extends TestCase {
    
      // ----------------------------------------------------------------
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
          new Runnable() {
            @Override
            public void run() {
              completed = true;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/SplitterTest.java

        String jacksons =
            "arfo(Marlon)aorf, (Michael)orfa, afro(Jackie)orfa, " + "ofar(Jemaine), aff(Tito)";
        Iterable<String> family =
            COMMA_SPLITTER
                .trimResults(CharMatcher.anyOf("afro").or(CharMatcher.whitespace()))
                .split(jacksons);
        assertThat(family)
            .containsExactly("(Marlon)", "(Michael)", "(Jackie)", "(Jemaine)", "(Tito)")
            .inOrder();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FluentIterable.java

     *         .stream()
     *         .filter(Client::isActiveInLastMonth)
     *         .map(Object::toString)
     *         .limit(10)
     *         .collect(Collectors.toList());
     * }</pre>
     *
     * @author Marcin Mikosik
     * @since 12.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public abstract class FluentIterable<E extends @Nullable Object> implements Iterable<E> {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
Back to top