Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 213 for getPaths (0.06 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, directoryName);
    
            assertEquals(ServerMessageBlock.SMB_COM_CREATE_DIRECTORY, smbCom.getCommand());
            assertEquals(directoryName, smbCom.getPath());
        }
    
        @Test
        void testWriteParameterWordsWireFormat() {
            // This method is empty, so it should return 0
            SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

            assertThat(bytes, is("あいうえお".getBytes("UTF-8")));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
        /**
         * Test isPathSafe with safe path
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_SafePath() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                String url = "smb1://server/share/file.txt";
                SmbFile smbFile = new SmbFile(url);
                assertNotNull(smbFile);
                assertEquals("smb1://server/share/file.txt", smbFile.getPath());
            }
    
            @Test
            public void testConstructorWithValidUrlAndAuth() throws MalformedURLException {
                // Test constructor with authentication
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

                ResourceUtil.getResource("hoge", "xml");
                fail("2");
            } catch (final ResourceNotFoundRuntimeException e) {
                System.out.println(e);
                assertEquals("3", "hoge.xml", e.getPath());
            }
            System.out.println(ResourceUtil.getResource("."));
        }
    
        /**
         * @throws Exception
         */
        public void testGetResourceAsStreamNoException() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/CookieConfig.java

         */
        public void setDomain(final String domain) {
            this.domain = domain;
        }
    
        /**
         * Gets the cookie path.
         *
         * @return the path
         */
        public String getPath() {
            return path;
        }
    
        /**
         * Sets the cookie path.
         *
         * @param path the path
         */
        public void setPath(final String path) {
            this.path = path;
        }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 08 14:22:26 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                     * as opposed to normally
                     * \path\to\file
                     */
                    if (preq.getPath() != null && preq.getPath().length() > 0) {
                        if (log.isDebugEnabled()) {
                            log.debug(String.format("Setting DFS request path from %s to %s", preq.getPath(), preq.getFullUNCPath()));
                        }
                        preq.setResolveInDfs(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * artifact, even if the existence of backing POM file is NOT a requirement (i.e. for some transient projects).
         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        default ProducedArtifact getPomArtifact() {
            return getArtifacts().get(0);
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy

     */
    
     package org.acme;
     public class DualLicensed {
     }
     """
        }
    
        private String packageString(File sourceFile) {
            String normalizedPath = normalized(sourceFile.getPath())
            (normalizedPath.substring(normalizedPath.indexOf("src/main/java")) - "src/main/java/" - ("/" + sourceFile.getName())).replaceAll("/", ".")
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/Handler.java

            } else if (!spec.startsWith("smb1://") && host != null && host.length() == 0) {
                spec = "//" + spec;
                limit += 2;
            }
            super.parseURL(u, spec, start, limit);
            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if (port == -1) {
                port = getDefaultPort();
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                kuromojiService.getKuromojiFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadKuromojiFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
Back to Top