Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for abcdefg (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/form/FormSchemeTest.java

            String content = "<input name=\"authenticity_token\" value=\"abcdefg\">";
            assertEquals("abcdefg", formScheme.getTokenValue(tokenPattern, content));
    
            tokenPattern = "name=\"authenticity_token\" +value=\"[^\"]+\"";
            content = "<input name=\"authenticity_token\" value=\"abcdefg\">";
            assertNull(formScheme.getTokenValue(tokenPattern, content));
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/archive/zip/writer_test.go

    	}{
    		{
    			name:    "small store w desc",
    			content: []byte("gophers"),
    			method:  Store,
    			flags:   0x8,
    		},
    		{
    			name:    "small deflate wo desc",
    			content: bytes.Repeat([]byte("abcdefg"), 2048),
    			method:  Deflate,
    		},
    	}
    
    	// write a zip file
    	archive := new(bytes.Buffer)
    	w := NewWriter(archive)
    
    	for i := range files {
    		f := &files[i]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. src/archive/tar/writer_test.go

    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{5, "abcde"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    			testRemaining{8, 5},
    			testWrite{"ab\x00\x00\x00cde", 8, nil},
    			testWrite{"a", 0, ErrWriteTooLong},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{5, "abcde"}, sparseHoles{{2, 3}}, 8},
    		tests: []testFnc{
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	for rno, read := range readers {
    		// Some input data that is longer than the minimum reader buffer size.
    		const n = 10
    		var buf bytes.Buffer
    		for i := 0; i < n; i++ {
    			buf.WriteString("abcdefg")
    		}
    
    		r := NewReaderSize(&buf, minReadBufferSize)
    		readTo := func(delim byte, want string) {
    			data, err := read(r, delim)
    			if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  5. src/bytes/compare_test.go

    	{[]byte("x"), []byte("a"), 1},
    	{[]byte("b"), []byte("x"), -1},
    	// test runtime·memeq's chunked implementation
    	{[]byte("abcdefgh"), []byte("abcdefgh"), 0},
    	{[]byte("abcdefghi"), []byte("abcdefghi"), 0},
    	{[]byte("abcdefghi"), []byte("abcdefghj"), -1},
    	{[]byte("abcdefghj"), []byte("abcdefghi"), 1},
    	// nil tests
    	{nil, nil, 0},
    	{[]byte(""), nil, 0},
    	{nil, []byte(""), 0},
    	{[]byte("a"), nil, 1},
    	{nil, []byte("a"), -1},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 13 23:11:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val response =
          MockResponse.Builder()
            .chunkedBody("ABCDE\nFGHIJ\nKLMNO\nPQR", 8)
            .build()
        server.enqueue(response)
        server.enqueue(response)
        val request = newRequest("/")
        val c1 = getResponse(request)
        assertContent("ABCDE", c1, 5)
        val c2 = getResponse(request)
        assertContent("ABCDE", c2, 5)
        c1.close()
        c2.close()
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

    import java.io.StringReader;
    import junit.framework.TestCase;
    
    /** @author ricebin */
    public class MultiReaderTest extends TestCase {
    
      public void testOnlyOneOpen() throws Exception {
        String testString = "abcdefgh";
        final CharSource source = newCharSource(testString);
        final int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/MultiReaderTest.java

    import java.io.StringReader;
    import junit.framework.TestCase;
    
    /** @author ricebin */
    public class MultiReaderTest extends TestCase {
    
      public void testOnlyOneOpen() throws Exception {
        String testString = "abcdefgh";
        final CharSource source = newCharSource(testString);
        final int[] counter = new int[1];
        CharSource reader =
            new CharSource() {
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("", Strings.commonPrefix("abcde", "xyz"));
        assertEquals("", Strings.commonPrefix("xyz", "abcde"));
        assertEquals("", Strings.commonPrefix("xyz", "abcxyz"));
        assertEquals("a", Strings.commonPrefix("abc", "aaaaa"));
        assertEquals("aa", Strings.commonPrefix("aa", "aaaaa"));
        assertEquals("abc", Strings.commonPrefix(new StringBuilder("abcdef"), "abcxyz"));
    
        // Identical valid surrogate pairs.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.acceptFrame() // DATA STREAM 3 "abcde"
        peer.acceptFrame() // HEADERS STREAM 3
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
        val stream = connection.newStream(headerEntries("a", "android"), true)
        stream.enqueueTrailers(headersOf("foo", "bar"))
        val sink = stream.getSink().buffer()
        sink.writeUtf8("abcdefghi")
        sink.close()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
Back to top