- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 246 for convErr (0.06 sec)
-
android/guava-tests/test/com/google/common/base/ConverterTest.java
Converter<String, Number> converter = Converter.<String, Number>from(forward, backward); assertNull(converter.convert(null)); assertNull(converter.reverse().convert(null)); assertEquals((Integer) 5, converter.convert("5")); assertEquals("5", converter.reverse().convert(5)); } // Null-passthrough violates our nullness annotations, so we don't support it under J2KT. @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 01 16:09:28 UTC 2024 - 8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java
assertEquals(result, duplicateHostHelper.convert(url)); url = "http://foo.com/"; result = "http://www.foo.com/"; assertEquals(result, duplicateHostHelper.convert(url)); url = "http://foo.com:8080/"; result = "http://www.foo.com:8080/"; assertEquals(result, duplicateHostHelper.convert(url)); url = "http://mail.bar.com/";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
assertEquals(TestEnum.CHEETO, converter.convert("CHEETO")); assertEquals(TestEnum.HONDA, converter.convert("HONDA")); assertEquals(TestEnum.POODLE, converter.convert("POODLE")); assertNull(converter.convert(null)); assertNull(converter.reverse().convert(null)); } @GwtIncompatible // stringConverter public void testStringConverter_convertError() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CaseFormatTest.java
assertEquals("FooBar", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).convert("FOO_BAR")); assertEquals("fooBar", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).convert("FOO_BAR")); assertEquals("FOO_BAR", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("FooBar")); assertEquals("FOO_BAR", LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("fooBar")); } public void testConverterToBackward() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/base/CaseFormat.java
return Ascii.toLowerCase(word); } @Override String convert(CaseFormat format, String s) { if (format == LOWER_UNDERSCORE) { return s.replace('-', '_'); } if (format == UPPER_UNDERSCORE) { return Ascii.toUpperCase(s.replace('-', '_')); } return super.convert(format, s); } }, /** C++ variable naming convention, e.g., "lower_underscore". */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CaseFormat.java
return Ascii.toLowerCase(word); } @Override String convert(CaseFormat format, String s) { if (format == LOWER_UNDERSCORE) { return s.replace('-', '_'); } if (format == UPPER_UNDERSCORE) { return Ascii.toUpperCase(s.replace('-', '_')); } return super.convert(format, s); } }, /** C++ variable naming convention, e.g., "lower_underscore". */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* </ul> * * <p>Using a converter: * * <ul> * <li>Convert one instance in the "forward" direction using {@code converter.convert(a)}. * <li>Convert multiple instances "forward" using {@code converter.convertAll(as)}. * <li>Convert in the "backward" direction using {@code converter.reverse().convert(b)} or {@code * converter.reverse().convertAll(bs)}.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0) -
src/main/assemblies/files/generate-thumbnail
if [[ ! -f ${tmp_png_file} ]] ; then echo "pdftoppm does not work." exit 1 fi convert -thumbnail ${image_size} ${tmp_png_file} "${output_file}" rm -f ${tmp_png_prefix}*png elif [[ x"${cmd_type}" = "ximage" ]] ; then check_command convert target_file=$(echo "$url" | sed -e "s#^file:/*#/#g") convert -thumbnail ${image_size} "${target_file}" "${output_file}" elif [[ x"${cmd_type}" = "x" ]] ; then
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jun 12 13:13:28 UTC 2023 - 2.5K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
})) .installationToolchainsSource(convert(request.getGlobalToolchainsSource())) .userToolchainsSource(convert(request.getUserToolchainsSource())) .build()); return new DefaultToolchainsBuildingResult( new PersistedToolchains(result.getEffectiveToolchains()), convert(result.getProblems())); } catch (ToolchainsBuilderException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
callbacks/helper_test.go
input map[string]interface{} expect clause.Values }{ { name: "Test convert string value", input: map[string]interface{}{ "name": "my name", }, expect: clause.Values{ Columns: []clause.Column{{Name: "name"}}, Values: [][]interface{}{{"my name"}}, }, }, { name: "Test convert int value", input: map[string]interface{}{ "age": 18, }, expect: clause.Values{
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0)