- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 925 for asArray (0.06 sec)
-
src/test/java/jcifs/smb/SIDCacheImplTest.java
void resolveSids_invalidInputs() throws Exception { SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class)); CIFSContext ctx = mock(CIFSContext.class); // Null sids array -> NPE assertThrows(NullPointerException.class, () -> cache.resolveSids(ctx, "server", null, 0, 1)); // Bad offset/length leads to ArrayIndexOutOfBoundsException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
cmd/local-locker.go
if ok { reply = l.removeEntry(resource, args, &lri) || reply } } return } // removeEntry based on the uid of the lock message, removes a single entry from the // lockRequesterInfo array or the whole array from the map (in case of a write lock // or last read lock) // UID and optionally owner must match for entries to be deleted.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/Referral.java
* * @return the specialName */ public final String getSpecialName() { return this.specialName; } /** * Gets the expanded names array for this referral. * * @return the expandedNames */ public final String[] getExpandedNames() { return this.expandedNames; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
writeLittleEndianInt(baos, PacConstants.LOGON_INFO); // type writeLittleEndianInt(baos, 10); // size writeLittleEndianLong(baos, 25); // Unaligned offset (not multiple of 8) // Add enough data to avoid array bounds issues while (baos.size() < 35) { baos.write(0); } byte[] pacData = baos.toByteArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
oldValues = ((Collection<?>) oldValue).toArray(); } else { oldValues = new Object[] { oldValue }; } if (value.getClass().isArray()) { final Object[] newValues = (Object[]) value; final Object[] values = Arrays.copyOf(oldValues, oldValues.length + newValues.length); for (int i = 0; i < newValues.length; i++) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.8K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
} internal object DisabledHostnameVerifier : ConscryptHostnameVerifier { fun verify( hostname: String?, session: SSLSession?, ): Boolean = true override fun verify( certs: Array<out X509Certificate>?, hostname: String?, session: SSLSession?, ): Boolean = true } override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? = null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* * @param paths the path to format as a tool option * @return the option associated to this path type followed by the given path elements, * or an empty array if there is no path element * @throws IllegalStateException if no option is associated to this path type */ @Nonnull @Override public String[] option(Iterable<? extends Path> paths) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 15K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
assertEquals(40, response.dataOffset); assertEquals(0, response.dataDisplacement); assertEquals(1, response.setupCount); } // Helper method to write a 4-byte integer to a byte array. private void writeInt4(int val, byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dst[dstIndex + 1] = (byte) (val >> 8); dst[dstIndex + 2] = (byte) (val >> 16);
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/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getMessageByDcerpcError() with an error code larger than any known. * The binary search implementation has a bug where it accesses array out of bounds. */ @Test void testGetMessageByDcerpcError_largerThanAny() { int unknownCode = 0x7FFFFFFF; // Max int value
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
return expected; } /** * Helper to run the loop to test all the permutations for the number of bytes specified. * * @param numBytes the number of bytes in the byte array * @param expectedCount the expected number of roundtrippable permutations */ @GwtIncompatible // java.nio.charset.Charset private static void testBytes(int numBytes, long expectedCount) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0)