Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for lastSlash (0.05 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                    }
    
                    int lastSlash = moduleName.lastIndexOf('/');
    
                    moduleName = moduleName.substring(lastSlash + 1);
    
                    if ((moduleName.equals(childName) || (moduleName.equals(childDirectory))) && lastSlash >= 0) {
                        adjustment = module.substring(0, lastSlash);
                        break;
                    }
                }
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          if (path == null || !path.startsWith("/")) {
            val encodedPath = url.encodedPath
            val lastSlash = encodedPath.lastIndexOf('/')
            path = if (lastSlash != 0) encodedPath.substring(0, lastSlash) else "/"
          }
    
          return Cookie(
            cookieName, cookieValue, expiresAt, domain, path, secureOnly, httpOnly,
            persistent, hostOnly, sameSite,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top