- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 925 for asArray (0.04 sec)
-
android/guava/src/com/google/common/collect/HashBiMap.java
} /** Returns an int array of the specified size, filled with ABSENT. */ private static int[] createFilledWithAbsent(int size) { int[] array = new int[size]; Arrays.fill(array, ABSENT); return array; } /** Equivalent to {@code Arrays.copyOf(array, newSize)}, save that the new elements are ABSENT. */ private static int[] expandAndFillWithAbsent(int[] array, int newSize) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BinaryConversionUtil.java
/** * Do not instantiate. */ protected BinaryConversionUtil() { } /** * Converts to a {@literal byte} array. * * @param o * The object to convert * @return The {@literal byte} array */ public static byte[] toBinary(final Object o) { if (o instanceof byte[]) { return (byte[]) o; } else if (o == null) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareGetInfo.java
ptype = 0; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } /** * Returns the security descriptor of the share as an array of ACEs. * * @return an array of ACE objects representing the share's security descriptor * @throws IOException if there is an error retrieving the security information */ public ACE[] getSecurity() throws IOException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
shareInfo2.remark = "Remark for Share2"; // Create ShareInfoCtr1 with the shares srvsvc.ShareInfoCtr1 shareInfoCtr1 = new srvsvc.ShareInfoCtr1(); shareInfoCtr1.count = 2; shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo1, shareInfo2 }; // Inject the ShareInfoCtr1 using reflection Field infoField = srvsvc.ShareEnumAll.class.getDeclaredField("info"); infoField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
} @Test @DisplayName("Should have status messages array") void testStatusMessagesArray() { // When String[] messages = NtStatus.NT_STATUS_MESSAGES; // Then assertNotNull(messages); assertTrue(messages.length > 0); // Should have same length as codes array assertEquals(NtStatus.NT_STATUS_CODES.length, messages.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
/** * Gets the negotiated context flags. * @return context flags */ int getFlags(); /** * Gets the array of supported security mechanism OIDs. * @return array of supported mechanism OIDs */ ASN1ObjectIdentifier[] getSupportedMechs(); /** * Checks whether this mechanism supports message integrity.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
ImmutableList<Integer>[] array = (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)}; TypeToken<ImmutableList<Integer>[]> type = new TypeToken<ImmutableList<Integer>[]>() {}; map.putInstance(type, array); assertEquals(1, map.size()); assertThat(map.getInstance(type)).asList().containsExactly(array[0]); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
} @Test @DisplayName("readUShort throws on too short array") void testReadUShortOutOfBounds() { byte[] a = new byte[] { 0x02 }; assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readUShort(a, 0)); } @Test @DisplayName("readULong throws on too short array") void testReadULongOutOfBounds() { byte[] a = new byte[] { 0x01, 0x02, 0x03 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} private void checkVersionsArrayEqual(String[] array) { // compare against each other (including itself) for (int i = 0; i < array.length; ++i) { for (int j = i; j < array.length; ++j) { checkVersionsEqual(array[i], array[j]); } } } private void checkVersionsOrder(String v1, String v2) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
* It interacts with an OpenSearch client to store and retrieve settings. * * <p>This class provides methods to initialize settings, get and set individual settings, * and manage various types of settings such as array settings, analyzer settings, bad word settings, * and elevate word settings.</p> * * <p>It also includes a nested TimeoutSettings class to manage various timeout configurations.</p> * * <p>Usage example:</p> * <pre>
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 18.7K bytes - Viewed (0)