- Sort Score
- Num 10 results
- Language All
Results 861 - 870 of 4,704 for Hint (0.03 seconds)
-
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
void testHandleLeaseBreak() { String path = "/share/file.txt"; int initialState = Smb2LeaseState.SMB2_LEASE_FULL; int newState = Smb2LeaseState.SMB2_LEASE_READ_CACHING; Smb2LeaseKey key = leaseManager.requestLease(path, initialState); leaseManager.updateLease(key, initialState); int initialEpoch = leaseManager.getLease(key).getEpoch();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* inserting the element at `insertionPoint` will retain sorted order. */ inline fun binarySearch( position: Int, limit: Int, compare: (Int) -> Int, ): Int { // Do the binary searching bit. var low = position var high = limit - 1 while (low <= high) { val mid = (low + high) / 2 val compareResult = compare(mid)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 9K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
* result[2] = "root5" * result[3] = "link2\foo\bar.txt" */ private static int dfsPathSplit(final String path, final String[] result) { int ri = 0; final int rlast = result.length - 1; int i = 0, b = 0; final int len = path.length(); int strip = 0; do { if (ri == rlast) { result[rlast] = path.substring(b);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
void writeParametersWireFormat_writesCorrectly(int fid, int securityInformation) { NtTransQuerySecurityDesc cmd = new NtTransQuerySecurityDesc(fid, securityInformation); byte[] dst = new byte[15]; // Increased buffer size to accommodate offset + 8 bytes int offset = 3; // start in the middle to ensure no tail is overwritten int bytesWritten = cmd.writeParametersWireFormat(dst, offset);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/UniAddress.java
* DNS resolvable hosts. */ public class UniAddress { private static final int RESOLVER_WINS = 0; private static final int RESOLVER_BCAST = 1; private static final int RESOLVER_DNS = 2; private static final int RESOLVER_LMHOSTS = 3; private static int[] resolveOrder; private static InetAddress baddr; private static LogStream log = LogStream.getInstance();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
} enum TargetSupplier { STRING_WRITER { @Override Appendable get(int sz) { return new StringWriter(sz); } }, STRING_BUILDER { @Override Appendable get(int sz) { return new StringBuilder(sz); } }; abstract Appendable get(int sz); } @Param CopyStrategy strategy; @Param TargetSupplier target;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingInputStream.java
@CanIgnoreReturnValue public int read() throws IOException { int b = in.read(); if (b != -1) { hasher.putByte((byte) b); } return b; } /** * Reads the specified bytes of data from the underlying input stream and updates the hasher with * the bytes read. */ @Override @CanIgnoreReturnValue public int read(byte[] bytes, int off, int len) throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbException.java
*/ public static String getMessageByCode(final int errcode) { String message = errorCodeMessages.get(errcode); if (message == null) { message = "0x" + Hexdump.toHexString(errcode, 8); } return message; } static int getStatusByCode(final int errcode) { int statusCode; if ((errcode & 0xC0000000) != 0) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
ACE.GENERIC_READ }; int[] flagConstants = { ACE.FLAGS_OBJECT_INHERIT, ACE.FLAGS_CONTAINER_INHERIT, ACE.FLAGS_NO_PROPAGATE, ACE.FLAGS_INHERIT_ONLY, ACE.FLAGS_INHERITED }; // Check access constants are unique for (int i = 0; i < accessConstants.length; i++) { for (int j = i + 1; j < accessConstants.length; j++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0)