Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for eslint (0.26 sec)

  1. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testConcatUnmodifiable() {
        new IteratorTester<Integer>(
            5, UNMODIFIABLE, asList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            return Iterators.concat(
                asList(1).iterator(), Arrays.<Integer>asList().iterator(), asList(2).iterator());
          }
        }.test();
      }
    
      public void testConcatPartiallyAdvancedSecond() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

      public void testConcatUnmodifiable() {
        new IteratorTester<Integer>(
            5, UNMODIFIABLE, asList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
          protected Iterator<Integer> newTargetIterator() {
            return Iterators.concat(
                asList(1).iterator(), Arrays.<Integer>asList().iterator(), asList(2).iterator());
          }
        }.test();
      }
    
      public void testConcatPartiallyAdvancedSecond() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          fail();
        } catch (IllegalStateException expected2) {
        }
        try {
          ClosingFuture.whenAllComplete(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected1) {
        }
        try {
          ClosingFuture.whenAllSucceed(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          fail();
        } catch (IllegalStateException expected2) {
        }
        try {
          ClosingFuture.whenAllComplete(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected1) {
        }
        try {
          ClosingFuture.whenAllSucceed(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SetsTest.java

      private static final IteratorTester.KnownOrder KNOWN_ORDER =
          IteratorTester.KnownOrder.KNOWN_ORDER;
    
      private static final Collection<Integer> EMPTY_COLLECTION = Arrays.<Integer>asList();
    
      private static final Collection<Integer> SOME_COLLECTION = Arrays.asList(0, 1, 1);
    
      private static final Iterable<Integer> SOME_ITERABLE =
          new Iterable<Integer>() {
            @Override
            public Iterator<Integer> iterator() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Type[] typeArgs = ((ParameterizedType) fieldType.getType()).getActualTypeArguments();
        assertThat(typeArgs).asList().hasSize(1);
        TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0];
        assertThat(captured.getBounds()).asList().contains(Number.class);
        assertThat(captured.getBounds())
            .asList()
            .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        Type[] typeArgs = ((ParameterizedType) fieldType.getType()).getActualTypeArguments();
        assertThat(typeArgs).asList().hasSize(1);
        TypeVariable<?> captured = (TypeVariable<?>) typeArgs[0];
        assertThat(captured.getBounds()).asList().contains(Number.class);
        assertThat(captured.getBounds())
            .asList()
            .containsNoneOf(Object.class, new TypeToken<Iterable<Number>>() {}.getType());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMap.java

          @Override
          public UnmodifiableIterator<Entry<K, V>> iterator() {
            return asList().iterator();
          }
    
          @Override
          public Spliterator<Entry<K, V>> spliterator() {
            return asList().spliterator();
          }
    
          @Override
          public void forEach(Consumer<? super Entry<K, V>> action) {
            asList().forEach(action);
          }
    
          @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  9. configure.py

    import argparse
    import errno
    import glob
    import json
    import os
    import platform
    import re
    import subprocess
    import sys
    
    # pylint: disable=g-import-not-at-top
    try:
      from shutil import which
    except ImportError:
      from distutils.spawn import find_executable as which
    # pylint: enable=g-import-not-at-top
    
    _DEFAULT_CUDA_VERSION = '11'
    _DEFAULT_CUDNN_VERSION = '2'
    _DEFAULT_TENSORRT_VERSION = '6'
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  10. istioctl/pkg/describe/describe.go

    			if len(matchingServices) == 0 && !ignoreUnmeshed {
    				fmt.Fprintf(cmd.OutOrStdout(),
    					"Warning: No Kubernetes Services select pod %s (see https://istio.io/docs/setup/kubernetes/additional-setup/requirements/ )\n", // nolint: lll
    					kname(pod.ObjectMeta))
    			}
    			// TODO look for port collisions between services targeting this pod
    
    			kubeClient, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return err
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
Back to top