Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Garg (0.24 sec)

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

          Parameter param = params.get(i);
          Object arg = args.get(i);
          // Use new fresh value generator because 'args' were populated with new fresh generator each.
          // Two newFreshValueGenerator() instances should normally generate equal value sequence.
          Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator());
          if (arg != shouldBeEqualArg
              && Objects.equal(arg, shouldBeEqualArg)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/message/MessageFormatter.java

            if (args == null || args.length == 0) {
                return "";
            }
            final StringBuilder buffer = new StringBuilder();
            for (final Object arg : args) {
                buffer.append(arg + ", ");
            }
            buffer.setLength(buffer.length() - ", ".length());
            return new String(buffer);
        }
    
        /**
         * 初期化します。
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     *       garbage collection, <strong>AND</strong> this stream was not constructed with {@linkplain
     *       #FileBackedOutputStream(int) the 1-arg constructor} or the {@linkplain
     *       #FileBackedOutputStream(int, boolean) 2-arg constructor} passing {@code false} in the
     *       second parameter.
     * </ul>
     *
     * <p>This class is thread-safe.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

      static <C, E extends @Nullable Object, R extends Iterable<E>>
          BiPredicate<C, C> pairwiseOnResultOf(Function<C, R> arg) {
        Equivalence<C> equivalence = Equivalence.equals().<E>pairwise().onResultOf(arg);
        return equivalence::equivalent;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(reserialized, substitute(reserialized, String.class));
      }
    
      private static <T, X> TypeToken<T> substitute(TypeToken<T> type, Class<X> arg) {
        return type.where(new TypeParameter<X>() {}, arg);
      }
    
      private abstract static class ToReproduceGenericSignatureFormatError<V> {
        private abstract class BaseOuter {
          abstract class BaseInner {}
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            };
      }
    
      /**
       * Very rough equivalent of a timed get, produced by calling the no-arg get method in another
       * thread and waiting a short time for it.
       *
       * <p>We need this to test the behavior of no-arg get methods without hanging the main test thread
       * forever in the case of failure.
       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

        }
    
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent) {
                ExecutionEvent ee = (ExecutionEvent) arg;
                InternalMavenSession session =
                        InternalMavenSession.from(ee.getSession().getSession());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

          Parameter param = params.get(i);
          Object arg = args.get(i);
          // Use new fresh value generator because 'args' were populated with new fresh generator each.
          // Two newFreshValueGenerator() instances should normally generate equal value sequence.
          Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator());
          if (arg != shouldBeEqualArg
              && Objects.equal(arg, shouldBeEqualArg)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            }
            return (T) arg;
        }
    
        private Object convertPrimitiveWrapper(final Object arg) {
            return NumberConversionUtil.convertPrimitiveWrapper(propertyType, arg);
        }
    
        private Object convertNumber(final Object arg) {
            return NumberConversionUtil.convertNumber(propertyType, arg);
        }
    
        private Object convertDate(final Object arg) {
            if (propertyType == java.util.Date.class) {
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PythonJob.java

        protected List<String> argList = new ArrayList<>();
    
        public PythonJob filename(final String filename) {
            this.filename = filename;
            return this;
        }
    
        public PythonJob arg(final String value) {
            argList.add(value);
            return this;
        }
    
        public PythonJob args(final String... values) {
            stream(values).of(stream -> stream.forEach(argList::add));
            return this;
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top