- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 2,811 for rint (0.13 sec)
-
src/main/java/jcifs/smb/compression/CompressionService.java
/** * Compression algorithm constants matching SMB3 specification. */ public static final int COMPRESSION_NONE = 0x0; public static final int COMPRESSION_LZ77 = 0x1; public static final int COMPRESSION_LZ77_HUFFMAN = 0x2; public static final int COMPRESSION_LZNT1 = 0x3; public static final int COMPRESSION_PATTERN_V1 = 0x4; /** * Compresses data using the specified algorithm. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
* such index exists. */ public static int indexOf(float[] array, float target) { return indexOf(array, target, 0, array.length); } // TODO(kevinb): consider making this public private static int indexOf(float[] array, float target, int start, int end) { for (int i = start; i < end; i++) { if (array[i] == target) { return i; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
void testEncodeAtDifferentPositions(int position) { // Given byte[] largeBuffer = new byte[200]; long sourceOffset = 12345L; long targetOffset = 67890L; int length = 99999; SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length); // When int bytesWritten = chunk.encode(largeBuffer, position);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
int[] expectedSizes = { 16, 24, 32, 40, 48 }; for (int i = 0; i < contexts.length; i++) { contexts[i] = new MockCreateContextRequest("CTX" + i, expectedSizes[i]); } // Calculate total size int totalSize = 0; for (int i = 0; i < contexts.length; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java
} @Override protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
void testEncodeWithOffset() { String path = "\\\\test"; int maxReferralLevel = 5; buffer = new DfsReferralRequestBuffer(path, maxReferralLevel); int offset = 10; byte[] dst = new byte[offset + buffer.size()]; int bytesEncoded = buffer.encode(dst, offset); assertEquals(buffer.size(), bytesEncoded);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java
return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { this.length = SMBUtil.readInt4(buffer, bufferIndex); return 4; } @Override protected int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
// Given byte[] buffer = new byte[512]; int encodeIndex = 0; int decodeIndex = 0; int encodeLength = 100; int decodeLength = 100; when(messageBlock.encode(buffer, encodeIndex)).thenReturn(encodeLength); when(messageBlock.decode(buffer, decodeIndex)).thenReturn(decodeLength); // When int encoded = messageBlock.encode(buffer, encodeIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java
} @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
/** * Unit tests for DirectoryLeaseContext */ public class DirectoryLeaseContextTest { @Test public void testConstructor() { Smb2LeaseKey key = new Smb2LeaseKey(); int leaseState = DirectoryLeaseState.DIRECTORY_READ_HANDLE; DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN; DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0)