- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for tool (3.92 sec)
-
src/main/java/jcifs/util/transport/Transport.java
*/ public static int readn ( InputStream in, byte[] b, int off, int len ) throws IOException { int i = 0, n = -5; if ( off + len > b.length ) { throw new IOException("Buffer too short, bufsize " + b.length + " read " + len); } while ( i < len ) { n = in.read(b, off + i, len - i); if ( n <= 0 ) { break; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 01 18:12:21 GMT 2020 - 24.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
if ( host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host) ) { // this is not too good, probably should better pass the address and check that it is a netbios one. // While we could look up the domain controller/KDC we cannot really make the java kerberos implementation
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 13K bytes - Viewed (0) -
src/test/java/jcifs/tests/RandomAccessFileTest.java
assertArrayEquals("Data matches at offset " + p, actual, verify); p += read; } assertEquals("Expecting EOF", -1, is.read(buffer, 0, 1)); log.debug("Read " + length + " took " + ( System.currentTimeMillis() - start )); } /** * @param bufSize * @param length * @param os * @throws IOException */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/ReadWriteTest.java
p += read; } if ( expectEof ) { assertEquals("Expecting EOF", -1, is.read(buffer, 0, 1)); } log.debug("Read " + length + " took " + ( System.currentTimeMillis() - start )); } /** * @param bufSize * @param length * @param os * @throws IOException */
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/KerberosTest.java
Assume.assumeTrue(getContext().getConfig().getResolveOrder().contains(ResolverType.RESOLVER_DNS)); long start = System.currentTimeMillis() / 1000 * 1000; // this is not too great as it depends on timing/clockskew // first we need to obtain a ticket, therefor need valid credentials // then we need to wait until the ticket is expired int wait = 10 * 1000;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Mar 01 09:46:04 GMT 2020 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return retry SMB requests on failure up to n times */ int getMaxRequestRetries (); /** * Property <tt>jcifs.smb.client.strictResourceLifecycle</tt> (bool, default false) * * If enabled, SmbFile instances starting with their first use will hold a reference to their tree.
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 18K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
len += pad8(bufferIndex); } else if ( compound && this.nextCommand == 0 && this.readSize > 0 ) { // TODO: only apply this for actual compound chains, or is this correct for single responses, too? // 3.2.5.1.9 Handling Compounded Responses // The final response in the compounded response chain will have NextCommand equal to 0,
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Sep 30 10:47:31 GMT 2018 - 19.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* share. There are actually two different ACLs for shares - the ACL on * the share and the ACL on the folder being shared. * Go to <i>Computer Management</i> * > <i>System Tools</i> > <i>Shared Folders</i> > <i>Shares</i> and * look at the <i>Properties</i> for a share. You will see two tabs - one * for "Share Permissions" and another for "Security". These correspond to
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 26K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
} throw new TransportException("All connection attempts failed"); } /** * * @param trans * @return whether (non-exclusive) connection is in the pool */ public boolean contains ( SmbTransport trans ) { synchronized ( this.connections ) { cleanup(); return this.connections.contains(trans); } }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Dec 20 14:09:34 GMT 2020 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/TimeoutTest.java
// connection should be closed by now assertTrue("Transport is still connected", t.isDisconnected()); assertFalse("Connection is still in the pool", ( (SmbTransportPoolImpl) ctx.getTransportPool() ).contains(t)); } finally { f.delete(); } } }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 12.4K bytes - Viewed (0)