Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 353 for charactersOf (0.07 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

      private fun loggerTag(loggerName: String): String {
        // We need to handle long logger names before they hit Log.
        // java.lang.IllegalArgumentException: Log tag "okhttp3.mockwebserver.MockWebServer" exceeds limit of 23 characters
        return knownLoggers[loggerName] ?: loggerName.take(23)
      }
    
      fun enable() {
        try {
          for ((logger, tag) in knownLoggers) {
            enableLogging(logger, tag)
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

            assertNotNull(result);
            assertTrue(result.contains("TransWaitNamedPipe"));
            assertTrue(result.contains("pipeName=null"));
        }
    
        @Test
        @DisplayName("toString with special characters in pipe name")
        void testToStringWithSpecialCharacters() {
            // Arrange
            String specialPipeName = "\\PIPE\\test$pipe#123";
            transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, specialPipeName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        @DisplayName("Should handle invalid NetBIOS name quickly")
        @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout
        void testGetNbtByNameInvalid() {
            // When/Then - Should fail quickly with invalid characters
            assertThrows(Exception.class, () -> {
                nameServiceClient.getNbtByName("INVALID@#$%NAME");
            }, "Should throw exception for invalid NetBIOS name");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            assertEquals(unicodeFileName, decodedName);
            assertEquals(20 + nameLength, bytesWritten);
        }
    
        @Test
        @DisplayName("Test with special characters in filename")
        void testWithSpecialCharactersInFilename() throws SMBProtocolDecodingException {
            String specialFileName = "file!@#$%^&*().txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

            assertEquals(unicodeString, decoded);
        }
    
        public void test_special_characters_base64_encoding() {
            // Test that special characters are properly encoded/decoded
            String specialString = "******@****.***";
            String encoded = BaseEncoding.base64().encode(specialString.getBytes(StandardCharsets.UTF_8));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

            },
        )
    
      /**
       * Permits alphanumerics, spaces, and these:
       *
       * ```
       *   ' () + , - . / : = ?
       * ```
       *
       * TODO(jwilson): constrain to printable string characters.
       */
      val PRINTABLE_STRING =
        BasicDerAdapter(
          name = "PRINTABLE STRING",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 19L,
          codec =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.oemDomainName = null;
            assertNull(serverData.oemDomainName);
    
            // Test with special characters
            serverData.oemDomainName = "DOMAIN-01.LOCAL";
            assertEquals("DOMAIN-01.LOCAL", serverData.oemDomainName);
    
            // Test with Unicode characters
            serverData.oemDomainName = "ドメイン";
            assertEquals("ドメイン", serverData.oemDomainName);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertEquals("Root problem", exception.getCause().getCause().getMessage());
        }
    
        public void test_messageWithSpecialCharacters() {
            // Test constructor with message containing special characters
            String message = "GSA error: config file not found at /path/to/config.xml\n" + "Details: \"file\" does not exist\t[TAB]\r\n"
                    + "Unicode: \u4E2D\u6587";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/UniAddressTest.java

            assertFalse(UniAddress.isAllDigits(nonNumeric));
        }
    
        @Test
        void isAllDigitsHandlesEmptyString() {
            // Empty string technically has no non-digit characters, so it returns true
            assertTrue(UniAddress.isAllDigits(""), "isAllDigits should return true for empty string (no non-digits)");
        }
    
        /* ---------------------------------------------------------------------
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                @Override
                public String getCanonicalLdapName(String name) {
                    return name;
                }
            });
            sambaHelper.init();
    
            // Test with Turkish locale characters that have special lowercase rules
            assertEquals("1üser", sambaHelper.getAccountId(createMockSID(1, "Üser")));
        }
    
        public void test_getAccountId_exception_handling() throws SmbException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top