- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for BINARY (0.15 sec)
-
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/test/java/org/codelibs/core/io/SerializeUtilTest.java
} /** * @throws Exception */ public void testObjectAndBinary() throws Exception { final String o = "hoge"; final byte[] binary = SerializeUtil.fromObjectToBinary(o); assertEquals(o, SerializeUtil.fromBinaryToObject(binary)); }
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/packaging/rpm/init.d/fess
checkJava() { if [ -x "$JAVA_HOME/bin/java" ]; then JAVA="$JAVA_HOME/bin/java" else JAVA=`which java` fi if [ ! -x "$JAVA" ]; then echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME" exit 1 fi } start() { checkJava [ -x $exec ] || exit 5 # Ensure that the PID_DIR exists (it is cleaned at OS startup time)
Shell Script - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Sun Jan 15 06:32:15 GMT 2023 - 3.7K bytes - Viewed (1) -
src/packaging/deb/init.d/fess
# Look for the right JVM to use for jdir in $JDK_DIRS; do if [ -r "$jdir/bin/java" -a -z "${JAVA_HOME}" ]; then JAVA_HOME="$jdir" fi done export JAVA_HOME # Directory where the Fess binary distribution resides FESS_HOME=${packaging.fess.home.dir} # Heap size defaults to 256m min, 1g max # Set FESS_HEAP_SIZE to 50% of available RAM, but no more than 31g #FESS_HEAP_SIZE=2g # Heap new generation
Shell Script - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Sun Jan 15 06:32:15 GMT 2023 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
* @return シリアライズして復元したオブジェクト */ public static Object serialize(final Object obj) { assertArgumentNotNull("obj", obj); final byte[] binary = fromObjectToBinary(obj); return fromBinaryToObject(binary); } /** * オブジェクトをbyteの配列に変換します。 * * @param obj * シリアライズするオブジェクト。{@literal null}であってはいけません * @return オブジェクトのbyte配列 */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.5K bytes - Viewed (0) -
src/main/assemblies/files/fess
. "$FESS_INCLUDE" fi if [ -x "$JAVA_HOME/bin/java" ]; then JAVA="$JAVA_HOME/bin/java" else JAVA=`which java` fi if [ ! -x "$JAVA" ]; then echo "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME" exit 1 fi if [ -z "$FESS_CLASSPATH" ]; then echo "You must set the FESS_CLASSPATH var" >&2 exit 1 fi # Special-case path variables.
Shell Script - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Sun Jan 15 06:32:15 GMT 2023 - 5.4K bytes - Viewed (0)