Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 370 for Callbacks (0.07 sec)

  1. internal/grid/handlers.go

    	// If the request context is canceled, the stream will no longer process requests.
    	Requests chan<- Req
    }
    
    // Results returns the results from the remote server one by one.
    // If any error is returned by the callback, the stream will be canceled.
    // If the context is canceled, the stream will be canceled.
    func (s *TypedStream[Req, Resp]) Results(next func(resp Resp) error) (err error) {
    	return s.responses.Results(func(b []byte) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeByte(99) // type 99
        frame.writeByte(FLAG_NONE)
        frame.writeInt(expectedStreamId)
        frame.writeInt(111111111) // custom data
        reader.nextFrame(requireSettings = false, BaseTestHandler()) // Should not callback.
      }
    
      @Test fun onlyOneLiteralHeadersFrame() {
        val sentHeaders = headerEntries("name", "value")
        val headerBytes = literalHeaders(sentHeaders)
        writeMedium(frame, headerBytes.size.toInt())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. doc/godebug.md

    Go 1.20 introduced automatic seeding of the
    [`math/rand`](/pkg/math/rand) global random number generator,
    controlled by the [`randautoseed` setting](/pkg/math/rand/#Seed).
    
    Go 1.20 introduced the concept of fallback roots for use during certificate verification,
    controlled by the [`x509usefallbackroots` setting](/pkg/crypto/x509/#SetFallbackRoots).
    
    Go 1.20 removed the preinstalled `.a` files for the standard library
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. internal/dsync/drwmutex.go

    				noQuorum, err := refreshLock(ctx, dm.clnt, id, source, quorum)
    				if err == nil && noQuorum {
    					// Clean the lock locally and in remote nodes
    					forceUnlock(ctx, dm.clnt, id)
    					// Execute the caller lock loss callback
    					if lockLossCallback != nil {
    						lockLossCallback()
    					}
    					return
    				}
    
    				refreshTimer.Reset(dm.refreshInterval)
    			}
    		}
    	}()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. src/bytes/bytes.go

    			return i - last
    		next:
    			fails++
    			i++
    			if (haveFastIndex && fails > bytealg.Cutover(i)) && i < len(s) ||
    				(!haveFastIndex && fails >= 4+i>>4 && i < len(s)) {
    				goto fallback
    			}
    		}
    		return -1
    
    	fallback:
    		// Switch to bytealg.Index, if available, or a brute force search when
    		// IndexByte returns too many false positives.
    		if haveFastIndex {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>If an exception propagates out of a {@code Runnable}, it is not necessarily seen by any
       *       {@code UncaughtExceptionHandler} for the thread. For example, if the callback passed to
       *       {@link Futures#addCallback} throws an exception, that exception will be typically be
       *       logged by the {@link ListenableFuture} implementation, even if the thread is configured
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

           * Atomically reschedules this task and assigns the new future to {@link
           * #cancellationDelegate}.
           */
          @CanIgnoreReturnValue
          public Cancellable reschedule() {
            // invoke the callback outside the lock, prevents some shenanigans.
            Schedule schedule;
            try {
              schedule = CustomScheduler.this.getNextSchedule();
            } catch (Throwable t) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

      }
    
      // Regression test for a case where we would fail to execute listeners immediately on done futures
      // this would be observable from an afterDone callback
      public void testListenersExecuteImmediately_fromAfterDone() {
        AbstractFuture<String> f =
            new AbstractFuture<String>() {
              @Override
              protected void afterDone() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/net/InetAddresses.java

      }
    
      private static String scopeWithDelimiter(Inet6Address ip) {
        // getHostAddress on android sometimes maps the scope id to an invalid interface name; if the
        // mapped interface isn't present, fallback to use the scope id (which has no validation against
        // present interfaces)
        NetworkInterface scopedInterface = ip.getScopedInterface();
        if (scopedInterface != null) {
          return "%" + scopedInterface.getName();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/connection/Exchange;->writeRequestHeaders(Lokhttp3/Request;)V
    HSPLokhttp3/internal/connection/RealCall$AsyncCall;-><init>(Lokhttp3/internal/connection/RealCall;Lokhttp3/Callback;)V
    HSPLokhttp3/internal/connection/RealCall$AsyncCall;->getHost()Ljava/lang/String;
    HSPLokhttp3/internal/connection/RealCall$AsyncCall;->run()V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top