Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for foo (0.16 sec)

  1. src/test/java/jcifs/tests/DfsTest.java

            };
            dfs.cache(context, "\\" + hostname + "\\" + root + path, dr);
            DfsReferralData ref = dfs.resolve(context, hostname, root, path + "lalala\\foo\\");
            assertNotNull(ref);
            DfsReferralData ref2 = dfs.resolve(context, hostname, root, path + "lalala\\foo");
            assertNotNull(ref2);
        }
    
    
        /**
         * @return
         * @throws URISyntaxException
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileLocationTest.java

                  SmbResource c = new SmbFile(p, "foo/") ) {
                SmbResourceLocator fl = c.getLocator();
                assertEquals("1.2.3.4", fl.getServer());
                assertEquals(SmbConstants.TYPE_FILESYSTEM, fl.getType());
                assertEquals("share", fl.getShare());
                assertEquals("\\foo\\", fl.getUNCPath());
                assertEquals("smb://1.2.3.4/share/foo/", fl.getCanonicalURL());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            return dr;
        }
    
    
        /*
         * Split DFS path like \fs1.example.com\root5\link2\foo\bar.txt into at
         * most 3 components (not including the first index which is always empty):
         * result[0] = ""
         * result[1] = "fs1.example.com"
         * result[2] = "root5"
         * result[3] = "link2\foo\bar.txt"
         */
        private static int dfsPathSplit ( String path, String[] result ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/OplockTests.java

                            | SmbConstants.FILE_WRITE_DATA;
                    int attrs = 0;
                    int options = 0;
                    String uncPath = "foo-oplock";
    
                    SmbComNTCreateAndXResponse resp = new SmbComNTCreateAndXResponse(sess.getConfig());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileOperationsTest.java

        }
    
    
        @Test
        public void testMkDirs () throws CIFSException, MalformedURLException, UnknownHostException {
            try ( SmbFile r = createTestDirectory();
                  SmbResource e = new SmbFile(r, "foo/bar/test/") ) {
                try {
                    e.mkdirs();
                }
                finally {
                    r.delete();
                }
            }
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ContextConfigTest.java

            try ( SmbFile f = new SmbFile("smb://foo:b%40r@127.0.0.1/") ) {
                Assert.assertEquals("foo:b%40r", f.getLocator().getURL().getUserInfo());
                NtlmPasswordAuthenticator na = f.getContext().getCredentials().unwrap(NtlmPasswordAuthenticator.class);
                Assert.assertEquals("b@r", na.getPassword());
            }
    
            try ( SmbFile f = new SmbFile(new URL("smb://foo:b%40r@127.0.0.1/")) ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbNamedPipe.java

     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/PIPE/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_CALL, context);
     * </pre>
     * 
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td>
     * </tr>
     * <tr>
     * <td width="20%">
     * 
     * <pre>
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
     *         SmbNamedPipe.PIPE_TYPE_CALL );
     * </pre></td><td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td></tr>
     * <tr><td width="20%"><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFile.java

     * </code></td>
     * </tr>
     * 
     * <tr>
     * <td width="20%"><code>
     *  smb://host/share/zig/zag
     * </code></td>
     * <td width="20%"><code>
     *  smb://foo/bar/
     * </code></td>
     * <td><code>
     *  smb://foo/bar/
     * </code></td>
     * </tr>
     * 
     * <tr>
     * <td width="20%"><code>
     *  smb://host/share/foo/
     * </code></td>
     * <td width="20%"><code>
     *  ../.././.././../foo/
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

             * be cached and cause other types to fail even though they may
             * not be the authority for the name. For example, if a WINS lookup
             * for FOO fails and caches unknownAddress for FOO, a subsequent
             * lookup for FOO using BCAST should not fail because of that
             * name cached from WINS.
             *
             * So, here we apply the source addresses hashCode to each name to
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
Back to top