- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 454 for atual (0.01 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
int dstIndex = 0; // When int bytesWritten = trans2GetDfsReferral.writeParametersWireFormat(dst, dstIndex); // Then assertTrue(bytesWritten > 0); // The actual encoding depends on DfsReferralRequestBuffer implementation } @Test @DisplayName("writeParametersWireFormat with mock request buffer") void testWriteParametersWireFormatWithMock() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
/** * Default constructor for unicode_string. */ public unicode_string() { // Default constructor } /** * The actual length of the string in bytes. */ public short length; /** * The maximum allocated length of the string in bytes. */ public short maximum_length; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
assertThrows(IllegalStateException.class, originalHmac::clone); } } // Integration test with actual MD5 to verify HMAC calculation logic @Test void testHMACT64WithActualMD5() throws NoSuchAlgorithmException { // This test uses a real MD5 instance to verify the HMAC calculation logicRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
/// tip The instance of the dependency class `OAuth2PasswordRequestForm` won't have an attribute `scope` with the long string separated by spaces, instead, it will have a `scopes` attribute with the actual list of strings for each scope sent. We are not using `scopes` in this example, but the functionality is there if you need it. ///
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
cmd/admin-handlers-idp-config.go
validationErr.FormatError(), r.URL) return } writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), err.Error(), r.URL) return } // Update the actual server config on disk. if err = saveServerConfig(ctx, objectAPI, cfg); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } // Write to the config input KV to history.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
Arguments.of("name length exceeds remaining", (java.util.function.Supplier<byte[]>) () -> { byte[] buf = buildBuffer(der, nameBytes); // Corrupt NAME_LEN to be larger than actual by +5 int i = 2 + 2 + der.length; // index where NAME_LEN starts int fakeLen = nameBytes.length + 5; buf[i] = (byte) ((fakeLen >>> 24) & 0xFF);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for the SmbFile class. * This class focuses on testing the logic of SmbFile without actual network communication, * using mocks where necessary. */ @ExtendWith(MockitoExtension.class) public class SmbFileTest { @Mock private NtlmPasswordAuthentication mockAuth; @BeforeEachRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
// Setup File file = createTempFile(); Files.write(bytes, file); // Test MappedByteBuffer actual = Files.map(file); // Verify ByteBuffer expected = ByteBuffer.wrap(bytes); assertTrue("ByteBuffers should be equal.", expected.equals(actual)); } public void testMap_noSuchFile() throws IOException { // Setup File file = createTempFile();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
// When int size = request.size(); // Then // Verify size includes SMB2_HEADER_LENGTH assertTrue(size >= Smb2Constants.SMB2_HEADER_LENGTH); // The actual calculation: (SMB2_HEADER_LENGTH + 4 + 7) & ~7 int expectedBase = Smb2Constants.SMB2_HEADER_LENGTH + 4; int expectedAligned = (expectedBase + 7) & ~7; assertEquals(expectedAligned, size); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
super(orchestrator); } @Override protected boolean shouldSaveModifications() { return true; // Enable actual file operations for tests } // Test helper methods to expose protected functionality public String testDoUpgradeLogic(UpgradeContext context, String expectedTargetModel) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 13.7K bytes - Viewed (0)