Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 282 for getData (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     *
     * ```java
     * String attack = "http://example.com/static/images/../../../../../etc/passwd";
     * System.out.println(new URL(attack).getPath());
     * System.out.println(new URI(attack).getPath());
     * System.out.println(HttpUrl.parse(attack).encodedPath());
     * ```
     *
     * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

        // Perform normal tree connection
        super.connect();
        
        // Register for witness notifications for this share
        if (session.isWitnessEnabled()) {
            String shareName = getPath();  // e.g., "\\server\share"
            session.registerForWitnessNotifications(shareName);
        }
    }
    ```
    
    ### 5.3 File Handle Integration
    ```java
    // In SmbFile.java
    @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun headers() {
        var headers: Headers = headersOf("", "")
        headers = mapOf("" to "").toHeaders()
        val get: String? = headers[""]
        val date: Date? = headers.getDate("")
        val instant: Instant? = headers.getInstant("")
        val size: Int = headers.size
        val name: String = headers.name(0)
        val value: String = headers.value(0)
        val names: Set<String> = headers.names()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 47K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        public final void setErrorCode(final int errorCode) {
            this.errorCode = errorCode;
        }
    
        /**
         * @return the path
         */
        @Override
        public final String getPath() {
            return this.path;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getFullUNCPath()
         */
        @Override
        public String getFullUNCPath() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

        }
    
        private List<Artifact> toMavenArtifacts(DependencyResult dependencyResult) {
            return dependencyResult.getDependencyNodeResults().stream()
                    .filter(n -> n.getArtifact().getPath() != null)
                    .map(n -> RepositoryUtils.toArtifact(n.getDependency()))
                    .toList();
        }
    
        private Map<String, ClassLoader> calcImports(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

     throws java.io.IOException; public static String removeExtension(String); public static String getExtension(String); public static String removePath(String); public static String removePath(String, char); public static String getPath(String); public static String getPath(String, char); public static void copyFileToDirectory(String, String) throws java.io.IOException; public static void copyFileToDirectory(java.io.File, java.io.File) throws java.io.IOException; public static void copyFile(java.io.File,...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile file = new SmbFile(baseUrl + "shared/path/file.txt", context);
    
            assertEquals("file.txt", file.getName(), "Name should be extracted correctly");
            assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly");
            assertEquals("shared", file.getShare(), "Share should be extracted correctly");
            assertNotNull(file.getParent(), "Parent should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                        return chainedResponse;
                    }
    
                    if (request instanceof SmbComTreeConnectAndX tcax) {
                        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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  9. okhttp/api/jvm/okhttp.api

    	public final fun -deprecated_size ()I
    	public final fun byteCount ()J
    	public fun equals (Ljava/lang/Object;)Z
    	public final fun get (Ljava/lang/String;)Ljava/lang/String;
    	public final fun getDate (Ljava/lang/String;)Ljava/util/Date;
    	public final fun getInstant (Ljava/lang/String;)Ljava/time/Instant;
    	public fun hashCode ()I
    	public fun iterator ()Ljava/util/Iterator;
    	public final fun name (I)Ljava/lang/String;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals(expected, a);
        }
    
        private void assertPathWithNormalizedFileSeparators(Object value) {
            assertEquals(new File(value.toString()).getPath(), value.toString());
        }
    
        private PomTestWrapper buildPom(String pomPath, String... profileIds) throws Exception {
            return buildPom(pomPath, null, null, profileIds);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
Back to top