Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for StringBuffer (0.1 sec)

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

            if (values == null) {
                values = new ArrayList();
                values.add(value);
                requestProperties.put(key, values);
            }
            // 1.3-compatible.
            StringBuffer buffer = new StringBuffer();
            Iterator propertyValues = values.iterator();
            while (propertyValues.hasNext()) {
                buffer.append(propertyValues.next());
                if (propertyValues.hasNext()) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return libDir.listFiles(filter);
        }
    
        public static String resolve(final String value) {
            if (value == null) {
                return null;
            }
    
            final StringBuffer tunedText = new StringBuffer(value.length());
            final Pattern pattern = Pattern.compile("(\\$\\{([\\w\\.]+)\\})");
            final Matcher matcher = pattern.matcher(value);
            while (matcher.find()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/Base64.java

         * @return A <code>String</code> containing the encoded data.
         */
        public static String encode(byte[] bytes) {
            int length = bytes.length;
            if (length == 0) return "";
            StringBuffer buffer =
                    new StringBuffer((int) Math.ceil((double) length / 3d) * 4);
            int remainder = length % 3;
            length -= remainder;
            int block;
            int i = 0;
            while (i < length) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/Name.java

    
        int readScopeWireFormat ( byte[] src, int srcIndex ) {
            int start = srcIndex;
            int n;
            StringBuffer sb;
    
            if ( ( n = src[ srcIndex++ ] & 0xFF ) == 0 ) {
                this.scope = null;
                return 1;
            }
    
            sb = new StringBuffer(Strings.fromOEMBytes(src, srcIndex, n, this.config));
            srcIndex += n;
            while ( ( n = src[ srcIndex++ ] & 0xFF ) != 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/ACE.java

         * <p>
         * Note: This function should probably be changed to return SDDL
         * fragments but currently it does not.
         */
        @Override
        public String toString () {
            StringBuffer sb = new StringBuffer();
            sb.append(isAllow() ? "Allow " : "Deny  ");
            appendCol(sb, this.sid.toDisplayString(), 25);
            sb.append(" 0x").append(Hexdump.toHexString(this.access, 8)).append(' ');
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/Name.java

        }
        int readScopeWireFormat( byte[] src, int srcIndex ) {
            int start = srcIndex;
            int n;
            StringBuffer sb;
    
            if(( n = src[srcIndex++] & 0xFF ) == 0 ) {
                scope = null;
                return 1;
            }
    
            try {
                sb = new StringBuffer( new String( src, srcIndex, n, Name.OEM_ENCODING ));
                srcIndex += n;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                throw new SmbException( "EOF" );
            }
            return Encdec.dec_doublebe( tmp, 0 );
        }
        public final String readLine() throws SmbException {
            StringBuffer input = new StringBuffer();
            int c = -1;
            boolean eol = false;
    
            while (!eol) {
                switch( c = read() ) {
                    case -1:
                    case '\n':
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
    
            return null;
        }
    
        protected String replaceHighlightQueries(final String cache, final String[] queries) {
            final StringBuffer buf = new StringBuffer(cache.length() + 100);
            final StringBuffer segBuf = new StringBuffer(1000);
            final Pattern p = Pattern.compile("<[^>]+>");
            final Matcher m = p.matcher(cache);
            final String[] regexQueries = new String[queries.length];
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            }
            this.headerFields = null;
            for ( Entry<String, List<String>> property : this.connection.getRequestProperties().entrySet() ) {
                String key = property.getKey();
                StringBuffer value = new StringBuffer();
                Iterator<String> values = property.getValue().iterator();
                while ( values.hasNext() ) {
                    value.append(values.next());
                    if ( values.hasNext() )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ACE.java

         * fragments but currently it does not.
         */
        public String toString() {
            int count, i;
            String str;
    
            StringBuffer sb = new StringBuffer();
            sb.append( isAllow() ? "Allow " : "Deny  " );
            appendCol(sb, sid.toDisplayString(), 25);
            sb.append( " 0x" ).append( Hexdump.toHexString( access, 8 )).append(' ');
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
Back to top