- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 896 for Array (0.02 sec)
-
src/test/java/jcifs/smb/BufferCacheImplTest.java
for (int i = 0; i < b.length; i++) { b[i] = (byte) (i + 1); } // Act: release should zero immediately to avoid leaks impl.releaseBuffer(b); // Assert: original array is zeroed in-place for (byte value : b) { assertEquals(0, value, "Released buffer must be zeroed"); } // Next get should return the same instance from cache
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
} return id; } /** * Parses the given query string and returns an array of keywords. * * @param q the query string to be parsed * @param field the field to be used for keyword extraction * @return an array of keywords extracted from the query string, or an empty array if the number of keywords exceeds the maximum allowed or if any keyword exceeds the maximum length */
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteArrayDataOutput.java
* UTF-8, use {@code write(s.getBytes(StandardCharsets.UTF_8))}. */ @Deprecated @Override void writeBytes(String s); /** Returns the contents that have been written to this instance, as a byte array. */ byte[] toByteArray();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 20:25:25 UTC 2024 - 1.9K bytes - Viewed (0) -
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/main/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnum.java
this.ptype = 0; this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } /** * Returns the DFS root entries retrieved from the enumeration. * * @return an array of FileEntry objects representing the DFS roots */ public FileEntry[] getEntries() { final netdfs.DfsEnumArray200 a200 = (netdfs.DfsEnumArray200) this.info.e;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
// Total bytes written: 8+8+8+8+2+6=40 // But writeInt8 at position 34 needs to access position 34+7=41 // So we need at least 42 bytes in the array byte[] dst = new byte[42]; // When int result = trans2SetFileInformation.writeDataWireFormat(dst, 0); // Then assertEquals(40, result); // Returns 40 bytes written }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
String field = "content"; String[] keywords = SuggestUtil.parseQuery(query, field); assertNotNull(keywords); assertEquals(0, keywords.length); // Should return empty array } @Test public void testParseQueryWithLongTerm() { // Test query with term longer than MAX_QUERY_TERM_LENGTH (48) StringBuilder sb = new StringBuilder();
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
monitorTarget.append(buf, "shortKey", supplier); assertEquals("\"shortKey\":42", buf.toString()); } // Test append method with double array public void test_append_doubleArray() { StringBuilder buf = new StringBuilder(); double[] values = { 1.5, 2.3, 3.7 }; Supplier<Object> supplier = () -> values;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
// Expected size: 24 (fixed) + 2 * 1 assertEquals(26, request.size()); } @Test @DisplayName("Test size calculation with empty dialects array") void testSizeWithEmptyDialects() { int[] emptyDialects = new int[0]; ValidateNegotiateInfoRequest request =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0)