Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 565 for _new (0.15 sec)

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

      public void testRotate() {
        testRotate(new boolean[] {}, -1, new boolean[] {});
        testRotate(new boolean[] {}, 0, new boolean[] {});
        testRotate(new boolean[] {}, 1, new boolean[] {});
    
        testRotate(new boolean[] {true}, -2, new boolean[] {true});
        testRotate(new boolean[] {true}, -1, new boolean[] {true});
        testRotate(new boolean[] {true}, 0, new boolean[] {true});
        testRotate(new boolean[] {true}, 1, new boolean[] {true});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testRotate() {
        testRotate(new boolean[] {}, -1, new boolean[] {});
        testRotate(new boolean[] {}, 0, new boolean[] {});
        testRotate(new boolean[] {}, 1, new boolean[] {});
    
        testRotate(new boolean[] {true}, -2, new boolean[] {true});
        testRotate(new boolean[] {true}, -1, new boolean[] {true});
        testRotate(new boolean[] {true}, 0, new boolean[] {true});
        testRotate(new boolean[] {true}, 1, new boolean[] {true});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        testRotate(new short[] {1, 2}, -3, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, -2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 0, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 1, new short[] {2, 1});
        testRotate(new short[] {1, 2}, 2, new short[] {1, 2});
        testRotate(new short[] {1, 2}, 3, new short[] {2, 1});
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        testRotate(new float[] {1, 2}, -3, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, -2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 0, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 1, new float[] {2, 1});
        testRotate(new float[] {1, 2}, 2, new float[] {1, 2});
        testRotate(new float[] {1, 2}, 3, new float[] {2, 1});
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/ToStringHelperTest.java

        Object unused1 = new Object() {};
        Object unused2 = new Object() {};
        Object unused3 = new Object() {};
        Object unused4 = new Object() {};
        Object unused5 = new Object() {};
        Object unused6 = new Object() {};
        Object unused7 = new Object() {};
        Object unused8 = new Object() {};
        Object unused9 = new Object() {};
        Object o10 = new Object() {};
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTest(
            NavigableMapTestSuiteBuilder.using(
                    new TestStringSortedMapGenerator() {
                      @Override
                      protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                        SafeTreeMap<String, String> map = new SafeTreeMap<>();
                        putEntries(map, entries);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null);
          segment.setValueForTesting(entryOne, valueOne);
    
          Object keyTwo = new Object();
          Object valueTwo = new Object();
          int hashTwo = map.hash(keyTwo);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          Object keyOne = new Object();
          Object valueOne = new Object();
          int hashOne = map.hash(keyOne);
          InternalEntry<Object, Object, ?> entryOne = segment.newEntryForTesting(keyOne, hashOne, null);
          segment.setValueForTesting(entryOne, valueOne);
    
          Object keyTwo = new Object();
          Object valueTwo = new Object();
          int hashTwo = map.hash(keyTwo);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        final RecordingSubscriberExceptionHandler handler = new RecordingSubscriberExceptionHandler();
        final EventBus eventBus = new EventBus(handler);
        final RuntimeException exception =
            new RuntimeException("but culottes have a tendancy to ride up!");
        final Object subscriber =
            new Object() {
              @Subscribe
              public void throwExceptionOn(String message) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        final RecordingSubscriberExceptionHandler handler = new RecordingSubscriberExceptionHandler();
        final EventBus eventBus = new EventBus(handler);
        final RuntimeException exception =
            new RuntimeException("but culottes have a tendancy to ride up!");
        final Object subscriber =
            new Object() {
              @Subscribe
              public void throwExceptionOn(String message) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top