Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 382 for charactersOf (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskLogger.kt

     * units away from 0 and 0.499 towards 0. The smallest unit this returns is "µs"; the largest unit
     * it returns is "s". For values in [-499..499] this returns "  0 µs".
     *
     * The returned string attempts to be column-aligned to 6 characters. For negative and large values
     * the returned string may be longer.
     */
    fun formatDuration(ns: Long): String {
      val s =
        when {
          ns <= -999_500_000 -> "${(ns - 500_000_000) / 1_000_000_000} s "
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/build-constants.go

    	// ReleaseTag - release tag in TAG.%Y-%m-%dT%H-%M-%SZ.
    	ReleaseTag = "DEVELOPMENT.GOGET"
    
    	// CommitID - latest commit id.
    	CommitID = "DEVELOPMENT.GOGET"
    
    	// ShortCommitID - first 12 characters from CommitID.
    	ShortCommitID = "DEVELOPMENT.GOGET"
    
    	// CopyrightYear - dynamic value of the copyright end year
    	CopyrightYear = "0000"
    
    	// MinioReleaseTagTimeLayout - release tag time layout.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test decode with special characters in filename")
        void testDecodeWithSpecialCharactersInFilename() throws SMBProtocolDecodingException {
            // Prepare test data with special characters
            String expectedFilename = "file-name_2024#******@****.***";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertEquals(messageCode, exception.getMessageCode());
        }
    
        public void test_constructor_withMessageCodeAndMessage() {
            // Setup
            final String message = "Query contains invalid characters";
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      }
      return endIndex
    }
    
    /**
     * Returns the index of the first character in this string that is either a control character (like
     * `\u0000` or `\n`) or a non-ASCII character. Returns -1 if this string has no such characters.
     */
    internal fun String.indexOfControlOrNonAscii(): Int {
      for (i in 0 until length) {
        val c = this[i]
        if (c <= '\u001f' || c >= '\u007f') {
          return i
        }
      }
      return -1
    }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            assertEquals(longMessage, exception.getMessage());
        }
    
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String specialMessage = "Error: \n\t\r Special chars: 日本語 中文 한국어 émojis 😀 🎉";
            ScheduledJobException exception = new ScheduledJobException(specialMessage);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            StorageException exception = new StorageException(message);
            assertEquals(message, exception.getMessage());
        }
    
        public void test_specialCharactersInMessage() {
            // Test with special characters in message
            String message = "Storage error: \n\t\r\"'<>&";
            StorageException exception = new StorageException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        assertThat(SIMPLE_ESCAPER.escape(input.toString())).isEqualTo(expected.toString());
      }
    
      public void testSurrogatePairs() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
    
        // Build up a range of surrogate pair characters to test
        int min = Character.MIN_SUPPLEMENTARY_CODE_POINT;
        int max = Character.MAX_CODE_POINT;
        int range = max - min;
        int s1 = min + (1 * range) / 4;
        int s2 = min + (2 * range) / 4;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        assertThat(SIMPLE_ESCAPER.escape(input.toString())).isEqualTo(expected.toString());
      }
    
      public void testSurrogatePairs() {
        UnicodeEscaper e = SIMPLE_ESCAPER;
    
        // Build up a range of surrogate pair characters to test
        int min = Character.MIN_SUPPLEMENTARY_CODE_POINT;
        int max = Character.MAX_CODE_POINT;
        int range = max - min;
        int s1 = min + (1 * range) / 4;
        int s2 = min + (2 * range) / 4;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacUnicodeStringTest.java

         */
        @Test
        void testCheck_withInvalidLength_throwsException() {
            // Length is 10 bytes, so expected string length is 5 characters
            PacUnicodeString pacString = new PacUnicodeString((short) 10, (short) 20, 100);
            String testString = "too-long"; // Length is 8
    
            // Expect a PACDecodingException to be thrown
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top