Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 461 for Murray (0.17 sec)

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

      }
    
      public void testCreation_emptyArray() {
        String[] array = new String[0];
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_arrayOfOneElement() {
        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

      }
    
      public void testZeros() {
        // Test 32 byte array of 0x00.
        byte[] zeros = new byte[32];
        assertCrc(0x8a9136aa, zeros);
      }
    
      public void testZeros100() {
        // Test 100 byte array of 0x00.
        byte[] zeros = new byte[100];
        assertCrc(0x07cb9ff6, zeros);
      }
    
      public void testFull() {
        // Test 32 byte array of 0xFF.
        byte[] fulls = new byte[32];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 23 18:30:33 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
      protected abstract BiMap<String, String> create(Entry<String, String>[] entries);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        @SuppressWarnings("unchecked") // Trying to test generic array
        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
        TypeToken<ImmutableList<Integer>[]> type = new TypeToken<ImmutableList<Integer>[]>() {};
        ImmutableTypeToInstanceMap<Iterable<?>[]> map =
            ImmutableTypeToInstanceMap.<Iterable<?>[]>builder().put(type, array).build();
        assertEquals(1, map.size());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTest.java

          assertThat(stats.count()).isEqualTo(stream(array).count());
          assertEquivalent(stats.mean(), stream(array).average().getAsDouble());
          assertEquivalent(stats.sum(), stream(array).sum());
          assertEquivalent(stats.max(), stream(array).max().getAsDouble());
          assertEquivalent(stats.min(), stream(array).min().getAsDouble());
          // static method on Stats vs on instance method on DoubleStream
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/IntsMethodsForWeb.java

    public abstract class IntsMethodsForWeb {
    
      @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL)
      public static native int min(int... array);
    
      @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL)
      public static native int max(int... array);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Oct 26 00:50:12 GMT 2023
    - 1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

      }
    
      public void testCreation_emptyArray() {
        String[] array = new String[0];
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_arrayOfOneElement() {
        String[] array = new String[] {"a"};
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java

          default:
            return new RegularImmutableAsList<E>(this, toArray());
        }
      }
    
      /** If this collection is backed by an array of its elements in insertion order, returns it. */
      Object @Nullable [] internalArray() {
        return null;
      }
    
      /**
       * If this collection is backed by an array of its elements in insertion order, returns the offset
       * where this collection's elements start.
       */
      int internalArrayStart() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      }
    
      /** constructor creates array of given size with all elements zero */
      public void testConstructor() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          assertBitEquals(0.0, aa.get(i));
        }
      }
    
      /** constructor with null array throws NPE */
      public void testConstructor2NPE() {
        double[] a = null;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java

          return new SampleLongs();
        }
    
        @Override
        public List<Long> create(Object... elements) {
          Long[] array = new Long[elements.length];
          int i = 0;
          for (Object e : elements) {
            array[i++] = (Long) e;
          }
          return create(array);
        }
    
        /**
         * Creates a new collection containing the given elements; implement this method instead of
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top