- Sort Score
- Num 10 results
- Language All
Results 751 - 760 of 1,317 for bytesA (0.07 seconds)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Add some dummy security data at offset 64 from start buffer[64] = (byte) 0x4E; // NTLMSSP signature start buffer[65] = (byte) 0x54; buffer[66] = (byte) 0x4C; buffer[67] = (byte) 0x4D; buffer[68] = (byte) 0x53; buffer[69] = (byte) 0x53; buffer[70] = (byte) 0x50; buffer[71] = (byte) 0x00; return buffer; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/util/ConsoleTransferListener.java
println( "transferCorrupted", event.getException().getClass() + ": " + event.getException().getMessage()); } protected long toKB(long bytes) { return (bytes + 1023) / 1024; } private void println(String event, String message) { print(event, message); out.println(); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
final byte[] mechanismListMIC) { setMechanisms(mechanisms); setContextFlags(contextFlags); setMechanismToken(mechanismToken); setMechanismListMIC(mechanismListMIC); } /** * Constructs a NegTokenInit by parsing the provided token bytes * @param token the SPNEGO token bytes to parseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
rpc.unicode_string dummyRus = new rpc.unicode_string(); dummyRus.buffer = new short[] { 'T', 'e', 's', 't', 'i', 'n', 'g' }; dummyRus.length = 14; // 7 characters * 2 bytes/char dummyRus.maximum_length = 14; UnicodeString manualUnicodeString = new UnicodeString(dummyRus, false);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/http-basic-auth.md
以下是一個更完整的範例。 使用一個依賴來檢查使用者名稱與密碼是否正確。 為此,使用 Python 標準模組 [`secrets`](https://docs.python.org/3/library/secrets.html) 來比對使用者名稱與密碼。 `secrets.compare_digest()` 需要接收 `bytes`,或是只包含 ASCII 字元(英文字符)的 `str`。這表示它無法處理像 `á` 這樣的字元,例如 `Sebastián`。 為了處理這點,我們會先將 `username` 與 `password` 以 UTF-8 編碼成 `bytes`。 接著我們可以使用 `secrets.compare_digest()` 來確認 `credentials.username` 等於 `"stanleyjobson"`,而 `credentials.password` 等於 `"swordfish"`。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/SocketOutputStream.java
@Override public synchronized void write(final byte[] b, int off, final int len) throws IOException { if (len > 0xFFFF) { throw new IOException("write too large: " + len); } if (off < 4) { throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off"); } off -= 4; b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/rpc.java
// Default constructor } /** The revision level of the SID structure */ public byte revision; /** The number of sub-authorities in the SID */ public byte sub_authority_count; /** The identifier authority value (6 bytes) */ public byte[] identifier_authority; /** The array of sub-authority values */ public int[] sub_authority;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.3K bytes - Click Count (0) -
docs/pt/docs/advanced/path-operation-advanced-configuration.md
Nesse exemplo, nós não declaramos nenhum modelo do Pydantic. Na verdade, o corpo da requisição não está nem mesmo <dfn title="convertido de algum formato simples, como bytes, em objetos Python">analisado</dfn> como JSON, ele é lido diretamente como `bytes`, e a função `magic_data_reader()` seria a responsável por analisá-lo de alguma forma. De toda forma, nós podemos declarar o esquema esperado para o corpo da requisição.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 7.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
bf.put("element" + i); } // Calculate expected size based on bitSize() // Header: 1 byte (strategy) + 1 byte (hash functions) + 4 bytes (array length) = 6 bytes // Data: bitSize / 8 bytes long predictedSize = bf.bitSize() / 8 + 6; assertThat(bf.serializedSize()).isEqualTo(predictedSize); // Serialize and measure actual size
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
*/ var peerSettings = DEFAULT_SETTINGS /** The bytes consumed and acknowledged by the application. */ val readBytes: WindowCounter = WindowCounter(streamId = 0) /** The total number of bytes produced by the application. */ var writeBytesTotal = 0L private set /** The total number of bytes permitted to be produced according to `WINDOW_UPDATE` frames. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0)