Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 1,274 for arrayOf (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyMap;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singletonMap;
    import static java.util.Collections.unmodifiableMap;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            @Test
            @DisplayName("Should not modify buffer beyond encoded area")
            void testEncodeDoesNotModifyBeyondArea() {
                // Given
                byte testByte = (byte) 0xFF;
                java.util.Arrays.fill(buffer, testByte);
                SrvCopychunk chunk = new SrvCopychunk(1024, 2048, 4096);
    
                // When
                chunk.encode(buffer, startIndex);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

       *     FIRST_LETTER_MULTIMAP.putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a'));
       *     FIRST_LETTER_MULTIMAP.putAll('a', Arrays.asList('p', 'p', 'l', 'e'));
       *     FIRST_LETTER_MULTIMAP.putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't'));
       *     FIRST_LETTER_MULTIMAP.putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'));
       *     FIRST_LETTER_MULTIMAP.putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'));
       * }
       * }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multimaps.java

       *     FIRST_LETTER_MULTIMAP.putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a'));
       *     FIRST_LETTER_MULTIMAP.putAll('a', Arrays.asList('p', 'p', 'l', 'e'));
       *     FIRST_LETTER_MULTIMAP.putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't'));
       *     FIRST_LETTER_MULTIMAP.putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'));
       *     FIRST_LETTER_MULTIMAP.putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'));
       * }
       * }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
Back to top