- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for GetConfig (0.17 sec)
-
src/main/java/jcifs/netbios/NameServiceClientImpl.java
this.rcv_buf = new byte[tc.getConfig().getNetbiosRcvBufSize()]; this.out = new DatagramPacket(this.snd_buf, tc.getConfig().getNetbiosSndBufSize(), this.baddr, NAME_SERVICE_UDP_PORT); this.in = new DatagramPacket(this.rcv_buf, tc.getConfig().getNetbiosRcvBufSize()); this.resolveOrder = tc.getConfig().getResolveOrder(); initCache(tc); } static final class CacheEntry {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Aug 14 14:26:22 GMT 2022 - 38.2K bytes - Viewed (0) -
src/test/java/jcifs/tests/SessionTest.java
} } @Test public void logonGuestAlternative () throws IOException { CIFSContext ctx = getContext(); ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) { @Override public String getGuestUsername () { return "jcifs-guest"; } }).withGuestCrendentials();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
* methods that the next part should be sent. This is a * very indirect and simple batching control mechanism. */ if ( this.andx == null || !getConfig().isUseBatching() || this.batchLevel >= getBatchLimit(getConfig(), (byte) this.andx.getCommand()) ) { this.andxCommand = (byte) 0xFF; this.andx = null; dst[ start + ANDX_COMMAND_OFFSET ] = (byte) 0xFF;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Nov 28 10:56:27 GMT 2022 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/OplockTests.java
Smb2CreateRequest create = new Smb2CreateRequest(sess.getConfig(), "\\foocc"); create.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF); create.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH); tree.send(create); Smb2CreateRequest create2 = new Smb2CreateRequest(sess.getConfig(), "\\foocc"); create2.setOverrideTimeout(1000);
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
} CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L); this._domains = entry; if ( tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException ) { throw (SmbAuthException) ioe; } return this._domains.map; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:07:29 GMT 2023 - 29.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
CIFSContext ctx = getContext(); int origBufferSize = ctx.getConfig().getMaximumBufferSize(); // odd buffer size that does match the alignment int tryBufferSize = 1023; final int bufSize[] = new int[] { origBufferSize }; ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) { @Override public int getMaximumBufferSize () {
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/main/java/jcifs/context/BaseContext.java
public SmbTransportPool getTransportPool () { return this.transportPool; } /** * {@inheritDoc} * * @see jcifs.CIFSContext#getConfig() */ @Override public Configuration getConfig () { return this.config; } /** * {@inheritDoc} * * @see jcifs.CIFSContext#getDfs() */ @Override
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 27 18:25:00 GMT 2022 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
try { long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12; f.setLastModified(time); if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) { // only have second precision // there seems to be some random factor (adding one second)
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/main/java/jcifs/smb/SmbTransportImpl.java
this.transportContext = tc; this.signingEnforced = forceSigning || this.getContext().getConfig().isSigningEnforced(); this.sessionExpiration = System.currentTimeMillis() + tc.getConfig().getSessionTimeout(); this.address = address; this.port = port; this.localAddr = localAddr; this.localPort = localPort;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Wed Jan 18 23:47:00 GMT 2023 - 67K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
else { th.send(new SmbComDeleteDirectory(th.getConfig(), fileName), new SmbComBlankResponse(th.getConfig())); } } else { if ( th.isSMB2() ) { Smb2CreateRequest req = new Smb2CreateRequest(th.getConfig(), fileName.substring(1)); req.setDesiredAccess(0x10000); // delete
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 81.6K bytes - Viewed (0)