/dports/astro/kstars/kstars-3.5.6/kstars/skycomponents/ |
H A D | starblocklist.cpp | 30 if (block != blocks[nBlocks - 1].get()) in releaseBlock() 47 nBlocks--; in releaseBlock() 51 if (nBlocks <= 0) in releaseBlock() 54 faintMag = blocks[nBlocks - 1]->faintMag; in releaseBlock() 107 if (nBlocks == 0 || blocks[nBlocks - 1]->isFull()) in fillToMag() 118 blocks[nBlocks]->parent = this; in fillToMag() 119 if (nBlocks == 0) in fillToMag() 121 else if (!SBFactory->markNext(blocks[nBlocks - 1], blocks[nBlocks])) in fillToMag() 124 ++nBlocks; in fillToMag() 161 if (nBlocks == 0) in setStaticBlock() [all …]
|
/dports/science/qmcpack/qmcpack-3.11.0/src/Sandbox/ |
H A D | einspline_spo.hpp | 37 int nBlocks; member 74 nBlocks=(in.nBlocks+ncrews-1)/ncrews; in einspline_spo() 75 firstBlock=nBlocks*crewID; in einspline_spo() 76 lastBlock=std::min(in.nBlocks,nBlocks*(crewID+1)); in einspline_spo() 78 einsplines.resize(nBlocks); in einspline_spo() 121 if(nBlocks > psi.size()) in resize() 124 psi.resize(nBlocks); in resize() 125 grad.resize(nBlocks); in resize() 126 hess.resize(nBlocks); in resize() 141 nBlocks=nblocks; in set() [all …]
|
/dports/science/wxmacmolplt/wxmacmolplt-7.7-43-g9a46f7a/src/ming-src/ |
H A D | blocklist.c | 43 int nBlocks; member 51 for ( i=0; i<list->nBlocks; ++i ) in destroySWFBlockList() 70 blockList->nBlocks = 0; in newSWFBlockList() 92 list->blocks[list->nBlocks].block = block; in SWFBlockList_addBlock() 94 list->blocks[list->nBlocks].isCharacter = in SWFBlockList_addBlock() 99 ++list->nBlocks; in SWFBlockList_addBlock() 110 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_addToSprite() 113 list->nBlocks = 0; in SWFBlockList_addToSprite() 125 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_completeBlocks() 142 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_writeBlocksToMethod() [all …]
|
/dports/graphics/ming/libming-ming-0_4_8/src/ |
H A D | blocklist.c | 43 int nBlocks; member 51 for ( i=0; i<list->nBlocks; ++i ) in destroySWFBlockList() 70 blockList->nBlocks = 0; in newSWFBlockList() 92 list->blocks[list->nBlocks].block = block; in SWFBlockList_addBlock() 94 list->blocks[list->nBlocks].isCharacter = in SWFBlockList_addBlock() 99 ++list->nBlocks; in SWFBlockList_addBlock() 110 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_addToSprite() 113 list->nBlocks = 0; in SWFBlockList_addToSprite() 125 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_completeBlocks() 142 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_writeBlocksToMethod() [all …]
|
/dports/graphics/p5-ming/libming-ming-0_4_8/src/ |
H A D | blocklist.c | 43 int nBlocks; member 51 for ( i=0; i<list->nBlocks; ++i ) in destroySWFBlockList() 70 blockList->nBlocks = 0; in newSWFBlockList() 92 list->blocks[list->nBlocks].block = block; in SWFBlockList_addBlock() 94 list->blocks[list->nBlocks].isCharacter = in SWFBlockList_addBlock() 99 ++list->nBlocks; in SWFBlockList_addBlock() 110 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_addToSprite() 113 list->nBlocks = 0; in SWFBlockList_addToSprite() 125 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_completeBlocks() 142 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_writeBlocksToMethod() [all …]
|
/dports/graphics/py-ming/libming-ming-0_4_8/src/ |
H A D | blocklist.c | 43 int nBlocks; member 51 for ( i=0; i<list->nBlocks; ++i ) in destroySWFBlockList() 70 blockList->nBlocks = 0; in newSWFBlockList() 92 list->blocks[list->nBlocks].block = block; in SWFBlockList_addBlock() 94 list->blocks[list->nBlocks].isCharacter = in SWFBlockList_addBlock() 99 ++list->nBlocks; in SWFBlockList_addBlock() 110 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_addToSprite() 113 list->nBlocks = 0; in SWFBlockList_addToSprite() 125 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_completeBlocks() 142 for ( i=0; i<list->nBlocks; ++i ) in SWFBlockList_writeBlocksToMethod() [all …]
|
/dports/science/jdftx/jdftx-1.6.0/jdftx/core/ |
H A D | GpuKernelUtils.h | 65 dim3 nBlocks; //!< dimension of grid (note nBlocks could be 3D for really large kernels) member 71 nBlocks(ceildiv(N, int(nPerBlock.x)),1,1) in GpuLaunchConfig1D() 73 while(int(nBlocks.x) > cudaDevProps.maxGridSize[0]) in GpuLaunchConfig1D() 74 { nBlocks.x = ceildiv(int(nBlocks.x),2); in GpuLaunchConfig1D() 75 nBlocks.y *= 2; in GpuLaunchConfig1D() 83 dim3 nBlocks; //!< dimension of grid (note nBlocks could be 3D for really large kernels) member 94 nBlocks.x = ceildiv(S[2], std::min(maxBlockXY,cudaDevProps.maxThreadsDim[0])); in GpuLaunchConfig3D() 95 nPerBlock.x = ceildiv(S[2], int(nBlocks.x)); in GpuLaunchConfig3D() 98 nBlocks.y = ceildiv(S[1], std::min(maxBlockY,cudaDevProps.maxThreadsDim[1])); in GpuLaunchConfig3D() 99 nPerBlock.y = ceildiv(S[1], int(nBlocks.y)); in GpuLaunchConfig3D()
|
H A D | Operators.cu | 70 L_kernel<<<glc.nBlocks,glc.nPerBlock>>>(zBlock, S, GGT, v); in L_gpu() 82 Linv_kernel<<<glc.nBlocks,glc.nPerBlock>>>(zBlock, S, GGT, v); in Linv_gpu() 94 fullL_kernel<<<glc.nBlocks,glc.nPerBlock>>>(zBlock, S, GGT, v); in fullL_gpu() 106 fullLinv_kernel<<<glc.nBlocks,glc.nPerBlock>>>(zBlock, S, GGT, v); in fullLinv_gpu() 147 D_kernel<<<glc.nBlocks,glc.nPerBlock>>>(zBlock, S, in, out, Ge); in D_gpu() 159 DD_kernel<<<glc.nBlocks,glc.nPerBlock>>>(zBlock, S, in, out, Ge1, Ge2); in DD_gpu() 274 exp_kernel<<<glc.nBlocks,glc.nPerBlock>>>(N, X, prefac); in exp_gpu() 284 log_kernel<<<glc.nBlocks,glc.nPerBlock>>>(N, X, prefac); in log_gpu() 294 sqrt_kernel<<<glc.nBlocks,glc.nPerBlock>>>(N, X, prefac); in sqrt_gpu() 304 inv_kernel<<<glc.nBlocks,glc.nPerBlock>>>(N, X, prefac); in inv_gpu() [all …]
|
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/structure/struct_dp/ |
H A D | block_align.cpp | 69 Matrix(unsigned int nBlocks, unsigned int nResidues) : grid(nBlocks + 1) in Matrix() argument 86 for (block=0; block<blocks->nBlocks; ++block) { in ValidateFrozenBlockPositions() 154 vector < unsigned int > firstPos(blocks->nBlocks), lastPos(blocks->nBlocks); in CalculateGlobalMatrix() 237 vector < unsigned int > firstPos(blocks->nBlocks), lastPos(blocks->nBlocks); in CalculateGlobalMatrixGeneric() 484 alignment->nBlocks = blockPositions.size(); in TracebackAlignment() 535 for (block=0; block<blocks->nBlocks; ++block) { in TracebackLocalAlignment() 572 for (block=0; block<blocks->nBlocks; ++block) in TracebackMultipleLocalAlignments() 670 for (i=0; i<blocks->nBlocks; ++i) in DP_GlobalBlockAlign() 707 for (i=0; i<blocks->nBlocks; ++i) in DP_GlobalBlockAlignGeneric() 842 blocks->nBlocks = nBlocks; in DP_CreateBlockInfo() [all …]
|
/dports/math/libxsmm/libxsmm-1.16.3/src/template/ |
H A D | libxsmm_dnn_rnncell_st_rnn_fwd_ncnc_kcck.tpl.c | 30 libxsmm_blasint nBlocks = N/bn; variable 34 LIBXSMM_VLA_DECL(5, element_input_type, x, xt, nBlocks, cBlocks, bn, bc); 38 LIBXSMM_VLA_DECL(5, element_output_type, h, ht, nBlocks, kBlocks, bn, bk); 39 LIBXSMM_VLA_DECL(5, element_output_type, z, zt, nBlocks, kBlocks, bn, bk); 155 …SMM_VLA_ACCESS(5, z, i, in, ik, 0, 0, nBlocks, kBlocks, bn, bk), &LIBXSMM_VLA_ACCESS(5, h, i, in, … 158 …SMM_VLA_ACCESS(5, z, i, in, ik, 0, 0, nBlocks, kBlocks, bn, bk), &LIBXSMM_VLA_ACCESS(5, h, i, in, … 161 …SMM_VLA_ACCESS(5, z, i, in, ik, 0, 0, nBlocks, kBlocks, bn, bk), &LIBXSMM_VLA_ACCESS(5, h, i, in, … 194 B_array[ic] = &LIBXSMM_VLA_ACCESS(5, x, i, in, ic, 0, 0, nBlocks, cBlocks, bn, bc); 222 …SMM_VLA_ACCESS(5, z, i, in, ik, 0, 0, nBlocks, kBlocks, bn, bk), &LIBXSMM_VLA_ACCESS(5, h, i, in, … 225 …SMM_VLA_ACCESS(5, z, i, in, ik, 0, 0, nBlocks, kBlocks, bn, bk), &LIBXSMM_VLA_ACCESS(5, h, i, in, … [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sfx2/source/bastyp/ |
H A D | bitset.cxx | 34 if ( nBlock >= nBlocks ) in operator -=() 52 if ( nBlock >= nBlocks ) in operator |=() 55 memset( pNewMap + nBlocks, 0, 4 * (nBlock - nBlocks + 1) ); in operator |=() 59 memcpy( pNewMap, pBitmap.get(), 4 * nBlocks ); in operator |=() 62 nBlocks = nBlock+1; in operator |=() 81 if ( nBlock >= nBlocks ) in Contains() 88 nBlocks = 0; in IndexBitSet()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sfx2/source/bastyp/ |
H A D | bitset.cxx | 34 if ( nBlock >= nBlocks ) in operator -=() 52 if ( nBlock >= nBlocks ) in operator |=() 55 memset( pNewMap + nBlocks, 0, 4 * (nBlock - nBlocks + 1) ); in operator |=() 59 memcpy( pNewMap, pBitmap.get(), 4 * nBlocks ); in operator |=() 62 nBlocks = nBlock+1; in operator |=() 81 if ( nBlock >= nBlocks ) in Contains() 88 nBlocks = 0; in IndexBitSet()
|
/dports/audio/mous/mous-2.0.1/deps/MAC_SDK/Source/MACLib/Old/ |
H A D | UnMAC.cpp | 157 intn nBlocks = 0; in DecompressFrameOld() local 159 if (nBlocks == 0) in DecompressFrameOld() 200 …m_pAPEDecompressCore->GenerateDecodedArrays(nBlocks, nSpecialCodes, FrameIndex, CPULoadBalancingFa… in DecompressFrameOld() 203 …areOld(m_pAPEDecompressCore->GetDataX(), m_pAPEDecompressCore->GetDataY(), nBlocks, &WaveFormatEx, in DecompressFrameOld() 208 …m_pAPEDecompressCore->GenerateDecodedArrays(nBlocks, nSpecialCodes, FrameIndex, CPULoadBalancingFa… in DecompressFrameOld() 211 m_pPrepare->UnprepareOld(m_pAPEDecompressCore->GetDataX(), NULL, nBlocks, &WaveFormatEx, in DecompressFrameOld() 223 …tDataX(), m_pAPEDecompressCore->GetDataY(), m_pAPEDecompress->GetInfo(APE_INFO_CHANNELS), nBlocks); in DecompressFrameOld() 234 return nBlocks; in DecompressFrameOld() 241 uint32 CUnMAC::CalculateOldChecksum(int *pDataX, int *pDataY, intn nChannels, intn nBlocks) in CalculateOldChecksum() argument 247 for (int z = 0; z < nBlocks; z++) in CalculateOldChecksum() [all …]
|
/dports/science/chrono/chrono-7.0.1/src/chrono_sensor/cuda/ |
H A D | nn_prep.cu | 97 int nBlocks = (w * h * 3 + nThreads - 1) / nThreads; in preprocess_RGBA8_to_FLOAT3() local 99 RGBA8_to_FLOAT3_kernel<<<nBlocks, nThreads>>>((uint8_t*)bufIn, (float*)bufOut, h, w); in preprocess_RGBA8_to_FLOAT3() 104 int nBlocks = (num_entries + nThreads - 1) / nThreads; in preprocess_RGBA8_to_FLOAT4() local 106 RGBA8_to_FLOAT4_kernel<<<nBlocks, nThreads>>>((uint8_t*)bufIn, (float*)bufOut, num_entries); in preprocess_RGBA8_to_FLOAT4() 111 int nBlocks = (num_entries + nThreads - 1) / nThreads; in postprocess_FLOAT4_to_RGBA8() local 113 FLOAT4_to_RGBA8_kernel<<<nBlocks, nThreads>>>((float*)bufIn, (uint8_t*)bufOut, num_entries); in postprocess_FLOAT4_to_RGBA8() 118 int nBlocks = (c * h * w + nThreads - 1) / nThreads; in preprocess_RGBA8_to_FLOAT4_CHW() local 120 RGBA8_to_FLOAT4_CHW_kernel<<<nBlocks, nThreads>>>((uint8_t*)bufIn, (float*)bufOut, c, h, w); in preprocess_RGBA8_to_FLOAT4_CHW() 125 int nBlocks = (c * h * w + nThreads - 1) / nThreads; in preprocess_normalize_float() local 127 normalize_float_kernel<<<nBlocks, nThreads>>>((float*)buf, add, mult, c, h, w); in preprocess_normalize_float() [all …]
|
/dports/science/ergo/ergo-3.8/source/matrix/ |
H A D | SizesAndBlocks.cc | 41 nBlocks(other.nBlocks), in SizesAndBlocks() 48 nBlocks = other.nBlocks; in operator =() 59 (nBlocks == other.nBlocks) && in operator ==() 98 nBlocks = nScalars/blockSizes[0]; /* Integer division. */ in setup() 100 ++nBlocks; in setup()
|
/dports/math/clblas/clBLAS-2.10/src/library/blas/gens/clTemplates/ |
H A D | gemm_helper.cl | 18 void getBlockNumber(uint nBlocks, uint blockID, uint *bidY, uint *bidX, uint flag) 24 *bidY = ( blockID % ( nBlocks)); 25 *bidX = ( blockID / ( nBlocks)); 29 *bidX = ( blockID % ( nBlocks)); 30 *bidY = ( blockID / ( nBlocks)); 36 for ( _j = (blockID / nBlocks); _j < nBlocks; _j++) 38 _i = blockID - ((_j*((2* nBlocks) + 1 - _j))/2) + _j; 39 if ( _i < nBlocks && ( _i >= 0) )
|
/dports/graphics/povray37/povray-3.7.0.10/source/backend/support/ |
H A D | fixedallocator.h | 81 unsigned char allocateBlocks (unsigned char nBlocks, unsigned char current) in allocateBlocks() argument 83 assert (nBlocks > 0) ; in allocateBlocks() 87 if (m_Headers [current].allocated == false && m_Headers [current].nItems >= nBlocks) in allocateBlocks() 89 if (current + nBlocks < MaxElements && m_Headers [current].nItems > nBlocks) in allocateBlocks() 91 m_Headers [current + nBlocks].nItems = m_Headers [current].nItems - nBlocks ; in allocateBlocks() 92 m_Headers [current + nBlocks].allocated = false ; in allocateBlocks() 94 m_Headers [current].nItems = nBlocks ; in allocateBlocks() 97 m_FirstFreeBlock = current + nBlocks ; in allocateBlocks()
|
/dports/math/mfem/mfem-4.3/linalg/ |
H A D | blockoperator.cpp | 152 nBlocks(offsets_.Size() - 1), in BlockDiagonalPreconditioner() 154 op(nBlocks) in BlockDiagonalPreconditioner() 185 for (int i=0; i<nBlocks; ++i) in Mult() 197 for (int i=0; i<nBlocks; ++i) in Mult() 216 for (int i=0; i<nBlocks; ++i) in MultTranspose() 228 for (int i=0; i<nBlocks; ++i) in MultTranspose() 238 for (int i=0; i<nBlocks; ++i) in ~BlockDiagonalPreconditioner() 249 nBlocks(offsets_.Size() - 1), in BlockLowerTriangularPreconditioner() 251 op(nBlocks, nBlocks) in BlockLowerTriangularPreconditioner() 289 for (int iRow=0; iRow < nBlocks; ++iRow) in Mult() [all …]
|
/dports/net/rclone/rclone-1.57.0/vendor/github.com/aws/aws-sdk-go/service/s3/s3crypto/ |
H A D | aes_cbc.go | 90 nBlocks := size / blockSize 92 nBlocks = len(data) / blockSize 95 if nBlocks > 0 { 96 b := make([]byte, nBlocks*blockSize) 157 nBlocks := size / blockSize 159 nBlocks = len(data) / blockSize 163 nBlocks -= blockSize 165 if nBlocks > 0 { 166 b := make([]byte, nBlocks*blockSize)
|
/dports/databases/tile38/tile38-1.12.0/vendor/github.com/aws/aws-sdk-go/service/s3/s3crypto/ |
H A D | aes_cbc.go | 90 nBlocks := size / blockSize 92 nBlocks = len(data) / blockSize 95 if nBlocks > 0 { 96 b := make([]byte, nBlocks*blockSize) 157 nBlocks := size / blockSize 159 nBlocks = len(data) / blockSize 163 nBlocks -= blockSize 165 if nBlocks > 0 { 166 b := make([]byte, nBlocks*blockSize)
|
/dports/security/vuls/vuls-0.13.7/vendor/github.com/aws/aws-sdk-go/service/s3/s3crypto/ |
H A D | aes_cbc.go | 90 nBlocks := size / blockSize 92 nBlocks = len(data) / blockSize 95 if nBlocks > 0 { 96 b := make([]byte, nBlocks*blockSize) 157 nBlocks := size / blockSize 159 nBlocks = len(data) / blockSize 163 nBlocks -= blockSize 165 if nBlocks > 0 { 166 b := make([]byte, nBlocks*blockSize)
|
/dports/devel/app-builder/app-builder-3.4.2/vendor/github.com/aws/aws-sdk-go/service/s3/s3crypto/ |
H A D | aes_cbc.go | 90 nBlocks := size / blockSize 92 nBlocks = len(data) / blockSize 95 if nBlocks > 0 { 96 b := make([]byte, nBlocks*blockSize) 157 nBlocks := size / blockSize 159 nBlocks = len(data) / blockSize 163 nBlocks -= blockSize 165 if nBlocks > 0 { 166 b := make([]byte, nBlocks*blockSize)
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/github.com/aws/aws-sdk-go/service/s3/s3crypto/ |
H A D | aes_cbc.go | 90 nBlocks := size / blockSize 92 nBlocks = len(data) / blockSize 95 if nBlocks > 0 { 96 b := make([]byte, nBlocks*blockSize) 157 nBlocks := size / blockSize 159 nBlocks = len(data) / blockSize 163 nBlocks -= blockSize 165 if nBlocks > 0 { 166 b := make([]byte, nBlocks*blockSize)
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/aws/aws-sdk-go/service/s3/s3crypto/ |
H A D | aes_cbc.go | 90 nBlocks := size / blockSize 92 nBlocks = len(data) / blockSize 95 if nBlocks > 0 { 96 b := make([]byte, nBlocks*blockSize) 157 nBlocks := size / blockSize 159 nBlocks = len(data) / blockSize 163 nBlocks -= blockSize 165 if nBlocks > 0 { 166 b := make([]byte, nBlocks*blockSize)
|
/dports/security/lego/lego-4.5.3/vendor/github.com/aws/aws-sdk-go/service/s3/s3crypto/ |
H A D | aes_cbc.go | 90 nBlocks := size / blockSize 92 nBlocks = len(data) / blockSize 95 if nBlocks > 0 { 96 b := make([]byte, nBlocks*blockSize) 157 nBlocks := size / blockSize 159 nBlocks = len(data) / blockSize 163 nBlocks -= blockSize 165 if nBlocks > 0 { 166 b := make([]byte, nBlocks*blockSize)
|