Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 338 for charactersOf (0.13 sec)

  1. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        }
    
        @Test
        public void testUnicodeEncoding() {
            // Test Unicode string encoding
            String msg = "\u00A1\u00A2"; // two Unicode characters
            byte[] encoded = encodeUnicode(msg);
            assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes");
    
            // Verify little-endian encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/DfsReferral.java

     * This class extends SmbException to provide DFS referral information when a DFS path is encountered.
     */
    public class DfsReferral extends SmbException {
    
        /** Number of characters consumed from the path */
        public int pathConsumed;
        /** Time to live for this referral in seconds */
        public long ttl;
        /** Target server for this referral */
        public String server; // Server
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Files.java

      }
    
      /**
       * Reads all characters from a file into a {@link String}, using the given character set.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return a string containing all the characters from the file
       * @throws IOException if an I/O error occurs
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/header-params.md

    Most of the standard headers are separated by a "hyphen" character, also known as the "minus symbol" (`-`).
    
    But a variable like `user-agent` is invalid in Python.
    
    So, by default, `Header` will convert the parameter names characters from underscore (`_`) to hyphen (`-`) to extract and document the headers.
    
    Also, HTTP headers are case-insensitive, so, you can declare them with standard Python style (also known as "snake_case").
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            event.setVersionNo(Long.MAX_VALUE);
            assertEquals(Long.valueOf(Long.MAX_VALUE), event.getVersionNo());
        }
    
        // Test special characters in strings
        public void test_specialCharactersInStrings() {
            // Test special characters in ID
            TestSearchLogEvent event1 = new TestSearchLogEvent("id-with-special-!@#$%^&*()", 1L, "type");
            assertEquals("id-with-special-!@#$%^&*()", event1.getId());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. 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)
  7. cmd/metacache-marker.go

    		return fmt.Sprintf("%s[minio_cache:%s,return:]", marker, markerTagVersion)
    	}
    	if strings.ContainsAny(o.ID, "[:,") {
    		internalLogIf(context.Background(), fmt.Errorf("encodeMarker: uuid %s contained invalid characters", o.ID))
    	}
    	return fmt.Sprintf("%s[minio_cache:%s,id:%s,p:%d,s:%d]", marker, markerTagVersion, o.ID, o.pool, o.set)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

        // Inputs are /b/c/<every possible 10-character string of characters "a./">
        // Expected outputs are from realpath -s.
        doExtensiveTest("testdata/simplifypathwithabsoluteprefixtests.txt");
      }
    
      public void testExtensiveNoPrefix() throws IOException {
        /*
         * Inputs are <every possible 10-character string of characters "a./">
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            String message = "Custom SSO error message";
            SsoLoginException exception = new SsoLoginException(message);
    
            assertEquals(message, exception.getMessage());
    
            // Test with special characters
            String specialMessage = "SSO error: 特殊文字 & symbols <>\n\t";
            SsoLoginException specialException = new SsoLoginException(specialMessage);
            assertEquals(specialMessage, specialException.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            String decrypted = cryptographer.decrypt(encrypted);
            assertEquals(plainText, decrypted);
        }
    
        public void test_invertibleCryptography_withSpecialCharacters() {
            // Test with special characters
            InvertibleCryptographer cryptographer = securityResourceProvider.providePrimaryInvertibleCryptographer();
            assertNotNull(cryptographer);
    
            String plainText = "!@#$%^&*(){}[]|\\:;\"'<>,.?/~`";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top