- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,577 for inst (0.02 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
@ParameterizedTest @DisplayName("Should encode consistently with various flag values") @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 }) void testEncodingWithVariousFlags(int flags) { lock = new Smb2Lock(1024L, 2048L, flags); int encoded = lock.encode(buffer, 0); assertEquals(24, encoded);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
private boolean loadBalance; private boolean enableBasic; private boolean insecureBasic; private String realm; @Override public void init(final FilterConfig filterConfig) throws ServletException { String name; int level; /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 30min. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
// Security information flag constants for testing private static final int OWNER_SECURITY_INFORMATION = 0x00000001; private static final int GROUP_SECURITY_INFORMATION = 0x00000002; private static final int DACL_SECURITY_INFORMATION = 0x00000004; private static final int SACL_SECURITY_INFORMATION = 0x00000008; private static final int ALL_SECURITY_INFORMATION = 0x0000000F; @BeforeEach void setUp() {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/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
Smb2TreeDisconnectRequest req2 = new Smb2TreeDisconnectRequest(mockConfig); // Then - all should have same command int cmd1 = (int) commandField.get(req1); int cmd2 = (int) commandField.get(req2); assertEquals(cmd1, cmd2); assertEquals(SMB2_TREE_DISCONNECT, cmd1); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
// First entry size: 4 (nextOffset) + 4 (action) + 4 (nameLength) + nameBytes int entry1Size = 12 + fileNameBytes1.length; int entry1AlignedSize = ((entry1Size + 3) / 4) * 4; // Align to 4 bytes int entry2Size = 12 + fileNameBytes2.length; int entry2AlignedSize = ((entry2Size + 3) / 4) * 4; // Align to 4 bytes // First notificationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
@ValueSource(ints = { 0, 1, 15, 127, 255 }) void testVariousPadding(int padding) { assertDoesNotThrow(() -> request.setPadding((byte) padding)); } @ParameterizedTest @DisplayName("Should handle various read lengths") @ValueSource(ints = { 0, 1, 512, 1024, 4096, 65536, 1048576 }) void testVariousReadLengths(int length) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0x56, buffer[2] & 0xFF); assertEquals(0x78, buffer[3] & 0xFF); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE }) @DisplayName("Should handle boundary values") void testBoundaryValues(int value) { // Given byte[] buffer = new byte[4]; // When Encdec.enc_uint32le(value, buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java
* * @return the maximum number of readings, default is 10. */ default int getMaxReadingNum() { return 10; } /** * Initializes the converter. * * @throws IOException if an I/O error occurs during initialization. */ void init() throws IOException; /**Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:28:21 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
suffix[suffix.length - 1] = (byte) 128; final DerivationParameters param = new KDFCounterParameters(sessionKey, null /* prefix */, suffix /* suffix */, r /* r */); gen.init(param); final byte[] derived = new byte[16]; gen.generateBytes(derived, 0, 16); return derived; } /** * @param string * @return null terminated ASCII bytes
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java
public SmbClient() { super(); } @Override public synchronized void init() { if (smbAuthenticationHolder != null) { return; } if (logger.isDebugEnabled()) { logger.debug("Initializing SmbClient..."); } super.init(); // smb auth final SmbAuthenticationHolder holder = new SmbAuthenticationHolder();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 23.3K bytes - Viewed (0)