- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Wong (0.2 sec)
-
src/test/java/jcifs/tests/FileAttributesTest.java
try ( SmbResource f = createTestFile() ) { try { long orig = f.createTime(); long time = System.currentTimeMillis() - 60 * 60 * 12; f.setCreateTime(time); long newTime = f.createTime(); if ( newTime == orig ) { Assume.assumeTrue("Create time was not changed", false);
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/SmbFileOutputStream.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 13 15:14:04 GMT 2021 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
public class DfsImpl implements DfsResolver { private static final DfsReferralDataImpl NEGATIVE_ENTRY = new DfsReferralDataImpl(); private static class CacheEntry <T> { long expiration; Map<String, T> map; CacheEntry ( long ttl ) { this.expiration = System.currentTimeMillis() + ttl * 1000L; this.map = new ConcurrentHashMap<>(); } }
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/FileOperationsTest.java
finally { f.delete(); } } } @Test public void testCopyFile () throws IOException { int bufSize = 65536; long length = 4096 * 16; try ( SmbFile f = createTestFile() ) { try ( SmbFile d1 = createTestDirectory(); SmbFile t = new SmbFile(d1, makeRandomName()) ) { try {
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:17:59 GMT 2023 - 16.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
private int pathConsumed; private long ttl; private String server; // Server private String share; // Share private String link; private String path; // Path relative to tree from which this referral was thrown private long expiration; private int rflags; private boolean resolveHashes; private DfsReferralDataImpl next;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sat Nov 13 15:13:49 GMT 2021 - 11K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected String nativeOs; protected String nativeLanMan = "jCIFS"; protected int vcNumber = 1; protected boolean dfsDisabled = false; protected long dfsTTL = 300; protected boolean dfsStrictView = false; protected boolean dfsConvertToFqdn; protected String logonShare; protected String defaultDomain; protected String defaultUserName;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Thu Jan 05 13:06:39 GMT 2023 - 20.4K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
private String share; // Can be null private long createTime; private long lastModified; private int attributes; private long attrExpiration; private long size; private long sizeExpiration; private boolean isExists; private int shareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE;
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 107.9K bytes - Viewed (2) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
initCache(tc); } static final class CacheEntry { Name hostName; NbtAddress address; long expiration; CacheEntry ( Name hostName, NbtAddress address, long expiration ) { this.hostName = hostName; this.address = address; this.expiration = expiration; } } /**
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/main/java/jcifs/smb/SmbSessionImpl.java
final int securityMode = negoResp.getSecurityMode(); boolean anonymous = this.credentials.isAnonymous(); final boolean doSigning = securityMode != 0 && !anonymous; long newSessId = 0; long curSessId = this.sessionId; synchronized ( trans ) { this.credentials.refresh(); Subject s = this.credentials.getSubject();
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Nov 14 17:41:04 GMT 2021 - 49K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
} if (length < 0) { throw new EOFException("EOF found when length expected"); } if (0xFF == length) { throw new IOException("invalid long form definite-length 0xFF"); } int octetsCount = length & 0x7F, octetsPos = 0; length = 0; do { int octet = s.read(); if (octet < 0)
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Oct 02 12:02:06 GMT 2023 - 6.5K bytes - Viewed (0)