Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for bytes (0.15 sec)

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

        // from bytes to OutputStream
        //
        /**
         * バイト配列から出力ストリームへコピーします。
         * <p>
         * 出力ストリームはクローズされません。
         * </p>
         *
         * @param in
         *            バイト配列。{@literal null}であってはいけません
         * @param out
         *            出力ストリーム。{@literal null}であってはいけません
         * @return コピーしたバイト数
         */
        public static int copy(final byte[] in, final OutputStream out) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/Configuration.java

         * 
         * @return receive buffer size, in bytes
         * @deprecated use getReceiveBufferSize instead
         */
        @Deprecated
        int getRecieveBufferSize ();
    
    
        /**
         * 
         * Property <tt>jcifs.smb.client.rcv_buf_size</tt> (int, default 65535)
         * 
         * @return receive buffer size, in bytes
         */
        int getReceiveBufferSize ();
    
    
        /**
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java

    /**
     * byte配列用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class BinaryConversionUtil {
    
        /**
         * {@literal byte}の配列に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @return {@literal byte}の配列
         */
        public static byte[] toBinary(final Object o) {
            if (o instanceof byte[]) {
                return (byte[]) o;
            } else if (o == null) {
    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)
  4. 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)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

    
        public NegTokenInit ( ASN1ObjectIdentifier[] mechanisms, int contextFlags, byte[] mechanismToken, byte[] mechanismListMIC ) {
            setMechanisms(mechanisms);
            setContextFlags(contextFlags);
            setMechanismToken(mechanismToken);
            setMechanismListMIC(mechanismListMIC);
        }
    
    
        public NegTokenInit ( byte[] token ) throws IOException {
            parse(token);
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/curl/io/ContentCache.java

    public class ContentCache implements Closeable {
    
        protected static final Logger logger = Logger.getLogger(ContentCache.class.getName());
    
        private final byte[] data;
    
        private final File file;
    
        public ContentCache(final byte[] data) {
            this.data = data;
            this.file = null;
        }
    
        public ContentCache(final File file) {
            this.data = null;
            this.file = file;
        }
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 1.6K bytes
    - Viewed (1)
  7. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

            assertEquals("3", "2", b[1]);
        }
    
        /**
         * @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)
  8. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            public int getResponseCode() throws IOException {
                return 200;
            }
    
            @Override
            public InputStream getInputStream() throws IOException {
                return new ByteArrayInputStream(new byte[100]); // dummy payload
            }
        }
    
        @Test
        public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
            // ## Arrange ##
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * @param argValue
         *            引数の値
         * @throws EmptyArgumentException
         *             引数が<code>null</code>または空の配列の場合。
         */
        public static void assertArgumentNotEmpty(final String argName, final byte[] argValue) {
            if (ArrayUtil.isEmpty(argValue)) {
                throw new EmptyArgumentException(argName, "ECL0011", asArray(argName));
            }
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/NumberConversionUtil.java

                    return b;
                }
                return Boolean.FALSE;
            } else if (type == byte.class) {
                final Byte b = ByteConversionUtil.toByte(o);
                if (b != null) {
                    return b;
                }
                return Byte.valueOf((byte) 0);
            }
            return o;
        }
    
        /**
         * デリミタを削除します。
         *
         * @param value
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top