Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 245 for repeat (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        val deflater = MessageDeflater(false)
        val inflater = MessageInflater(false)
    
        val goldenValue1 = "Hello deflate!".repeat(100).encodeUtf8()
        val deflatedValue1 = deflater.deflate(goldenValue1)
        assertThat(inflater.inflate(deflatedValue1)).isEqualTo(goldenValue1)
    
        val goldenValue2 = "Hello deflate?".repeat(100).encodeUtf8()
        val deflatedValue2 = deflater.deflate(goldenValue2)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Sep 21 06:26:07 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
            result.add(sb.toString());
            // lines
            for (String line : lines) {
                sb.setLength(0);
                String[] words = S_FILTER.split(line);
                for (String word : words) {
                    if (sb.length() >= remainder - word.length() - (!sb.isEmpty() ? 1 : 0)) {
                        repeat(sb, ' ', remainder - sb.length());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

      }
    
      @Test fun doesNotConsumeBuffer() {
        val buffer = Buffer()
        buffer.writeUtf8("hello ".repeat(1024))
        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
        val unlimitedSource =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. docs/en/docs/css/custom.css

      -webkit-mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='14' rx='2'/%3E%3Cpath d='M7 3h14v14'/%3E%3C/svg%3E");
      mask-size: contain;
      mask-repeat: no-repeat;
    }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:56:46 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  5. 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)
  6. src/main/webapp/css/style.css

    #result .favorited {
    	display: none;
    }
    
    #result .favorited i {
    	color: #fab005;
    }
    
    #result .thumbnail {
    	width: 100px;
    	min-height: 30px;
    	background-position: 50% 50%;
    	background-repeat: no-repeat;
    }
    
    /* Extra small devices (less than 576px) */
    
    @media (max-width: 575.98px) {
    	.mainLogo img {
    		width: 200px;
    	}
    	.searchFormBox {
    		margin-top: 4em;
    	}
    	#result .info {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 2K bytes
    - Click Count (0)
  7. 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)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

        // request headers.
        // 431 "Request Header Fields Too Large"
        val largeHeaders =
          Headers
            .Builder()
            .apply {
              repeat(32) {
                add("name-$it", "value-$it-" + "0".repeat(1024))
              }
            }.build()
        val call2 =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java

                    sourceBytes = read300BytesExample();
                    break;
                case "one_4k_field":
                    sourceBytes = buildBigExample("huge".repeat(1024));
                    break;
                case "one_4m_field":
                    sourceBytes = buildBigExample("huge".repeat(1024 * 1024));
                    break;
                default:
                    throw new IllegalArgumentException("Unknown source [" + source + "]");
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 17:34:14 GMT 2021
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/util/StringUtilTest.java

            }
        }
    
        @Test
        @DisplayName("Should handle long strings as elements")
        void testJoinWithLongStrings() {
            String longString1 = "a".repeat(1000);
            String longString2 = "b".repeat(1000);
            String result = StringUtil.join(",", longString1, longString2);
            assertEquals(2001, result.length()); // 1000 + 1 + 1000
            assertTrue(result.startsWith("aaa"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top