- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for asCharSourceFactory (0.07 seconds)
-
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
} @Override public void tearDown() throws IOException { factory.tearDown(); } }; } public static CharSourceFactory asCharSourceFactory(ByteSourceFactory factory) { checkNotNull(factory); return new CharSourceFactory() { @Override public CharSource createSource(String string) throws IOException {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 12.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSourceTester.java
ByteSourceFactory factory, String string, String name, String desc) { TestSuite suite = suiteForBytes(factory, string.getBytes(UTF_8), name, desc, true); CharSourceFactory charSourceFactory = SourceSinkFactories.asCharSourceFactory(factory); suite.addTest( CharSourceTester.suiteForString( charSourceFactory, string, name + ".asCharSource[Charset]", desc)); return suite; } static TestSuite suiteForBytes(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteSourceTester.java
ByteSourceFactory factory, String string, String name, String desc) { TestSuite suite = suiteForBytes(factory, string.getBytes(UTF_8), name, desc, true); CharSourceFactory charSourceFactory = SourceSinkFactories.asCharSourceFactory(factory); suite.addTest( CharSourceTester.suiteForString( charSourceFactory, string, name + ".asCharSource[Charset]", desc)); return suite; } static TestSuite suiteForBytes(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0)