Home
last modified time | relevance | path

Searched defs:picker (Results 1 – 25 of 28) sorted by relevance

12

/external/tensorflow/tensorflow/core/lib/random/
Dweighted_picker_test.cc42 WeightedPicker picker(0); in TEST() local
48 WeightedPicker picker(1); in TEST() local
56 WeightedPicker picker(0); in TEST() local
65 WeightedPicker picker(1); in TEST() local
74 WeightedPicker picker(1); in TEST() local
96 WeightedPicker picker(2); in TEST() local
126 WeightedPicker picker(size); in TestPicker() local
139 WeightedPicker picker(size); in TestPicker() local
151 WeightedPicker picker(size); in TestPicker() local
157 WeightedPicker picker(size / 3); in TestPicker() local
[all …]
Ddistribution_sampler_test.cc93 DistributionSampler picker(weights); in BM_DistributionSampler() local
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java207 SubchannelPicker picker = pickerCaptor.getValue(); in pickAfterResolvedUpdatedHosts() local
300 ReadyPicker picker = new ReadyPicker(Collections.unmodifiableList( in pickerRoundRobin() local
314 SubchannelPicker picker = new EmptyPicker(Status.UNKNOWN); in pickerEmptyList() local
410 SubchannelPicker picker = pickerCaptor.getValue(); in noStickinessEnabled_withStickyHeader() local
443 SubchannelPicker picker = pickerCaptor.getValue(); in stickinessEnabled_withoutStickyHeader() local
475 SubchannelPicker picker = pickerCaptor.getValue(); in stickinessEnabled_withStickyHeader() local
505 SubchannelPicker picker = pickerCaptor.getValue(); in stickinessEnabled_withDifferentStickyHeaders() local
550 SubchannelPicker picker = pickerCaptor.getValue(); in stickiness_goToTransientFailure_pick_backToReady() local
598 SubchannelPicker picker = pickerCaptor.getValue(); in stickiness_goToTransientFailure_backToReady_pick() local
651 SubchannelPicker picker = pickerCaptor.getValue(); in stickiness_oneSubchannelShutdown() local
[all …]
/external/perfetto/src/trace_processor/containers/
Drow_map_unittest.cc158 RowMap picker(4, 7); in TEST() local
169 RowMap picker(1u, 3u); in TEST() local
179 RowMap picker(2, 5); in TEST() local
190 RowMap picker(BitVector{true, false, false, true}); in TEST() local
200 RowMap picker(BitVector{false, true}); in TEST() local
209 RowMap picker(BitVector{false, true, true}); in TEST() local
219 RowMap picker(BitVector{true, false, false, true}); in TEST() local
229 RowMap picker(BitVector{false, true}); in TEST() local
238 RowMap picker(BitVector{false, true, true}); in TEST() local
248 RowMap picker(BitVector{true, false, false, true}); in TEST() local
[all …]
Dbit_vector_unittest.cc230 BitVector picker(3u, true); in TEST() local
246 BitVector picker(2u, true); in TEST() local
Dbit_vector_benchmark.cc244 BitVector picker; in BM_BitVectorUpdateSetBits() local
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowNumberPickerTest.java18 NumberPicker picker = new NumberPicker(ApplicationProvider.getApplicationContext()); in shouldFireListeners() local
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DRoundRobinLoadBalancerFactory.java263 private void updateBalancingState(ConnectivityState state, RoundRobinPicker picker) { in updateBalancingState()
405 abstract boolean isEquivalentTo(RoundRobinPicker picker); in isEquivalentTo()
460 boolean isEquivalentTo(RoundRobinPicker picker) { in isEquivalentTo()
487 boolean isEquivalentTo(RoundRobinPicker picker) { in isEquivalentTo()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DDelayedClientTransportTest.java346 SubchannelPicker picker = mock(SubchannelPicker.class); in reprocessSemantics() local
454 SubchannelPicker picker = mock(SubchannelPicker.class); in reprocess_NoPendingStream() local
478 SubchannelPicker picker = mock(SubchannelPicker.class); in reprocess_newStreamRacesWithReprocess() local
DManagedChannelImplTest.java748 SubchannelPicker picker = mock(SubchannelPicker.class); in nameResolutionFailed_delayedTransportShutdownCancelsBackoff() local
929 SubchannelPicker picker = mock(SubchannelPicker.class); in subtestFailRpcFromBalancer() local
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java305 RoundRobinPicker picker = new RoundRobinPicker(Collections.<DropEntry>emptyList(), pickList); in roundRobinPickerNoDrop() local
346 RoundRobinPicker picker = new RoundRobinPicker(dropList, pickList); in roundRobinPickerWithDrop() local
443 RoundRobinPicker picker = (RoundRobinPicker) pickerCaptor.getValue(); in loadReporting() local
721 RoundRobinPicker picker = (RoundRobinPicker) pickerCaptor.getValue(); in nameResolutionFailsThenRecoverToDelegate() local
737 RoundRobinPicker picker = (RoundRobinPicker) pickerCaptor.getValue(); in nameResolutionFailsThenRecoverToGrpclb() local
771 RoundRobinPicker picker = (RoundRobinPicker) pickerCaptor.getValue(); in grpclbThenNameResolutionFails() local
1357 RoundRobinPicker picker = (RoundRobinPicker) currentPicker; in fallbackTestVerifyUseOfBackendLists() local
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/dialog/
DDurationPickerDialog.java40 final DurationPicker picker = new DurationPicker(activity); in getDurationFromDialog() local
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc88 explicit ChildPickerWrapper(std::unique_ptr<SubchannelPicker> picker) in ChildPickerWrapper()
378 std::unique_ptr<SubchannelPicker> picker; in UpdateStateLocked() local
518 std::unique_ptr<SubchannelPicker> picker) { in OnConnectivityStateUpdateLocked()
601 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DDelayedClientTransport.java134 SubchannelPicker picker; in newStream() local
276 final void reprocess(@Nullable SubchannelPicker picker) { in reprocess()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/priority/
Dpriority.cc133 explicit RefCountedPicker(std::unique_ptr<SubchannelPicker> picker) in RefCountedPicker()
144 explicit RefCountedPickerWrapper(RefCountedPtr<RefCountedPicker> picker) in RefCountedPickerWrapper()
609 std::unique_ptr<SubchannelPicker> picker) { in OnConnectivityStateUpdateLocked()
759 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
DNumberPickerButton.java46 public void setNumberPicker(NumberPicker picker) { in setNumberPicker()
DNumberPicker.java41 void onChanged(NumberPicker picker, int oldVal, int newVal); in onChanged()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_manager.cc85 std::unique_ptr<SubchannelPicker> picker) in ChildPickerWrapper()
340 std::unique_ptr<SubchannelPicker> picker; in UpdateStateLocked() local
551 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
Dxds_cluster_impl.cc195 explicit RefCountedPicker(std::unique_ptr<SubchannelPicker> picker) in RefCountedPicker()
280 RefCountedPtr<RefCountedPicker> picker) in Picker()
575 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
Dcds.cc213 std::unique_ptr<SubchannelPicker> picker) { in UpdateState()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DPickFirstBalancerFactory.java98 SubchannelPicker picker; in handleSubchannelState() local
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DNumberPickerPreference.java89 private CustomNumberPicker picker; field in NumberPickerPreference.NumberPickerPreferenceDialogFragmentCompat
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/lb_policy/
Dchild_policy_handler.cc50 std::unique_ptr<SubchannelPicker> picker) override { in UpdateState()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DPickFirstLoadBalancerTest.java253 SubchannelPicker picker = pickerCaptor.getValue(); in requestConnection() local
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbState.java709 private void maybeUpdatePicker(ConnectivityState state, RoundRobinPicker picker) { in maybeUpdatePicker()

12