Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 1,116 for signal (0.04 sec)

  1. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

    import java.util.Random;
    
    /**
     * Benchmarks for the ASCII class.
     *
     * @author Kevin Bourrillion
     */
    public class AsciiBenchmark {
      private static final String ALPHA = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
      private static final String NONALPHA = "0123456789`~-_=+[]{}|;:',.<>/?!@#$%^&*()\"\\";
    
      @Param({"20", "2000"})
      int size;
    
      @Param({"2", "20"})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/ReflectionFreeAssertThrows.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Replacements for JUnit's {@code assertThrows} that work under GWT/J2CL. */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class ReflectionFreeAssertThrows {
      interface ThrowingRunnable {
        void run() throws Throwable;
      }
    
      interface ThrowingSupplier {
        @Nullable Object get() throws Throwable;
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

    abstract class AbstractDirectedNetworkConnections<N, E> implements NetworkConnections<N, E> {
      /** Keys are edges incoming to the origin node, values are the source node. */
      final Map<E, N> inEdgeMap;
    
      /** Keys are edges outgoing from the origin node, values are the target node. */
      final Map<E, N> outEdgeMap;
    
      private int selfLoopCount;
    
      AbstractDirectedNetworkConnections(Map<E, N> inEdgeMap, Map<E, N> outEdgeMap, int selfLoopCount) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  5. docs/features/interceptors.md

    ```java
    /** This interceptor compresses the HTTP request body. Many webservers can't handle this! */
    final class GzipRequestInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request originalRequest = chain.request();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

            .withSetUp(parentBuilder.getSetUp())
            .withTearDown(parentBuilder.getTearDown())
            .createTestSuite();
      }
    
      static class ElementSetGenerator<E> implements TestSetGenerator<E> {
        final OneSizeTestContainerGenerator<Collection<E>, E> gen;
    
        ElementSetGenerator(OneSizeTestContainerGenerator<Collection<E>, E> gen) {
          this.gen = gen;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

     * DNS resolvable hosts.
     */
    
    public class UniAddress {
    
        private static final int RESOLVER_WINS    = 0;
        private static final int RESOLVER_BCAST   = 1;
        private static final int RESOLVER_DNS     = 2;
        private static final int RESOLVER_LMHOSTS = 3;
    
        private static int[] resolveOrder;
        private static InetAddress baddr;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TopKSelector.java

      }
    
      private final int k;
      private final Comparator<? super T> comparator;
    
      /*
       * We are currently considering the elements in buffer in the range [0, bufferSize) as candidates
       * for the top k elements. Whenever the buffer is filled, we quickselect the top k elements to the
       * range [0, k) and ignore the remaining elements.
       */
      private final @Nullable T[] buffer;
      private int bufferSize;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        assertThat(fluent(1, 3, 5).copyInto(newHashSet(1, 2, 3, 5))).containsExactly(1, 2, 3, 5);
      }
    
      public void testCopyInto_nonCollection() {
        final ArrayList<Integer> list = Lists.newArrayList(1, 2, 3);
    
        final ArrayList<Integer> iterList = Lists.newArrayList(9, 8, 7);
        Iterable<Integer> iterable =
            new Iterable<Integer>() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableBiMap.java

        return new Builder<>(expectedSize);
      }
    
      /**
       * A builder for creating immutable bimap instances, especially {@code public static final} bimaps
       * ("constant bimaps"). Example:
       *
       * <pre>{@code
       * static final ImmutableBiMap<String, Integer> WORD_TO_INT =
       *     new ImmutableBiMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top