Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 659 for chad (0.04 sec)

  1. internal/ringbuffer/ring_buffer_test.go

    	testCancel := func(fn func()) {
    		t.Helper()
    		defer timeout(5 * time.Second)()
    		rb.Reset()
    		done := make(chan struct{})
    		go func() {
    			defer close(done)
    			time.Sleep(10 * time.Millisecond)
    			fn()
    		}()
    		rb.CloseWithError(errors.New("test error"))
    		<-done
    
    		rb.Reset()
    		done = make(chan struct{})
    		go func() {
    			defer close(done)
    			fn()
    		}()
    		time.Sleep(10 * time.Millisecond)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. doc/go_spec.html

    &lt;-chan &lt;-chan int  // same as &lt;-chan (&lt;-chan int)
    chan (&lt;-chan int)
    </pre>
    
    <p>
    A new, initialized channel
    value can be made using the built-in function
    <a href="#Making_slices_maps_and_channels"><code>make</code></a>,
    which takes the channel type and an optional <i>capacity</i> as arguments:
    </p>
    
    <pre>
    make(chan int, 100)
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    .map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8);
            final StringBuilder buf = new StringBuilder(url.length() + 100);
            for (final char c : url.toCharArray()) {
                if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), enc));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/LineBuffer.java

       * @param off the offset into the buffer
       * @param len the number of characters to process
       * @throws IOException if an I/O error occurs
       * @see #finish
       */
      protected void add(char[] cbuf, int off, int len) throws IOException {
        int pos = off;
        if (sawReturn && len > 0) {
          // Last call to add ended with a CR; we can handle the line now.
          if (finishLine(cbuf[pos] == '\n')) {
            pos++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/LineBuffer.java

       * @param off the offset into the buffer
       * @param len the number of characters to process
       * @throws IOException if an I/O error occurs
       * @see #finish
       */
      protected void add(char[] cbuf, int off, int len) throws IOException {
        int pos = off;
        if (sawReturn && len > 0) {
          // Last call to add ended with a CR; we can handle the line now.
          if (finishLine(cbuf[pos] == '\n')) {
            pos++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. internal/event/target/webhook.go

    	id         event.TargetID
    	args       WebhookArgs
    	transport  *http.Transport
    	httpClient *http.Client
    	store      store.Store[event.Event]
    	loggerOnce logger.LogOnce
    	cancel     context.CancelFunc
    	cancelCh   <-chan struct{}
    
    	addr string // full address ip/dns with a port number, e.g.  x.x.x.x:8080
    }
    
    // ID - returns target ID.
    func (target *WebhookTarget) ID() event.TargetID {
    	return target.id
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

          assertThat(expected.message).isEqualTo("Unexpected char 0x20 at 1 in header name: a b")
        }
      }
    
      @Test
      fun requestHeaderNameWithTabForbidden() {
        assertFailsWith<IllegalArgumentException> {
          Request.Builder().addHeader("a\tb", "c")
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Unexpected char 0x09 at 1 in header name: a\tb")
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                return (NbtAddress)doNameQuery( new Name( host, type, scope ), svr );
            } else {
                int IP = 0x00;
                int hitDots = 0;
                char[] data = host.toCharArray();
    
                for( int i = 0; i < data.length; i++ ) {
                    char c = data[i];
                    if( c < 48 || c > 57 ) {
                        return (NbtAddress)doNameQuery( new Name( host, type, scope ), svr );
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Name.java

            String n = this.name;
    
            // fix MSBROWSE name
            if ( n == null ) {
                n = "null";
            }
            else if ( n.charAt(0) == 0x01 ) {
                char c[] = n.toCharArray();
                c[ 0 ] = '.';
                c[ 1 ] = '.';
                c[ 14 ] = '.';
                n = new String(c);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  10. src/main/assemblies/files/service.bat

    echo JAVA_HOME environment variable must be set!
    pause
    goto:eof
    
    rem ---
    rem Function for converting Xm[s|x] values into MB which Commons Daemon accepts
    rem ---
    :convertxm
    set value=%~1
    rem extract last char (unit)
    set unit=%value:~-1%
    rem assume the unit is specified
    set conv=%value:~0,-1%
    
    if "%unit%" == "k" goto kilo
    if "%unit%" == "K" goto kilo
    if "%unit%" == "m" goto mega
    if "%unit%" == "M" goto mega
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top