Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 472 for charactersOf (0.08 seconds)

  1. 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";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. 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)
          }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Oct 25 11:16:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                            }
                        });
    
                assertEquals(path, provider.provideDefaultPath());
            }
        }
    
        // Test cipher with special characters
        @Test
        public void test_cipherWithSpecialCharacters() {
            // Create a mock cipher for testing purposes
            InvertibleCryptographer cipher = new InvertibleCryptographer("AES", "1234567890123456", null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  5. cmd/warm-backend-s3.go

    			},
    		})
    	case conf.AWSRoleWebIdentityTokenFile != "" && conf.AWSRoleARN != "":
    		sessionName := conf.AWSRoleSessionName
    		if sessionName == "" {
    			// RoleSessionName has a limited set of characters (https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)
    			sessionName = "minio-tier-" + mustGetUUID()
    		}
    		s3WebIdentityIAM := credentials.IAM{
    			Client: &http.Client{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:13:30 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Test with long fileName
            String longFileName = "very-long-file-name-with-many-characters-that-could-potentially-cause-issues.txt";
            Smb2CloseRequest longNameRequest = new Smb2CloseRequest(mockConfig, testFileId, longFileName);
            assertEquals(longFileName, fileNameField.get(longNameRequest));
    
            // Test with special characters
            String specialFileName = "file@#$%^&*().txt";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * The wildcard expression may consist of two special meta
         * characters in addition to the normal filename characters. The '*'
         * character matches any number of characters in part of a name. If
         * the expression begins with one or more '?'s then exactly that
         * many characters will be matched whereas if it ends with '?'s
         * it will match that many characters <i>or less</i>.
         * <p>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/netbios/Name.java

        }
    
        /**
         * Constructs a NetBIOS name with the specified parameters.
         *
         * @param cfg the configuration to use
         * @param name the NetBIOS name (will be truncated to 15 characters if longer)
         * @param hexCode the NetBIOS name type code
         * @param scope the NetBIOS scope identifier
         */
        public Name(final Configuration cfg, String name, final int hexCode, final String scope) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            assertTrue(item.isUpdated());
            assertFalse(item.isDeleted());
        }
    
        @Test
        public void test_specialCharacters() {
            // Test with special characters
            String specialInput = "test@#$%^&*()_+-=[]{}|;':\",./<>?";
            StopwordsItem item = new StopwordsItem(1, specialInput);
            assertEquals(specialInput, item.getInput());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (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")));
        }
    
        @Test
        public void test_getAccountId_exception_handling() throws SmbException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.9K bytes
    - Click Count (0)
Back to Top