Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for Kata (0.13 sec)

  1. 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)
  2. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

            return new Smb2WriteResponse(tc.getConfig());
        }
    
    
        /**
         * @param data
         *            the data to set
         * @param offset
         * @param length
         */
        public void setData ( byte[] data, int offset, int length ) {
            this.data = data;
            this.dataOffset = offset;
            this.dataLength = length;
        }
    
    
        /**
         * @param remainingBytes
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/SMBSigningDigest.java

         * The first 8 bytes of this are placed in the signature field.
         *
         * @param data
         *            The data.
         * @param offset
         *            The starting offset at which the SMB header begins.
         * @param length
         *            The length of the SMB data starting at offset.
         * @param request
         *            request message
         * @param response
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ACE.java

     * of <tt>0x001200A9</tt> which doesn't have the
     * <tt>FILE_WRITE_DATA</tt> bit on (bit <tt>0x00000002</tt>). Actually, this isn't quite correct. If
     * <tt>WNET\alice</tt> is in the local <tt>Administrators</tt> group the access check
     * will succeed because the inherited ACE allows local <tt>Administrators</tt>
     * both <tt>FILE_READ_DATA</tt> and <tt>FILE_WRITE_DATA</tt> access.
     */
    
    public class ACE {
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequest.java

            dstIndex += 4;
    
            byte[] data = this.path.getBytes(StandardCharsets.UTF_16LE);
            int offsetOffset = dstIndex;
            SMBUtil.writeInt2(data.length, dst, dstIndex + 2);
            dstIndex += 4;
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, offsetOffset);
    
            System.arraycopy(data, 0, dst, dstIndex, data.length);
            dstIndex += data.length;
            return dstIndex - start;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                                String data = line.substring(pos + 1).trim();
                                if (properyPattern.matcher(key).matches() && data.startsWith(CIPHER_PREFIX)) {
                                    data = cipher.decrypt(data.substring(CIPHER_PREFIX.length()));
                                }
                                paramMap.put(key, data);
                            } else {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/Base64.java

        /**
         * Base-64 encodes the supplied block of data.  Line wrapping is not
         * applied on output.
         *
         * @param bytes The block of data that is to be Base-64 encoded.
         * @return A <code>String</code> containing the encoded data.
         */
        public static String encode(byte[] bytes) {
            int length = bytes.length;
            if (length == 0) return "";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

    class TransTransactNamedPipe extends SmbComTransaction {
    
        private byte[] pipeData;
        private int pipeFid, pipeDataOff, pipeDataLen;
    
        TransTransactNamedPipe( int fid, byte[] data, int off, int len ) {
            pipeFid = fid;
            pipeData = data;
            pipeDataOff = off;
            pipeDataLen = len;
            command = SMB_COM_TRANSACTION;
            subCommand = TRANS_TRANSACT_NAMED_PIPE;
            maxParameterCount = 0;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/entity/PingResponse.java

        private static final String STATUS = "status";
        private static final String TIMED_OUT = "timed_out";
        private static final String NUMBER_OF_NODES = "number_of_nodes";
        private static final String NUMBER_OF_DATA_NODES = "number_of_data_nodes";
        private static final String NUMBER_OF_PENDING_TASKS = "number_of_pending_tasks";
        private static final String NUMBER_OF_IN_FLIGHT_FETCH = "number_of_in_flight_fetch";
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

        /**
         * Return the <code>InputStream</code> used to read information
         * from this pipe instance. Presumably data would first be written
         * to the <code>OutputStream</code> associated with this Named
         * Pipe instance although this is not a requirement (e.g. a
         * read-only named pipe would write data to this stream on
         * connection). Reading from this stream may block. Therefore it
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
Back to top