Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 122 for Repeat (0.14 sec)

  1. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  2. 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
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    		return cmp.Compare(rb.off+rb.n, off)
    	})
    	parts := r.buf[skipParts:]
    	if len(parts) > 0 {
    		skipBytes := off - parts[0].off
    		for _, part := range parts {
    			repeat := int(min(part.n-skipBytes, int64(len(p)-n)))
    			memset(p[n:n+repeat], part.b)
    			n += repeat
    			if n == len(p) {
    				return
    			}
    			skipBytes = 0
    		}
    	}
    	if n != len(p) {
    		err = io.ErrUnexpectedEOF
    	}
    	return
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/form-validator/theme-default.min.css

    input.error,input.valid,select.error,select.valid{background-position:right 5px center;background-repeat:no-repeat}input.error,select.error{border-color:#b94a48;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAARCAYAAAA/mJfHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAYSmlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjarVllVBV/t94TJ6hDdx26pLu7QboVOHRzODQYoIAICmKggoKCiogKBiklJqKIKKhYhIgoKgaKinI/gP7f9733frhr3d+HWc888+y9n73XrJk18wMQFqDR6XEoB0B8QgrD3daC6uvnTyW9ABSEgAJrQJUWmkw3d3V1gv95IQBfRwEBALivT...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 33.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/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="))
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java

      private String input;
    
      private static final Splitter CHAR_SPLITTER = Splitter.on('X');
      private static final Splitter STRING_SPLITTER = Splitter.on("X");
    
      @BeforeExperiment
      void setUp() {
        input = Strings.repeat(text, length);
      }
    
      @Benchmark
      int charSplitter(int reps) {
        int total = 0;
    
        for (int i = 0; i < reps; i++) {
          total += Iterables.size(CHAR_SPLITTER.split(input));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/DispatcherCleanupTest.kt

              e: IOException,
            ) {}
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              response.close()
            }
          }
        repeat(10_000) {
          okhttp.newCall(Request.Builder().url(server.url("/")).build()).enqueue(callback)
        }
        okhttp.dispatcher.executorService.shutdown()
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      @Test
      fun closeReasonMaximumLength() {
        webServer.enqueue(
          MockResponse.Builder()
            .webSocketUpgrade(serverListener)
            .build(),
        )
        val clientReason = repeat('C', 123)
        val serverReason = repeat('S', 123)
        val webSocket: WebSocket = newWebSocket()
        val server = serverListener.assertOpen()
        clientListener.assertOpen()
        webSocket.close(1000, clientReason)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt

        private
        fun adjustIndentation(initalJsonString: String): String {
            val indentationRegex = """^\s+""".toRegex(RegexOption.MULTILINE)
            return indentationRegex.replace(initalJsonString) { m ->
                " ".repeat(m.value.length * 2)
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
        assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8)));
        // 256 characters long
        assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
      public void testStringsConsistency() {
        for (String s : Arrays.asList("", "some", "test", "strings", "to", "try")) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top