Searched refs:initialValues (Results 1 - 7 of 7) sorted by relevance
/third_party/typescript/tests/baselines/reference/ |
H A D | checkJsxGenericTagHasCorrectInferences.js | 4 initialValues: T; 11 let a = <GenericComponent initialValues={{ x: "y" }} nextValues={a => a} />; // No error 12 let b = <GenericComponent initialValues={12} nextValues={a => a} />; // No error - Values should be reinstantiated with `number` (since `object` is a default, not a constraint) 13 let c = <GenericComponent initialValues={{ x: "y" }} nextValues={a => ({ x: a.x })} />; // No Error 14 let d = <GenericComponent initialValues={{ x: "y" }} nextValues={a => a.x} />; // Error - `string` is not assignable to `{x: string}`
20 var a = <GenericComponent initialValues={{ x: "y" }} nextValues={function (a) { return a; }}/>; // No error
21 var b = <GenericComponent initialValues={12} nextValues={function (a) { return a; }}/>; // No error - Values should be reinstantiated with `number` (since `object` is a default, not a constraint)
22 var c = <GenericComponent initialValues={{ x: "y" }} nextValues={function (a) { return ({ x: a.x }); }}/>; // No Error
23 var d = <GenericComponent initialValues={{ x: "y" }} nextValues={function (a) { return a.x; }}/>; // Error - `string` is not assignable to `{x: string}`
|
H A D | instantiateContextualTypes.js | 17 initialValues: T; 26 new GenericComponent({ initialValues: 12, nextValues: val => 12 }); 192 new GenericComponent({ initialValues: 12, nextValues: val => 12 });
|
H A D | objectLiteralArraySpecialization.js | 2 declare function create<T>(initialValues?: T[]): MyArrayWrapper<T>;
|
H A D | lambdaParamTypes.js | 7 declare function create<T>(initialValues?: T[]): MyArrayWrapper<T>;
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureLevelStateQueryTests.cpp | 1178 const int initialValues[2] = { GL_RGBA, GL_R8 }; in checkTextureState() local 1180 allOk &= verifyTextureLevelParameterInternalFormatAnyOf(gl, spec.queryTarget, queryLevel, GL_TEXTURE_INTERNAL_FORMAT, initialValues, DE_LENGTH_OF_ARRAY(initialValues), m_type); in checkTextureState()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationTimelineSemaphoreTests.cpp | 2473 ValuesVec initialValues; in getInitialValues() local 2474 initialValues.reserve(semVec.size()); in getInitialValues() 2477 std::transform(begin(semVec), end(semVec), std::back_inserter(initialValues), conversion); in getInitialValues() 2479 return initialValues; in getInitialValues()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationTimelineSemaphoreTests.cpp | 2463 ValuesVec initialValues; in getInitialValues() local 2464 initialValues.reserve(semVec.size()); in getInitialValues() 2467 std::transform(begin(semVec), end(semVec), std::back_inserter(initialValues), conversion); in getInitialValues() 2469 return initialValues; in getInitialValues()
|
Completed in 15 milliseconds