Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 718 for doPing (0.14 seconds)

  1. internal/grid/muxclient.go

    				// Next loop will catch it.
    			case <-pingTimer:
    				if !m.doPing(respHandler) {
    					return
    				}
    				goto sendResp
    			}
    		case <-pingTimer:
    			if !m.doPing(respHandler) {
    				return
    			}
    		}
    	}
    }
    
    // doPing checks last ping time and sends another ping.
    func (m *muxClient) doPing(respHandler chan<- Response) (ok bool) {
    	m.respMu.Lock()
    	if m.closed {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  2. cmd/erasure-coding.go

    				panic(err)
    			}
    			enc = e
    		})
    		return enc
    	}
    	return e, err
    }
    
    // EncodeData encodes the given data and returns the erasure-coded data.
    // It returns an error if the erasure coding failed.
    func (e *Erasure) EncodeData(ctx context.Context, data []byte) ([][]byte, error) {
    	if len(data) == 0 {
    		return make([][]byte, e.dataBlocks+e.parityBlocks), nil
    	}
    	encoded, err := e.encoder().Split(data)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/vibe.md

    # Vibe Coding { #vibe-coding }
    
    Are you tired of all that **data validation**, **documentation**, **serialization**, and all that **boring** stuff?
    
    Do you just want to **vibe**? 🎶
    
    **FastAPI** now supports a new `@app.vibe()` decorator that embraces **modern AI coding best practices**. 🤖
    
    ## How It Works { #how-it-works }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 2K bytes
    - Click Count (0)
  4. docs/en/docs/async.md

    But as you go away from the counter and sit at the table with a number for your turn, you can switch 🔀 your attention to your crush, and "work" ⏯ 🤓 on that. Then you are again doing something very "productive" as is flirting with your crush 😍.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/events.md

    You can probably skip this part.
    
    ///
    
    There's an alternative way to define this logic to be executed during *startup* and during *shutdown*.
    
    You can define event handlers (functions) that need to be executed before the application starts up, or when the application is shutting down.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

         * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if
         * the current thread is interrupted before or during the call, even if the value is already
         * available.
         *
         * @throws InterruptedException if the current thread was interrupted before or during the call
         *     (optional but recommended).
         * @throws CancellationException {@inheritDoc}
         */
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

         * <p>The default {@link AbstractFuture} implementation throws {@code InterruptedException} if
         * the current thread is interrupted before or during the call, even if the value is already
         * available.
         *
         * @throws InterruptedException if the current thread was interrupted before or during the call
         *     (optional but recommended).
         * @throws CancellationException {@inheritDoc}
         */
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/settings.md

    This could be especially useful during testing, as it's very easy to override a dependency with your own custom settings.
    
    ### The config file { #the-config-file }
    
    Coming from the previous example, your `config.py` file could look like:
    
    {* ../../docs_src/settings/app02_an_py310/config.py hl[10] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

                @Override
                protected Scheduler scheduler() {
                  return new CustomScheduler() {
                    @Override
                    @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races
                    protected Schedule getNextSchedule() throws Exception {
                      if (state() != State.STARTING) {
                        inGetNextSchedule.await();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

                @Override
                protected Scheduler scheduler() {
                  return new CustomScheduler() {
                    @Override
                    @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races
                    protected Schedule getNextSchedule() throws Exception {
                      if (state() != State.STARTING) {
                        inGetNextSchedule.await();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
Back to Top