- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 194 for 256 (0.04 sec)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertTrue(bytes >= 0); } @Test @DisplayName("Test read operations") void testReadOperations() { byte[] buffer = new byte[256]; // Test parameter words read int paramResult = transaction.readParameterWordsWireFormat(buffer, 0); assertEquals(0, paramResult); // Test bytes read
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
private byte[] calculateBindingHash(byte[] bindingInfo) throws IOException { try { MessageDigest digest = MessageDigest.getInstance("SHA-256"); return digest.digest(bindingInfo); } catch (NoSuchAlgorithmException e) { throw new IOException("SHA-256 not available", e); } } private void performHealthCheck() { for (ChannelInfo channel : channels.values()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0) -
tests/associations_test.go
Pets []AssociationEmptyPet } type AssociationEmptyPet struct { AssociationEmptyUserID *uint `gorm:"uniqueIndex:uniq_user_id_name"` Name string `gorm:"uniqueIndex:uniq_user_id_name;size:256"` } func TestAssociationEmptyPrimaryKey(t *testing.T) { if DB.Dialector.Name() != "mysql" { t.Skip() } DB.Migrator().DropTable(&AssociationEmptyUser{}, &AssociationEmptyPet{})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Feb 08 08:29:09 UTC 2023 - 10.9K bytes - Viewed (0) -
tests/scanner_valuer_test.go
return json.Unmarshal([]byte(value), l) case []byte: return json.Unmarshal(value, l) default: return errors.New("not supported") } } type Role struct { Name string `gorm:"size:256"` } func (role *Role) Scan(value interface{}) error { if b, ok := value.([]uint8); ok { role.Name = string(b) } else { role.Name = value.(string) } return nil }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
okhttp-tls/README.md
form of wildcards `*.example.com` where the `*` must be first and doesn't match nested subdomains. By default certificates use fast and secure 256-bit ECDSA keys. For interoperability with very old clients use `HeldCertificate.Builder.rsa2048()`. Download -------- ```kotlin implementation("com.squareup.okhttp3:okhttp-tls:5.1.0") ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt
val symbol: Int /** Number of bits represented in the terminal node. */ val terminalBitCount: Int /** Construct an internal node. */ constructor() { this.children = arrayOfNulls(256) this.symbol = 0 // Not read. this.terminalBitCount = 0 // Not read. } /** Construct a terminal node. */ constructor(symbol: Int, bits: Int) { this.children = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
return; // Skip sizes larger than buffer } byte[] sourceData = new byte[dataSize]; for (int i = 0; i < dataSize; i++) { sourceData[i] = (byte) (i % 256); } byte[] buffer = new byte[dataSize + 50]; System.arraycopy(sourceData, 0, buffer, 10, dataSize); int result = response.readDataWireFormat(buffer, 10, dataSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
} @Test @DisplayName("Test decode method") void testDecode() throws Exception { // Test the decode method which is inherited from ServerMessageBlock byte[] buffer = new byte[256]; // Set up a minimal SMB header (size 32 bytes) // SMB signature buffer[0] = (byte) 0xFF; buffer[1] = 'S'; buffer[2] = 'M'; buffer[3] = 'B';
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
byte[] largeResponseBuffer = new byte[2048]; // Fill with some test data for (int i = 0; i < largeRequestBuffer.length; i++) { largeRequestBuffer[i] = (byte) (i % 256); } for (int i = 0; i < largeResponseBuffer.length; i++) { largeResponseBuffer[i] = (byte) ((i * 2) % 256); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)