- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 279 for metabytes (0.05 sec)
-
guava-tests/test/com/google/common/io/FilesTest.java
File asciiFile = getTestFile("ascii.txt"); File i18nFile = getTestFile("i18n.txt"); assertTrue(Arrays.equals(ASCII.getBytes(US_ASCII), Files.toByteArray(asciiFile))); assertTrue(Arrays.equals(I18N.getBytes(UTF_8), Files.toByteArray(i18nFile))); assertTrue(Arrays.equals(I18N.getBytes(UTF_8), Files.asByteSource(i18nFile).read())); } /** A {@link File} that provides a specialized value for {@link File#length()}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JobProcessTest.java
private static class MockProcess extends Process { private final InputStream inputStream; public MockProcess(String output) { this.inputStream = new ByteArrayInputStream(output.getBytes()); } @Override public OutputStream getOutputStream() { return null; } @Override public InputStream getInputStream() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hasher.java
*/ @CanIgnoreReturnValue @Override Hasher putUnencodedChars(CharSequence charSequence); /** * Equivalent to {@code putBytes(charSequence.toString().getBytes(charset))}. * * <p><b>Warning:</b> This method, which reencodes the input before hashing it, is useful only for * cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
for (int i = 2; i < 6; i++) { assertEquals((byte) 0x00, dst[i], "Reserved byte at index " + i + " should be 0."); } // Check filename byte[] filenameBytes = filename.getBytes(); for (int i = 0; i < filenameBytes.length; i++) { assertEquals(filenameBytes[i], dst[6 + i], "Filename byte at index " + i + " should match."); } // Check null terminator
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java
"-----END CERTIFICATE-----"; CertificateFactory cf = CertificateFactory.getInstance("X.509"); Certificate isgCertificate = cf.generateCertificate(new ByteArrayInputStream(isgCert.getBytes("UTF-8"))); HandshakeCertificates certificates = new HandshakeCertificates.Builder() .addTrustedCertificate((X509Certificate) isgCertificate)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Nov 17 07:40:31 UTC 2020 - 6.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
/** * Context name for lease request */ public static final String CONTEXT_NAME = "RqLs"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private Smb2LeaseKey leaseKey; private int leaseState; private int leaseFlags; /** * Create a new lease V1 context request */ public LeaseV1CreateContextRequest() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* it returns a ByteArrayInputStream. * * <p>Example usage: * <pre> * {@code * // In-memory caching * byte[] data = "example data".getBytes(); * try (ContentCache cache = new ContentCache(data)) { * InputStream inputStream = cache.getInputStream(); * // Read from inputStream * } * * // File-based caching
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 3.8K bytes - Viewed (0)