Searched refs:pet (Results 1 - 6 of 6) sorted by relevance
/third_party/typescript/tests/baselines/reference/ |
H A D | spreadIdenticalTypesRemoved.js | 10 function clonePet(pet: Animal, fullCopy?: boolean) { 12 name: pet.name, 13 kind: pet.kind, 14 ...(fullCopy && pet), 22 function billOwner(pet: Animal2) { 24 ...(pet.owner && pet), 43 function clonePet(pet, fullCopy) {
44 return __assign({ name: pet.name, kind: pet [all...] |
H A D | narrowingConstrainedTypeParameter.js | 8 function isPet(pet: any): pet is Pet { 9 return typeof pet.name === "string"; 12 export function speak<TPet extends Pet>(pet: TPet, voice: (pet: TPet) => string): string { 13 if (!isPet(pet)) { 14 throw new Error("Expected \"pet\" to be a Pet"); 16 return voice(pet); 24 function isPet(pet) {
25 return typeof pet [all...] |
H A D | narrowingOfQualifiedNames.js | 75 function handleDogBroken<PetType extends Pet>(pet: PetType) { 76 if(pet.type === 'dog') { 77 const _okay1 = pet.saysWoof; 78 const _okay2: typeof pet.saysWoof = pet.saysWoof; 82 function handleDogWorking(pet: Pet) { 83 if(pet.type === 'dog') { 84 const _okay1 = pet.saysWoof; 85 const _okay2: typeof pet.saysWoof = pet [all...] |
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
H A D | sched_driver.c | 502 void display_line(char *tcname, int pri, int f, float et, float *pet, int ff) in display_line() argument 523 pc = (*pet == 0.0) ? 0.0 : 100.0 * ((et - *pet) / *pet) + 0.05; in display_line() 531 *pet = et; in display_line()
|
/third_party/python/Lib/ |
H A D | profile.py | 302 ppt, pit, pet, pfn, pframe, pcur = rcur 303 self.cur = ppt, pit + rpt, pet + frame_total, pfn, pframe, pcur
|
/third_party/ffmpeg/tests/fate/ |
H A D | video.mak | 267 fate-mv-sgirle: CMD = framecrc -i $(TARGET_SAMPLES)/mv/pet-rle.movie -an
|
Completed in 3 milliseconds