- Sort Score
- Result 10 results
- Languages All
Results 4641 - 4650 of 4,820 for if (0.02 sec)
-
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
// In Unicode mode, the old filename is written as Unicode, then 0x04, then an alignment byte int secondBufferFormatIndex = -1; for (int i = 1; i < result - 1; i++) { if (dst[i] == (byte) 0x04) { secondBufferFormatIndex = i; break; } } assertTrue(secondBufferFormatIndex > 0, "Second buffer format byte not found");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
}, "Setting the factory a second time should throw IllegalStateException."); } @Test void testOpenConnection_WithCustomFactory() throws Exception { // This test verifies that if a custom URLStreamHandlerFactory is set, it is used // to create the stream handler for the connection. URLStreamHandlerFactory mockFactory = mock(URLStreamHandlerFactory.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.util; import static org.junit.jupiter.api.Assertions.assertEquals;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; /** * Interface defining NT status codes used in SMB protocol operations.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java
/** * Verify the CRUD mode. * @param crudMode The CRUD mode. * @param expectedMode The expected mode. */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) { throwValidationError(messages -> { messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode)); }, this::asListHtml);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/failureurl/AdminFailureurlAction.java
* * @param crudMode the actual CRUD mode provided * @param expectedMode the expected CRUD mode */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) { throwValidationError(messages -> { messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode)); }, this::asListHtml);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/joblog/AdminJoblogAction.java
* * @param crudMode the actual CRUD mode * @param expectedMode the expected CRUD mode */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) { throwValidationError(messages -> { messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode)); }, this::asListHtml);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 1, 10, 100, 500, 1024 }) void testReadDataWireFormatWithVariousSizes(int dataSize) throws SMBProtocolDecodingException { if (dataSize > outputBuffer.length) { return; // Skip sizes larger than buffer } byte[] sourceData = new byte[dataSize]; for (int i = 0; i < dataSize; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Arrange: base URL with empty host Handler handler = newHandler(); URL base = new URL(null, "smb://", handler); // Act: relative path should exercise the 'else if' path in parseURL URL rel = new URL(base, "foo/bar", handler); // Assert assertEquals(SmbConstants.DEFAULT_PORT, rel.getPort(), "Default port should be applied");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0)