Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for str (0.13 sec)

  1. src/main/java/jcifs/smb1/smb1/ACE.java

            access = ServerMessageBlock.readInt4(buf, bi);
            bi += 4;
            sid = new SID(buf, bi);
            return size;
        }
    
        void appendCol(StringBuffer sb, String str, int width) {
            sb.append(str);
            int count = width - str.length();
            for (int i = 0; i < count; i++) {
                sb.append(' ');
            }
        }
        /**
         * Return a string represeting this ACE.
         * <p>
    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)
  2. src/main/java/jcifs/smb1/dcerpc/UUID.java

            node[1] = uuid.node[1];
            node[2] = uuid.node[2];
            node[3] = uuid.node[3];
            node[4] = uuid.node[4];
            node[5] = uuid.node[5];
        }
        public UUID(String str) {
            char[] arr = str.toCharArray();
            time_low = hex_to_bin(arr, 0, 8);
            time_mid = S(hex_to_bin(arr, 9, 4));
            time_hi_and_version = S(hex_to_bin(arr, 14, 4));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 4.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/text/Tokenizer.java

         */
        public Tokenizer(final String str) {
            this(str, defaultCtype);
        }
    
        /**
         * {@link Tokenizer}を作成します。
         *
         * @param str
         *            文字列。{@literal null}であってはいけません
         * @param ctype
         *            文字のタイプの配列。{@literal null}や空配列であってはいけません
         */
        public Tokenizer(final String str, final byte[] ctype) {
            assertArgumentNotNull("str", str);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Strings.java

            return getBytes(str, UNI_ENCODING);
        }
    
    
        /**
         * 
         * @param str
         * @return the string as bytes (ASCII)
         */
        public static byte[] getASCIIBytes ( String str ) {
            return getBytes(str, ASCII_ENCODING);
        }
    
    
        /**
         * @param str
         * @param config
         * @return the string as bytes
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/UnicodeString.java

            this.zterm = zterm;
        }
    
    
        /**
         * 
         * @param str
         *            wrapped string
         * @param zterm
         *            whether the string should be zero terminated
         */
        public UnicodeString ( String str, boolean zterm ) {
            this.zterm = zterm;
    
            int len = str.length();
            int zt = zterm ? 1 : 0;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

            bufferIndex += 24;
    
            String str;
            if ( this.unicode ) {
                if ( fileNameLength > 0 && buffer[ bufferIndex + fileNameLength - 1 ] == '\0' && buffer[ bufferIndex + fileNameLength - 2 ] == '\0' ) {
                    fileNameLength -= 2;
                }
                str = Strings.fromUNIBytes(buffer, bufferIndex, fileNameLength);
            }
            else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/NamingTest.java

                }
                buf.put((byte) i);
            }
            buf.flip();
            String str = cs.decode(buf).toString();
            return str;
        }
    
    
        private static String[] splitString ( String str, int maxLen ) {
            int num = str.length() / maxLen;
            if ( str.length() % maxLen != 0 ) {
                num++;
            }
            String strings[] = new String[num];
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 06 10:48:05 GMT 2020
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

        }
    
        public UnicodeString(String str, boolean zterm) {
            this.zterm = zterm;
    
            int len = str.length();
            int zt = zterm ? 1 : 0;
    
            length = maximum_length = (short)((len + zt) * 2);
            buffer = new short[len + zt];
    
            int i;
            for (i = 0; i < len; i++) {
                buffer[i] = (short)str.charAt(i);
            }
            if (zterm) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dtyp/ACE.java

            bi += 4;
            this.sid = new SID(buf, bi);
            return size;
        }
    
    
        void appendCol ( StringBuffer sb, String str, int width ) {
            sb.append(str);
            int count = width - str.length();
            for ( int i = 0; i < count; i++ ) {
                sb.append(' ');
            }
        }
    
    
        /**
         * Return a string represeting this ACE.
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

         * proto:ts0.win.net[\pipe\srvsvc]
         *
         * If the server is absent it is set to "127.0.0.1"
         */ 
        protected static DcerpcBinding parseBinding(String str) throws DcerpcException {
            int state, mark, si;
            char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                char ch = arr[si];
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
Back to top