- Sort Score
- Result 10 results
- Languages All
Results 661 - 670 of 2,937 for rint (0.02 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
@CsvSource({ "1024, 0, 1024", "1024, 100, 900", "1024, 500, 524", "2048, 1024, 1024", "4096, 2048, 2048", "65536, 32768, 32768" }) void testVariousOffsetsAndLengths(int dataSize, int offset, int length) { byte[] data = new byte[dataSize]; assertDoesNotThrow(() -> request.setData(data, offset, length)); } } @Nested @DisplayName("Parameter Setting Tests")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
@DisplayName("Should calculate correct size") void testSize() { // When int size = request.size(); // Then // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32 int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32; // The size8 method aligns to 8-byte boundary int alignedSize = (expectedSize + 7) & ~7; assertEquals(alignedSize, size); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
private static final int DEFAULT_MAX_POOL_SIZE = 100; private static final int DEFAULT_MAX_IDLE_TIME = 300000; // 5 minutes in ms private static final int DEFAULT_HEALTH_CHECK_INTERVAL = 60000; // 1 minute in ms private static final int DEFAULT_PROACTIVE_CHECK_INTERVAL = 30000; // 30 seconds in ms private int maxPoolSize = DEFAULT_MAX_POOL_SIZE; private int maxIdleTime = DEFAULT_MAX_IDLE_TIME;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java
public class StemmerOverridePager implements Serializable { private static final long serialVersionUID = 1L; /** The total number of records across all pages. */ private int allRecordCount; /** The total number of pages. */ private int allPageCount; /** Flag indicating whether a previous page exists. */ private boolean existPrePage; /** Flag indicating whether a next page exists. */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
void mapsKnownDosCodesToNtStatus(int dosCode, int expectedNtStatus) { // Act int actual = findNtStatusOrMinusOne(dosCode); // Assert assertEquals(expectedNtStatus, actual, "Mapping must match table entry"); } @Test @DisplayName("Edge: zero DOS code maps to zero NTSTATUS") void zeroCodeMapsToZero() { // Act int actual = findNtStatusOrMinusOne(0x00000000);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
static final int[] maxValueMods = new int[Character.MAX_RADIX + 1]; static final int[] maxSafeDigits = new int[Character.MAX_RADIX + 1]; static { BigInteger overflow = BigInteger.ONE.shiftLeft(64); for (int i = Character.MIN_RADIX; i <= Character.MAX_RADIX; i++) { maxValueDivs[i] = divide(MAX_VALUE, i); maxValueMods[i] = (int) remainder(MAX_VALUE, i);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
*/ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; bufferIndex++; // revision bufferIndex++; this.type = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; final int ownerUOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to owner sidRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsPagingResultBean.java
this.took = took; } public int getTotalShards() { return totalShards; } public void setTotalShards(int totalShards) { this.totalShards = totalShards; } public int getSuccessfulShards() { return successfulShards; } public void setSuccessfulShards(int successfulShards) { this.successfulShards = successfulShards; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
response.wordCount = 0; int bytesRead = response.readParameterWordsWireFormat(buffer, 0); assertEquals(0, bytesRead); } /** * Test of readBytesWireFormat method, of class SmbComQueryInformationResponse. */ @Test public void testReadBytesWireFormat() { byte[] buffer = new byte[10]; int bufferIndex = 0;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0)