- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,585 for arrayOf (0.05 sec)
-
guava/src/com/google/common/base/Joiner.java
*/ toJoin = Arrays.copyOf(toJoin, expandedCapacity(toJoin.length, toJoin.length + 1)); } toJoin[i++] = toString(part); } // We might not have seen the expected number of elements, as discussed above. if (i != toJoin.length) { toJoin = Arrays.copyOf(toJoin, i); } return String.join(separator, toJoin); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Then - Nonces should be unique (SMB3 compliant: random + counter) assertFalse(Arrays.equals(nonce1, nonce2), "Nonces should be different"); assertFalse(Arrays.equals(nonce2, nonce3), "Nonces should be different"); assertFalse(Arrays.equals(nonce1, nonce3), "Nonces should be different"); // Nonces should have proper sizeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
assertNotNull(buffer, "getBuffer should never return null"); assertSame(expectedBuffer, buffer, "Should return configured buffer"); } @Test @DisplayName("releaseBuffer should accept byte arrays gracefully") void testReleaseBufferContract() { // Given byte[] buffer = new byte[1024]; doNothing().when(mockBufferCache).releaseBuffer(buffer); // When & Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
} @Test @DisplayName("Parse handles null mechanisms array") void testNullMechanisms() { NegTokenInit init = new NegTokenInit(null, 0, null, null); assertNull(init.getMechanisms()); // Should not throw when converting to byte array assertDoesNotThrow(() -> init.toByteArray()); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
return true; }); } /** * Retrieves multiple documents by their document IDs. * * @param docIds Array of document IDs to retrieve * @param fields Array of field names to include in the results * @param userBean Optional user information for permission checking * @param searchRequestType Type of search request for role-based access controlRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 05:56:45 UTC 2025 - 36.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
assertEquals(HashCode.fromString(expected), hashFunc.hashBytes(data)); } private static byte[] fillByteArray(int size, int toFillWith) { byte[] array = new byte[size]; Arrays.fill(array, (byte) toFillWith); return array; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} } private void recurse(int level) { // We're going to reuse the stimuli array 3^steps times by overwriting it // in a recursive loop. Sneaky. if (level == stimuli.length) { // We've filled the array. compareResultsForThisListOfStimuli(); } else { // Keep recursing to fill the array. for (Stimulus<E, ? super I> stimulus : getStimulusValues()) { stimuli[level] = stimulus;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.reflect.Array; import java.util.Arrays; import java.util.Collection; import java.util.Map; import java.util.OptionalDouble; import java.util.OptionalInt; import java.util.OptionalLong; import org.jspecify.annotations.Nullable; /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
} private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) { // getConstructors() guarantees this as long as we don't modify the array. @SuppressWarnings({"unchecked", "rawtypes"}) List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors()); for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} try { suggester.settings().array().delete(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS); split(fessConfig.getSuggestFieldIndexContents(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).forEach(field -> { try { suggester.settings().array().add(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS, field);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 22.3K bytes - Viewed (0)