Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 517 for repeats (0.04 sec)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

            assertFalse(init.getContextFlag(NegTokenInit.CONFIDENTIALITY));
            assertEquals(NegTokenInit.INTEGRITY, init.getContextFlags());
        }
    
        @Test
        @DisplayName("Parse rejects wrong SPNEGO OID")
        void testParseRejectsWrongOid() throws Exception {
            byte[] token = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, 0, null, null, false, "1.2.840.113554.1.2.2", // Kerberos OID instead of SPNEGO OID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

    /**
     * Microbenchmark for {@link com.google.common.base.Strings#repeat}
     *
     * @author Mike Cripps
     */
    @NullUnmarked
    public class StringsRepeatBenchmark {
      @Param({"1", "5", "25", "125"})
      int count;
    
      @Param({"1", "10"})
      int length;
    
      private String originalString;
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            System.setProperty("repeat", "X");
            value = "${repeat}${repeat}${repeat}";
            assertEquals("XXX", ResourceUtil.resolve(value));
    
            // Clean up
            System.clearProperty("empty");
            System.clearProperty("spaces");
            System.clearProperty("very.long.property.name.with.many.dots");
            System.clearProperty("repeat");
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. 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) };
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun labelTooLongDueToAsciiExpansion() {
        val a60 = "a".repeat(60)
        assertThat(parse("http://\u2121$a60/").toString()).isEqualTo("http://tel$a60/")
        assertInvalid("http://a\u2121$a60/", "Invalid URL host: \"a\u2121$a60\"")
      }
    
      @Test
      fun hostnameTooLong() {
        val dotA126 = "a.".repeat(126)
        assertThat(parse("http://a$dotA126/").toString())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/StringsTest.java

        String input = "20";
        assertEquals("", Strings.repeat(input, 0));
        assertEquals("20", Strings.repeat(input, 1));
        assertEquals("2020", Strings.repeat(input, 2));
        assertEquals("202020", Strings.repeat(input, 3));
    
        assertEquals("", Strings.repeat("", 4));
    
        for (int i = 0; i < 100; ++i) {
          assertEquals(2 * i, Strings.repeat(input, i).length());
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        taskFaker.runTasks()
      }
    
      private fun forceConnectionsToExpire(
        pool: RealConnectionPool,
        expireTime: Long,
      ) {
        val idleTimeNanos = expireTime + pool.keepAliveDurationNs
        repeat(pool.connectionCount()) { pool.closeConnections(idleTimeNanos) }
        taskFaker.runTasks()
      }
    
      private fun connectHttp2(
        peer: MockHttp2Peer,
        realConnection: RealConnection,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      static final String LOTS_OF_DELTAS = Strings.repeat(DELTA, 62);
    
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      private static final String ALMOST_TOO_MANY_LEVELS = Strings.repeat("a.", 127);
    
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. 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)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

    /**
     * Microbenchmark for {@link com.google.common.base.Strings#repeat}
     *
     * @author Mike Cripps
     */
    @NullUnmarked
    public class StringsRepeatBenchmark {
      @Param({"1", "5", "25", "125"})
      int count;
    
      @Param({"1", "10"})
      int length;
    
      private String originalString;
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top