- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 342 for getBytes (0.06 seconds)
-
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertTrue(recvBuffer.getSize() > 0, "Receive buffer should have positive size"); // Test data preparation byte[] testData = "Test RDMA data transfer".getBytes(); sendBuffer.getBuffer().put(testData); sendBuffer.getBuffer().flip(); assertEquals(testData.length, sendBuffer.getBuffer().remaining(), "Buffer should contain test data");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
// Act // Get output stream and write data to it OutputStream os = ntlmConnection.getOutputStream(); assertNotNull(os); byte[] testData = "test data".getBytes(); os.write(testData); os.flush(); os.close(); // Assert // Verify that data was written to the underlying stream through CacheStreamCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
@DisplayName("Should return session key successfully") void testGetSessionKey() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); byte[] expectedKey = "sessionKey".getBytes(); when(mockSmbPipeHandleInternal.getSessionKey()).thenReturn(expectedKey); assertArrayEquals(expectedKey, handle.getSessionKey()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/main/java/jcifs/smb1/Config.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
// Setup system properties for DI container File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file); ComponentUtil.register(systemProps, "systemProperties"); relatedQueryHelper = new RelatedQueryHelper() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
super.setUp(testInfo); final File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit(); FileUtil.writeBytes(propFile.getAbsolutePath(), "fess.version=98.76.5".getBytes()); final File desginJspRootFile = File.createTempFile("jsp", ""); desginJspRootFile.delete(); desginJspRootFile.deleteOnExit(); systemHelper = new SystemHelper() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
File propFile = File.createTempFile("project", ".properties"); propFile.deleteOnExit(); try (FileOutputStream fos = new FileOutputStream(propFile)) { fos.write("fess.version=1.0.0".getBytes()); } // Initialize SystemHelper SystemHelper systemHelper = new SystemHelper() { @Override protected void parseProjectProperties(final java.nio.file.Path propPath) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureKeyManager.java
// This is a placeholder - real implementation should use proper KDF byte[] derived = new byte[length]; // Combine inputs byte[] labelBytes = label.getBytes(java.nio.charset.StandardCharsets.UTF_8); byte[] input = new byte[baseKey.length + labelBytes.length + (context != null ? context.length : 0)]; int pos = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 21.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
} validate(form, messages -> {}, () -> asEditHtml(form)); verifyToken(() -> asEditHtml(form)); try { write(jspFile.getAbsolutePath(), decodeJsp(form.content).getBytes(Constants.UTF_8)); saveInfo(messages -> messages.addSuccessUpdateDesignJspFile(GLOBAL, jspFile.getAbsolutePath())); } catch (final Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 20.1K bytes - Click Count (0)