Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 247 for bytes (0.12 sec)

  1. src/main/java/org/codelibs/curl/CurlRequest.java

                    final byte[] bytes = new byte[4096];
                    int length = bis.read(bytes);
                    while (length != -1) {
                        if (length != 0) {
                            final int len = length;
                            logger.fine(() -> {
                                try {
                                    return "<<< " + new String(bytes, 0, len, encoding);
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/SessionServicePacket.java

    
        static void writeInt2 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 8 ) & 0xFF );
            dst[ dstIndex ] = (byte) ( val & 0xFF );
        }
    
    
        static void writeInt4 ( int val, byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = (byte) ( ( val >> 24 ) & 0xFF );
            dst[ dstIndex++ ] = (byte) ( ( val >> 16 ) & 0xFF );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * byte order: the highest order byte of the address is in getAddress()[0].
     *
     * @return a four byte array
     */ 
    
        public byte[] getAddress() {    
            byte[] addr = new byte[4];
    
            addr[0] = (byte)(( address >>> 24 ) & 0xFF );
            addr[1] = (byte)(( address >>> 16 ) & 0xFF );
            addr[2] = (byte)(( address >>> 8 ) & 0xFF );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/NetbiosAddress.java

         * 
         * @param tc
         *            context to use
         *
         * @return the MAC address as an array of six bytes
         * @throws UnknownHostException
         *             if the host cannot be resolved to
         *             determine the MAC address.
         */
        byte[] getMacAddress ( CIFSContext tc ) throws UnknownHostException;
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Transport.java

    
        /**
         * Read bytes from the input stream into a buffer
         * 
         * @param in
         * @param b
         * @param off
         * @param len
         * @return number of bytes read
         * @throws IOException
         */
        public static int readn ( InputStream in, byte[] b, int off, int len ) throws IOException {
            int i = 0, n = -5;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        // KGS!@#$%
        private static final byte[] S8 = {
            (byte)0x4b, (byte)0x47, (byte)0x53, (byte)0x21,
            (byte)0x40, (byte)0x23, (byte)0x24, (byte)0x25
        };
        /* Accepts key multiple of 7
         * Returns enc multiple of 8
         * Multiple is the same like: 21 byte key gives 24 byte result
         */
        private static void E( byte[] key, byte[] data, byte[] e ) {
            byte[] key7 = new byte[7];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final byte[] data = resultData.getData();
                if (data != null) {
                    try {
                        return (Map<String, Object>) SerializeUtil.fromBinaryToObject(data);
                    } catch (final Exception e) {
                        throw new CrawlerSystemException("Could not create an instance from bytes.", e);
                    }
                }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 12K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                    log.debug("Context is established");
                    setNetbiosName(ctx.getNetbiosName());
                    byte[] sk = ctx.getSigningKey();
                    if ( sk != null ) {
                        // session key is truncated to 16 bytes, right padded with 0 if shorter
                        byte[] key = new byte[16];
                        System.arraycopy(sk, 0, key, 0, Math.min(16, sk.length));
                        this.sessionKey = key;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

        }
    
        public synchronized void write( byte[] b, int off, int len ) throws IOException {
            if( len > 0xFFFF ) {
                throw new IOException( "write too large: " + len );
            } else if( off < 4 ) {
                throw new IOException( "NetBIOS socket output buffer requires 4 bytes available before off" );
            }
    
            off -= 4;
    
            b[off + 0] = (byte)SessionServicePacket.SESSION_MESSAGE;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  10. src/main/assemblies/files/service.bat

    if "%unit%" == "k" goto kilo
    if "%unit%" == "K" goto kilo
    if "%unit%" == "m" goto mega
    if "%unit%" == "M" goto mega
    if "%unit%" == "g" goto giga
    if "%unit%" == "G" goto giga
    
    rem no unit found, must be bytes; consider the whole value
    set conv=%value%
    rem convert to KB
    set /a conv=%conv% / 1024
    :kilo
    rem convert to MB
    set /a conv=%conv% / 1024
    goto mega
    :giga
    rem convert to MB
    set /a conv=%conv% * 1024
    Batch File
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top