- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 102 for irides (0.04 sec)
-
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
when(mockFileHandle.getFileId()).thenReturn(new byte[16]); when(mockFile.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(mockFileHandle); // Mock responses for successful writes to test boundary conditions when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse); when(mockWriteResponse.getCount()).thenReturn(10, 5); // Return proper byte counts
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Act int encodedSize = context.encode(buffer, 0); // Assert // Note: size() returns 4 + (2*ciphers.length) but encode only writes 2 + (2*ciphers.length) // This appears to be a bug in the implementation, but we test the actual behavior assertEquals(6, encodedSize); // actual encoded size: 2 bytes count + 2*2 bytes for ciphersRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(0, result); // Verify no data was written assertArrayEquals(new byte[100], dst); } @Test @DisplayName("Test writeParametersWireFormat writes correct data") void testWriteParametersWireFormat() throws Exception { netShareEnum = new NetShareEnum(realConfig); byte[] dst = new byte[256]; int dstIndex = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} } return new String(buf, 0, size); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Writes the specified byte array to the file at the given pathname. * * @param pathname * The path to the file. * @param bytes * The byte array to write. */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
@DisplayName("Should calculate size correctly") void testSizeCalculation() { // Note: The size() method in EncryptionNegotiateContext returns 4 as base, // while encode() only writes 2 bytes for the count field. // This appears to be an implementation inconsistency. context = new EncryptionNegotiateContext(mockConfig, new int[3]);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
* are "allowed". If all of the desired access bits are not "allowed" * the then same process is repeated for inherited ACEs. * <p> * For example, if user <code>WNET\alice</code> tries to open a file * with desired access bits <code>0x00000003</code> (<code>FILE_READ_DATA | * FILE_WRITE_DATA</code>) and the target file has the following security * descriptor ACEs: * <pre>
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
// Don't stub mockSid2 since it won't be reached due to NPE on null element testSids = new jcifs.SID[] { mockSid1, null, mockSid2 }; // Act & Assert - This should throw an exception when LsarSidArrayX tries to process null assertThrows(NullPointerException.class, () -> { new MsrpcLookupSids(mockPolicyHandle, testSids); }); } @Test void getOpnum_shouldReturnCorrectValue() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
// Test statistics reset functionality stats.reset(); assertEquals(0, stats.getRdmaReads(), "Reads should be reset to 0"); assertEquals(0, stats.getRdmaWrites(), "Writes should be reset to 0"); assertEquals(0, stats.getBytesTransferred(), "Bytes should be reset to 0"); assertEquals(0, stats.getOperationErrors(), "Errors should be reset to 0");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
} catch (IOException e) { throw new CurlException("Failed to process a request.", e); } }); } /** * Writes the content of the response to the CurlResponse. * * @param handler the input stream supplier */ private void writeContent(final Supplier<InputStream> handler) {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0)