docs: void dfsPathSplit(String path, String[] result)
      {
          int ri = 0, rlast = result.length - 1;
          int i = 0, b = 0, len = path.length();
  
          do {
              if (ri == rlast) {
                  result[rlast] = path.substring(b);
                  return;
              }
              if (i == len || path.charAt(i) == '\\') {
                  result[ri++] = path.substring(b, i);
                  b = i + 1;
              }
          } while (i++ < len);
  
          while (ri < result.length) {
              result[ri++] = "";
          }
      }