- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 2,732 for rint (0.11 sec)
-
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
return leaseDuration; } @Override protected int writeBytesWireFormat(byte[] dst, int dstIndex) { // This is a response, not a request, so this method is not used return 0; } @Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { int start = bufferIndex; // StructureSize (2 bytes) - must be 36Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
for (int i = 0; i < 100; i++) { int bytesRead = response.readBytesWireFormat(buffer, 0); // Then assertEquals(4, bytesRead, "Failed at iteration " + i); } // When - perform multiple write operations for (int i = 0; i < 100; i++) { int bytesWritten = response.writeBytesWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
private static final int CRC32C_GENERATOR = 0x1EDC6F41; // 0x11EDC6F41 private static final int CRC32C_GENERATOR_FLIPPED = Integer.reverse(CRC32C_GENERATOR); public void testCrc32cByteTable() { // See Hacker's Delight 2nd Edition, Figure 14-7. int[] expected = new int[256]; for (int i = 0; i < expected.length; i++) { int crc = i; for (int j = 7; j >= 0; j--) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Test with different buffer sizes and indices int[][] configs = { { 100, 0 }, { 1024, 50 }, { 4096, 2000 }, { 65536, 32768 } }; for (int[] config : configs) { byte[] dst = new byte[config[0]]; int dstIndex = config[1]; int result = response.writeBytesWireFormat(dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* after index validation has already been performed. */ ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { return new SubList(fromIndex, toIndex - fromIndex); } private final class SubList extends ImmutableList<E> { final transient int offset; final transient int length; SubList(int offset, int length) { this.offset = offset; this.length = length; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte()); char[] buffer = new char[maxChars]; int bufIndex = 0; int remaining = buffer.length; try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { int nRead = 0;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
*/ private static class TestAndXServerMessageBlock extends AndXServerMessageBlock { private int paramWordsWritten = 0; private int bytesWritten = 0; private int paramWordsRead = 0; private int bytesRead = 0; private boolean retainPayload = false; private byte[] rawPayload = null;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComBlankResponse.java
super(config); } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
} @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @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; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
void testWriteDataWireFormatPartialData() { // Arrange int partialOffset = 5; int partialLength = 8; TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, partialOffset, partialLength); byte[] dst = new byte[100]; int dstIndex = 0; // Act int bytesWritten = trans.writeDataWireFormat(dst, dstIndex); // Assert
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0)