Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for substring (0.19 sec)

  1. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    dr.server = expandedNames[ 0 ].substring(1).toLowerCase();
                }
                else {
                    dr.server = ref.getSpecialName().substring(1).toLowerCase();
                }
                if ( log.isDebugEnabled() ) {
                    log.debug("Server " + dr.server + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed " + consumed);
                }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

                    if (iface != null) {
                        int c, p;
                        c = iface.indexOf(':');
                        p = iface.indexOf('.', c + 1);
                        uuid = new UUID(iface.substring(0, c));
                        major = Integer.parseInt(iface.substring(c + 1, p));
                        minor = Integer.parseInt(iface.substring(p + 1));
                        return;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                } catch( SmbException se ) {
                    fp = 0L;
                }
            }
            if( file instanceof SmbNamedPipe && file.unc.startsWith( "\\pipe\\" )) {
                file.unc = file.unc.substring( 5 );
                file.send( new TransWaitNamedPipe( "\\pipe" + file.unc ),
                                            new TransWaitNamedPipeResponse() );
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                } else {
                    String auth = new String(Base64.decode(msg.substring(6)),
                            "US-ASCII");
                    int index = auth.indexOf(':');
                    String user = (index != -1) ? auth.substring(0, index) : auth;
                    String password = (index != -1) ? auth.substring(index + 1) :
                            "";
                    index = user.indexOf('\\');
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmSsp.java

                throws IOException {
            String msg = req.getHeader("Authorization");
            if ( msg != null && msg.startsWith("NTLM ") ) {
                byte[] src = Base64.decode(msg.substring(5));
                if ( src[ 8 ] == 1 ) {
                    Type1Message type1 = new Type1Message(src);
                    Type2Message type2 = new Type2Message(tc, type1, challenge, null);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/EnumTest.java

                assertTrue("No share found", list.length > 0);
                log.debug(Arrays.toString(list));
    
                String shareUrl = getTestShareURL();
                String link = shareUrl.substring(dfsRoot.length());
    
                Set<String> listLinks = new HashSet<>(Arrays.asList(list));
                int firstSep = link.indexOf('/');
                if ( firstSep == link.length() - 1 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

            if ( path.length() > 0 && path.charAt(0) == '\\' ) {
                path = path.substring(1);
            }
            // win8.1 returns ACCESS_DENIED if the trailing backslash is included
            if ( path.length() > 1 && path.charAt(path.length() - 1) == '\\' ) {
                path = path.substring(0, path.length() - 1);
            }
            this.name = path;
        }
    
    
        /**
         * {@inheritDoc}
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 09:52:11 GMT 2019
    - 14.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    }
                } else { /* Basic */
                    String auth = new String( Base64.decode( msg.substring(6) ), "US-ASCII" );
                    int index = auth.indexOf( ':' );
                    String user = (index != -1) ? auth.substring(0, index) : auth;
                    String password = (index != -1) ? auth.substring(index + 1) : "";
                    index = user.indexOf('\\');
                    if (index == -1) index = user.indexOf('/');
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcBinding.java

                    String iface = INTERFACES.get(lep.substring(6));
                    if ( iface != null ) {
                        int c, p;
                        c = iface.indexOf(':');
                        p = iface.indexOf('.', c + 1);
                        this.uuid = new UUID(iface.substring(0, c));
                        this.major = Integer.parseInt(iface.substring(c + 1, p));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    case 2:
                        if (ch == '[') {
                            String server = str.substring(mark, si).trim();
                            if (server.length() == 0)
                                server = "127.0.0.1";
                            binding = new DcerpcBinding(proto, str.substring(mark, si));
                            mark = si + 1;
                            state = 5;
                        }
    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