Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 39 for Repeat (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            String seed = "very_long_seed_" + "x".repeat(100);
            String[] tags = { "long_tag_" + "y".repeat(50), "another_long_tag_" + "z".repeat(50) };
            String[] roles = { "long_role_" + "a".repeat(50) };
            String[] fields = { "long_field_" + "b".repeat(50) };
            String[] excludes = { "long_exclude_" + "c".repeat(50) };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java

            String longMessage = "X".repeat(250);
            events.add(new LogNotificationEvent(1700000000000L, "ERROR", "org.test", longMessage, null));
    
            String details = testableJob.testFormatDetails(events);
    
            // Message should be truncated to 200 chars + "..."
            assertFalse(details.contains("X".repeat(250)));
            assertTrue(details.contains("X".repeat(200) + "..."));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt

      @Test
      fun largeResponseHeadersList() {
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("Set-Cookie", "a=${"A".repeat(255 * 1024)}")
            .addHeader("Set-Cookie", "b=${"B".repeat(1 * 1024)}")
            .body("I'm not even supposed to be here today.")
            .build(),
        )
        val call = client.newCall(Request(url = server.url("/")))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

        public void test_smartSummary_longSourceTitlesExceedBudget() {
            // When source titles alone are very long, suffix is truncated to maxChars/4
            final String longTitle = "T".repeat(1000);
            final ChatMessage msg = createAssistantWithSources("A".repeat(500), longTitle);
            final String result = chatClient.testBuildAssistantHistoryContent(msg, "smart_summary", 200, 200);
            // maxSuffixLen = 200/4 = 50, suffix is truncated to 50 chars
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

                }
            }
        }
    
        @Test
        public void test_encode_withLongValues() {
            String longUser = "user" + "x".repeat(1000);
            String longGroup = "group" + "y".repeat(1000);
            String longRole = "role" + "z".repeat(1000);
    
            String encodedUser = permissionHelper.encode("{user}" + longUser);
            String encodedGroup = permissionHelper.encode("{group}" + longGroup);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapUtilTest.java

            assertEquals("admin", LdapUtil.escapeValue("admin"));
        }
    
        @Test
        public void test_escapeValue_longString() {
            String input = "a]".repeat(1000) + "*";
            String expected = "a]".repeat(1000) + "\\2a";
            assertEquals(expected, LdapUtil.escapeValue(input));
        }
    
        @Test
        public void test_escapeValue_realWorldLdapInjectionAttempts() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

        @Test
        public void test_addHistoryWithBudget_turnBasedPacking_newestTurnOnly() {
            final List<LlmMessage> history = new ArrayList<>();
            history.add(LlmMessage.user("A".repeat(100))); // 100
            history.add(LlmMessage.assistant("B".repeat(100))); // 100
            history.add(LlmMessage.user("Q2")); // 2
            history.add(LlmMessage.assistant("A2")); // 2
            final LlmChatRequest request = new LlmChatRequest();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        peekTrailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun peekTrailersHttp2() {
        peekTrailers(Protocol.HTTP_2)
      }
    
      private fun peekTrailers(protocol: Protocol) {
        val responseBody = "a".repeat(OKHTTP_CLIENT_WINDOW_SIZE)
        enableProtocol(protocol)
    
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("h1", "v1")
            .trailers(headersOf("t1", "v2"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
  9. src/bytes/bytes_test.go

    		{"a", 'ӆ', -1},
    		{"  ӆ", 'ӆ', 2},
    		{"  a", 'ӆ', -1},
    		{strings.Repeat("ц", 64) + "ӆ", 'ӆ', 128}, // test cutover
    		{strings.Repeat("ц", 64), 'ӆ', -1},
    
    		// 3 bytes
    		{"Ꚁ", 'Ꚁ', 0},
    		{"a", 'Ꚁ', -1},
    		{"  Ꚁ", 'Ꚁ', 2},
    		{"  a", 'Ꚁ', -1},
    		{strings.Repeat("Ꙁ", 64) + "Ꚁ", 'Ꚁ', 192}, // test cutover
    		{strings.Repeat("Ꙁ", 64) + "Ꚁ", '䚀', -1},  // 'Ꚁ' and '䚀' share the same last two bytes
    
    		// 4 bytes
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Strings.java

      }
    
      /**
       * Returns a string consisting of a specific number of concatenated copies of an input string. For
       * example, {@code repeat("hey", 3)} returns the string {@code "heyheyhey"}.
       *
       * @param string any non-null string
       * @param count the number of times to repeat it; a nonnegative integer
       * @return a string containing {@code string} repeated {@code count} times (the empty string if
       *     {@code count} is zero)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.2K bytes
    - Click Count (0)
Back to Top