- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 896 for Array (0.01 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddTester.java
@CollectionSize.Require(absent = ZERO) public void testAdd_supportedNullPresent() { E[] array = createArrayWithNullElement(); collection = getSubjectGenerator().create(array); assertTrue("add(nullPresent) should return true", getList().add(null)); List<E> expected = copyToList(array); expected.add(null); expectContents(expected); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* * 1. b/192354773 in our checker affects toArray declarations. * * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an * array with a nullable element type. But probably they usually want an array with a non-nullable * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
// TODO parallel? final SuggestItem[] array = Stream.of(items).filter(item -> !item.isBadWord(badWords)).toArray(n -> new SuggestItem[n]); try { final long start = System.currentTimeMillis(); final SuggestWriterResult result = suggestWriter.write(client, settings, index, array, true);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} /** * Sets the array of web protocols to recognize for URL classification. * * @param webProtocols array of protocol prefixes (e.g., "http:", "https:") */ public void setWebProtocols(final String[] webProtocols) { this.webProtocols = webProtocols; } /** * Sets the array of file protocols to recognize for URL classification. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
String[] array = {"foo", "bar"}; assertFalse(Iterators.forArrayWithPosition(array, 2).hasNext()); assertThrows(IndexOutOfBoundsException.class, () -> Iterators.forArrayWithPosition(array, -1)); assertThrows(IndexOutOfBoundsException.class, () -> Iterators.forArrayWithPosition(array, 3)); } @GwtIncompatible // unreasonably slow public void testForArrayUsingTester() { new IteratorTester<Integer>(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 54.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
return buffer[bufferIndex] & 0xFF; } int type, length; /** * Writes the packet to the specified byte array in wire format. * * @param dst the destination byte array to write to * @param dstIndex the starting index in the destination array * @return written bytes */ public int writeWireFormat(final byte[] dst, final int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
@DisplayName("Reading with zero-length array returns 0") void readZeroLengthArrayReturnsZero() throws IOException { // Create stream with a message containing data byte[] data = new byte[] { 1, 2 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(2), data)); SocketInputStream sis = new SocketInputStream(in); // Reading with zero-length array should return 0 without consuming data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
*/ public void addSitemap(final String url) { if (!sitemapList.contains(url)) { sitemapList.add(url); } } /** * Returns an array of sitemap URLs. * * @return an array of sitemap URLs */ public String[] getSitemaps() { return sitemapList.toArray(new String[sitemapList.size()]); } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/EmptyArgumentException.java
* Creates an {@link EmptyArgumentException}. * * @param argName * Name of the argument * @param messageCode * Message code * @param args * Array of arguments */ public EmptyArgumentException(final String argName, final String messageCode, final Object[] args) { this(argName, messageCode, args, null); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
@Override public HashCode hashInt(int input) { return hashBytes(ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN).putInt(input).array()); } @Override public HashCode hashLong(long input) { return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array()); } @Override public HashCode hashUnencodedChars(CharSequence input) { int len = input.length();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.8K bytes - Viewed (0)