Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for delegates (0.2 sec)

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

        ImmutableList<ListenableFuture<Long>> delegates =
            inCompletionOrder(ImmutableList.<ListenableFuture<Long>>of(future1, future2, future3));
    
        future1.set(1L);
        // Cannot cancel a complete delegate
        assertFalse(delegates.get(0).cancel(true));
        // Cancel the delegate before the input future is done
        assertTrue(delegates.get(1).cancel(true));
    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. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ImmutableList<ListenableFuture<Long>> delegates =
            inCompletionOrder(ImmutableList.<ListenableFuture<Long>>of(future1, future2, future3));
    
        future1.set(1L);
        // Cannot cancel a complete delegate
        assertFalse(delegates.get(0).cancel(true));
        // Cancel the delegate before the input future is done
        assertTrue(delegates.get(1).cancel(true));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

        private final NavigableMap<K, ? extends V> delegate;
    
        UnmodifiableNavigableMap(NavigableMap<K, ? extends V> delegate) {
          this.delegate = delegate;
        }
    
        UnmodifiableNavigableMap(
            NavigableMap<K, ? extends V> delegate, UnmodifiableNavigableMap<K, V> descendingMap) {
          this.delegate = delegate;
          this.descendingMap = descendingMap;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

        private final NavigableMap<K, ? extends V> delegate;
    
        UnmodifiableNavigableMap(NavigableMap<K, ? extends V> delegate) {
          this.delegate = delegate;
        }
    
        UnmodifiableNavigableMap(
            NavigableMap<K, ? extends V> delegate, UnmodifiableNavigableMap<K, V> descendingMap) {
          this.delegate = delegate;
          this.descendingMap = descendingMap;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    #include "tensorflow/core/platform/tstring.h"
    #include "tensorflow/lite/core/c/builtin_op_data.h"
    #include "tensorflow/lite/core/interpreter.h"
    #include "tensorflow/lite/core/macros.h"
    #include "tensorflow/lite/delegates/flex/allowlisted_flex_ops.h"
    #include "tensorflow/lite/experimental/remat/metadata_util.h"
    #include "tensorflow/lite/graph_info.h"
    #include "tensorflow/lite/python/metrics/converter_error_data.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  6. src/net/http/server.go

    	StateActive:   "active",
    	StateIdle:     "idle",
    	StateHijacked: "hijacked",
    	StateClosed:   "closed",
    }
    
    func (c ConnState) String() string {
    	return stateName[c]
    }
    
    // serverHandler delegates to either the server's Handler or
    // DefaultServeMux and also handles "OPTIONS *" requests.
    type serverHandler struct {
    	srv *Server
    }
    
    // ServeHTTP should be an internal detail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  7. src/net/http/transport_test.go

    // delegateReader is a reader that delegates to another reader,
    // once it arrives on a channel.
    type delegateReader struct {
    	c chan io.Reader
    	r io.Reader // nil until received from c
    }
    
    func (r *delegateReader) Read(p []byte) (int, error) {
    	if r.r == nil {
    		var ok bool
    		if r.r, ok = <-r.c; !ok {
    			return 0, errors.New("delegate closed")
    		}
    	}
    	return r.r.Read(p)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  8. pkg/config/validation/validation.go

    			// This must be delegate - enforce delegate validations.
    			if len(virtualService.Gateways) != 0 {
    				// meaningless to specify gateways in delegate
    				errs = AppendValidation(errs, fmt.Errorf("delegate virtual service must have no gateways specified"))
    			}
    			if len(virtualService.Tls) != 0 {
    				// meaningless to specify tls in delegate, we do not support tls delegate
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet.go

    	nodeStartupLatencyTracker util.NodeStartupLatencyTracker
    }
    
    // ListPodStats is delegated to StatsProvider, which implements stats.Provider interface
    func (kl *Kubelet) ListPodStats(ctx context.Context) ([]statsapi.PodStats, error) {
    	return kl.StatsProvider.ListPodStats(ctx)
    }
    
    // ListPodCPUAndMemoryStats is delegated to StatsProvider, which implements stats.Provider interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

      $retainKeys:
        - name
        - value
      value: bar
    `),
    			Result: []byte(`
    retainKeysMap:
      name: foo
      value: bar
    `),
    		},
    	},
    	{
    		Description: "retainKeys map deletes a field",
    		StrategicMergePatchRawTestCaseData: StrategicMergePatchRawTestCaseData{
    			Original: []byte(`
    retainKeysMap:
      name: foo
      value: bar
    `),
    			Current: []byte(`
    retainKeysMap:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
Back to top