Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for callback_ (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            output.cancel(false);
            throw new MyRuntimeException();
          }
        }
        Fallback fallback = new Fallback();
        SettableFuture<Object> input = SettableFuture.create();
    
        ListenableFuture<Object> output = catching(input, Throwable.class, fallback, directExecutor());
        fallback.output = output;
    
        input.setException(new MyException());
        assertTrue(output.isCancelled());
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     exception itself.
       * @param executor the executor that runs {@code fallback} if the input fails
       */
      public <X extends Throwable> ClosingFuture<V> catching(
          Class<X> exceptionType, ClosingFunction<? super X, ? extends V> fallback, Executor executor) {
        return catchingMoreGeneric(exceptionType, fallback, executor);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *     exception itself.
       * @param executor the executor that runs {@code fallback} if the input fails
       */
      public <X extends Throwable> ClosingFuture<V> catching(
          Class<X> exceptionType, ClosingFunction<? super X, ? extends V> fallback, Executor executor) {
        return catchingMoreGeneric(exceptionType, fallback, executor);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    func SubscribeServiceChangeNotifications(service Handle, eventType uint32, callback uintptr, callbackCtx uintptr, subscription *uintptr) (ret error) {
    	ret = procSubscribeServiceChangeNotifications.Find()
    	if ret != nil {
    		return
    	}
    	r0, _, _ := syscall.Syscall6(procSubscribeServiceChangeNotifications.Addr(), 5, uintptr(service), uintptr(eventType), uintptr(callback), uintptr(callbackCtx), uintptr(unsafe.Pointer(subscription)), 0)
    	if r0 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

                }
                result.put(key, value);
              }
            } catch (UnsupportedLoadingOperationException e) {
              // loadAll not implemented, fallback to load
              for (K key : keysToLoad) {
                misses--; // get will count this miss
                result.put(key, get(key, defaultLoader));
              }
            }
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

                }
                result.put(key, value);
              }
            } catch (UnsupportedLoadingOperationException e) {
              // loadAll not implemented, fallback to load
              for (K key : keysToLoad) {
                misses--; // get will count this miss
                result.put(key, get(key, defaultLoader));
              }
            }
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  7. src/cmd/go/alldocs.go

    //
    // For example,
    //
    //	import "example.org/pkg/foo"
    //
    // will result in the following requests:
    //
    //	https://example.org/pkg/foo?go-get=1 (preferred)
    //	http://example.org/pkg/foo?go-get=1  (fallback, only with use of correctly set GOINSECURE)
    //
    // If that page contains the meta tag
    //
    //	<meta name="go-import" content="example.org git https://code.org/r/p/exproj">
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top