Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for delim (0.02 sec)

  1. src/bufio/bufio.go

    // [Reader.ReadBytes] or ReadString instead.
    // ReadSlice returns err != nil if and only if line does not end in delim.
    func (b *Reader) ReadSlice(delim byte) (line []byte, err error) {
    	s := 0 // search start index
    	for {
    		// Search buffer.
    		if i := bytes.IndexByte(b.buf[b.r+s:b.w], delim); i >= 0 {
    			i += s
    			line = b.buf[b.r : b.r+i+1]
    			b.r += i + 1
    			break
    		}
    
    		// Pending error?
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    // ReadBytes reads until the first occurrence of delim in the input,
    // returning a slice containing the data up to and including the delimiter.
    // If ReadBytes encounters an error before finding a delimiter,
    // it returns the data read before the error and the error itself (often [io.EOF]).
    // ReadBytes returns err != nil if and only if the returned data does not end in
    // delim.
    func (b *Buffer) ReadBytes(delim byte) (line []byte, err error) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/Config.java

         * value containting a <tt>delim</tt> separated list of hostnames and/or
         * ipaddresses.
         */
    
        public static InetAddress[] getInetAddressArray( String key, String delim, InetAddress[] def ) {
            String p = getProperty( key );
            if( p != null ) {
                StringTokenizer tok = new StringTokenizer( p, delim );
                int len = tok.countTokens();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

         *            文字列
         * @param delim
         *            分割するためのデリミタ
         * @return 分割された文字列の配列
         */
        public static String[] split(final String str, final String delim) {
            if (isEmpty(str)) {
                return EMPTY_STRINGS;
            }
            final List<String> list = newArrayList();
            final StringTokenizer st = new StringTokenizer(str, delim);
            while (st.hasMoreElements()) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. internal/s3select/csv/reader_contrib_test.go

    `,
    			totalFields: 308*2 + 1,
    		}, {
    			file:            "nyc-taxi-data-100k-single-delim.csv",
    			recordDelimiter: "^",
    			fieldDelimiter:  ",",
    			header:          true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    					if v != byte(l+i) {
    						t.Fatalf("in %d,%d: Next(%d)[%d] = %d, want %d", i, j, k, l, v, l+i)
    					}
    				}
    			}
    		}
    	}
    }
    
    var readBytesTests = []struct {
    	buffer   string
    	delim    byte
    	expected []string
    	err      error
    }{
    	{"", 0, []string{""}, io.EOF},
    	{"a\x00", 0, []string{"a\x00"}, nil},
    	{"abbbaaaba", 'b', []string{"ab", "b", "b", "aaab"}, nil},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. api/go1.5.txt

    pkg encoding/base64, var RawURLEncoding *Encoding
    pkg encoding/json, method (*Decoder) More() bool
    pkg encoding/json, method (*Decoder) Token() (Token, error)
    pkg encoding/json, method (Delim) String() string
    pkg encoding/json, type Delim int32
    pkg encoding/json, type Token interface {}
    pkg encoding/json, type UnmarshalTypeError struct, Offset int64
    pkg flag, func UnquoteUsage(*Flag) (string, string)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Encdec.java

            int start = di, ch;
            int strlen = str.length();
    
            for ( int i = 0; di < dlim && i < strlen; i++ ) {
                ch = str.charAt(i);
                if ( ( ch >= 0x0001 ) && ( ch <= 0x007F ) ) {
                    dst[ di++ ] = (byte) ch;
                }
                else if ( ch > 0x07FF ) {
                    if ( ( dlim - di ) < 3 ) {
                        break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Encdec.java

            int start = di, ch;
            int strlen = str.length();
    
            for( int i = 0; di < dlim && i < strlen; i++ ) {
                ch = str.charAt( i );
                if ((ch >= 0x0001) && (ch <= 0x007F)) {
                    dst[di++] = (byte)ch;
                } else if (ch > 0x07FF) {
                    if((dlim - di) < 3 ) {
                        break;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  10. docs/tr/docs/tutorial/first-steps.md

    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    Bu satır, yerel makinenizde uygulamanızın çalıştığı bağlantıyı gösterir.
    
    ### Kontrol Edelim
    
    Tarayıcınızı açıp <a href="http://127.0.0.1:8000" class="external-link" target="_blank">http://127.0.0.1:8000</a> bağlantısına gidin.
    
    Şu şekilde bir JSON yanıtı ile karşılaşacağız:
    
    ```JSON
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top