- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 237 for getBytes (0.07 sec)
-
src/main/java/jcifs/smb1/smb1/SigningDigest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
* <p> * 入力ストリームはクローズされません。 * </p> * * @param is * 入力ストリーム。{@literal null}であってはいけません * @return byteの配列 */ public static final byte[] getBytes(final InputStream is) { assertArgumentNotNull("is", is); final ByteArrayOutputStream os = new ByteArrayOutputStream(BUF_SIZE); CopyUtil.copy(is, os); return os.toByteArray(); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ByteSinkTester.java
suite.addTest(stringSuite); } return suite; } private static TestSuite suiteForString( String name, ByteSinkFactory factory, String string, String desc) { byte[] bytes = string.getBytes(UTF_8); TestSuite suite = suiteForBytes(name, factory, desc, bytes); CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory); suite.addTest( CharSinkTester.suiteForString(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
random.nextBytes(bytes); String s = new String(bytes, UTF_16LE); // so all random strings are valid assertEquals( new TestHasher().putUnencodedChars(s).hash(), new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash()); assertEquals( new TestHasher().putUnencodedChars(s).hash(), new TestHasher().putString(s, UTF_16LE).hash()); } } public void testFloat() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSinkTester.java
suite.addTest(stringSuite); } return suite; } private static TestSuite suiteForString( String name, ByteSinkFactory factory, String string, String desc) { byte[] bytes = string.getBytes(UTF_8); TestSuite suite = suiteForBytes(name, factory, desc, bytes); CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory); suite.addTest( CharSinkTester.suiteForString(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java
assertTrue(content.contains("タイトル2")); assertTrue(content.contains("リンク1")); } public void test_getHtml_empty() { final InputStream in = new ByteArrayInputStream("".getBytes()); final String content = htmlXpathExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertEquals("", content); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java
assertTrue(content.contains("テスト")); assertEquals("タイトル", data.getValues("title")[0]); } public void test_getHtml_empty() { final InputStream in = new ByteArrayInputStream("".getBytes()); final String content = htmlExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertEquals("", content); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
final String converted = URLEncoder.encode(target, Constants.UTF_8); if (target.equals(converted)) { encodedBuf.append(Base64.getUrlEncoder().encodeToString(target.getBytes(Constants.CHARSET_UTF_8))); } else { encodedBuf.append(converted); } } catch (final UnsupportedEncodingException e) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
random.nextBytes(bytes); String s = new String(bytes, UTF_16LE); // so all random strings are valid assertEquals( new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash()); assertEquals( new Sink(4).putUnencodedChars(s).hash(), new Sink(4).putString(s, UTF_16LE).hash()); } } public void testFloat() { Sink sink = new Sink(4);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 8.5K bytes - Viewed (0)