Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for endswith (0.17 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
                if ( b > 0xFF ) {
                    return doNameQuery(name, svr);
                }
                IP = ( IP << 8 ) + b;
                hitDots++;
            }
            if ( hitDots != 4 || host.endsWith(".") ) {
                return doNameQuery(name, svr);
            }
            return new NbtAddress(getUnknownName(), IP, false, NbtAddress.B_NODE);
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/EnumTest.java

                    String[] names = f.list(new SmbFilenameFilter() {
    
                        @Override
                        public boolean accept ( SmbFile dir, String name ) throws SmbException {
                            return name.endsWith(".txt");
                        }
                    });
                    assertNotNull(names);
                    assertEquals(2, names.length);
                    Arrays.sort(names);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    dunc = "\\" + dr.path + dunc;
    
                unc = dunc;
                if (request != null &&
                            request.path != null &&
                            request.path.endsWith("\\") &&
                            dunc.endsWith("\\") == false) {
                    dunc += "\\";
                }
                if (request != null) {
                    request.path = dunc;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

                    if ( request instanceof SmbComTreeConnectAndX ) {
                        SmbComTreeConnectAndX tcax = (SmbComTreeConnectAndX) request;
                        if ( this.netbiosName != null && tcax.getPath().endsWith("\\IPC$") ) {
                            /*
                             * Some pipes may require that the hostname in the tree connect
                             * be the netbios name. So if we have the netbios server name
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

            }
        }
    
    
        private static String encodeRelativePath ( String name ) {
            // workaround fix
            if (name == null) {
                return null;
            }
            if (name.endsWith(" ")) {
                final StringBuilder suffix = new StringBuilder();
                for (int i = name.length() - 1; i >= 0; i--) {
                    if (name.charAt(i) != ' ') {
                        break;
                    }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top