Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for kwargs (0.17 sec)

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

            assertWithMessage(x + ", " + y)
                .that(Math.signum(Ints.compare(i, j)))
                .isEqualTo(Math.signum(UnsignedBytes.compare(x, y)));
          }
        }
      }
    
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> UnsignedBytes.max());
      }
    
      public void testMax() {
        assertThat(UnsignedBytes.max(LEAST)).isEqualTo(LEAST);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

            throw new ParameterHasNoDistinctValueException(params.get(i));
          }
          newArgs.set(i, newArg);
          tester.addEqualityGroup(createInstance(factory, newArgs));
          argGroups.add(ImmutableList.of(newArgs));
        }
        tester.testEquals();
      }
    
      /**
       * Returns dummy factory arguments that are equal to {@code args} but may be different instances,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

            Type[] toArgs = toParameterizedType.getActualTypeArguments();
            checkArgument(
                fromArgs.length == toArgs.length,
                "%s not compatible with %s",
                fromParameterizedType,
                toParameterizedType);
            for (int i = 0; i < fromArgs.length; i++) {
              populateTypeMappings(mappings, fromArgs[i], toArgs[i]);
            }
          }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/exception/ClSQLException.java

        private final String messageCode;
    
        private final Object[] args;
    
        private final String sql;
    
        /**
         * {@link ClSQLException}を作成します。
         *
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数の並び
         */
        public ClSQLException(final String messageCode, final Object[] args) {
            this(messageCode, args, null, 0, null, null);
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

                    args[index] = ByteConversionUtil.toByte(args[index]);
                    return true;
                } else if (paramTypes[index] == short.class) {
                    args[index] = ShortConversionUtil.toShort(args[index]);
                    return true;
                } else if (paramTypes[index] == int.class) {
                    args[index] = IntegerConversionUtil.toInteger(args[index]);
                    return true;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java

        /** メッセージの引数 */
        protected final Object[] args;
    
        /**
         * {@link ClIllegalArgumentException}を作成します。
         *
         * @param argName
         *            引数の名前
         * @param messageCode
         *            メッセージコード
         * @param args
         *            引数の配列
         */
        public ClIllegalArgumentException(final String argName, final String messageCode, final Object[] args) {
            this(argName, messageCode, args, null);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java

    public class XslTransformer {
        public static void main(String[] args) throws TransformerException, IOException {
            if (args.length < 3 || args.length > 4) {
                throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]");
            }
            File stylesheet = new File(args[0]);
            File source = new File(args[1]);
            File dest = new File(args[2]);
            String destDir = "";
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Strings.java

      public static String lenientFormat(
          @CheckForNull String template, @CheckForNull @Nullable Object... args) {
        template = String.valueOf(template); // null -> "null"
    
        if (args == null) {
          args = new Object[] {"(Object[])null"};
        } else {
          for (int i = 0; i < args.length; i++) {
            args[i] = lenientToString(args[i]);
          }
        }
    
        // start substituting the arguments into the '%s' placeholders
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            }
            try {
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
                final SetObjectTagsArgs args =
                        SetObjectTagsArgs.builder().bucket(fessConfig.getStorageBucket()).object(objectName).tags(tags).build();
                createClient(fessConfig).setObjectTags(args);
            } catch (final Exception e) {
                throw new StorageException("Failed to update tags for " + objectName, e);
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  10. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          }
        }
      }
    
      public static void main(String[] args) throws IOException {
        if (args.length != 2) {
          System.out.println("Usage: Crawler <cache dir> <root>");
          return;
        }
    
        int threadCount = 20;
        long cacheByteCount = 1024L * 1024L * 100L;
    
        Cache cache = new Cache(new File(args[0]), cacheByteCount);
        OkHttpClient client = new OkHttpClient.Builder()
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 4.6K bytes
    - Viewed (0)
Back to top