Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 232 for setPath (0.24 sec)

  1. docs/smb3-features/05-rdma-smb-direct-design.md

                
                // Create response with data from RDMA buffer
                Smb2ReadResponse response = new Smb2ReadResponse();
                response.setData(readBuffer.array(), 0, request.getLength());
                
                // Notify waiting thread
                request.setResponse(response);
                
            } finally {
                readRegion.close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            String url, type;
            int n;
    
            try (SmbFileInputStream in = new SmbFileInputStream(file); ServletOutputStream out = resp.getOutputStream()) {
                url = file.getPath();
    
                resp.setContentType("text/plain");
    
                n = url.lastIndexOf('.');
                if (n > 0 && (type = url.substring(n + 1)) != null && type.length() > 1 && type.length() < 6) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayMap.java

        }
    
        /**
         * Sets the value at the specified index.
         *
         * @param index
         *            the index
         * @param value
         *            the value
         */
        public void setAt(final int index, final V value) {
            getEntryAt(index).setValue(value);
        }
    
        @Override
        public V remove(final Object key) {
            final Entry<K, V> e = removeMap(key);
            if (e != null) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            try (final InputStream is = responseData.getResponseBody()) {
                final byte[] data = InputStreamUtil.getBytes(is);
                resultData.setData(data);
                resultData.setEncoding(responseData.getCharSet());
            } catch (final CrawlerSystemException e) {
                throw e;
            } catch (final Exception e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 29 07:42:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            case NtStatus.NT_STATUS_PATH_NOT_COVERED:
                // samba fails to report the proper status for some operations
            case 0xC00000A2: // NT_STATUS_MEDIA_WRITE_PROTECTED
                checkReferral(resp, req.getPath(), req);
            case NtStatus.NT_STATUS_BUFFER_OVERFLOW:
                break; /* normal for DCERPC named pipes */
            case NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED:
                break; /* normal for NTLMSSP */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top