- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 45 for SetBytes (0.16 sec)
-
src/main/java/jcifs/util/Strings.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Mar 13 12:00:57 GMT 2023 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
offerEncryptoCipher(cipher); } return encrypted; } public String encryptoText(final String text) { try { return Base64Util.encode(encrypto(text.getBytes(charsetName))); } catch (final UnsupportedEncodingException e) { throw new UnsupportedEncodingRuntimeException(e); } } public byte[] decrypto(final byte[] data) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/CopyUtilTest.java
} /** * @throws Exception */ @Test public void testFileToFile() throws Exception { int result = copy(inputFile, outputFile); assertThat(result, is(urlString.getBytes("UTF-8").length)); result = copy(outputFile, "UTF-8", writer); assertThat(writer.toString(), is(urlString)); } /** * @throws Exception */ @Test
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
} }; File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "ldap.security.principal=******@****.***".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file); SingletonLaContainerFactory.getContainer().register(systemProps, "systemProperties");
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
/** * @throws Exception */ @Test public void testFileToFile() throws Exception { final byte[] bytes = readBytes(inputFile); assertThat(bytes, is("あいうえお".getBytes("UTF-8"))); } /** * @throws Exception */ @Test public void testReadUTF8() throws Exception { assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ")); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/OsddHelperTest.java
<InputEncoding>UTF-8</InputEncoding> <OutputEncoding>UTF-8</OutputEncoding> </OpenSearchDescription> """, new String(InputStreamUtil.getBytes(ins))); } @Override public OutputStream stream() { return null; } }); } public void test_init_osddpath_null() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java
switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new Group()).map(entity -> { entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8))); return entity; }); case CrudMode.EDIT: if (form instanceof EditForm) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 13.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java
switch (form.crudMode) { case CrudMode.CREATE: return OptionalEntity.of(new User()).map(entity -> { entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8))); return entity; }); case CrudMode.EDIT: if (form instanceof EditForm) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
buf.append("\"memory\":{"); buf.append("\"heap\":{"); append(buf, "used", () -> mem.getHeapUsed().getBytes()).append(','); append(buf, "committed", () -> mem.getHeapCommitted().getBytes()).append(','); append(buf, "max", () -> mem.getHeapMax().getBytes()).append(','); append(buf, "percent", () -> mem.getHeapUsedPercent()); buf.append("},"); buf.append("\"non_heap\":{");
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
verifyAESHMAC(3, expect, key, data.getBytes(StandardCharsets.US_ASCII)); } @Test public void testAES256Checksum () throws GeneralSecurityException { String data = "fourteen"; String key = "B1AE4CD8462AFF1677053CC9279AAC30B796FB81CE21474DD3DDBCFEA4EC76D7"; String expect = "E08739E3279E2903EC8E3836"; verifyAESHMAC(4, expect, key, data.getBytes(StandardCharsets.US_ASCII)); }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Oct 01 12:01:17 GMT 2023 - 22.3K bytes - Viewed (0)