- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 3,651 for inT (0.3 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
} @Test void testWriteSetupWireFormat() { byte[] dst = new byte[100]; int result = response.writeSetupWireFormat(dst, 0); assertEquals(0, result); } @Test void testWriteParametersWireFormat() { byte[] dst = new byte[100]; int result = response.writeParametersWireFormat(dst, 0); assertEquals(0, result); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
*/ private void trim() { int left = 0; int right = 2 * k - 1; int minThresholdPosition = 0; // The leftmost position at which the greatest of the k lower elements // -- the new value of threshold -- might be found. int iterations = 0; int maxIterations = IntMath.log2(right - left, RoundingMode.CEILING) * 3; while (left < right) { int pivotIndex = (left + right + 1) >>> 1;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/WinError.java
*/ /** The operation completed successfully */ int ERROR_SUCCESS = 0; /** Access is denied */ int ERROR_ACCESS_DENIED = 5; /** No more connections can be made to this remote computer */ int ERROR_REQ_NOT_ACCEP = 71; /** The pipe state is invalid */ int ERROR_BAD_PIPE = 230; /** All pipe instances are busy */ int ERROR_PIPE_BUSY = 231; /** The pipe is being closed */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
} int chunks = (int) (wsize / maxChunkSize); int lastChunkSize; if (chunks + 1 > maxChunks) { chunks = maxChunks; lastChunkSize = maxChunkSize; } else { lastChunkSize = (int) (wsize % maxChunkSize);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
void testWriteSetupWireFormat() { // Arrange transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); byte[] dst = new byte[10]; int dstIndex = 0; // Act int bytesWritten = transWaitNamedPipe.writeSetupWireFormat(dst, dstIndex); // Assert assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_WAIT_NAMED_PIPE, dst[0]);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
* Server flags2 field from the SMB header. */ public int sflags2; /** * Maximum number of outstanding multiplex requests. */ public int smaxMpxCount; /** * Maximum buffer size the server can handle. */ public int maxBufferSize; /** * Session key for this connection. */ public int sessKey; /** * Server capabilities bitmap. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
*/ @Test public void testWriteParameterWordsWireFormat() { // Given int fid = 456; long lastWriteTime = System.currentTimeMillis(); SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime); byte[] dst = new byte[6]; // When int bytesWritten = smbComClose.writeParameterWordsWireFormat(dst, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(16, bytesRead); assertEquals(-1, response.getCount()); // -1 as signed int represents max unsigned value assertEquals(-2, response.getRemaining()); } private byte[] createValidWriteResponse(int count, int remaining) { byte[] buffer = new byte[64];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/UUID.java
*/ package jcifs.dcerpc; /** * UUID type wrapper * */ public class UUID extends rpc.uuid_t { private static int hex_to_bin(final char[] arr, final int offset, final int length) { int value = 0; int ai, count; count = 0; for (ai = offset; ai < arr.length && count < length; ai++) { value <<= 4; switch (arr[ai]) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0)