- Sort Score
- Num 10 results
- Language All
Results 921 - 930 of 4,704 for Hint (0.03 seconds)
-
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
void testDeriveKeys_DifferentSessionKeySizes() { // Test with various session key sizes int[] keySizes = { 8, 16, 24, 32, 64, 128 }; int dialect = Smb2Constants.SMB2_DIALECT_0311; for (int size : keySizes) { // Given byte[] testKey = new byte[size]; new SecureRandom().nextBytes(testKey); // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/RC4.java
* @param dst the destination array for the result * @param doff the offset in the destination array */ public void update(final byte[] src, int soff, final int slen, final byte[] dst, int doff) { int slim = soff + slen; while (soff < slim) { i = i + 1 & 0xff; j = j + s[i] & 0xff; final byte t = s[i]; s[i] = s[j];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
} /** * SMB2 File Action constants */ private static final int FILE_ACTION_ADDED = 0x00000001; private static final int FILE_ACTION_REMOVED = 0x00000002; private static final int FILE_ACTION_MODIFIED = 0x00000003; private static final int FILE_ACTION_RENAMED_OLD_NAME = 0x00000004; private static final int FILE_ACTION_RENAMED_NEW_NAME = 0x00000005; /** * SMB2 File Notify Change constantsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/AccessTokenPager.java
} /** * The default current page number. */ public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1; /** * The total number of records available. */ private int allRecordCount; /** * The total number of pages available. */ private int allPageCount; /** * Whether a previous page exists. */ private boolean existPrePage;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
} /** * Returns a new array with the specified int value appended to the end of the int array. * * @param array * the array. Must not be {@literal null} * @param value * the value to add * @return a new array with the value appended */ public static int[] add(final int[] array, final int value) { assertArgumentNotNull("array", array);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 41.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
} /** * * {@inheritDoc} * * @see jcifs.smb.SmbPipeHandleInternal#sendrecv(byte[], int, int, byte[], int) */ @SuppressWarnings("resource") @Override public int sendrecv(final byte[] buf, final int off, final int length, final byte[] inB, final int maxRecvSize) throws IOException { try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConcurrentHashMultiset.java
@CanIgnoreReturnValue @Override public int remove(@Nullable Object element, int occurrences) { if (occurrences == 0) { return count(element); } checkPositive(occurrences, "occurrences"); AtomicInteger existingCounter = safeGet(countMap, element); if (existingCounter == null) { return 0; } while (true) { int oldValue = existingCounter.get();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 22.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
// Test case 3: Zero value int zeroValue = 0; NdrLong ndrLongZero = new NdrLong(zeroValue); assertEquals(zeroValue, ndrLongZero.value, "Constructor should correctly initialize with zero."); // Test case 4: Max int value int maxIntValue = Integer.MAX_VALUE; NdrLong ndrLongMax = new NdrLong(maxIntValue);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
byte[] dst = new byte[100]; int dstIndex = 0; // Mock the superclass method to control its behavior doReturn(10).when((NameServicePacket) request).writeQuestionSectionWireFormat(any(byte[].class), anyInt()); int result = request.writeBodyWireFormat(dst, dstIndex); // Verify that writeQuestionSectionWireFormat was called
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; class Trans2SetFileInformationTest { private Trans2SetFileInformation trans2SetFileInformation; private final int fid = 123; private final int attributes = 1; private final long createTime = System.currentTimeMillis(); private final long lastWriteTime = System.currentTimeMillis(); @BeforeEach void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.3K bytes - Click Count (0)