- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,403 for repeats (0.26 sec)
-
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()); } try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 10.3K bytes - Viewed (0) -
src/encoding/json/bench_test.go
b.ReportAllocs() b.StopTimer() var buf bytes.Buffer dec := NewDecoder(&buf) buf.WriteString(`"` + strings.Repeat("x", 1000000) + `"` + "\n\n\n") var x any if err := dec.Decode(&x); err != nil { b.Fatalf("Decode error: %v", err) } ones := strings.Repeat(" 1\n", 300000) + "\n\n\n" b.StartTimer() for i := 0; i < b.N; i++ { if i%300000 == 0 { buf.WriteString(ones) } x = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:00:17 UTC 2024 - 12.5K bytes - Viewed (0) -
common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto
// +listType=set repeated string verbs = 5; // shortNames is a list of suggested short names of the resource. // +listType=set repeated string shortNames = 6; // categories is a list of the grouped resources this resource belongs to (e.g. 'all'). // Clients may use this to simplify acting on multiple resource types at once. // +listType=set repeated string categories = 7;
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 7.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
* 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)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 09 00:49:18 UTC 2021 - 12.3K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginToolchainsIntegrationTest.groovy
failure.assertHasResolutions(SCAN) file("build/reports/checkstyle/main.xml").assertContents(containsClass("org.gradle.class1")) file("build/reports/checkstyle/main.xml").assertContents(containsClass("org.gradle.class2")) file("build/reports/checkstyle/main.html").assertContents(containsClass("org.gradle.class1")) file("build/reports/checkstyle/main.html").assertContents(containsClass("org.gradle.class2"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 16 22:34:07 UTC 2023 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/api/apidiscovery/v2beta1/generated.proto
// +listType=set repeated string verbs = 5; // shortNames is a list of suggested short names of the resource. // +listType=set repeated string shortNames = 6; // categories is a list of the grouped resources this resource belongs to (e.g. 'all'). // Clients may use this to simplify acting on multiple resource types at once. // +listType=set repeated string categories = 7;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 7.8K bytes - Viewed (0) -
src/net/dnsname_test.go
} } } func BenchmarkDNSName(b *testing.B) { testHookUninstaller.Do(uninstallTestHooks) benchmarks := append(dnsNameTests, []dnsNameTest{ {strings.Repeat("a", 63), true}, {strings.Repeat("a", 64), false}, }...) for n := 0; n < b.N; n++ { for _, tc := range benchmarks { if isDomainName(tc.name) != tc.result {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 2K bytes - Viewed (0) -
src/internal/zstd/fse.go
for remaining > 1 && sym <= maxSym { if err := br.moreBits(); err != nil { return 0, 0, err } if prev0 { // Previous count was 0, so there is a 2-bit // repeat flag. If the 2-bit flag is 0b11, // it adds 3 and then there is another repeat flag. zsym := sym for (br.bits & 0xfff) == 0xfff { zsym += 3 * 6 br.bits >>= 12 br.cnt -= 12 if err := br.moreBits(); err != nil { return 0, 0, err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:44:06 UTC 2023 - 12.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractIncrementalTestIntegrationTest.groovy
} def "does not re-run tests when parameter of disabled report changes"() { buildFile << """ test { reports.html { required = true } reports.junitXml { required = false outputPerTestCase = Boolean.parseBoolean(project.property('outputPerTestCase')) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.5K bytes - Viewed (0) -
src/crypto/ecdh/ecdh_test.go
}, ecdh.X25519(): { // X25519 only rejects bad lengths. "", "01", "01010101010101010101010101010101010101010101010101010101010101", "000101010101010101010101010101010101010101010101010101010101010101", strings.Repeat("01", 200), }, } func TestNewPrivateKey(t *testing.T) { testAllCurves(t, func(t *testing.T, curve ecdh.Curve) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 18K bytes - Viewed (0)