Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for xargs (0.17 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-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          return arguments.get(position);
        }
    
        final void calledWith(Object... args) {
          for (int i = 0; i < args.length; i++) {
            if (args[i] != null) {
              arguments.put(i, args[i]);
            }
          }
          for (Object arg : args) {
            checkNotNull(arg); // to fulfill null check
          }
        }
      }
    
      private enum Gender {
        MALE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

              @Override
              @CheckForNull
              public Object invoke(Object obj, Method method, @CheckForNull @Nullable Object[] args)
                  throws Throwable {
                Callable<@Nullable Object> callable =
                    () -> {
                      try {
                        return method.invoke(target, args);
                      } catch (InvocationTargetException e) {
                        throw throwCause(e, false /* combineStackTraces */);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 27 14:21:11 GMT 2023
    - 9.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava/src/com/google/common/base/Preconditions.java

       * RangeCheckMicroBenchmark in the JDK that was used to test this.
       *
       * But the methods in this class want to throw different exceptions, depending on the args, so it
       * appears that this pattern is not directly applicable. But we can use the ridiculous, devious
       * trick of throwing an exception in the middle of the construction of another exception. Hotspot
       * is fine with that.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        npTester.testAllPublicStaticMethods(ThreadFactoryBuilder.class);
        npTester.testAllPublicInstanceMethods(builder);
      }
    
      private static String rootLocaleFormat(String format, Object... args) {
        return String.format(Locale.ROOT, format, args);
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        System.runFinalization();
      }
    
      private static RuntimeException formatRuntimeException(String format, Object... args) {
        return new RuntimeException(String.format(Locale.ROOT, format, args));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top