Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 98 for ch (0.03 sec)

  1. src/bytes/reader.go

    	r.i--
    	return nil
    }
    
    // ReadRune implements the [io.RuneReader] interface.
    func (r *Reader) ReadRune() (ch rune, size int, err error) {
    	if r.i >= int64(len(r.s)) {
    		r.prevRune = -1
    		return 0, 0, io.EOF
    	}
    	r.prevRune = int(r.i)
    	if c := r.s[r.i]; c < utf8.RuneSelf {
    		r.i++
    		return rune(c), 1, nil
    	}
    	ch, size = utf8.DecodeRune(r.s[r.i:])
    	r.i += int64(size)
    	return
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jul 16 18:17:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. cmd/notification.go

    					if !ok {
    						return
    					}
    					select {
    					case ch <- m:
    					case <-ctx.Done():
    						return
    					}
    				case <-ctx.Done():
    					return
    				}
    			}
    		}(ctx, peerChannels[index], &wg)
    	}
    	go func(wg *sync.WaitGroup, ch chan MetricV2) {
    		wg.Wait()
    		xioutil.SafeClose(ch)
    	}(&wg, ch)
    	return ch
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        }
    
    
        @Override
        public final void writeUTF ( String str ) throws SmbException {
            int len = str.length();
            int ch, size = 0;
            byte[] dst;
    
            for ( int i = 0; i < len; i++ ) {
                ch = str.charAt(i);
                size += ch > 0x07F ? ( ch > 0x7FF ? 3 : 2 ) : 1;
            }
            dst = new byte[size];
            writeShort(size);
            Encdec.enc_utf8(str, dst, 0, size);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  4. internal/s3select/simdj/reader.go

    	r.readerWg.Add(1)
    	go r.startReader()
    	return &r
    }
    
    // NewElementReader - creates new JSON reader using readCloser.
    func NewElementReader(ch chan simdjson.Object, err *error, args *json.ReaderArgs) *Reader {
    	return &Reader{
    		args:       args,
    		decoded:    ch,
    		err:        err,
    		readCloser: nil,
    	}
    }
    
    // safeCloser will wrap a Reader as a ReadCloser.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 30 17:02:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/xml/DomUtil.java

            for (final char ch : content) {
                switch (ch) {
                case '<':
                    buf.append("&lt;");
                    break;
                case '>':
                    buf.append("&gt;");
                    break;
                case '&':
                    buf.append("&amp;");
                    break;
                default:
                    buf.append(ch);
                }
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    }
    
    // Describe - implements prometheus.Collector interface.
    func (mg *MetricsGroup) Describe(ch chan<- *prometheus.Desc) {
    	for _, desc := range mg.Descriptors {
    		ch <- desc.toPromDesc(mg.CollectorPath.metricPrefix(), mg.ExtraLabels)
    	}
    }
    
    // Collect - implements prometheus.Collector interface.
    func (mg *MetricsGroup) Collect(ch chan<- prometheus.Metric) {
    	metricValues := newMetricValues(mg.descriptorMap)
    
    	var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/Strings.java

            "pl - Pchnąć w tę łódź jeża lub ośm skrzyń fig", // x
            "ru - Съешь же ещё этих мягких французских булок да выпей чаю", // x
            "tr - Pijamalı hasta, yağız şoföre çabucak güvendi", //
            "ch - 壾 熥獘 蟷蠉蟼 鍌鍗鍷 螒螝螜 瀷瀹藶 隒雸 腠", //
        };
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            final StringBuilder buf = new StringBuilder(pattern.length());
            for (int i = 0; i < pattern.length(); ++i) {
                final char ch = pattern.charAt(i);
                if (Character.isLetterOrDigit(ch) || Character.isWhitespace(ch)) {
                    buf.append(ch);
                }
            }
            if (buf.indexOf("yy") == -1) {
                final int pos = buf.indexOf("y");
                if (pos != -1) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            state = 0;
            for ( i = j = 0; i < len; i++ ) {
                switch ( state ) {
                case 0:
                    ch = str.charAt(i);
                    if ( ch == '%' ) {
                        state = 1;
                    }
                    else {
                        out[ j++ ] = ch;
                    }
                    break;
                case 1:
                    /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  10. src/bytes/reader_test.go

    	}
    
    	if b, err := (&Reader{}).ReadByte(); b != 0 || err != io.EOF {
    		t.Errorf("ReadByte: got %d, %v; want 0, io.EOF", b, err)
    	}
    
    	if ch, size, err := (&Reader{}).ReadRune(); ch != 0 || size != 0 || err != io.EOF {
    		t.Errorf("ReadRune: got %d, %d, %v; want 0, 0, io.EOF", ch, size, err)
    	}
    
    	if offset, err := (&Reader{}).Seek(11, io.SeekStart); offset != 11 || err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8K bytes
    - Viewed (0)
Back to top