- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for jest (0.12 sec)
-
src/main/java/jcifs/smb1/util/transport/Transport.java
} } catch( Exception ex ) { String msg = ex.getMessage(); boolean timeout = msg != null && msg.equals( "Read timed out" ); /* If just a timeout, try to disconnect gracefully */ boolean hard = timeout == false; if (!timeout && log.level >= 3) ex.printStackTrace( log );
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* * @param challenge The server challenge. * @param dest The destination array in which the user session key will be * placed. * @param offset The offset in the destination array at which the * session key will start. */ void getUserSessionKey(byte[] challenge, byte[] dest, int offset) throws SmbException { if (hashesExternal) return; try {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 22.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/SidTest.java
} @Test public void resolveUserSID () throws IOException { String sid = getRequiredProperty(TestProperties.TEST_USER_SID); SID s = new SID(sid); s.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext())); assertEquals(getRequiredProperty(TestProperties.TEST_USER_DOMAIN_SHORT), s.getDomainName());
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
} @Test public void testBaseFile () throws MalformedURLException, CIFSException { try ( SmbResource f = getDefaultShareRoot() ) { checkConnection(f); if ( f.getType() != SmbConstants.TYPE_FILESYSTEM ) { assertEquals(SmbConstants.TYPE_SHARE, f.getType()); } } } @Test
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
} } } assertTrue("Test directory enum-test/a/b/c/ not found", names.contains("c/")); } try ( SmbFile r = getDefaultShareRoot(); SmbFile f = new SmbFile(r, "enum-test/a/b/c/") ) { f.exists(); } } @Test public void testEnumDeepVirgin () throws IOException {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
private String getTestDfsTargetServer () { String dfsTargetServer = getProperties().get("test.server.dfs"); if ( dfsTargetServer != null ) { return dfsTargetServer; } return getTestServer(); } private String getTestDC () { String dfsTargetServer = getProperties().get("test.domain.dc"); if ( dfsTargetServer != null ) { return dfsTargetServer; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Mar 01 09:46:04 GMT 2020 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/WatchTest.java
assertNotNull(f); f.get(5, TimeUnit.SECONDS); } } @Test public void testWatchRecursive () throws InterruptedException, ExecutionException, IOException { try ( SmbResource subdir = this.base.resolve("test/") ) { subdir.mkdir(); try ( SmbWatchHandle w = this.base.watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME, true) ) {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
} @Test public void testASCII () throws CIFSException, MalformedURLException, UnknownHostException { runFilenameTest("just-testing", "adsfg.txt"); } @Test public void testCodepage () throws MalformedURLException, UnknownHostException, CIFSException { Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Jun 06 10:48:05 GMT 2020 - 7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
private final Map<Name, NbtAddress> table = new HashMap<>(); private long lastModified = 1L; private int alt; /** * This is really just for {@link jcifs.netbios.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here.
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
this.path = path; this.service = service; command = SMB_COM_TREE_CONNECT_ANDX; } int getBatchLimit( byte command ) { int c = (int)( command & 0xFF ); // why isn't this just return batchLimits[c]? switch( c ) { case SMB_COM_CHECK_DIRECTORY: return batchLimits[0]; case SMB_COM_CREATE_DIRECTORY: return batchLimits[2];
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 6.8K bytes - Viewed (0)