Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for tmp (0.15 sec)

  1. src/main/java/jcifs/smb1/netbios/Name.java

            dst[dstIndex] = 0x20;
    
            // write name
            try {
                byte tmp[] = name.getBytes( Name.OEM_ENCODING );
                int i;
                for( i = 0; i < tmp.length; i++ ) {
                    dst[dstIndex + ( 2 * i + 1 )] = (byte)((( tmp[i] & 0xF0 ) >> 4 ) + 0x41 );
                    dst[dstIndex + ( 2 * i + 2 )] = (byte)(( tmp[i] & 0x0F ) + 0x41 );
                }
                for( ; i < 15; i++ ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                    System.arraycopy( tmp, 0, pipe_buf, i, used - i ); 
                } else {
                    System.arraycopy( tmp, beg_idx, pipe_buf, 0, used );
                }
                beg_idx = 0;
                nxt_idx = used;
                tmp = null;
            }
    
            i = pipe_buf.length - nxt_idx;
            if( len > i ) {
                System.arraycopy( b, off, pipe_buf, nxt_idx, i );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.6K bytes
    - Viewed (0)
  3. src/test/resources/before_script.sh

    #!/bin/bash
    set -xuo pipefail
    
    temp_log_file=/tmp/fess-build.$$
    unzip target/releases/fess-*.zip > ${temp_log_file} 2>&1
    tail ${temp_log_file}
    
    ./fess-*/bin/fess > ${temp_log_file} 2>&1 &
    
    temp_json_file=/tmp/fess-log.$$
    touch ${temp_json_file}
    error_count=0
    while true ; do
      status=$(curl -w '%{http_code}\n' -s -o ${temp_json_file} "http://localhost:8080/api/v1/health")
      cat ${temp_json_file}
      if [[ x"${status}" = x200 ]] ; then
    Shell Script
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Feb 10 03:25:34 GMT 2024
    - 863 bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        public int read() throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if( read( tmp, 0, 1 ) == -1 ) {
                return -1;
            }
            return tmp[0] & 0xFF;
        }
    
    /**
     * Reads up to b.length bytes of data from this input stream into an array of bytes.
     *
     * @throws IOException if a network error occurs
     */
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NodeStatusRequest.java

            isBroadcast = false;
        }
    
        int writeBodyWireFormat( byte[] dst, int dstIndex ) {
            int tmp = questionName.hexCode;
            questionName.hexCode = 0x00; // type has to be 0x00 for node status
            int result = writeQuestionSectionWireFormat( dst, dstIndex );
            questionName.hexCode = tmp;
            return result;
        }
        int readBodyWireFormat( byte[] src, int srcIndex ) {
            return 0;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
    
        @Override
        public int read () throws IOException {
            // need oplocks to cache otherwise use BufferedInputStream
            if ( read(this.tmp, 0, 1) == -1 ) {
                return -1;
            }
            return this.tmp[ 0 ] & 0xFF;
        }
    
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

            final StringBuilder buffer = new StringBuilder(200);
            for (final byte element : digest) {
                final String tmp = Integer.toHexString(element & 0xff);
                if (tmp.length() == 1) {
                    buffer.append('0').append(tmp);
                } else {
                    buffer.append(tmp);
                }
            }
            return buffer.toString();
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

     */
    
        public void close() throws IOException {
            file.close();
            tmp = null;
        }
    
    /**
     * Writes the specified byte to this file output stream.
     *
     * @throws IOException if a network error occurs
     */
    
        public void write( int b ) throws IOException {
            tmp[0] = (byte)b;
            write( tmp, 0, 1 );
        }
    
    /**
     * Writes b.length bytes from the specified byte array to this
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
            // ## Arrange ##
            CurlRequest req = new MockCurlRequest(Curl.Method.POST, "http://dummy");
            req.threshold(0); // always create tmp file
    
            // ## Act ##
            long before = countTmpFiles();
            logger.info("Before request. Number of temp files: " + before);
            req.execute(res -> {
    Java
    - Registered: Thu Apr 25 15:34:08 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/SystemUtil.java

        /**
         * <code>os.name</code> システムプロパティ。例:<code>Mac OS X</code>
         */
        public static final String OS_NAME = System.getProperty("os.name");
    
        /**
         * <code>java.io.tmpdir</code> システムプロパティ。例:/tmp
         */
        public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir");
    
        /**
         * <code>user.dir</code> システムプロパティ。
         */
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top