- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 250 for Prepare (0.06 seconds)
-
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
assertEquals(8, fileInternalInfo.size()); } @Test @DisplayName("Test decode with valid data") void testDecodeWithValidData() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[8]; long expectedIndexNumber = 0x123456789ABCDEF0L; // Encode test data SMBUtil.writeInt8(expectedIndexNumber, buffer, 0); // Decode
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
// Pre-populate buffer with the encoding of a short value NdrBuffer prepare = new NdrBuffer(new byte[10], 0); prepare.enc_ndr_short(0x34); // Encode value 0x34 prepare.reset(); // Reset to beginning for decoding NdrBuffer spy = spy(prepare); ns.decode(spy); verify(spy).dec_ndr_short(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java
assertEquals(1, toolchains.size()); } @Test void testToolchainsForAvailableType() throws Exception { // prepare MavenSession session = mock(MavenSession.class); MavenExecutionRequest req = new DefaultMavenExecutionRequest(); when(session.getRequest()).thenReturn(req);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 11K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java
when(logger.isInfoEnabled()).thenReturn(true); executionEventLogger = new ExecutionEventLogger(messageBuilderFactory, logger); } @Test void testProjectStarted() { // prepare File basedir = new File("").getAbsoluteFile(); ExecutionEvent event = mock(ExecutionEvent.class); MavenProject project = mock(MavenProject.class);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
// prepare should propagate session id when received CIFSContext mockCtx = mock(CIFSContext.class); when(mockCtx.getConfig()).thenReturn(mock(Configuration.class)); Smb2SessionSetupRequest nextReq = new Smb2SessionSetupRequest(mockCtx, 0, 0, 0L, null); assertEquals(0L, nextReq.getSessionId()); resp.prepare(nextReq);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
assertNull(sd.getOwnerGroupSid()); } @Test @DisplayName("Test constructor with buffer decodes SecurityDescriptor") void testConstructorWithBuffer() throws IOException { // Prepare minimal valid SecurityDescriptor buffer prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, true, false); SecurityDescriptor sd = new SecurityDescriptor(testBuffer, 0, testBuffer.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
// Test reading SMB_INFO_ALLOCATION data response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Prepare buffer with SmbInfoAllocation data byte[] buffer = new byte[100]; int offset = 0; // idFileSystem (4 bytes) - skipped in decode SMBUtil.writeInt4(0, buffer, offset);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
serverData = transport.new ServerData(); response = new SmbComNegotiateResponse(serverData); } @Test void testReadParameterWordsWireFormat() { // Prepare a byte array with sample parameter words ByteBuffer buffer = ByteBuffer.allocate(34); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putShort((short) 0); // dialectIndex
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
lib/time/update.bash
# This script rebuilds the time zone files using files # downloaded from the ICANN/IANA distribution. # # To prepare an update for a new Go release, # consult https://www.iana.org/time-zones for the latest versions, # update CODE and DATA below, and then run # # ./update.bash -commit # # That will prepare the files and create the commit. # # To review such a commit (as the reviewer), use: #
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Dec 11 16:47:56 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
/** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2Response#prepare(jcifs.internal.CommonServerMessageBlockRequest) */ @Override public void prepare(final CommonServerMessageBlockRequest next) { if (isReceived()) { next.setSessionId(getSessionId()); } super.prepare(next); } /** * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (1)