Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 526 for repeats (0.05 seconds)

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

  1. 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() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  2. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3K bytes
    - Click Count (0)
  3. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      private static final Splitter STRING_SPLITTER = Splitter.on("X");
    
      @BeforeExperiment
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      void setUp() {
        input = Strings.repeat(text, length);
      }
    
      @Benchmark
      int charSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. cmd/xl-storage_windows_test.go

    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    		// Each path component must be <= 255 bytes long.
    		{string(bytes.Repeat([]byte("界"), 280)), false},
    		{`/p/q/r/s/t`, true},
    	}
    	dir := t.TempDir()
    
    	// Instantiate posix object to manage a disk
    	fs, err := newLocalXLStorage(dir)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  5. docs/debugging/pprofgoparser/main.go

    			continue
    		}
    		r, err := parseGoroutineType2(arg)
    		if err != nil {
    			log.Fatal(err)
    		}
    
    		profFName := path.Base(arg)
    		fmt.Println(strings.Repeat("=", len(profFName)))
    		fmt.Println(profFName)
    		fmt.Println(strings.Repeat("=", len(profFName)))
    		fmt.Println("")
    
    		for t, stacks := range r {
    			if less != 0 && t >= less {
    				continue
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild.incubation-report-aggregation.gradle.kts

    plugins {
        id("base")
    }
    
    val reports by configurations.creating {
        isCanBeResolved = false
        isCanBeConsumed = false
        description = "Dependencies to aggregate reports from"
    }
    
    val allIncubationReports = tasks.register<IncubatingApiAggregateReportTask>("allIncubationReports") {
        group = "verification"
        reports.from(resolver("txt"))
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 02 12:28:02 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/test/resources/poms/inheritance/plugin-configuration-parent.xml

              <reportSet>
                <id>default-inherited</id>
                <reports>
                  <report>to-be-inherited</report>
                </reports>
              </reportSet>
              <reportSet>
                <id>inherited-false</id>
                <inherited>false</inherited>
                <reports>
                  <report>not-to-be-inherited</report>
                </reports>
              </reportSet>
            </reportSets>
          </plugin>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  9. api/pom.xml

                    </tag>
                  </tags>
                </configuration>
                <reportSets>
                  <reportSet>
                    <id>aggregate</id>
                    <reports>
                      <report>aggregate</report>
                    </reports>
                    <inherited>false</inherited>
                  </reportSet>
                </reportSets>
              </plugin>
              <plugin>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt

       * overflow and return null.
       */
      @Test fun overflowEncodingOversizedLabel() {
        val a1000 = "a".repeat(1000)
        val a1000MaxCodePoint = a1000 + "\udbff\udfff"
        testEncodeDecode(
          a1000MaxCodePoint,
          "xn--$a1000-nc89312g",
        )
        assertNull(
          Punycode.encode(a1000MaxCodePoint.repeat(2)),
        )
      }
    
      @Test fun invalidPunycode() {
        assertNull(Punycode.decode("xn--ls8h="))
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
Back to Top