- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 586 for replaceOp (0.14 sec)
-
src/main/webapp/js/admin/plugins/form-validator/file.js
bstr(a.length-2,2)?1024*parseInt(a.substr(0,a.length-2),10):"B"===a.substr(a.length-1,1)?parseInt(a.substr(0,a.length-1),10):parseInt(a,10)},a.formUtils.checkImageDimension=function(a,b,c){var d=!1,e={width:0,height:0},f=function(a){a=a.replace("min","").replace("max","");var b=a.split("x");e.width=b[0],e.height=b[1]?b[1]:b[0]},g=!1,h=!1,i=b.split("-");return 1===i.length?0===i[0].indexOf("min")?g=i[0]:h=i[0]:(g=i[0],h=i[1]),g&&(f(g),(a.width<e.width||a.height<e.height)&&(d=c.imageTooSmall+" ("+c.min+"...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
private String sortField; protected String quote(final String value) { if (value.split("\\s").length > 1) { return new StringBuilder().append('"').append(value.replace('"', ' ')).append('"').toString(); } return value; } protected String escapeQuery(final String value) { if (!escape) { return value; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java
// _/_/_/_/_/_/_/_/_/_/ @Override public FormMappingOption adjustFormMapping() { return new FormMappingOption() .filterSimpleTextParameter((parameter, meta) -> parameter.trim().replace("\r\n", "\n").replace('\r', '\n')); } @Override public String customizeActionMappingRequestPath(final String requestPath) { if (StringUtil.isBlank(requestPath)) { return null; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
import java.net.URL; import org.codelibs.core.net.URLUtil; import org.junit.Test; /** * @author koichik * */ public class FileUtilTest { URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt"); File inputFile = URLUtil.toFile(url); /** * @throws Exception */ @Test public void testFileToFile() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertNull(map.putIfAbsent(three, one)); assertSame(one, map.get(three)); assertSame(two, map.replace(one, three)); assertSame(three, map.get(one)); assertFalse(map.replace(one, two, three)); assertSame(three, map.get(one)); assertTrue(map.replace(one, three, two)); assertSame(two, map.get(one)); assertEquals(3, map.size()); map.clear();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java
assertNull(map.putIfAbsent(three, one)); assertSame(one, map.get(three)); assertSame(two, map.replace(one, three)); assertSame(three, map.get(one)); assertFalse(map.replace(one, two, three)); assertSame(three, map.get(one)); assertTrue(map.replace(one, three, two)); assertSame(two, map.get(one)); assertEquals(3, map.size()); map.clear();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc")); assertEquals("2", "1234ef", StringUtil.replace("12345", "5", "ef")); assertEquals("3", "ab2345", StringUtil.replace("12345", "1", "ab")); assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a")); assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0) -
src/bytes/bytes.go
s = s[l:] } return t } // Replace returns a copy of the slice s with the first n // non-overlapping instances of old replaced by new. // If old is empty, it matches at the beginning of the slice // and after each UTF-8 sequence, yielding up to k+1 replacements // for a k-rune slice. // If n < 0, there is no limit on the number of replacements. func Replace(s, old, new []byte, n int) []byte { m := 0
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
if (!condition) { throw new AssertionFailedError( template .replace("$RELATIONSHIP", relationshipName) .replace("$HASH", hashName) .replace("$ITEM", itemReporter.reportItem(item)) .replace("$OTHER", itemReporter.reportItem(other))); } } private Item<T> getItem(int groupNumber, int itemNumber) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 5.9K bytes - Viewed (0) -
internal/config/errors-utils.go
if u.detail == "" { if u.msg != "" { return u.msg } return "<nil>" } return u.detail } // Msg - Replace the current error's message func (u Err) Msg(m string) Err { e := u.Clone() e.msg = m return e } // Msgf - Replace the current error's message func (u Err) Msgf(m string, args ...interface{}) Err { e := u.Clone() if len(args) == 0 { e.msg = m } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0)