Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 3,211 for List (0.03 sec)

  1. guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testToArray_withNull() {
        List<@Nullable Double> list = Arrays.asList((double) 0, (double) 1, null);
        assertThrows(NullPointerException.class, () -> Doubles.toArray(list));
      }
    
      public void testToArray_withConversion() {
        double[] array = {(double) 0, (double) 1, (double) 2};
    
        List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      public void testToArray_withNull() {
        List<@Nullable Float> list = Arrays.asList((float) 0, (float) 1, null);
        assertThrows(NullPointerException.class, () -> Floats.toArray(list));
      }
    
      public void testToArray_withConversion() {
        float[] array = {(float) 0, (float) 1, (float) 2};
    
        List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2);
        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

        long[] array = {(long) 0, (long) 1};
        List<Long> list = Longs.asList(array);
        list.set(0, (long) 2);
        assertThat(array).isEqualTo(new long[] {(long) 2, (long) 1});
        array[1] = (long) 3;
        assertThat(list).containsExactly((long) 2, (long) 3).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
        long[] array = {(long) 0, (long) 1, (long) 2};
        List<Long> list = Longs.asList(array);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

        @SuppressWarnings("nullness")
        ListenableFuture<List<V>> nonNull = nullable;
        return nonNull;
      }
    
      /**
       * Creates a new {@code ListenableFuture} whose value is a list containing the values of all its
       * input futures, if all succeed.
       *
       * <p>The list of results is in the same order as the input list.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-oidc.sh

    ./mc cp ./lrgfile minio1/newbucket
    sleep 5
    ./mc stat --no-list minio2/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    ./mc stat --no-list minio3/newbucket
    if [ $? -ne 0 ]; then
    	echo "expecting bucket to be present. exiting.."
    	exit_1
    fi
    
    ./mc cp README.md minio2/newbucket/
    
    sleep 5
    ./mc stat --no-list minio1/newbucket/README.md
    if [ $? -ne 0 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. javadoc-stylesheet.css

        float:left;
        padding:0 0 5px 6px;
    }
    ul.navList, ul.subNavList {
        float:left;
        margin:0 25px 0 0;
        padding:0;
    }
    ul.navList li{
        list-style:none;
        float:left;
        padding:3px 6px;
    }
    ul.subNavList li{
        list-style:none;
        float:left;
        font-size:90%;
    }
    .topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 17 21:01:06 UTC 2013
    - 11.2K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      }
    
      private Striped<Lock> striped;
      private int[] stripes;
      private List<Integer> bulkGetSet;
    
      @BeforeExperiment
      void setUp() {
        this.striped = impl.get(numStripes);
        stripes = new int[numStripes];
        for (int i = 0; i < numStripes; i++) {
          stripes[i] = i;
        }
        List<Integer> asList = Ints.asList(stripes);
        Collections.shuffle(asList, new Random(0xdeadbeef));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.edges()).hasSize(NUM_EDGES);
          AbstractNetworkTest.validateNetwork(network);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      }
    
      private Striped<Lock> striped;
      private int[] stripes;
      private List<Integer> bulkGetSet;
    
      @BeforeExperiment
      void setUp() {
        this.striped = impl.get(numStripes);
        stripes = new int[numStripes];
        for (int i = 0; i < numStripes; i++) {
          stripes[i] = i;
        }
        List<Integer> asList = Ints.asList(stripes);
        Collections.shuffle(asList, new Random(0xdeadbeef));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/GraphMutationTest.java

          assertThat(graph.edges()).hasSize(NUM_EDGES);
          AbstractGraphTest.validateGraph(graph);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
Back to top