- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,544 for inte (1.6 sec)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
// Given - large buffer with many notifications byte[] buffer = new byte[65536]; int offset = 0; setHeaderStart(response, 64); // Calculate space for notifications int notificationSize = 32; // Each notification int notificationCount = 100; int totalSize = notificationSize * notificationCount; // Write structureRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int structureSize) { byte[] buffer = new byte[1024]; int bufferIndex = 50; SMBUtil.writeInt2(structureSize, buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
/** * Error code returned by the server. */ protected int errorCode; /** * Additional flags for the SMB message. */ protected int flags2; /** * Process identifier. */ protected int pid; /** * User identifier for the authenticated session. */ protected int uid; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
String shareName = "SHARE1"; int shareType = 0x00000000; // Disk share String remark = "Test share"; // Calculate buffer size int shareNameSize = 14; // 13 bytes + null terminator (fixed field) int typeSize = 2; int offsetSize = 4; int remarkSize = remark.length() + 1; int totalSize = shareNameSize + typeSize + offsetSize + remarkSize;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
// Test size calculation int size = request.size(); int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 32 + 64; int expectedSize = (expectedRawSize + 7) & ~7; assertEquals(expectedSize, size); // Test wire format writing byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
* - Positive values not in DOS_ERROR_CODES map to NT_STATUS_UNSUCCESSFUL */ @ParameterizedTest @ValueSource(ints = { 0, 1, 123, -7 }) void testGetNtStatusVariousCodes(int errcode) { SmbException ex = new SmbException(errcode, false); int expected; if (errcode == 0) { expected = 0; } else if ((errcode & 0xC0000000) != 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
/** Scroll size. */ protected int scrollSize = 1; /** Maximum retry count. */ protected int maxRetryCount = 5; /** Limit of document size. */ protected long limitOfDocumentSize = 50000; /** Query builder. */ protected QueryBuilder queryBuilder = QueryBuilders.matchAllQuery(); /** Limit percentage. */ protected int limitPercentage = 100; /** Limit number. */Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// Given byte[] dst = new byte[100]; int dstIndex = 0; // When int result = response.writeBytesWireFormat(dst, dstIndex); // Then assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 99 }) @DisplayName("Should return 0 regardless of destination index")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[offset + 9] = 0x01; // Sub-authority count for (int i = 0; i < 6; i++) { testBuffer[offset + 10 + i] = 0x00; } testBuffer[offset + 15] = 0x01; for (int i = 0; i < 4; i++) { testBuffer[offset + 16 + i] = 0x00; } // Test decode with offset int size = ace.decode(testBuffer, offset, testBuffer.length - offset);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
} /** * {@inheritDoc} * * @see jcifs.smb.SmbFile#getType() */ @Override public int getType() throws SmbException { return TYPE_NAMED_PIPE; } /** * @return the pipe type */ @Override public int getPipeType() { return this.pipeType; } /** * @return a handle for interacting with the pipe */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0)