Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 822 for characters (0.07 seconds)

  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)
          }
    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)
  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. 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)
  4. 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)
  5. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            assertEquals("Executed: groovy println 'test'", result);
        }
    
        @Test
        public void test_execute_specialCharacters() {
            // Test scripts with special characters
            Object result = jobExecutor.execute("test", "script with\nnewline");
            assertEquals("Executed: test script with\nnewline", result);
    
            result = jobExecutor.execute("test", "script with\ttab");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  6. fastapi/security/oauth2.py

            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
        You could have custom internal logic to separate it by colon characters (`:`) or
        similar, and get the two parts `items` and `read`. Many applications do that to
        group and organize permissions, you could do it as well in your application, just
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertEquals(-1, crawlingInfoHelper.maxSessionIdsInList);
        }
    
        @Test
        public void test_generateId_specialCharacters() {
            // Test characters that need special encoding
            String input1 = "http://example.com/文档"; // Unicode characters
            String result1 = crawlingInfoHelper.generateId(input1);
            assertNotNull(result1);
            assertEquals(128, result1.length());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/Constants.java

        // Query Reserved Characters and Patterns
        // ============================================================
    
        /** Array of reserved characters for query processing. */
        public static final String[] RESERVED =
                { "\\", "+", "-", "&&", "||", "!", "(", ")", "{", "}", "[", "]", "^", "~", "*", "?", ";", ":", "/" };
    
        /** Pattern for detecting reserved characters in Lucene field queries. */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top