- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for encode (0.21 sec)
-
android/guava/src/com/google/common/io/BaseEncoding.java
super(message); } } /** Encodes the specified byte array, and returns the encoded {@code String}. */ public String encode(byte[] bytes) { return encode(bytes, 0, bytes.length); } /** * Encodes the specified range of the specified byte array, and returns the encoded {@code * String}. */ public final String encode(byte[] bytes, int off, int len) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Mar 15 16:33:32 GMT 2024 - 41.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java
} public void test_encode() { assertNull(permissionHelper.encode(null)); assertNull(permissionHelper.encode("")); assertNull(permissionHelper.encode(" ")); assertNull(permissionHelper.encode("{user}")); assertNull(permissionHelper.encode("{role}")); assertNull(permissionHelper.encode("{group}")); assertNull(permissionHelper.encode("(allow)"));
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
} } private static String encode(String str) { return BaseEncoding.base64().encode(str.getBytes(Charsets.UTF_8)); } private static final Function<String, String> DECODE_FUNCTION = new Function<String, String>() { @Override public String apply(String input) { return new String(BaseEncoding.base64().decode(input), Charsets.UTF_8); } };
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 32.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
// smb/ftp->http // encode final StringBuilder buf = new StringBuilder(url.length() + 100); for (final char c : url.toCharArray()) { if (CharUtil.isUrlChar(c)) { buf.append(c); } else { try { buf.append(URLEncoder.encode(String.valueOf(c), urlLinkEncoding));
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 40.1K bytes - Viewed (2) -
src/main/java/org/codelibs/core/misc/Base64Util.java
outData[outIndex + 2] = ENCODE_TABLE[i >> 6 & 0x3f]; outData[outIndex + 3] = ENCODE_TABLE[i & 0x3f]; } private static void encode2pad(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) { final int i = inData[inIndex] & 0xff; outData[outIndex] = ENCODE_TABLE[i >> 2]; outData[outIndex + 1] = ENCODE_TABLE[i << 4 & 0x3f];
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
import org.codelibs.fess.util.ComponentUtil; public class WebFsIndexHelper { private static final Logger logger = LogManager.getLogger(WebFsIndexHelper.class); private static final String DISABLE_URL_ENCODE = "#DISABLE_URL_ENCODE"; protected long maxAccessCount = Long.MAX_VALUE; protected long crawlingExecutionInterval = Constants.DEFAULT_CRAWLING_EXECUTION_INTERVAL;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 22.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
private static final byte[] BINARY_DATA = ORIGINAL.getBytes(); private static final String ENCODED_DATA = "aG93IG5vdyBicm93biBjb3cNCg=="; /** * @throws Exception */ public void testEncode() throws Exception { assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA)); System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' })); } /** * @throws Exception */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} return URLEncoder.encode(str, Constants.UTF_8_CHARSET); } @Deprecated protected static String urlDecode(final String str) { if (str == null) { return StringUtil.EMPTY; } return URLDecoder.decode(str, Constants.UTF_8_CHARSET); } protected static String encodeId(final String objectName) { if (objectName == null) {
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) -
guava-tests/test/com/google/common/collect/MapsCollectionTest.java
} } private static String encode(String str) { return BaseEncoding.base64().encode(str.getBytes(Charsets.UTF_8)); } private static final Function<String, String> DECODE_FUNCTION = new Function<String, String>() { @Override public String apply(String input) { return new String(BaseEncoding.base64().decode(input), Charsets.UTF_8); } };
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 20:09:59 GMT 2024 - 32.2K bytes - Viewed (0)