- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,261 for array (0.04 sec)
-
src/main/java/jcifs/smb1/util/Encdec.java
} } return di - start; } /** * Decodes a UTF-8 encoded string from a byte array. * * @param src the source byte array * @param si the starting index in the source array * @param slim the limit index in the source array * @return the decoded String * @throws IOException if a decoding error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
// Verify num_sids assertEquals(0, lsarSidArrayX.num_sids, "num_sids should be 0 for an empty array"); // Verify sids array assertNotNull(lsarSidArrayX.sids, "sids array should not be null for an empty array"); assertEquals(0, lsarSidArrayX.sids.length, "sids array length should be 0 for an empty array"); } @Test void testConstructorWithNullSIDArray() { jcifs.SID[] sids = null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
assertThat(ArrayUtil.addAll(emptyArray, array), is(sameInstance(array))); assertThat(ArrayUtil.addAll(array, emptyArray), is(sameInstance(array))); } /** * @throws Exception */ @Test public void testAdd_int() throws Exception { final int[] array = new int[] { 1 }; final int[] newArray = ArrayUtil.add(array, 2); assertThat(newArray.length, is(2));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
*/ private SMBUtil() { } /** * Writes a 16-bit integer value to a byte array in little-endian format * @param val the value to write * @param dst the destination byte array * @param dstIndex the starting index in the destination array */ public static void writeInt2(final long val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
ctr1.array[0].remark = "Remark1"; ctr1.array[1] = new srvsvc.ShareInfo1(); ctr1.array[1].netname = "Share2"; ctr1.array[1].type = 1; ctr1.array[1].remark = "Remark2"; // Set up mocks mockDeferredBuffer.index = 0; // Set field directly mockDeferredBuffer.deferred = mockDeferredBuffer; ctr1.encode(mockNdrBuffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorFactory.java
/** * Adds an extractor to the factory for the specified key. * If an extractor already exists for the key, the new extractor is added to the array of extractors, * and the array is sorted by weight in descending order. * If no extractor exists for the key, a new array containing the extractor is created and associated with the key. * * @param key The key associated with the extractor. Must not be null or blank.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
samr.SamrSamArray array = new samr.SamrSamArray(); array.count = 0; array.entries = null; // When: Encoding array array.encode(mockNdrBuffer); // Then: Should encode null referent verify(mockNdrBuffer).align(4); verify(mockNdrBuffer).enc_ndr_long(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/main/java/jcifs/util/Encdec.java
} } return di - start; } /** * Decodes a UTF-8 encoded string from a byte array. * * @param src the source byte array * @param si the starting index in the source array * @param slim the limit index in the source array * @return the decoded String * @throws IOException if a decoding error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
} /** * The number of shares in the array. */ /** * The number of shares in the array. */ public int count; /** * Array of ShareInfo0 structures containing share information. */ public ShareInfo0[] array; @Override public void encode(NdrBuffer _dst) throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
// Shift value left while iterating logically through the array. result |= (input[offset + i] & 0xFFL) << (i * 8); } return result; } /** * Store 8 bytes into the provided array at the indicated offset, using the value provided. * * @param sink the output byte array * @param offset the offset into the array at which to start writing * @param value the value to write */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 12.3K bytes - Viewed (0)