- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 1,521 for given (0.03 seconds)
-
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
class DecodeMethodTests { @Test @DisplayName("Should decode buffer with typical values correctly") void shouldDecodeBufferWithTypicalValues() throws SMBProtocolDecodingException { // Given - prepare buffer with typical file system values ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(1048576L); // Total allocation units (1M)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertFalse(exception.isRetryable()); } @Test @DisplayName("Should create exception with cause") void testCreationWithCause() { // Given Exception cause = new RuntimeException("Original error"); // When exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_FAILED, "Failed to connect", cause);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
assertEquals(mockPolicyHandle, message.handle); } @Test @DisplayName("Should encode input parameters correctly") void testEncodeIn() throws NdrException { // Given: Close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // When: Encoding input message.encode_in(mockNdrBuffer);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
new SecureRandom().nextBytes(preauthIntegrity); } @Test @DisplayName("Should derive signing key for SMB 3.0.0 dialect") void testDeriveSigningKey_SMB300() { // Given int dialect = Smb2Constants.SMB2_DIALECT_0300; // When byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, preauthIntegrity); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/webapp/WEB-INF/fe.tld
<description> Returns Date from a given value. </description> <name>date</name> <function-class>org.codelibs.fess.taglib.FessFunctions</function-class> <function-signature>java.util.Date date(java.lang.Long)</function-signature> <example> ${fe:date(doc.tstamp)} </example> </function> <function> <description> Returns Date from a given value. </description>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 18 11:38:54 GMT 2025 - 10.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* @return module name of the dependency at the given path, or empty if the dependency is not modular * @throws IOException if the module information of the specified dependency cannot be read */ Optional<String> getModuleName(@Nonnull Path dependency) throws IOException; /** * Returns the Java module descriptor of the dependency at the given path.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
protected LongConversionUtil() { } /** * Converts the given object to a {@link Long}. * * @param o * the object to convert * @return the converted {@link Long} */ public static Long toLong(final Object o) { return toLong(o, null); } /** * Converts the given object to a {@link Long}. * * @param o
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
reset(request, response, context, disconnectRequest, nextRequest); } @Test @DisplayName("Test initResponse returns initialized response") void testInitResponse() { // Given when(request.initResponse(context)).thenReturn(response); // When CommonServerMessageBlockResponse result = request.initResponse(context); // Then assertNotNull(result);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
*/ @DisplayName("SmbException Tests") class SmbExceptionTest extends BaseTest { @Test @DisplayName("Should create SmbException with NT status code") void testSmbExceptionWithNTStatus() { // Given int ntStatus = NtStatus.NT_STATUS_ACCESS_DENIED; // When SmbException exception = new SmbException(ntStatus, false); // Then assertNotNull(exception);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
@DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create instance with valid parameters") void testConstructorWithValidParameters() { // Given long sourceOffset = 1024L; long targetOffset = 2048L; int length = 4096; // When SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0)