- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 277 for setBytes (0.55 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java
switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new Role()).map(entity -> { entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8))); return entity; }); case CrudMode.EDIT: if (form instanceof EditForm) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
*/ private byte[] createNotificationBufferWithNextOffset(String fileName, int action, int nextOffset) { byte[] fileNameBytes = fileName.getBytes(StandardCharsets.UTF_16LE); int totalSize = 12 + fileNameBytes.length + 50; // Extra space for safety byte[] buffer = new byte[totalSize]; // Write next entry offset (4 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
try { final String pluginMetaContent = getRepositoryContent(pluginUrl + "maven-metadata.xml"); try (final InputStream is = new ByteArrayInputStream(pluginMetaContent.getBytes(Constants.UTF_8_CHARSET))) { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
File tempPropFile = File.createTempFile("test_suggest_", ".properties"); tempPropFile.deleteOnExit(); FileUtil.writeBytes(tempPropFile.getAbsolutePath(), "test.property=value".getBytes()); SuggestCreator.Options options = new SuggestCreator.Options(); options.propertiesPath = tempPropFile.getAbsolutePath(); // Setup minimal mock components
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (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()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
i += 4; Encdec.enc_uint32le(0, buf, i); i += 4; Encdec.enc_uint32le(len + 1, buf, i); i += 4; try { System.arraycopy(s.getBytes("UTF-16LE"), 0, buf, i, len * 2); } catch (final UnsupportedEncodingException uee) {} i += len * 2; buf[i] = (byte) '\0'; i++; buf[i++] = (byte) '\0';
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
try (JarOutputStream jos = new JarOutputStream(new FileOutputStream(jarFile))) { JarEntry entry = new JarEntry("fess_ds++.xml"); jos.putNextEntry(entry); jos.write(xmlContent.getBytes()); jos.closeEntry(); } } // Test DataStore implementation for testing private static class TestDataStore extends AbstractDataStore { private String name;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (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 CacheStream
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 13.8K bytes - Viewed (0)