Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 699 for repeats (0.09 seconds)

  1. src/archive/tar/strconv_test.go

    		if got != v.want {
    			t.Errorf("formatPAXTime(%ds, %dns): got %q, want %q",
    				v.sec, v.nsec, got, v.want)
    		}
    	}
    }
    
    func TestParsePAXRecord(t *testing.T) {
    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    	vectors := []struct {
    		in      string
    		wantRes string
    		wantKey string
    		wantVal string
    		ok      bool
    	}{
    		{"6 k=v\n\n", "\n", "k", "v", true},
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  2. src/archive/zip/writer_test.go

    func TestWriterComment(t *testing.T) {
    	tests := []struct {
    		comment string
    		ok      bool
    	}{
    		{"hi, hello", true},
    		{"hi, こんにちわ", true},
    		{strings.Repeat("a", uint16max), true},
    		{strings.Repeat("a", uint16max+1), false},
    	}
    
    	for _, test := range tests {
    		// write a zip file
    		buf := new(bytes.Buffer)
    		w := NewWriter(buf)
    		if err := w.SetComment(test.comment); err != nil {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

    /** Runs the web platform ToAscii tests. */
    class WebPlatformToAsciiTest {
      @Suppress("ktlint:standard:max-line-length")
      val knownFailures =
        setOf(
          // OkHttp rejects empty labels.
          "x..xn--zca",
          "x..ß",
          // OkHttp rejects labels longer than 63 code points, the web platform tests don't.
          "x01234567890123456789012345678901234567890123456789012345678901x.xn--zca",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testReallySimpleFingerprints() {
        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)));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. doc/go_spec.html

    <p>
    When solving type equations from type constraints,
    solving one equation may infer additional type arguments,
    which in turn may enable solving other equations that depend
    on those type arguments.
    Type inference repeats type unification as long as new type
    arguments are inferred.
    </p>
    
    <h3 id="Operators">Operators</h3>
    
    <p>
    Operators combine operands into expressions.
    </p>
    
    <pre class="ebnf">
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketWriterTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.ws
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.util.Random
    import kotlin.test.assertFailsWith
    import okhttp3.TestUtil.repeat
    import okhttp3.internal.format
    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_BINARY
    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_TEXT
    import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_BYTE_MAX
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 9.3K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportingConverter.java

                InputLocation location = reportSet.getLocation("reports");
                Xpp3Dom reports = new Xpp3Dom("reports", location);
                int n = 0;
                for (String report : reportSet.getReports()) {
                    addDom(reports, "report", report, (location == null) ? null : location.getLocation(n++));
                }
                dom.addChild(reports);
            }
    
            return dom;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testReallySimpleFingerprints() {
        assertEquals(8473225671271759044L, fingerprint("test".getBytes(UTF_8)));
        // 32 characters long
        assertEquals(7345148637025587076L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8)));
        // 256 characters long
        assertEquals(4904844928629814570L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8)));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/test/resources/poms/inheritance/plugin-configuration-expected.xml

        <plugins>
          <plugin>
            <artifactId>MNG-5115</artifactId>
            <reportSets>
              <reportSet>
                <id>default-inherited</id>
                <reports>
                  <report>to-be-inherited</report>
                </reports>
              </reportSet>
              <!-- reportSet with inherited=false is not here -->
            </reportSets>
          </plugin>
        </plugins>
      </reporting>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValve.java

    import org.apache.catalina.valves.ErrorReportValve;
    
    /**
     * This class is a valve to suppress error reports.
     * It extends {@link ErrorReportValve} and disables the display of
     * error reports and server information.
     */
    public class SuppressErrorReportValve extends ErrorReportValve {
        /**
         * Constructs a new valve to suppress error reports.
         */
        public SuppressErrorReportValve() {
            setShowReport(false);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.1K bytes
    - Click Count (0)
Back to Top