- Sort Score
- Result 10 results
- Languages All
Results 711 - 720 of 925 for asArray (0.04 sec)
-
android/guava/src/com/google/common/base/Utf8.java
*/ public static boolean isWellFormed(byte[] bytes) { return isWellFormed(bytes, 0, bytes.length); } /** * Returns whether the given byte array slice is a well-formed UTF-8 byte sequence, as defined by * {@link #isWellFormed(byte[])}. Note that this can be false even when {@code * isWellFormed(bytes)} is true. * * @param bytes the input buffer
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
cmd/erasure-metadata-utils_test.go
if gotNewErr != errErasureWriteQuorum { t.Errorf("Test %d : expected %s, got %s", i+1, errErasureWriteQuorum, gotErr) } } } // TestHashOrder - test order of ints in array func TestHashOrder(t *testing.T) { testCases := []struct { objectName string hashedOrder []int }{ // cases which should pass the test. // passing in valid object name.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
assertEquals(-1, stream.read()); // Should indicate end of stream } } @Test public void testMemoryBasedCacheWithLargeData() throws IOException { // Create a large byte array (1MB) byte[] data = new byte[1024 * 1024]; for (int i = 0; i < data.length; i++) { data[i] = (byte) (i % 256); } ContentCache cache = new ContentCache(data);
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
mockwebserver/README.md
from your test's `tearDown()`. ### API #### MockResponse Mock responses default to an empty response body and a `200` status code. You can set a custom body with a string, input stream or byte array. Also add headers with a fluent builder API. ### Java ```java MockResponse response = new MockResponse.Builder() .addHeader("Content-Type", "application/json; charset=utf-8")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 13:40:52 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
/** The number of sub-authorities in the SID */ public byte sub_authority_count; /** The identifier authority value (6 bytes) */ public byte[] identifier_authority; /** The array of sub-authority values */ public int[] sub_authority; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
when(transport.getServerEncryptionKey()).thenReturn(key); assertArrayEquals(key, transport.getServerEncryptionKey()); verify(transport).getServerEncryptionKey(); // Empty array byte[] empty = new byte[0]; when(transport.getServerEncryptionKey()).thenReturn(empty); assertArrayEquals(empty, transport.getServerEncryptionKey()); // Null
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
import jakarta.mail.internet.MimeMessage; import jakarta.mail.internet.MimeUtility; /** * Gets a text from .eml file. * * @author shinsuke * */ public class EmlExtractor extends AbstractExtractor { /** Array of day of week abbreviations used for parsing received dates */ private static final String[] DAY_OF_WEEK = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" }; /** Logger instance for this class */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
} /** * Gets an array of rescorer builders for post-processing search results. * This method evaluates all configured query rescorers with the provided parameters. * * @param params parameters to pass to the rescorers during evaluation * @return an array of rescorer builders, filtered to exclude null values */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.9K bytes - Viewed (0) -
src/main/java/jcifs/NetbiosAddress.java
/** * Retrieves the MAC address of the remote network interface. Samba returns all zeros. * * @param tc * context to use * * @return the MAC address as an array of six bytes * @throws UnknownHostException * if the host cannot be resolved to * determine the MAC address. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java
assertEquals(1, chain3.updateCallCount); } // Test addChain null handling public void test_addChain_withNull() { // ArrayUtils.addAll handles null gracefully by adding it to the array authenticationManager.addChain(null); // Verify null chain doesn't cause issues during operations User user = createTestUser("testuser"); try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14K bytes - Viewed (0)