- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for byte (0.21 sec)
-
src/main/java/org/codelibs/core/misc/Base64Util.java
final byte b0 = DECODE_TABLE[inData.charAt(inIndex)]; final byte b1 = DECODE_TABLE[inData.charAt(inIndex + 1)]; final byte b2 = DECODE_TABLE[inData.charAt(inIndex + 2)]; final byte b3 = DECODE_TABLE[inData.charAt(inIndex + 3)]; outData[outIndex] = (byte) (b0 << 2 & 0xfc | b1 >> 4 & 0x3);
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/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' })); } /**
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/core/lang/StringUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
runtime.registerData("forumLink", forumLink); } } protected abstract String getActionRole(); protected void write(final String path, final byte[] data) { LdiFileUtil.write(path, data); } protected ServletContext getServletContext() { return LaServletContextUtil.getServletContext(); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
} /** * @throws Exception */ @Test public void testToHex() throws Exception { assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 })); } /** * @throws Exception */ @Test public void testToHex2() throws Exception { assertEquals("0001", StringUtil.toHex(1)); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
@Override public void setUp() throws Exception { super.setUp(); propertiesFile = File.createTempFile("test", ".properties"); FileUtil.writeBytes(propertiesFile.getAbsolutePath(), new byte[0]); propertiesFile.deleteOnExit(); DynamicProperties systemProps = new DynamicProperties(propertiesFile); ComponentUtil.register(systemProps, "systemProperties");
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
public Object getData(final AccessResultData<?> accessResultData) { final byte[] data = accessResultData.getData(); if (data != null) { try { return SerializeUtil.fromBinaryToObject(data); } catch (final Exception e) { throw new CrawlerSystemException("Could not create an instanced from bytes.", e); } } return new HashMap<String, Object>();
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 23.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/Tokenizer.java
private static final int NEED_CHAR = Integer.MAX_VALUE; private static final int QUOTE = '\''; private static final byte CT_WHITESPACE = 1; private static final byte CT_ALPHA = 4; private final byte[] ctype; private static byte[] defaultCtype = new byte[256]; private final String str; private int colno = 0; private int ttype = TT_NOTHING; private String sval;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
@Override protected byte[] getBoundary(final String contentType) { // for security final byte[] boundary = super.getBoundary(contentType); checkBoundarySize(contentType, boundary); return boundary; } }; } protected void checkBoundarySize(final String contentType, final byte[] boundary) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.4K bytes - Viewed (0)