- Sort Score
- Result 10 results
- Languages All
Results 961 - 970 of 1,279 for array2 (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java
import static com.google.common.collect.testing.features.MapFeature.REJECTS_DUPLICATES_AT_CREATION; import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.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) -
guava/src/com/google/common/collect/ImmutableMultimap.java
import static com.google.common.collect.Iterators.emptyIterator; import static com.google.common.collect.Maps.immutableEntry; import static java.lang.Math.max; import static java.util.Arrays.asList; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
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) -
okhttp/src/jvmTest/kotlin/okhttp3/CommonRequestBodyTest.kt
import okhttp3.RequestBody.Companion.toRequestBody class CommonRequestBodyTest { @Test fun correctContentType() { val body = "Body" val requestBody = body.toRequestBody(MediaType("text/plain", "text", "plain", arrayOf())) val contentType = requestBody.contentType()!! assertThat(contentType.mediaType).isEqualTo("text/plain; charset=utf-8") assertThat(contentType.parameter("charset")).isEqualTo("utf-8") }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java
assertNotNull(result); assertTrue(result.contains("test_seed")); // Should contain 4 separators even with null arrays long separatorCount = result.chars().filter(ch -> ch == '\n').count(); assertEquals(4, separatorCount); } public void test_getCacheKey_emptyArrays() { String seed = "test_seed";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
String actual = response.toString(); assertTrue(actual.startsWith("Trans2FindNext2Response[")); } // Helper methods to write data to byte arrays for testing read methods private void writeInt2(int val, byte[] dst, int dstIndex) { dst[dstIndex] = (byte) val; dst[dstIndex + 1] = (byte) (val >> 8); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
byte[] buffer = new byte[20]; int bytesRead = Transport.readn(is, buffer, 0, 5); assertEquals(5, bytesRead); assertArrayEquals("Hello".getBytes(), java.util.Arrays.copyOfRange(buffer, 0, 5)); } @Test @DisplayName("readn should throw IOException when buffer too short") void shouldThrowWhenBufferTooShort() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
}; #endif // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) namespace tensorflow { // Set the shapes and types of the output's handle. // // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the // rank is known), then it must be equal to the length of `shapes[i]`; if
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0)