- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 868 for 0bytes (0.34 sec)
-
android/guava-tests/test/com/google/common/io/CharSourceTester.java
static TestSuite suiteForBytes( CharSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) { TestSuite suite = suiteForString(factory, new String(bytes, UTF_8), name, desc); ByteSourceFactory byteSourceFactory = SourceSinkFactories.asByteSourceFactory(factory); suite.addTest( ByteSourceTester.suiteForBytes( byteSourceFactory, bytes, name + ".asByteSource[Charset]", desc, slice)); return suite;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt
* multiple processes to use the same cache directory at the same time. * * This cache limits the number of bytes that it will store on the filesystem. When the number of * stored bytes exceeds the limit, the cache will remove entries in the background until the limit * is satisfied. The limit is not strict: the cache may temporarily exceed it while waiting for
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 34.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
@Throws(IOException::class) override fun onReadMessage(text: String) { listener.onMessage(this, text) } @Throws(IOException::class) override fun onReadMessage(bytes: ByteString) { listener.onMessage(this, bytes) } @Synchronized override fun onReadPing(payload: ByteString) { // Don't respond to pings after we've failed or sent the close frame.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
throws IOException { byte[] bytes = decoded.getBytes(UTF_8); try (InputStream decodingStream = encoding.decodingStream(new StringReader(encoded))) { for (int i = 0; i < bytes.length; i++) { assertThat(decodingStream.read()).isEqualTo(bytes[i] & 0xFF); } assertThat(decodingStream.read()).isEqualTo(-1); } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
// Wipe input Arrays.fill(input, (byte) 0); } return derived; } /** * Generate a random key * * @param length key length in bytes * @return random key bytes */ public byte[] generateRandomKey(int length) { checkNotClosed(); byte[] key = new byte[length]; secureRandom.nextBytes(key);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java
@Test @DisplayName("writeBytesWireFormat writes the command byte followed by the null terminated string") void testWriteBytesWireFormatHappy() throws UnsupportedEncodingException { byte[] buffer = new byte[50]; int used = cmd.writeBytesWireFormat(buffer, 0); // Calculate expected size: 1 byte for command + string bytes + 1 null terminator byte[] expectedString = "testfile.txt".getBytes("windows-1252");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/em/docs/advanced/security/http-basic-auth.md
`secrets.compare_digest()` ๐ช โ `bytes` โ๏ธ `str` ๐ ๐ด ๐ ๐ ๐ฆน (๐ ๐ช๐ธ), ๐ โ โซ๏ธ ๐ซ๐ ๐ท โฎ๏ธ ๐ฆน ๐ `รก`, `Sebastiรกn`. ๐ต ๐, ๐ฅ ๐ฅ ๐ `username` & `password` `bytes` ๐ข ๐ซ โฎ๏ธ ๐ -8๏ธโฃ. โคด๏ธ ๐ฅ ๐ช โ๏ธ `secrets.compare_digest()` ๐ ๐ `credentials.username` `"stanleyjobson"`, & ๐ `credentials.password` `"swordfish"`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
* * @author Chris Nokleberg * @author Bin Zhu * @author Colin Decker * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class CharStreams { // 2K chars (4K bytes) private static final int DEFAULT_BUF_SIZE = 0x800; /** Creates a new {@code CharBuffer} for buffering reads or writes. */ static CharBuffer createBuffer() { return CharBuffer.allocate(DEFAULT_BUF_SIZE); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 30 17:25:01 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
byte[] fileId2 = new byte[16]; Arrays.fill(fileId2, (byte) 0xFF); byte[] fileId3 = new byte[16]; for (int i = 0; i < 16; i++) { fileId3[i] = (byte) i; } // When & Then for each file ID testFileIdWriting(fileId1); testFileIdWriting(fileId2); testFileIdWriting(fileId3); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
byte[] dst = new byte[150]; int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0); // Verify subcommand assertEquals(SmbComTransaction.NET_SERVER_ENUM3 & 0xFF, (dst[0] & 0xFF) | ((dst[1] & 0xFF) << 8)); // Verify description byte[] descr = NetServerEnum2.DESCR[1].getBytes("ASCII"); byte[] writtenDescr = new byte[descr.length];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0)