- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,921 for dita (0.02 sec)
-
src/test/java/jcifs/smb/SSPContextTest.java
} @Override public byte[] calculateMIC(byte[] data) throws CIFSException { if (data == null) { throw new CIFSException("data is null"); } // Trivial MIC: 1-byte sum of all unsigned bytes int sum = 0; for (byte b : data) { sum = (sum + (b & 0xFF)) & 0xFF; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
void testInvalidParameters() { // Given byte[] data = createTestData(32); // When/Then assertThrows(IndexOutOfBoundsException.class, () -> { Hexdump.toHexString(data, -1, 16); }); assertThrows(IndexOutOfBoundsException.class, () -> { Hexdump.toHexString(data, 0, data.length + 1); });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
} } @Nested @DisplayName("Data Setting Tests") class DataSettingTests { @Test @DisplayName("Should set data with offset and length") void testSetData() { byte[] data = new byte[1024]; new Random().nextBytes(data); assertDoesNotThrow(() -> request.setData(data, 0, data.length)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
// Test successful data read byte[] testData = "Test data for named pipe".getBytes(); byte[] buffer = new byte[100]; System.arraycopy(testData, 0, buffer, 10, testData.length); int result = response.readDataWireFormat(buffer, 10, testData.length); assertEquals(testData.length, result); // Verify data was copied to outputBuffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
tests/create_test.go
} } func TestCreateEmptySlice(t *testing.T) { data := []User{} if err := DB.Create(&data).Error; err != gorm.ErrEmptySlice { t.Errorf("no data should be created, got %v", err) } sliceMap := []map[string]interface{}{} if err := DB.Model(&User{}).Create(&sliceMap).Error; err != gorm.ErrEmptySlice { t.Errorf("no data should be created, got %v", err) } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 09:55:20 UTC 2025 - 26.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java
* - Phase-specific data */ REQUEST_SCOPED, /** * Caching should be disabled for this data. * Suitable for: * - Sensitive information * - Non-deterministic operations * - Debug or development data */ DISABLED
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
@Override public byte[] compress(byte[] data, int algorithm) throws CIFSException { if (data == null) { throw new CIFSException("Data cannot be null"); } return compress(data, 0, data.length, algorithm); } @Override public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException { if (data == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
} @Test @DisplayName("Test update method with valid data") void testUpdateWithValidData() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey); byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; assertDoesNotThrow(() -> digest.update(data, 0, data.length)); } @Test @DisplayName("Test update method with zero length")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)