- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 2,830 for rint (0.02 sec)
-
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java
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) throws SMBProtocolDecodingException { if (len > this.outputBuffer.length) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
FALSE_FIRST(-1, "Booleans.falseFirst()"); private final int trueValue; private final String toString; BooleanComparator(int trueValue, String toString) { this.trueValue = trueValue; this.toString = toString; } @Override public int compare(Boolean a, Boolean b) { int aVal = a ? trueValue : 0; int bVal = b ? trueValue : 0; return bVal - aVal; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
FALSE_FIRST(-1, "Booleans.falseFirst()"); private final int trueValue; private final String toString; BooleanComparator(int trueValue, String toString) { this.trueValue = trueValue; this.toString = toString; } @Override public int compare(Boolean a, Boolean b) { int aVal = a ? trueValue : 0; int bVal = b ? trueValue : 0; return bVal - aVal; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
int readSetupWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; } @Override int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; } @Override int readDataWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
void resizeEntries(int newCapacity) { this.entries = Arrays.copyOf(requireEntries(), newCapacity); this.keys = Arrays.copyOf(requireKeys(), newCapacity); this.values = Arrays.copyOf(requireValues(), newCapacity); } @CanIgnoreReturnValue private int resizeTable(int oldMask, int newCapacity, int targetHash, int targetEntryIndex) { Object newTable = CompactHashing.createTable(newCapacity);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
* * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; final int nciphers = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.ciphers = new int[nciphers]; for (int i = 0; i < nciphers; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 3.8K bytes - Viewed (0)