- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 4,648 for new1 (0.02 sec)
-
src/test/java/jcifs/util/ByteEncodableTest.java
// Verify content assertArrayEquals(new byte[] { 0x02, 0x03, 0x04, 0x00, 0x00 }, dest, "Encoded bytes should match the expected subset"); } @Test void testEncodeWithOffset() { // Test encoding with a destination offset byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 0, 3); byte[] dest = new byte[5]; // {0,0,0,0,0}Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
try (ZipOutputStream zos = new ZipOutputStream(Files.newOutputStream(zipPath))) { // Add view file ZipEntry viewEntry = new ZipEntry("view/index.ftl"); zos.putNextEntry(viewEntry); zos.write("<html>test</html>".getBytes()); zos.closeEntry(); // Add CSS file ZipEntry cssEntry = new ZipEntry("css/style.css");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
.idea/inspectionProfiles/Gradle.xml
<constraint name="__context__" within="" contains="" /> </replaceConfiguration>
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Wed Jun 26 21:49:47 UTC 2024 - 15.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocumentUtilTest.java
Map<String, Object> doc = new HashMap<>(); doc.put("key1", new String[] { "aaa", "bbb" }); assertArrayEquals(new String[] { "aaa", "bbb" }, DocumentUtil.getValue(doc, "key1", String[].class)); assertEquals(Arrays.asList("aaa", "bbb"), (List<String>) DocumentUtil.getValue(doc, "key1", List.class)); } public void test_list() { Map<String, Object> doc = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
@BeforeEach void setUp() { mockConfig = mock(Configuration.class); response = new Smb2TreeDisconnectResponse(mockConfig); } @Test @DisplayName("Should create response with configuration") void testConstructorWithConfiguration() { // Given & When Smb2TreeDisconnectResponse resp = new Smb2TreeDisconnectResponse(mockConfig); // Then assertNotNull(resp);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
return EMPTY_STRINGS; } final List<String> list = newArrayList(); final StringTokenizer st = new StringTokenizer(str, delim); while (st.hasMoreElements()) { list.add(st.nextElement().toString()); } return list.toArray(new String[list.size()]); } /** * Removes whitespace from the left side of the string. * * @param textRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
TransportException noCauseException = new TransportException("No cause"); assertNull(noCauseException.getRootCause()); assertEquals(noCauseException.getCause(), noCauseException.getRootCause()); // Test with cause IOException rootCause = new IOException("IO error"); TransportException withCauseException = new TransportException("With cause", rootCause);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
when(logonInfo.getLogonTime()).thenReturn(new Date()); when(logonInfo.getLogoffTime()).thenReturn(new Date()); when(logonInfo.getKickOffTime()).thenReturn(new Date()); when(logonInfo.getPwdLastChangeTime()).thenReturn(new Date()); when(logonInfo.getPwdCanChangeTime()).thenReturn(new Date()); when(logonInfo.getPwdMustChangeTime()).thenReturn(new Date());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java
return asJson(new ApiConfigResponse().setting(keyMatchService.getKeyMatch(id).map(this::createEditBody).orElseGet(() -> { throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id)); return null; })).status(Status.OK).result()); } /** * Creates a new key match setting. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java
*/ private static byte[] derive(final byte[] sessionKey, final byte[] label, final byte[] context) { final KDFCounterBytesGenerator gen = new KDFCounterBytesGenerator(new HMac(new SHA256Digest())); final int r = 32; final byte[] suffix = new byte[label.length + context.length + 5]; // per bouncycastleRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0)