Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for bytes (0.14 sec)

  1. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 });
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/BaseConfiguration.java

            this.localPid = (int) ( Math.random() * 65536d );
            this.localTimeZone = TimeZone.getDefault();
            this.random = new SecureRandom();
    
            if ( this.machineId == null ) {
                byte[] mid = new byte[32];
                this.random.nextBytes(mid);
                this.machineId = mid;
            }
    
            if ( this.nativeOs == null ) {
                this.nativeOs = System.getProperty("os.name");
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  3. src/test/java/org/codelibs/core/convert/ByteConversionUtilTest.java

    /**
     * @author higa
     *
     */
    public class ByteConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToByte() throws Exception {
            assertEquals(new Byte("100"), ByteConversionUtil.toByte("100"));
        }
    
        /**
         * @throws Exception
         */
        public void testToPrimitiveByte() throws Exception {
            assertEquals(100, ByteConversionUtil.toPrimitiveByte("100"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

                return toString((java.util.Date) value, pattern);
            } else if (value instanceof Number) {
                return toString((Number) value, pattern);
            } else if (value instanceof byte[]) {
                return Base64Util.encode((byte[]) value);
            } else {
                return value.toString();
            }
        }
    
        /**
         * 文字列に変換します。
         *
         * @param value
         *            変換元のオブジェクト
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinary() {
            assertThat(BinaryConversionUtil.toBinary(null), nullValue());
            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
         * Test method for
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            } else if (logger.isDebugEnabled()) {
                logger.debug("Skip Child: {}", u);
            }
        }
    
        private boolean isUtf8BomBytes(final byte[] b) {
            return b[0] == (byte) 0xEF && b[1] == (byte) 0xBB && b[2] == (byte) 0xBF;
        }
    
        public void setUseGoogleOffOn(final boolean useGoogleOffOn) {
            this.useGoogleOffOn = useGoogleOffOn;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 41.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Multiple */
        public static final String LABELS_search_result_sort_multiple = "{labels.search_result_sort_multiple}";
    
        /** The key of the message: {0} bytes */
        public static final String LABELS_search_result_size = "{labels.search_result_size}";
    
        /** The key of the message: Registered: */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

    /**
     * {@link Byte}用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class ByteConversionUtil {
    
        /**
         * {@link Byte}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return 変換された{@link Byte}
         */
        public static Byte toByte(final Object o) {
            return toByte(o, null);
        }
    
        /**
         * {@link Byte}に変換します。
         *
         * @param o
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/crypto/CachedCipher.java

        protected Queue<Cipher> encryptoQueue = new ConcurrentLinkedQueue<>();
    
        protected Queue<Cipher> decryptoQueue = new ConcurrentLinkedQueue<>();
    
        public byte[] encrypto(final byte[] data) {
            final Cipher cipher = pollEncryptoCipher();
            byte[] encrypted;
            try {
                encrypted = cipher.doFinal(data);
            } catch (final IllegalBlockSizeException e) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

         */
        public void testConvertNumber_byte() throws Exception {
            assertEquals(new Byte("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_primitiveWrapper() throws Exception {
            assertEquals(new Byte("1"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, "1"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top