Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 115 for Chars (0.73 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

      private fun largeHeaders(): List<Header> {
        val nameValues = arrayOfNulls<String>(32)
        val chars = CharArray(512)
        var i = 0
        while (i < nameValues.size) {
          Arrays.fill(chars, i.toChar())
          val string = String(chars)
          nameValues[i++] = string
          nameValues[i++] = string
        }
        return headerEntries(*nameValues)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        // Less than 65,536 bytes, because we binary search on a 14-bit index with a stride of 4 bytes.
        assertThat(compactTable.ranges.length).isLessThan((1 shl 14) * 4)
    
        // Less than 16,384 chars, because we index on a 14-bit index in the ranges table.
        assertThat(compactTable.mappings.length).isLessThan(1 shl 14)
    
        // Confirm the data strings are ASCII.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            assertEquals(0x0101, actualInfoLevel);
        }
    
        @Test
        void testWriteParametersWithSpecialCharacters() {
            String specialPath = "test/file with spaces and $pecial #chars!.txt";
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, specialPath, TEST_INFO_LEVEL);
    
            byte[] buffer = new byte[512];
            int written = trans2QueryPathInfo.writeParametersWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CharSourceTest.java

        Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source));
        CharSource concatenated = CharSource.concat(cycle);
    
        String expected = "abcdabcd";
    
        // read the first 8 chars manually, since there's no equivalent to ByteSource.slice
        // TODO(cgdecker): Add CharSource.slice?
        StringBuilder builder = new StringBuilder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

        @CsvSource({ "a.txt", "very_long_filename_with_many_characters_to_test_buffer_handling.docx", "file with spaces.pdf", "文件.txt", // Unicode filename
                "file-with-special-chars!@#$%^&().bin" })
        void testDecodeWithVariousFileNames(String fileName) throws SMBProtocolDecodingException {
            byte[] buffer = createValidNotificationBuffer(fileName, FileNotifyInformation.FILE_ACTION_ADDED);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    		// One path segment length is > 255 chars long.
    		{"path/to/my/object0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001", errFileNameTooLong},
    		// path length is > 1024 chars long.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * @since 15.0
     */
    @GwtCompatible
    @SuppressWarnings("EscapedEntity") // We do mean for the user to see "&lt;" etc.
    public abstract class UnicodeEscaper extends Escaper {
      /** The amount of padding (chars) to use when growing the escape buffer. */
      private static final int DEST_PAD = 32;
    
      /** Constructor for use by subclasses. */
      protected UnicodeEscaper() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/escape/UnicodeEscaper.java

     * @since 15.0
     */
    @GwtCompatible
    @SuppressWarnings("EscapedEntity") // We do mean for the user to see "&lt;" etc.
    public abstract class UnicodeEscaper extends Escaper {
      /** The amount of padding (chars) to use when growing the escape buffer. */
      private static final int DEST_PAD = 32;
    
      /** Constructor for use by subclasses. */
      protected UnicodeEscaper() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
            final Exception cause = new RuntimeException("Special chars: \n\t\r\f\b");
    
            // Execute
            final InvalidQueryException exception = new InvalidQueryException(messageCode, message, cause);
    
            // Verify special characters are preserved
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            final int[] values = getCrawlerDocumentCharsAsArray(QUERY_HIGHLIGHT_BOUNDARY_CHARS, getQueryHighlightBoundaryChars());
            final char[] chars = new char[values.length];
            for (int i = 0; i < values.length; i++) {
                chars[i] = (char) values[i];
            }
            return chars;
        }
    
        String getQueryHighlightTerminalChars();
    
        default int[] getQueryHighlightTerminalCharsAsArray() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
Back to top