Home
last modified time | relevance | path

Searched refs:contract (Results 1 – 25 of 1911) sorted by relevance

12345678910>>...77

/external/android_onboarding/java/com/android/onboarding/contracts/
DActivityLauncher.kt13 internal constructor(protected val context: Context, protected open val contract: Launchable<I>) { constant in com.android.onboarding.contracts.ActivityLauncher
16 contract.launcher.createIntentDirectly(context, args) in prepareIntent()
42 fun <I> Context.registerForActivityLaunch(contract: Launchable<I>) =
43 ActivityLauncher(this, contract)
47 contract: LaunchableForResult<I, O>,
50 registerForActivityResult(contract.launcher.toActivityResultContract(), callback)
/external/eigen/unsupported/test/
Dcxx11_tensor_contraction.cpp33 typedef TensorEvaluator<decltype(mat1.contract(mat2, dims3)), DefaultDevice> Evaluator; in test_evals()
34 Evaluator eval(mat1.contract(mat2, dims3), DefaultDevice()); in test_evals()
53 typedef TensorEvaluator<decltype(mat1.contract(mat2, dims4)), DefaultDevice> Evaluator2; in test_evals()
54 Evaluator2 eval2(mat1.contract(mat2, dims4), DefaultDevice()); in test_evals()
68 typedef TensorEvaluator<decltype(mat1.contract(mat3, dims6)), DefaultDevice> Evaluator3; in test_evals()
69 Evaluator3 eval3(mat1.contract(mat3, dims6), DefaultDevice()); in test_evals()
91 Tensor<float, 0, DataLayout> scalar = vec1.contract(vec2, dims); in test_scalar()
112 typedef TensorEvaluator<decltype(mat1.contract(mat2, dims)), DefaultDevice> Evaluator; in test_multidims()
113 Evaluator eval(mat1.contract(mat2, dims), DefaultDevice()); in test_multidims()
146 typedef TensorEvaluator<decltype(mat4.contract(mat5, dims2)), DefaultDevice> Evaluator2; in test_multidims()
[all …]
Dcxx11_tensor_thread_pool.cpp132 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_multithread_contraction()
173 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_contraction_corner_cases()
188 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_contraction_corner_cases()
205 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_contraction_corner_cases()
223 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_contraction_corner_cases()
263 st_result = left.contract(right, dims); in test_multithread_contraction_agrees_with_singlethread()
266 tp_result.device(thread_pool_device) = left.contract(right, dims); in test_multithread_contraction_agrees_with_singlethread()
323 t_result.device(device) = t_left.contract(t_right, dims, SqrtOutputKernel()); in test_multithread_contraction_with_output_kernel()
360 st_result = left.contract(right, dims); in test_async_multithread_contraction_agrees_with_singlethread()
366 left.contract(right, dims); in test_async_multithread_contraction_agrees_with_singlethread()
[all …]
Dcxx11_tensor_contract_gpu.cu67 gpu_t_result.device(gpu_device) = gpu_t_left.contract(gpu_t_right, dims); in test_gpu_contraction()
68 t_result = t_left.contract(t_right, dims); in test_gpu_contraction()
130 gpu_t_result.device(gpu_device) = gpu_t_left.contract(gpu_t_right, dims); in test_scalar()
131 t_result = t_left.contract(t_right, dims); in test_scalar()
/external/android_onboarding/java/com/android/onboarding/activity/
DOnboardingActivity.kt31 protected abstract val contract: C constant in com.android.onboarding.activity.OnboardingActivity
50 contract.metadata.specificationType > OnboardingNode.SpecificationType.BASELINE in <lambda>()
55 attachResult = contract.attach(this, rawIntent) in onCreate()
56 runCatching { contract.extractArgument(rawIntent) } in onCreate()
67 contract.setResult(this, result) in setResult()
121 final override val contract: C by lazy { selectContract(rawIntent) } in selectContract() constant in com.android.onboarding.activity.CompositeOnboardingActivity
/external/android_onboarding/java/com/android/onboarding/tasks/crossApp/
DOnboardingTaskServiceItem.kt41 fun runTask(contract: OnboardingTaskContract<Any?, Any?>, args: Any?): OnboardingTaskToken { in runTask()
43 bindServiceIntent = contract.taskServiceIntent in runTask()
46 taskContractClass = contract::class.java.name, in runTask()
47 taskComponentName = contract.componentName, in runTask()
53 val persistableBundle = contract.encodeArgs(args) in runTask()
DCrossProcessTaskManager.kt24 > runTask(contract: TaskContractT, args: TaskArgsT): OnboardingTaskToken { in runTask()
29 onboardingTaskServiceItem.runTask(contract as OnboardingTaskContract<Any?, Any?>, args) in runTask()
/external/android_onboarding/java/com/android/onboarding/contracts/testing/
DOnboardingActivityApiContractTester.kt78 fun <I> assertArgumentEncodesCorrectly(contract: OnboardingActivityApiContract<I, *>, argument: I) { in assertArgumentEncodesCorrectly()
80 val intent = contract.createIntent(context, argument) in assertArgumentEncodesCorrectly()
81 val out = contract.extractArgument(intent) in assertArgumentEncodesCorrectly()
91 fun <O> assertReturnValueEncodesCorrectly(contract: OnboardingActivityApiContract<*, O>, value: O) { in assertReturnValueEncodesCorrectly()
99 contract.setResult(activity, value) in assertReturnValueEncodesCorrectly()
101 val result = contract.parseResult(shadowActivity.resultCode, shadowActivity.resultIntent) in assertReturnValueEncodesCorrectly()
/external/tink-java/src/test/java/com/google/crypto/tink/internal/
DField25519Test.java69 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicSum()
83 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicSub()
98 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicProduct()
111 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicMult()
126 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicScalarProduct()
140 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicSquare()
152 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicInverse()
161 byte[] result = Field25519.contract(Field25519.expand(xBytes)); in testContractExpand()
/external/tink/java_src/src/test/java/com/google/crypto/tink/internal/
DField25519Test.java69 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicSum()
83 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicSub()
98 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicProduct()
111 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicMult()
126 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicScalarProduct()
140 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicSquare()
152 BigInteger result = new BigInteger(reverse(Field25519.contract(output))); in testBasicInverse()
161 byte[] result = Field25519.contract(Field25519.expand(xBytes)); in testContractExpand()
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/
DHandlers.java27 import com.uber.nullaway.handlers.contract.ContractCheckHandler;
28 import com.uber.nullaway.handlers.contract.ContractHandler;
29 import com.uber.nullaway.handlers.contract.fieldcontract.EnsuresNonNullHandler;
30 import com.uber.nullaway.handlers.contract.fieldcontract.RequiresNonNullHandler;
/external/pytorch/test/distributed/_composable/
Dtest_contract.py8 from torch.distributed._composable import _get_registry, contract
52 @contract()
82 @contract()
103 @contract()
118 @contract()
122 @contract()
141 @contract()
/external/eigen/bench/tensors/
Dtensor_contract_sycl_bench.cc82 C.device(device_) = A.contract(B, dims); in contraction()
87 C.device(device_) = A.contract(B, dims); in contraction()
136 C.device(device_) = A.contract(B, dims); in contractionRowMajor()
141 C.device(device_) = A.contract(B, dims); in contractionRowMajor()
187 C.device(device_) = A.contract(B, dims); in contractionAT()
192 C.device(device_) = A.contract(B, dims); in contractionAT()
239 C.device(device_) = A.contract(B, dims); in contractionBT()
244 C.device(device_) = A.contract(B, dims); in contractionBT()
291 C.device(device_) = A.contract(B, dims); in contractionABT()
296 C.device(device_) = A.contract(B, dims); in contractionABT()
/external/pytorch/torch/distributed/_composable/
D__init__.py2 from .contract import _get_registry, contract
Dcheckpoint_activation.py13 from .contract import contract
32 @contract()
/external/python/google-api-python-client/.github/ISSUE_TEMPLATE/
Dsupport_request.md3 about: If you have a support contract with Google, please create an issue in the Google Cloud Suppo…
7 **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support…
/external/python/google-auth-library-python/.github/ISSUE_TEMPLATE/
Dsupport_request.md3 about: If you have a support contract with Google, please create an issue in the Google Cloud Suppo…
7 **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support…
/external/python/python-api-core/.github/ISSUE_TEMPLATE/
Dsupport_request.md3 about: If you have a support contract with Google, please create an issue in the Google Cloud Suppo…
7 **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support…
/external/sdk-platform-java/java-common-protos/.github/ISSUE_TEMPLATE/
Dsupport_request.md3 about: If you have a support contract with Google, please create an issue in the Google Cloud Suppo…
7 **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support…
/external/sdk-platform-java/.github/ISSUE_TEMPLATE/
Dsupport_request.md2 about: If you have a support contract with Google, please create an issue in the Google Cloud Suppo…
6 **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support…
/external/google-auth-library-java/.github/ISSUE_TEMPLATE/
Dsupport_request.md3 about: If you have a support contract with Google, please create an issue in the Google Cloud Suppo…
7 **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support…
/external/google-cloud-java/owl-bot-postprocessor/synthtool/gcp/templates/java_library/.github/ISSUE_TEMPLATE/
Dsupport_request.md3 about: If you have a support contract with Google, please create an issue in the Google Cloud Suppo…
7 **PLEASE READ**: If you have a support contract with Google, please create an issue in the [support…
/external/tensorflow/tensorflow/core/kernels/rnn/
Dblas_gemm.h83 c.device(d) = a.contract(b, contract_pairs);
86 c.device(d) += a.contract(b, contract_pairs);
88 c.device(d) = c.constant(T(alpha)) * a.contract(b, contract_pairs) +
/external/tensorflow/tensorflow/python/tools/
Daot_compiled_test.cc65 arg_feed_x.contract(arg_feed_y, product_dims); in TEST()
99 arg_feed_x.contract(arg_feed_y, product_dims); in TEST()
128 arg_feed_x.contract(arg_feed_y, product_dims); in TEST()
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/contract/
DContractCheckHandler.java23 package com.uber.nullaway.handlers.contract;
25 import static com.uber.nullaway.handlers.contract.ContractUtils.getAntecedent;
26 import static com.uber.nullaway.handlers.contract.ContractUtils.getConsequent;

12345678910>>...77