Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 119 for abcdef (0.08 sec)

  1. src/bytes/example_test.go

    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	rdbuf := make([]byte, 1)
    	n, err := b.Read(rdbuf)
    	if err != nil {
    		panic(err)
    	}
    	fmt.Println(n)
    	fmt.Println(b.String())
    	fmt.Println(string(rdbuf))
    	// Output:
    	// 1
    	// bcde
    	// a
    }
    
    func ExampleBuffer_ReadByte() {
    	var b bytes.Buffer
    	b.Grow(64)
    	b.Write([]byte("abcde"))
    	c, err := b.ReadByte()
    	if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        val relay = edit(file, upstream, metadata, 5)
        val source1 = relay.newSource()!!.buffer()
        val source2 = relay.newSource()!!.buffer()
        assertThat(source1.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("abcde")
        assertThat(source2.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.readUtf8(5)).isEqualTo("fghij")
        assertThat(source1.exhausted()).isTrue()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    			testRead{0, "", io.EOF},
    		},
    	}, {
    		maker: makeSparse{makeReg{"abcde", 5}, sparseDatas{{0, 2}, {5, 3}}, 8},
    		tests: []testFnc{
    			testRemaining{8, 5},
    			testRead{3, "ab\x00", nil},
    			testRead{10, "\x00\x00cde", io.EOF},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{"abcde", 5}, sparseDatas{{0, 2}, {5, 3}}, 8},
    		tests: []testFnc{
    			testRemaining{8, 5},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/CharSourceTest.java

      }
    
      public void testConcat() throws IOException {
        CharSource c1 = CharSource.wrap("abc");
        CharSource c2 = CharSource.wrap("");
        CharSource c3 = CharSource.wrap("de");
    
        String expected = "abcde";
    
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      }
    
      public void testNoMatches() {
        doTestNoMatches(CharMatcher.none(), "blah");
        doTestNoMatches(is('a'), "bcde");
        doTestNoMatches(isNot('a'), "aaaa");
        doTestNoMatches(anyOf(""), "abcd");
        doTestNoMatches(anyOf("x"), "abcd");
        doTestNoMatches(anyOf("xy"), "abcd");
        doTestNoMatches(anyOf("CharMatcher"), "zxqy");
        doTestNoMatches(noneOf("CharMatcher"), "ChMa");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/AccessTokenDbm.java

    import org.dbflute.dbmeta.info.ColumnInfo;
    import org.dbflute.dbmeta.info.UniqueInfo;
    import org.dbflute.dbmeta.name.TableSqlName;
    import org.dbflute.dbmeta.property.PropertyGateway;
    import org.dbflute.dbway.DBDef;
    import org.dbflute.util.DfTypeUtil;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class AccessTokenDbm extends AbstractDBMeta {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/CharMatcherTest.java

      }
    
      public void testNoMatches() {
        doTestNoMatches(CharMatcher.none(), "blah");
        doTestNoMatches(is('a'), "bcde");
        doTestNoMatches(isNot('a'), "aaaa");
        doTestNoMatches(anyOf(""), "abcd");
        doTestNoMatches(anyOf("x"), "abcd");
        doTestNoMatches(anyOf("xy"), "abcd");
        doTestNoMatches(anyOf("CharMatcher"), "zxqy");
        doTestNoMatches(noneOf("CharMatcher"), "ChMa");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/LabelTypeDbm.java

    import org.dbflute.dbmeta.info.ColumnInfo;
    import org.dbflute.dbmeta.info.UniqueInfo;
    import org.dbflute.dbmeta.name.TableSqlName;
    import org.dbflute.dbmeta.property.PropertyGateway;
    import org.dbflute.dbway.DBDef;
    import org.dbflute.util.DfTypeUtil;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class LabelTypeDbm extends AbstractDBMeta {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/bsentity/dbmeta/RoleDbm.java

    import org.dbflute.dbmeta.info.ColumnInfo;
    import org.dbflute.dbmeta.info.UniqueInfo;
    import org.dbflute.dbmeta.name.TableSqlName;
    import org.dbflute.dbmeta.property.PropertyGateway;
    import org.dbflute.dbway.DBDef;
    import org.dbflute.util.DfTypeUtil;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class RoleDbm extends AbstractDBMeta {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top