Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Value (0.12 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                StringBuffer value = new StringBuffer();
                Iterator values = ((List) property.getValue()).iterator();
                while (values.hasNext()) {
                    value.append(values.next());
                    if (values.hasNext()) value.append(", ");
                }
                connection.setRequestProperty(key, value.toString());
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

            return this.service;
        }
    
    
        /**
         * Get lifetime of current user.
         *
         * @return the remaining lifetime in seconds. If the default lifetime is
         *         used, this value have no meaning.
         *
         */
        public int getUserLifeTime () {
            return this.userLifetime;
        }
    
    
        /**
         * Set lifetime of current user.
         *
         * @param time
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

            return 0;
        }
    
    
        /**
         * Skip n bytes of data on this stream. This operation will not result
         * in any IO with the server. Unlink <tt>InputStream</tt> value less than
         * the one provided will not be returned if it exceeds the end of the file
         * (if this is a problem let us know).
         */
        @Override
        public long skip ( long n ) throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

        
                /* We explicitly set uid to 0 here to prevent a new
                 * SMB_COM_SESSION_SETUP_ANDX from having it's uid set to an
                 * old value when the session is re-established. Otherwise a
                 * "The parameter is incorrect" error can occur.
                 */
                uid = 0;
        
                do {
                    switch (state) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.serverTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            int tzOffset = SMBUtil.readInt2(buffer, bufferIndex);
            // tzOffset is signed!
            if ( tzOffset > Short.MAX_VALUE ) {
                tzOffset = -1 * ( 65536 - tzOffset );
            }
            this.server.serverTimeZone = tzOffset;
            bufferIndex += 2;
            this.server.encryptionKeyLength = buffer[ bufferIndex++ ] & 0xFF;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                            state = 1;
                        } else {
                            out[j++] = ch;
                        }
                        break;
                    case 1:
                        /* Get ASCII hex value and convert to platform dependant
                         * encoding like EBCDIC perhaps
                         */
                        b[0] = (byte)(Integer.parseInt( str.substring( i, i + 2 ), 16 ) & 0xFF);
    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/jcifs/smb1/Config.java

            prp.list( out );
        }
    
        /**
         * Add a property.
         */
    
        public static Object setProperty( String key, String value ) {
            return prp.setProperty( key, value );
        }
    
        /**
         * Retrieve a property as an <code>Object</code>.
         */
    
        public static Object get( String key ) {
            return prp.get( key );
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                StringBuffer value = new StringBuffer();
                Iterator<String> values = property.getValue().iterator();
                while ( values.hasNext() ) {
                    value.append(values.next());
                    if ( values.hasNext() )
                        value.append(", ");
                }
                this.setRequestProperty(key, value.toString());
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

         *         1970 as a <code>long</code> value
         * @throws CIFSException
         */
        long lastAccess () throws CIFSException;
    
    
        /**
         * Retrieve the last time the file represented by this
         * <code>SmbResource</code> was modified. The value returned is suitable for
         * constructing a {@link java.util.Date} object (i.e. seconds since Epoch
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                    }
                    else {
                        out[ j++ ] = ch;
                    }
                    break;
                case 1:
                    /*
                     * Get ASCII hex value and convert to platform dependent
                     * encoding like EBCDIC perhaps
                     */
                    b[ 0 ] = (byte) ( Integer.parseInt(str.substring(i, i + 2), 16) & 0xFF );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
Back to top