- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 1,381 for _array (0.13 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java
public void testNewReferenceArray_withStringArray() throws Exception { String[] array = {"foo", "bar", "baz"}; AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(array); for (int i = 0; i < array.length; ++i) { assertEquals(array[i], refArray.get(i)); } assertThrows(IndexOutOfBoundsException.class, () -> refArray.get(array.length)); } public void testNewReferenceArray_withNullArray() throws Exception {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
/// Squash bytes down to ints. /** * Converts bytes to integers for internal DES processing * @param inBytes the input byte array * @param inOff the offset into the input array * @param outInts the output integer array * @param outOff the offset into the output array * @param intLen the number of integers to convert */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
this.name.buffer[_i] = (short) _src.dec_ndr_short(); } } } } /** * SAMR SAM Array structure representing an array of SAM entries. * Used to return multiple SAM objects in enumeration operations. */ public static class SamrSamArray extends NdrObject { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
name.buffer[_i] = (short) _src.dec_ndr_short(); } } } } /** * SAMR SAM Array structure representing an array of SAM entries. * Used to return multiple SAM objects in enumeration operations. */ public static class SamrSamArray extends NdrObject { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
} @Test @DisplayName("Test get password as char array") void testGetPasswordAsCharArray() { String testPassword = "securePassword456"; authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", testPassword); char[] password = authenticator.getPasswordAsCharArray(); assertNotNull(password, "Password char array should not be null");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
} /** * Encodes a string into bytes using the specified encoding. * * @param str the string to encode * @param encoding the character encoding to use * @return encoded byte array, or empty array if str is null */ public static byte[] getBytes(final String str, final Charset encoding) { if (str == null) { return new byte[0]; } return str.getBytes(encoding);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
while (i > 0) { buf[index - i] = value; i--; } return n; } /** * Writes an octet array to the buffer. * * @param b the byte array to write * @param i the starting index in the array * @param l the number of bytes to write */ public void writeOctetArray(final byte[] b, final int i, final int l) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListCreationTester.java
@CollectionSize.Require(absent = {ZERO, ONE}) public void testCreateWithDuplicates() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array); expectContents(array); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
checkNotNull(sequence); return ""; } @Override public String replaceFrom(CharSequence sequence, char replacement) { char[] array = new char[sequence.length()]; Arrays.fill(array, replacement); return new String(array); } @Override public String replaceFrom(CharSequence sequence, CharSequence replacement) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 53.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
rpcUuid.node = new byte[6]; // Empty node array // Act UUID uuid = new UUID(rpcUuid); // Assert assertNotNull(uuid.node); assertEquals(6, uuid.node.length); assertArrayEquals(new byte[6], uuid.node, "Empty node array should be copied"); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0)