- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 279 for metabytes (0.07 sec)
-
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
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
} @Test @DisplayName("Parses a valid buffer and exposes fields") void parseValidBuffer() { // Arrange String name = "******@****.***"; byte[] buf = buildBuffer(oidDer(), name.getBytes(StandardCharsets.US_ASCII)); // Act MIEName parsed = new MIEName(buf); // Assert // equals should match case-insensitively for name and equal OID
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
try { domain = DEFAULT_DOMAIN.getBytes(UNI_ENCODING); } catch (final IOException ex) {} } final int domainLength = domain.length; byte[] server = {}; try { final String host = NbtAddress.getLocalHost().getHostName(); if (host != null) { try { server = host.getBytes(UNI_ENCODING);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractStreamingHasher.java
* even to an intermediate buffer) should be considerably more efficient than potentially * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in * reality there are optimizations that make the getBytes(Charset) approach considerably faster, * at least for commonly used charsets like UTF-8. */ @Override @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java
/** * Constructs a pipe wait request without timeout. * * @param name the pipe name to wait for */ public FsctlPipeWaitRequest(final String name) { this.nameBytes = name.getBytes(StandardCharsets.UTF_16LE); this.timeoutSpecified = false; this.timeout = 0; } /** * Constructs a pipe wait request with timeout. * * @param name the pipe name to wait for
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
return Stream.of(Arguments.of(new byte[0], ""), Arguments.of(new byte[] { (byte) 0x41 }, "QQ=="), // "A" Arguments.of(new byte[] { (byte) 0x41, (byte) 0x42 }, "QUI="), // "AB" Arguments.of("Man".getBytes(), "TWFu"), // 3 bytes, no padding Arguments.of(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "AAAA"), // all zeros
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
ci/official/utilities/rename_and_verify_wheels.sh
# other than the most recently-modified one (the new one). ls -t *.whl | tail -n +2 | xargs rm fi # Check if size is too big. TFCI_WHL_SIZE_LIMIT is in find's format, which can be # 'k' for kilobytes, 'M' for megabytes, or 'G' for gigabytes, and the + to indicate # "anything greater than" is added by the script. if [[ "$TFCI_WHL_SIZE_LIMIT_ENABLE" == "1" ]] && [[ -n "$("$TFCI_FIND_BIN" . -iname "*.whl" -size "+$TFCI_WHL_SIZE_LIMIT")" ]]; then
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Apr 25 00:22:38 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/TestCharSource.java
private final TestByteSource byteSource; public TestCharSource(String content, TestOption... options) { this.byteSource = new TestByteSource(content.getBytes(UTF_8), options); } @Override public boolean wasStreamOpened() { return byteSource.wasStreamOpened(); } @Override public boolean wasStreamClosed() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/InputStreamUtilTest.java
final InputStream is = ResourceUtil.getResourceAsStream(StringUtil.replace(getClass().getName(), ".", "/") + ".class"); try { assertNotNull("1", InputStreamUtil.getBytes(is)); } finally { is.close(); } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
/** * @author higa * */ public class Base64UtilTest extends TestCase { private static final String ORIGINAL = "how now brown cow\r\n"; private static final byte[] BINARY_DATA = ORIGINAL.getBytes(); private static final String ENCODED_DATA = "aG93IG5vdyBicm93biBjb3cNCg=="; /** * @throws Exception */ public void testEncode() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0)