Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Berner (0.15 sec)

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

              } catch (CancellationException e) {
                assertTrue(merger == Merger.allMerger);
                inputs.assertHasImmediateCancel(iFuture, jFuture, e);
              } catch (ExecutionException e) {
                assertTrue(merger == Merger.allMerger);
                inputs.assertHasImmediateFailure(iFuture, jFuture, e);
              } catch (TimeoutException e) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java

     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Runnables}.
     *
     * @author Olivier Pernet
     */
    @GwtCompatible
    public class RunnablesTest extends TestCase {
      public void testDoNothingRunnableIsSingleton() {
        assertSame(Runnables.doNothing(), Runnables.doNothing());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 986 bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteStreams.java

       *       then sequentially accessing it could result in other processes dying. This is solvable
       *       via madvise(2), but that obviously doesn't exist in java.
       *   <li>Ordinary copy. Kernel copies bytes into a kernel buffer, from a kernel buffer into a
       *       userspace buffer (byte[] or ByteBuffer), then copies them from that buffer into the
       *       destination channel.
       * </ol>
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/HostSpecifierTest.java

    /**
     * {@link TestCase} for {@link HostSpecifier}. This is a relatively cursory test, as HostSpecifier
     * is a thin wrapper around {@link InetAddresses} and {@link InternetDomainName}; the unit tests for
     * those classes explore numerous corner cases. The intent here is to confirm that everything is
     * wired up properly.
     *
     * @author Craig Berry
     */
    public final class HostSpecifierTest extends TestCase {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 18 15:33:20 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * that could call it, nor exposed this Future for users to call cancel() on).
         */
        requireNonNull(futures);
    
        // Corner case: List is empty.
        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              } catch (CancellationException e) {
                assertTrue(merger == Merger.allMerger);
                inputs.assertHasImmediateCancel(iFuture, jFuture, e);
              } catch (ExecutionException e) {
                assertTrue(merger == Merger.allMerger);
                inputs.assertHasImmediateFailure(iFuture, jFuture, e);
              } catch (TimeoutException e) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/JdkBackedImmutableMap.java

    package com.google.common.collect;
    
    import java.util.Map;
    
    /**
     * GWT emulation of {@link JdkBackedImmutableMap}. Never used, but must exist so that the client is
     * willing to deserialize maps that were this type on the server.
     */
    @ElementTypesAreNonnullByDefault
    final class JdkBackedImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
      JdkBackedImmutableMap(Map<? extends K, ? extends V> delegate) {
        super(delegate);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     * when appropriate and {@link #awaitHealthy} will still work as expected.
     *
     * <p>Here is a simple example of how to use a {@code ServiceManager} to start a server.
     *
     * <pre>{@code
     * class Server {
     *   public static void main(String[] args) {
     *     Set<Service> services = ...;
     *     ServiceManager manager = new ServiceManager(services);
     *     manager.addListener(new Listener() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java

     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    
    /**
     * Unit tests for {@link Runnables}.
     *
     * @author Olivier Pernet
     */
    @GwtCompatible
    public class RunnablesTest extends TestCase {
      public void testDoNothingRunnableIsSingleton() {
        assertSame(Runnables.doNothing(), Runnables.doNothing());
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Sep 15 13:47:32 GMT 2016
    - 986 bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingImmutableCollection.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Dummy class that makes the GWT serialization policy happy. It isn't used on the server-side.
     *
     * @author Hayward Chan
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    class ForwardingImmutableCollection {
      private ForwardingImmutableCollection() {}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 972 bytes
    - Viewed (0)
Back to top