/dports/shells/ksh93/ast-93u/src/lib/libvcodex/Vchuff/ |
H A D | vchuffman.c | 32 ssize_t maxs; /* max code size */ member 45 int vchcopy(vc, freq, size, maxs ) in vchcopy() 49 ssize_t maxs; /* max length of any code */ 55 huff->maxs = 0; 60 if(size && maxs >= 0 && maxs < 32) 62 huff->maxs = maxs; 99 (huff->maxs = vchsize(VCH_SIZE,freq,size,NIL(int*))) < 0) 104 if(huff->maxs > 0) 119 vcioputc(&io, huff->maxs); /* the control code */ 123 if(huff->maxs == 0) /* a single run */ [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libvcodex/Vchuff/ |
H A D | vchuffman.c | 32 ssize_t maxs; /* max code size */ member 45 int vchcopy(vc, freq, size, maxs ) in vchcopy() 49 ssize_t maxs; /* max length of any code */ 55 huff->maxs = 0; 60 if(size && maxs >= 0 && maxs < 32) 62 huff->maxs = maxs; 99 (huff->maxs = vchsize(VCH_SIZE,freq,size,NIL(int*))) < 0) 104 if(huff->maxs > 0) 119 vcioputc(&io, huff->maxs); /* the control code */ 123 if(huff->maxs == 0) /* a single run */ [all …]
|
/dports/games/ufoai/ufoai-2.5-source/src/tools/ufo2map/ |
H A D | csg.cpp | 93 if (a->mins[i] >= b->maxs[i] || a->maxs[i] <= b->mins[i]) in BrushesDisjoint() 120 if (brush->maxs[j] > clipmaxs[j]) { in ClipBrushToBox() 272 ClearBounds(mins, maxs); in MapBrushesBounds() 288 || b->maxs[j] > clipmaxs[j]) in MapBrushesBounds() 294 AddPointToBounds(b->mins, mins, maxs); in MapBrushesBounds() 295 AddPointToBounds(b->maxs, mins, maxs); in MapBrushesBounds() 308 clip.mins[0], clip.mins[1], clip.mins[2], clip.maxs[0], clip.maxs[1], clip.maxs[2]); in MakeBspBrushList() 314 dist = clip.maxs[i]; in MakeBspBrushList() 349 if (mb->mins[j] < clip.mins[j] || mb->maxs[j] > clip.maxs[j]) in MakeBspBrushList() 369 VectorCopy(mb->maxs, newbrush->maxs); in MakeBspBrushList() [all …]
|
/dports/graphics/povray37/povray-3.7.0.10/source/backend/bounding/ |
H A D | bbox.cpp | 127 if(corner[X] > maxs[X]) { maxs[X] = corner[X]; } in Recompute_BBox() 129 if(corner[Y] > maxs[Y]) { maxs[Y] = corner[Y]; } in Recompute_BBox() 131 if(corner[Z] > maxs[Z]) { maxs[Z] = corner[Z]; } in Recompute_BBox() 138 if(maxs[X] > BOUND_HUGE / 2) { maxs[X] = BOUND_HUGE / 2; } in Recompute_BBox() 139 if(maxs[Y] > BOUND_HUGE / 2) { maxs[Y] = BOUND_HUGE / 2; } in Recompute_BBox() 140 if(maxs[Z] > BOUND_HUGE / 2) { maxs[Z] = BOUND_HUGE / 2; } in Recompute_BBox() 171 if(corner[X] > maxs[X]) { maxs[X] = corner[X]; } in Recompute_Inverse_BBox() 173 if(corner[Y] > maxs[Y]) { maxs[Y] = corner[Y]; } in Recompute_Inverse_BBox() 175 if(corner[Z] > maxs[Z]) { maxs[Z] = corner[Z]; } in Recompute_Inverse_BBox() 182 if(maxs[X] > BOUND_HUGE / 2) { maxs[X] = BOUND_HUGE / 2; } in Recompute_Inverse_BBox() [all …]
|
/dports/graphics/megapov/megapov-1.2.1/source/ |
H A D | bbox.cpp | 392 if (corner[X] > maxs[X]) { maxs[X] = corner[X]; } in Recompute_BBox() 394 if (corner[Y] > maxs[Y]) { maxs[Y] = corner[Y]; } in Recompute_BBox() 396 if (corner[Z] > maxs[Z]) { maxs[Z] = corner[Z]; } in Recompute_BBox() 404 if (maxs[X] > BOUND_HUGE / 2) { maxs[X] = BOUND_HUGE / 2; } in Recompute_BBox() 405 if (maxs[Y] > BOUND_HUGE / 2) { maxs[Y] = BOUND_HUGE / 2; } in Recompute_BBox() 406 if (maxs[Z] > BOUND_HUGE / 2) { maxs[Z] = BOUND_HUGE / 2; } in Recompute_BBox() 471 if (corner[X] > maxs[X]) { maxs[X] = corner[X]; } in Recompute_Inverse_BBox() 473 if (corner[Y] > maxs[Y]) { maxs[Y] = corner[Y]; } in Recompute_Inverse_BBox() 475 if (corner[Z] > maxs[Z]) { maxs[Z] = corner[Z]; } in Recompute_Inverse_BBox() 483 if (maxs[X] > BOUND_HUGE / 2) { maxs[X] = BOUND_HUGE / 2; } in Recompute_Inverse_BBox() [all …]
|
/dports/graphics/povray36/povray-3.6.1/source/ |
H A D | bbox.cpp | 387 if (corner[X] > maxs[X]) { maxs[X] = corner[X]; } in Recompute_BBox() 389 if (corner[Y] > maxs[Y]) { maxs[Y] = corner[Y]; } in Recompute_BBox() 391 if (corner[Z] > maxs[Z]) { maxs[Z] = corner[Z]; } in Recompute_BBox() 399 if (maxs[X] > BOUND_HUGE / 2) { maxs[X] = BOUND_HUGE / 2; } in Recompute_BBox() 400 if (maxs[Y] > BOUND_HUGE / 2) { maxs[Y] = BOUND_HUGE / 2; } in Recompute_BBox() 401 if (maxs[Z] > BOUND_HUGE / 2) { maxs[Z] = BOUND_HUGE / 2; } in Recompute_BBox() 466 if (corner[X] > maxs[X]) { maxs[X] = corner[X]; } in Recompute_Inverse_BBox() 468 if (corner[Y] > maxs[Y]) { maxs[Y] = corner[Y]; } in Recompute_Inverse_BBox() 470 if (corner[Z] > maxs[Z]) { maxs[Z] = corner[Z]; } in Recompute_Inverse_BBox() 478 if (maxs[X] > BOUND_HUGE / 2) { maxs[X] = BOUND_HUGE / 2; } in Recompute_Inverse_BBox() [all …]
|
/dports/finance/aqbanking/aqbanking-6.2.10/src/libs/aqbanking/ |
H A D | banking_transaction.c | 18 int maxs; in AB_Banking_CheckTransactionAgainstLimits_Purpose() local 29 maxs=0; in AB_Banking_CheckTransactionAgainstLimits_Purpose() 57 else if (maxs>0) { in AB_Banking_CheckTransactionAgainstLimits_Purpose() 61 tbuf=GWEN_Buffer_new(0, maxs, 0, 1); in AB_Banking_CheckTransactionAgainstLimits_Purpose() 65 if (maxs && l>maxs) { in AB_Banking_CheckTransactionAgainstLimits_Purpose() 70 n, l, maxs); in AB_Banking_CheckTransactionAgainstLimits_Purpose() 95 int maxs; in AB_Banking_CheckTransactionAgainstLimits_Names() local 102 maxs=0; in AB_Banking_CheckTransactionAgainstLimits_Names() 113 if (maxs>0 && l>maxs) { in AB_Banking_CheckTransactionAgainstLimits_Names() 129 maxs=0; in AB_Banking_CheckTransactionAgainstLimits_Names() [all …]
|
/dports/games/ufoai/ufoai-2.5-source/src/common/ |
H A D | cmodel.cpp | 46 VectorAdd(model->origin, model->maxs, maxs); in CM_CalculateBoundingBox() 49 … float offset = std::max(std::max(fabs(mins[0] - maxs[0]), fabs(mins[1] - maxs[1])), fabs(mins[2] … in CM_CalculateBoundingBox() 50 VectorCenterFromMinsMaxs(mins, maxs, acenter); in CM_CalculateBoundingBox() 52 VectorAdd(acenter, aoffset, maxs); in CM_CalculateBoundingBox() 162 tile.box_planes[0].dist = maxs[0]; in CM_HeadnodeForBox() 163 tile.box_planes[1].dist = -maxs[0]; in CM_HeadnodeForBox() 166 tile.box_planes[4].dist = maxs[1]; in CM_HeadnodeForBox() 167 tile.box_planes[5].dist = -maxs[1]; in CM_HeadnodeForBox() 170 tile.box_planes[8].dist = maxs[2]; in CM_HeadnodeForBox() 171 tile.box_planes[9].dist = -maxs[2]; in CM_HeadnodeForBox() [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/qw/source/ |
H A D | pmovetst.c | 95 box_planes[0].dist = maxs[0]; in PM_HullForBox() 97 box_planes[2].dist = maxs[1]; in PM_HullForBox() 99 box_planes[4].dist = maxs[2]; in PM_HullForBox() 170 vec3_t mins, maxs, test; in PM_TestPlayerPosition() local 179 VectorSubtract (pe->maxs, player_mins, maxs); in PM_TestPlayerPosition() 180 hull = PM_HullForBox (mins, maxs); in PM_TestPlayerPosition() 213 vec3_t maxs, mins, offset, start_l, end_l; in PM_PlayerMove() local 233 VectorZero (maxs); in PM_PlayerMove() 239 VectorSubtract (pe->model->maxs, player_mins, maxs); in PM_PlayerMove() 242 VectorSubtract (pe->maxs, player_mins, maxs); in PM_PlayerMove() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/tests/geom/ |
H A D | bbox_test.C | 98 maxs = {.5, 1, 1}; in test_two_degenerate() local 120 max(Point(maxs[0], maxs[1], maxs[2])); in test_two_degenerate() 145 std::rotate(maxs.rbegin(), maxs.rbegin()+1, maxs.rend()); in test_two_degenerate() 160 maxs = {2, 1, 1}; in test_no_degenerate() local 186 max(Point(maxs[0], maxs[1], maxs[2])); in test_no_degenerate() 212 std::rotate(maxs.rbegin(), maxs.rbegin()+1, maxs.rend()); in test_no_degenerate()
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/radiant/ |
H A D | autocaulk.cpp | 54 void ClearBounds (idVec3 &mins, idVec3 &maxs) in ClearBounds() argument 57 maxs[0] = maxs[1] = maxs[2] = -99999; in ClearBounds() 60 void AddPointToBounds( const idVec3 &v, idVec3 &mins, idVec3 &maxs ) in AddPointToBounds() argument 70 if (val > maxs[i]) in AddPointToBounds() 71 maxs[i] = val; in AddPointToBounds() 76 static void FloorBounds(idVec3 &mins, idVec3 &maxs) in FloorBounds() argument 81 maxs[i] = floor(maxs[i] + 0.5); in FloorBounds() 157 if (pSelectedBrush->mins[i] > pScannedBrush->maxs[i] || in Select_AutoCaulk() 158 pSelectedBrush->maxs[i] < pScannedBrush->mins[i]) in Select_AutoCaulk()
|
/dports/games/quakeforge/quakeforge-0.7.2/tools/qfbsp/source/ |
H A D | solidbsp.c | 154 value += (maxs[l] - dist) * (maxs[l] - dist); in ChooseMidPlaneFromList() 157 value += 2 * (maxs[j] - mins[j]) * (maxs[j] - mins[j]); in ChooseMidPlaneFromList() 262 value += (maxs[l] - dist) * (maxs[l] - dist); in ChoosePlaneFromList() 265 value += 2 * (maxs[j] - mins[j]) * (maxs[j] - mins[j]); in ChoosePlaneFromList() 293 vec3_t mins, maxs; in SelectPartition() local 319 maxs[i] = -BOGUS_RANGE; in SelectPartition() 326 if (p->maxs[j] > maxs[j]) in SelectPartition() 327 maxs[j] = p->maxs[j]; in SelectPartition() 359 surf->maxs[i] = -BOGUS_RANGE; in CalcSurfaceInfo() 371 surf->maxs[j] = fp->points[i][j]; in CalcSurfaceInfo() [all …]
|
/dports/math/faiss/faiss-1.7.1/faiss/ |
H A D | IndexLattice.cpp | 41 float* maxs = trained.data() + nsq; in train() local 44 maxs[sq] = -1; in train() 50 if (norm2 > maxs[sq]) in train() 51 maxs[sq] = norm2; in train() 59 maxs[sq] = sqrtf(maxs[sq]); in train() 72 const float* maxs = mins + nsq; in sa_encode() local 81 (maxs[j] - mins[j]); in sa_encode() 95 const float* maxs = mins + nsq; in sa_decode() local 105 (rd.read(scale_nbit) + 0.5) * (maxs[j] - mins[j]) / sc + in sa_decode()
|
/dports/graphics/gimp-lensfun-plugin/GIMP-Lensfun-c5eaf97/src/ |
H A D | LUT.hpp | 74 unsigned int maxs; member in LUT 83 maxs=size-2; in LUT() 92 maxs=size-2; in operator ()() 99 maxs=size-2; in LUT() 109 maxs=0; in LUT() 129 this->maxs=this->size-2; in operator =() 149 if (((unsigned int)idx) > maxs) { in operator []() 160 idx =maxs; in operator []()
|
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake2/q2map/ |
H A D | qbsp.c | 123 vec3_t mins, maxs; in ProcessBlock_Thread() local 136 maxs[0] = (xblock+1)*1024; in ProcessBlock_Thread() 137 maxs[1] = (yblock+1)*1024; in ProcessBlock_Thread() 138 maxs[2] = 4096; in ProcessBlock_Thread() 154 tree = BrushBSP (brushes, mins, maxs); in ProcessBlock_Thread() 223 tree->maxs[0] = (block_xh+1)*1024; in ProcessWorldModel() 224 tree->maxs[1] = (block_yh+1)*1024; in ProcessWorldModel() 225 tree->maxs[2] = map_maxs[2] + 8; in ProcessWorldModel() 303 vec3_t mins, maxs; in ProcessSubModel() local 311 maxs[0] = maxs[1] = maxs[2] = 4096; in ProcessSubModel() [all …]
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/q2map/ |
H A D | qbsp.c | 118 vec3_t mins, maxs; in ProcessBlock_Thread() local 131 maxs[0] = ( xblock + 1 ) * 1024; in ProcessBlock_Thread() 132 maxs[1] = ( yblock + 1 ) * 1024; in ProcessBlock_Thread() 133 maxs[2] = 4096; in ProcessBlock_Thread() 149 tree = BrushBSP( brushes, mins, maxs ); in ProcessBlock_Thread() 225 tree->maxs[0] = ( block_xh + 1 ) * 1024; in ProcessWorldModel() 226 tree->maxs[1] = ( block_yh + 1 ) * 1024; in ProcessWorldModel() 227 tree->maxs[2] = map_maxs[2] + 8; in ProcessWorldModel() 307 vec3_t mins, maxs; in ProcessSubModel() local 315 maxs[0] = maxs[1] = maxs[2] = 4096; in ProcessSubModel() [all …]
|
/dports/games/egl/egl-0.3.1_9/common/ |
H A D | cm_common.c | 214 void CM_InlineModelBounds (cBspModel_t *model, vec3_t mins, vec3_t maxs) in CM_InlineModelBounds() argument 218 Vec3Copy (model->maxs, maxs); in CM_InlineModelBounds() 337 int CM_HeadnodeForBox (vec3_t mins, vec3_t maxs) in CM_HeadnodeForBox() argument 340 return CM_Q3BSP_HeadnodeForBox (mins, maxs); in CM_HeadnodeForBox() 341 return CM_Q2BSP_HeadnodeForBox (mins, maxs); in CM_HeadnodeForBox() 351 int CM_BoxLeafnums (vec3_t mins, vec3_t maxs, int *list, int listSize, int *topNode) in CM_BoxLeafnums() argument 354 return CM_Q3BSP_BoxLeafnums (mins, maxs, list, listSize, topNode); in CM_BoxLeafnums() 355 return CM_Q2BSP_BoxLeafnums (mins, maxs, list, listSize, topNode); in CM_BoxLeafnums() 390 return CM_Q3BSP_BoxTrace (start, end, mins, maxs, headNode, brushMask); in CM_BoxTrace() 391 return CM_Q2BSP_BoxTrace (start, end, mins, maxs, headNode, brushMask); in CM_BoxTrace() [all …]
|
H A D | cm_common.h | 30 vec3_t maxs; member 78 int CM_Q2BSP_HeadnodeForBox (vec3_t mins, vec3_t maxs); 80 int CM_Q2BSP_BoxLeafnums (vec3_t mins, vec3_t maxs, int *list, int listSize, int *topNode); 86 trace_t CM_Q2BSP_BoxTrace (vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, int headNode, int b… 87 …rmedBoxTrace (trace_t *out, vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, int headNode, int … 122 int CM_Q3BSP_HeadnodeForBox (vec3_t mins, vec3_t maxs); 124 int CM_Q3BSP_BoxLeafnums (vec3_t mins, vec3_t maxs, int *list, int listSize, int *topNode); 130 trace_t CM_Q3BSP_BoxTrace (vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, int headNode, int b… 131 …rmedBoxTrace (trace_t *out, vec3_t start, vec3_t end, vec3_t mins, vec3_t maxs, int headNode, int …
|
/dports/science/py-dipy/dipy-1.4.1/dipy/segment/tests/ |
H A D | test_mask.py | 30 mins, maxs = bounding_box(mask) 31 voln_crop = crop(mask, mins, maxs) 58 mins, maxs = bounding_box(vol) 60 assert_equal(maxs, [90, 40, 33]) 63 mins, maxs = bounding_box(vol[10]) 65 assert_equal(maxs, [40, 33]) 72 mins, maxs = bounding_box(vol) 78 assert_equal(maxs, [0, 0, 0]) 81 mins, maxs = bounding_box(vol[0]) 84 assert_equal(maxs, [0, 0])
|
/dports/science/InsightToolkit/ITK-5.0.1/Modules/Filtering/LabelMap/include/ |
H A D | itkLabelMapMaskImageFilter.hxx | 110 IndexType maxs; in GenerateOutputInformation() local 132 if( idx[i] > maxs[i] ) in GenerateOutputInformation() 134 maxs[i] = idx[i]; in GenerateOutputInformation() 140 maxs[0] = idx[0] + length - 1; in GenerateOutputInformation() 151 regionSize[i] = maxs[i] - mins[i] + 1; in GenerateOutputInformation() 177 IndexType maxs; in GenerateOutputInformation() local 193 if( idx[i] > maxs[i] ) in GenerateOutputInformation() 195 maxs[i] = idx[i]; in GenerateOutputInformation() 199 if( idx[0] + (OffsetValueType)length > maxs[0] ) in GenerateOutputInformation() 201 maxs[0] = idx[0] + length - 1; in GenerateOutputInformation() [all …]
|
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/ |
H A D | world.c | 126 box_planes[0].dist = maxs[0]; in SV_HullForBox() 128 box_planes[2].dist = maxs[1]; in SV_HullForBox() 130 box_planes[4].dist = maxs[2]; in SV_HullForBox() 263 const vec3_t maxs) in SV_AddLinksToPmove_r() argument 302 VectorCopy(check->v.maxs, pe->maxs); in SV_AddLinksToPmove_r() 349 VectorSubtract(maxs, mins, size); in SV_CreateAreaNode() 358 VectorCopy(maxs, maxs1); in SV_CreateAreaNode() 359 VectorCopy(maxs, maxs2); in SV_CreateAreaNode() 542 v =fabsf( ent->v.maxs[i]); in SV_LinkEdict() 1113 clip.maxs = maxs; in SV_Move() [all …]
|
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/brush/construct/ |
H A D | Cuboid.cpp | 22 Vector3 maxs(bounds.origin + bounds.extents); in generate() local 29 Vector3 planepts1(maxs); in generate() 30 Vector3 planepts2(maxs); in generate() 34 brush.addPlane(maxs, planepts1, planepts2, shader, projection); in generate() 41 planepts1[box[i][0]] = maxs[box[i][0]]; in generate() 42 planepts2[box[i][1]] = maxs[box[i][1]]; in generate()
|
/dports/devel/binutils/binutils-2.37/gas/testsuite/gas/s12z/ |
H A D | min-max.d | 12 0: 1b 2c fe 01 maxs d0, \[123456\] 14 6: 1b 2d c4 04 maxs d1, \[4,x\] 15 a: 1b 28 b8 maxs d2, d2 16 d: 1b 29 dc maxs d3, \[d0,y\] 17 10: 1b 2a e4 0c maxs d4, \[12,s\] 18 14: 1b 2b 63 maxs d5, \(3,s\) 19 17: 1b 2e e1 85 maxs d6, \(-123,s\) 20 1b: 1b 2f f2 01 maxs d7, \(123987,p\)
|
/dports/devel/arm-elf-binutils/binutils-2.37/gas/testsuite/gas/s12z/ |
H A D | min-max.d | 12 0: 1b 2c fe 01 maxs d0, \[123456\] 14 6: 1b 2d c4 04 maxs d1, \[4,x\] 15 a: 1b 28 b8 maxs d2, d2 16 d: 1b 29 dc maxs d3, \[d0,y\] 17 10: 1b 2a e4 0c maxs d4, \[12,s\] 18 14: 1b 2b 63 maxs d5, \(3,s\) 19 17: 1b 2e e1 85 maxs d6, \(-123,s\) 20 1b: 1b 2f f2 01 maxs d7, \(123987,p\)
|
/dports/devel/gnulibiberty/binutils-2.37/gas/testsuite/gas/s12z/ |
H A D | min-max.d | 12 0: 1b 2c fe 01 maxs d0, \[123456\] 14 6: 1b 2d c4 04 maxs d1, \[4,x\] 15 a: 1b 28 b8 maxs d2, d2 16 d: 1b 29 dc maxs d3, \[d0,y\] 17 10: 1b 2a e4 0c maxs d4, \[12,s\] 18 14: 1b 2b 63 maxs d5, \(3,s\) 19 17: 1b 2e e1 85 maxs d6, \(-123,s\) 20 1b: 1b 2f f2 01 maxs d7, \(123987,p\)
|