- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 925 for asArray (0.06 sec)
-
src/test/java/jcifs/SIDTest.java
assertThrows(SmbException.class, () -> new SID("invalid-sid")); assertThrows(SmbException.class, () -> new SID("S-1")); } /** * Test constructor with a byte array. */ @Test void testByteArrayConstructor() { SID sid = new SID(adminSidBytes, 0); assertEquals(1, sid.revision); assertEquals(2, sid.sub_authority_count);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
assertNotNull(response); assertTrue(response instanceof CreateContextResponse); } @Test @DisplayName("getName() should return expected byte array") void testGetNameMethod() { byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8); CreateContextResponse response = mock(CreateContextResponse.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("FFFFFFFF", Hexdump.toHexString(-1L, 8)); assertEquals("FFFF", Hexdump.toHexString(-1L, 4)); } @Test @DisplayName("Should convert byte array to hex string") void testToHexStringByteArray() { // Note: The implementation has a bug - it ignores the srcIndex parameter! // The third parameter is the size of the output string in characters
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
public Object[] toArray() { assertTrue(Thread.holdsLock(mutex)); return delegate.toArray(); } @Override public <T> T[] toArray(T[] array) { assertTrue(Thread.holdsLock(mutex)); return delegate.toArray(array); } @Override public void addFirst(E e) { assertTrue(Thread.holdsLock(mutex)); delegate.addFirst(e); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
String result = StringUtil.join(null, "first", "second", "third"); assertEquals("firstnullsecondnullthird", result); } @Test @DisplayName("Should handle null elements in array") void testJoinWithNullElements() { String result = StringUtil.join(",", "first", null, "third"); assertEquals("first,null,third", result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LanguageHelper.java
/** * Helper class for language detection. */ public class LanguageHelper { private static final Logger logger = LogManager.getLogger(LanguageHelper.class); /** An array of language fields. */ protected String[] langFields; /** An array of supported languages. */ protected String[] supportedLanguages; /** The language detector. */ protected LanguageDetector detector;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
assertEquals(0, result); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte array byte[] dst = new byte[100]; int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0); // Expected format: buffer format (1 byte) + file name (null-terminated)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(recordedRequest.url.encodedQuery) .isEqualTo("ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ") } @Test fun failOnExcessiveResponse() { val array = CharArray(128 * 1024 + 2) { '0' } server.enqueue(dnsResponse(String(array))) try { dns.lookup("google.com") fail<Any>() } catch (ioe: IOException) { assertThat(ioe.message).isEqualTo("google.com")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 11.7K bytes - Viewed (0) -
docs/en/docs/advanced/additional-responses.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/MsrpcLookupSids.java
*/ public class MsrpcLookupSids extends jcifs.dcerpc.msrpc.lsarpc.LsarLookupSids { /** * Creates a new request to lookup SIDs. * * @param policyHandle the LSA policy handle * @param sids the array of SIDs to lookup */ public MsrpcLookupSids(final LsaPolicyHandle policyHandle, final jcifs.SID[] sids) { super(policyHandle, new LsarSidArrayX(sids), new jcifs.dcerpc.msrpc.lsarpc.LsarRefDomainList(),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0)