Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for nargs (0.13 sec)

  1. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // Our distinct proxy doesn't work for collections.
              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

            int cmpAsUInt = UnsignedInts.compare((int) a, (int) b);
            assertThat(Integer.signum(cmpAsUInt)).isEqualTo(Integer.signum(cmpAsLongs));
          }
        }
      }
    
      public void testMax_noArgs() {
        try {
          UnsignedInts.max();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMax() {
        assertThat(UnsignedInts.max(LEAST)).isEqualTo(LEAST);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
          if (typeVariableMethod == null) {
            throw new UnsupportedOperationException(methodName);
          } else {
            try {
              return typeVariableMethod.invoke(typeVariableImpl, args);
            } catch (InvocationTargetException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //      */
      //     public static void main(String[] args) {
      //         if (useSecurityManager) {
      //             System.err.println("Setting a permissive security manager");
      //             Policy.setPolicy(permissivePolicy());
      //             System.setSecurityManager(new SecurityManager());
      //         }
      //         int iters = (args.length == 0) ? 1 : Integer.parseInt(args[0]);
    
      //         Test s = suite();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(
                Shorts.lastIndexOf(new short[] {(short) 2, (short) 3, (short) 2, (short) 3}, (short) 3))
            .isEqualTo(3);
      }
    
      @GwtIncompatible
      public void testMax_noArgs() {
        try {
          Shorts.max();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMax() {
        assertThat(Shorts.max(LEAST)).isEqualTo(LEAST);
    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)
  6. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

              .isEqualTo(0);
        }
        assertThat(Floats.lastIndexOf(new float[] {NaN, 5f}, NaN)).isEqualTo(-1);
      }
    
      @GwtIncompatible
      public void testMax_noArgs() {
        try {
          Floats.max();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMax() {
        assertThat(Floats.max(GREATEST)).isEqualTo(GREATEST);
    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)
  7. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        tester.testAllPublicStaticMethods(BigIntegerMath.class);
      }
    
      @GwtIncompatible // String.format
      private static void failFormat(String template, Object... args) {
        fail(String.format(template, args));
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        tester.testAllPublicStaticMethods(BigIntegerMath.class);
      }
    
      @GwtIncompatible // String.format
      private static void failFormat(String template, Object... args) {
        fail(String.format(template, args));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      public void testCreation_noArgs() {
        Multiset<String> multiset = ImmutableSortedMultiset.of();
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableSortedMultiset.of("a");
    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)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        return suite;
      }
    
      public void testCreation_noArgs() {
        Multiset<String> multiset = ImmutableSortedMultiset.of();
        assertTrue(multiset.isEmpty());
      }
    
      public void testCreation_oneElement() {
        Multiset<String> multiset = ImmutableSortedMultiset.of("a");
    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)
Back to top