- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 2,286 for lengths (0.05 seconds)
-
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; assertDoesNotThrow(() -> digest.update(data, 0, data.length)); } @Test @DisplayName("Test update method with zero length") void testUpdateWithZeroLength() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey); byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
sd.decode(buffer, 0, buffer.length); if (aceCount > 0) { assertNotNull(sd.getAces()); assertEquals(aceCount, sd.getAces().length); } else { // When DACL header exists with 0 ACEs, we get an empty array assertNotNull(sd.getAces()); assertEquals(0, sd.getAces().length); } } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
assertEquals(0, tags.length); // Test null tags = PrunedTag.parse(null); assertEquals(0, tags.length); // Test whitespace only tags = PrunedTag.parse(" "); assertEquals(0, tags.length); // Test commas only tags = PrunedTag.parse(",,,"); assertEquals(0, tags.length); // Test mixed whitespace and commas
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
int offset = 50; byte[] infoData = createMockFileBasicInfoBuffer(); System.arraycopy(infoData, 0, buffer, offset, infoData.length); response.setDataCount(infoData.length); int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset); assertTrue(bytesRead > 0); assertNotNull(response.getInfo()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
final String binaryEncoded = Base64Util.encode(binaryData); final byte[] binaryDecoded = Base64Util.decode(binaryEncoded); assertEquals("Binary data length should match", binaryData.length, binaryDecoded.length); for (int i = 0; i < binaryData.length; i++) { assertEquals("Binary data should match at position " + i, binaryData[i], binaryDecoded[i]); } } /**
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
+ (challengeBytes == null ? "null" : "<" + challengeBytes.length + " bytes>") + ",context=" + (contextBytes == null ? "null" : "<" + contextBytes.length + " bytes>") + ",targetInformation=" + (targetInformationBytes == null ? "null" : "<" + targetInformationBytes.length + " bytes>") + ",flags=0x" + jcifs.util.Hexdump.toHexString(getFlags(), 8) + "]"; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
assertNotNull(response); assertEquals(24, response.length); } // Test getNTLMResponse @Test void testGetNTLMResponse() { byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 }; byte[] response = NtlmPasswordAuthentication.getNTLMResponse("password", challenge); assertNotNull(response); assertEquals(24, response.length); } // Test getLMv2Response @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
public final Entry<AnEnum, String>[] createArray(int length) { return (Entry<AnEnum, String>[]) new Entry<?, ?>[length]; } @Override public final AnEnum[] createKeyArray(int length) { return new AnEnum[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the elements sorted in natural order. */ @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
assertEquals(1, itemList.get(0).getInputs().length); assertEquals(1, itemList.get(0).getOutputs().length); assertEquals("a1", itemList.get(0).getInputs()[0]); assertEquals("A1", itemList.get(0).getOutputs()[0]); assertFalse(itemList.get(0).isUpdated()); assertEquals(2, itemList.get(1).getInputs().length); assertEquals(1, itemList.get(1).getOutputs().length);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
byte[] smallBuffer = createValidNotificationBuffer(fileName, action); byte[] buffer = new byte[smallBuffer.length + offset + 50]; System.arraycopy(smallBuffer, 0, buffer, offset, smallBuffer.length); int bytesRead = notifyInfo.decode(buffer, offset, smallBuffer.length); assertTrue(bytesRead > 0); assertEquals(action, notifyInfo.getAction());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0)