Home
last modified time | relevance | path

Searched refs:nBlock (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/dports/cad/calculix/CalculiX/cgx_2.18/src/
H A Dwrite2isaac.c56 if(nBlock[b].dim==2) fprintf (handle1, "%d %d\n", nBlock[b].j, nBlock[b].i); in write2isaac()
57 else fprintf (handle1, "%d %d %d\n", nBlock[b].i, nBlock[b].j, nBlock[b].k); in write2isaac()
63 if(nBlock[b].dim==2) in write2isaac()
239 if(nBlock[0].dim==2) in write2isaac()
266 if((nBlock[b].neighbor[i]>= nBlock[b].geo)&&(nBlock[b].strt2[i][jc]!=0)) in write2isaac()
268 …for(j=0; j<3; j++) if( nBlock[b].map[i][j]>3) m[j]=nBlock[b].map[i][j]-3; else m[j]=nBlock[b].map[… in write2isaac()
270nBlock[b].geo+1, nBlock[b].neighbor[i]+1, nBlock[b].geo+1, nBlock[b].strt1[i][ic], nBlock[b].strt1… in write2isaac()
271nBlock[b].geo+1, nBlock[b].neighbor[i]+1, nBlock[b].neighbor[i]+1, nBlock[b].strt2[i][ic], nBlock[… in write2isaac()
286 if(nBlock[b].dim==2) fprintf (handle2, " %d %d 2\n", nBlock[b].j, nBlock[b].i); in write2isaac()
287 … else fprintf (handle2, " %d %d %d\n", nBlock[b].i, nBlock[b].j, nBlock[b].k); in write2isaac()
[all …]
H A Dwrite2duns.c41 if(nBlock[b].dim==2) fprintf (handle1, "%d %d\n", nBlock[b].i, nBlock[b].j); in write2duns()
42 else fprintf (handle1, "%d %d %d\n", nBlock[b].i, nBlock[b].j, nBlock[b].k); in write2duns()
44 for (k=0; k<nBlock[b].k; k++) in write2duns()
46 for (j=0; j<nBlock[b].j; j++) in write2duns()
48 for (i=0; i<nBlock[b].i; i++) in write2duns()
50 …if(nBlock[b].dim==2) fprintf (handle1, "%le %le\n", node[nBlock[b].nod[n]].nx, node[nBlock[b].nod[… in write2duns()
51 … fprintf (handle1, "%le %le %le\n", node[nBlock[b].nod[n]].nx, node[nBlock[b].nod[n]].ny, nod… in write2duns()
63 fprintf (handle2,"B %3d",nBlock[b].geo+1-nBlock[0].geo ); in write2duns()
64 if(nBlock[b].dim==2) edges=4; in write2duns()
65 if(nBlock[b].dim==3) edges=6; in write2duns()
[all …]
H A DmeshSet.c7481nBlock[apre->b].map[v][0]=-1; nBlock[apre->b].map[v][1]=-1; nBlock[apre->b].map[v][2]=-1; in thread_genNodeFromBody()
7490nBlock[apre->b].strt1[v][0]=1; nBlock[apre->b].strt1[v][1]=1; nBlock[apre->b].strt1[v][2]=1; in thread_genNodeFromBody()
7491nBlock[apre->b].end_1[v][0]=1; nBlock[apre->b].end_1[v][1]=jmax; nBlock[apre->b].end_1[v][2]=km… in thread_genNodeFromBody()
7495nBlock[apre->b].strt1[v][0]=imax; nBlock[apre->b].strt1[v][1]=jmax; nBlock[apre->b].strt1[v][2]=km… in thread_genNodeFromBody()
7496nBlock[apre->b].end_1[v][0]=imax; nBlock[apre->b].end_1[v][1]=1; nBlock[apre->b].end_1[v][2]=1;… in thread_genNodeFromBody()
7500nBlock[apre->b].strt1[v][0]=1; nBlock[apre->b].strt1[v][1]=1; nBlock[apre->b].strt1[v][2]=1; in thread_genNodeFromBody()
7501nBlock[apre->b].end_1[v][0]=imax; nBlock[apre->b].end_1[v][1]=jmax; nBlock[apre->b].end_1[v][2]=1; in thread_genNodeFromBody()
7505nBlock[apre->b].strt1[v][0]=1; nBlock[apre->b].strt1[v][1]=1; nBlock[apre->b].strt1[v][2]=1; in thread_genNodeFromBody()
7506nBlock[apre->b].end_1[v][0]=imax; nBlock[apre->b].end_1[v][1]=1; nBlock[apre->b].end_1[v][2]=km… in thread_genNodeFromBody()
8986 for (n=0; n<(nBlock[i].i*nBlock[i].j*nBlock[i].k); n++ ) in meshSet()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sfx2/source/bastyp/
H A Dbitset.cxx31 sal_uInt16 nBlock = nBit / 32; in operator -=() local
34 if ( nBlock >= nBlocks ) in operator -=()
37 if ( pBitmap[nBlock] & nBitVal ) in operator -=()
39 pBitmap[nBlock] &= ~nBitVal; in operator -=()
49 sal_uInt16 nBlock = nBit / 32; in operator |=() local
52 if ( nBlock >= nBlocks ) in operator |=()
62 nBlocks = nBlock+1; in operator |=()
65 if ( (pBitmap[nBlock] & nBitVal) == 0 ) in operator |=()
67 pBitmap[nBlock] |= nBitVal; in operator |=()
78 sal_uInt16 nBlock = nBit / 32; in Contains() local
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sfx2/source/bastyp/
H A Dbitset.cxx31 sal_uInt16 nBlock = nBit / 32; in operator -=() local
34 if ( nBlock >= nBlocks ) in operator -=()
37 if ( pBitmap[nBlock] & nBitVal ) in operator -=()
39 pBitmap[nBlock] &= ~nBitVal; in operator -=()
49 sal_uInt16 nBlock = nBit / 32; in operator |=() local
52 if ( nBlock >= nBlocks ) in operator |=()
62 nBlocks = nBlock+1; in operator |=()
65 if ( (pBitmap[nBlock] & nBitVal) == 0 ) in operator |=()
67 pBitmap[nBlock] |= nBitVal; in operator |=()
78 sal_uInt16 nBlock = nBit / 32; in Contains() local
[all …]
/dports/math/sdpa/sdpa-7.3.8/
H A Dsdpa_block.cpp28 nBlock = 0; in BlockStruct()
44 void BlockStruct::initialize(int nBlock) in initialize() argument
46 this->nBlock = nBlock; in initialize()
47 NewArray(blockStruct,int,nBlock); in initialize()
48 NewArray(blockType, BlockType, nBlock); in initialize()
49 NewArray(blockNumber,int,nBlock); in initialize()
71 for (int l=0; l<nBlock; l++){ in makeInternalStructure()
102 for (int l=0; l<nBlock; l++){ in makeInternalStructure()
118 for (int l=0; l<nBlock; ++l) { in display()
123 for (int l=0; l<nBlock; ++l) { in display()
[all …]
H A Dsdpa_call.cpp63 nBlock = 0; in SDPA()
272 this->nBlock = nBlock; in inputBlockNumber()
273 bs.initialize(nBlock); in inputBlockNumber()
376 if (l > nBlock || l <= 0) { in inputInitXMat()
417 if (l > nBlock || l <= 0) { in inputInitYMat()
840 return nBlock; in getBlockNumber()
845 if (l<=0 || l>nBlock) { in getBlockSize()
855 if (l<=0 || l>nBlock) { in getBlockType()
949 IO::read(fpinput,nBlock); in readInput()
950 bs.initialize(nBlock); in readInput()
[all …]
/dports/devel/R-cran-caTools/caTools/R/
H A Dbase64.R23 nBlock = ceiling(ndByte / 3) # number of blocks/groups functionVar
24 neByte = 4 * nBlock # number of encoded bytes
27 if (ndByte < 3*nBlock) x[(ndByte+1) : (3*nBlock)] = 0;
28 dim(x) = c(3, nBlock) # reshape the data
29 y = matrix(as.integer(0), 4, nBlock) # for the encoded data
61 npbytes = 3 * nBlock - ndByte # number of padding bytes needed
93 nBlock = ceiling(neByte/4); # number of blocks/groups functionVar
94 ndByte = 3 * nBlock # number of decoded bytes
97 if (neByte < 4*nBlock) y[(neByte+1) : (4*nBlock)] = 0;
98 dim(y) = c(4, nBlock); # shape into a matrix
[all …]
/dports/databases/sqlite3/sqlite-src-3350500/src/
H A Dmem3.c257 assert( mem3.aPool[i+nBlock-1].u.hdr.prevSize==nBlock ); in memsys3Checkout()
260 mem3.aPool[i+nBlock-1].u.hdr.prevSize = nBlock; in memsys3Checkout()
288 mem3.szKeyBlk -= nBlock; in memsys3FromKeyBlk()
356 u32 nBlock; in memsys3MallocUnsafe() local
362 nBlock = 2; in memsys3MallocUnsafe()
364 nBlock = (nByte + 11)/8; in memsys3MallocUnsafe()
366 assert( nBlock>=2 ); in memsys3MallocUnsafe()
373 if( nBlock <= MX_SMALL ){ in memsys3MallocUnsafe()
374 i = mem3.aiSmall[nBlock-2]; in memsys3MallocUnsafe()
380 int hash = nBlock % N_HASH; in memsys3MallocUnsafe()
[all …]
H A Dmem5.c151 assert( i>=0 && i<mem5.nBlock ); in memsys5Unlink()
174 assert( i>=0 && i<mem5.nBlock ); in memsys5Link()
181 assert( x<mem5.nBlock ); in memsys5Link()
205 assert( i>=0 && i<mem5.nBlock ); in memsys5Size()
300 assert( iBlock>=0 && iBlock<mem5.nBlock ); in memsys5FreeUnsafe()
306 assert( iBlock+size-1<(u32)mem5.nBlock ); in memsys5FreeUnsafe()
328 if( iBuddy>=mem5.nBlock ) break; in memsys5FreeUnsafe()
478 mem5.nBlock = (nByte / (mem5.szAtom+sizeof(u8))); in memsys5Init()
480 mem5.aCtrl = (u8 *)&mem5.zPool[mem5.nBlock*mem5.szAtom]; in memsys5Init()
489 if( (iOffset+nAlloc)<=mem5.nBlock ){ in memsys5Init()
[all …]
/dports/databases/sqlcipher/sqlcipher-3.4.2/src/
H A Dmem3.c257 assert( mem3.aPool[i+nBlock-1].u.hdr.prevSize==nBlock ); in memsys3Checkout()
260 mem3.aPool[i+nBlock-1].u.hdr.prevSize = nBlock; in memsys3Checkout()
288 mem3.szMaster -= nBlock; in memsys3FromMaster()
356 u32 nBlock; in memsys3MallocUnsafe() local
362 nBlock = 2; in memsys3MallocUnsafe()
364 nBlock = (nByte + 11)/8; in memsys3MallocUnsafe()
366 assert( nBlock>=2 ); in memsys3MallocUnsafe()
373 if( nBlock <= MX_SMALL ){ in memsys3MallocUnsafe()
374 i = mem3.aiSmall[nBlock-2]; in memsys3MallocUnsafe()
380 int hash = nBlock % N_HASH; in memsys3MallocUnsafe()
[all …]
H A Dmem5.c151 assert( i>=0 && i<mem5.nBlock ); in memsys5Unlink()
174 assert( i>=0 && i<mem5.nBlock ); in memsys5Link()
181 assert( x<mem5.nBlock ); in memsys5Link()
205 assert( i>=0 && i<mem5.nBlock ); in memsys5Size()
300 assert( iBlock>=0 && iBlock<mem5.nBlock ); in memsys5FreeUnsafe()
306 assert( iBlock+size-1<(u32)mem5.nBlock ); in memsys5FreeUnsafe()
328 if( iBuddy>=mem5.nBlock ) break; in memsys5FreeUnsafe()
478 mem5.nBlock = (nByte / (mem5.szAtom+sizeof(u8))); in memsys5Init()
480 mem5.aCtrl = (u8 *)&mem5.zPool[mem5.nBlock*mem5.szAtom]; in memsys5Init()
489 if( (iOffset+nAlloc)<=mem5.nBlock ){ in memsys5Init()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/src/
H A Dmem3.c257 assert( mem3.aPool[i+nBlock-1].u.hdr.prevSize==nBlock ); in memsys3Checkout()
260 mem3.aPool[i+nBlock-1].u.hdr.prevSize = nBlock; in memsys3Checkout()
288 mem3.szMaster -= nBlock; in memsys3FromMaster()
356 u32 nBlock; in memsys3MallocUnsafe() local
362 nBlock = 2; in memsys3MallocUnsafe()
364 nBlock = (nByte + 11)/8; in memsys3MallocUnsafe()
366 assert( nBlock>=2 ); in memsys3MallocUnsafe()
373 if( nBlock <= MX_SMALL ){ in memsys3MallocUnsafe()
374 i = mem3.aiSmall[nBlock-2]; in memsys3MallocUnsafe()
380 int hash = nBlock % N_HASH; in memsys3MallocUnsafe()
[all …]
H A Dmem5.c151 assert( i>=0 && i<mem5.nBlock ); in memsys5Unlink()
174 assert( i>=0 && i<mem5.nBlock ); in memsys5Link()
181 assert( x<mem5.nBlock ); in memsys5Link()
205 assert( i>=0 && i<mem5.nBlock ); in memsys5Size()
300 assert( iBlock>=0 && iBlock<mem5.nBlock ); in memsys5FreeUnsafe()
306 assert( iBlock+size-1<(u32)mem5.nBlock ); in memsys5FreeUnsafe()
328 if( iBuddy>=mem5.nBlock ) break; in memsys5FreeUnsafe()
478 mem5.nBlock = (nByte / (mem5.szAtom+sizeof(u8))); in memsys5Init()
480 mem5.aCtrl = (u8 *)&mem5.zPool[mem5.nBlock*mem5.szAtom]; in memsys5Init()
489 if( (iOffset+nAlloc)<=mem5.nBlock ){ in memsys5Init()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/src/
H A Dmem3.c257 assert( mem3.aPool[i+nBlock-1].u.hdr.prevSize==nBlock ); in memsys3Checkout()
260 mem3.aPool[i+nBlock-1].u.hdr.prevSize = nBlock; in memsys3Checkout()
288 mem3.szKeyBlk -= nBlock; in memsys3FromKeyBlk()
356 u32 nBlock; in memsys3MallocUnsafe() local
362 nBlock = 2; in memsys3MallocUnsafe()
364 nBlock = (nByte + 11)/8; in memsys3MallocUnsafe()
366 assert( nBlock>=2 ); in memsys3MallocUnsafe()
373 if( nBlock <= MX_SMALL ){ in memsys3MallocUnsafe()
374 i = mem3.aiSmall[nBlock-2]; in memsys3MallocUnsafe()
380 int hash = nBlock % N_HASH; in memsys3MallocUnsafe()
[all …]
H A Dmem5.c151 assert( i>=0 && i<mem5.nBlock ); in memsys5Unlink()
174 assert( i>=0 && i<mem5.nBlock ); in memsys5Link()
181 assert( x<mem5.nBlock ); in memsys5Link()
205 assert( i>=0 && i<mem5.nBlock ); in memsys5Size()
300 assert( iBlock>=0 && iBlock<mem5.nBlock ); in memsys5FreeUnsafe()
306 assert( iBlock+size-1<(u32)mem5.nBlock ); in memsys5FreeUnsafe()
328 if( iBuddy>=mem5.nBlock ) break; in memsys5FreeUnsafe()
478 mem5.nBlock = (nByte / (mem5.szAtom+sizeof(u8))); in memsys5Init()
480 mem5.aCtrl = (u8 *)&mem5.zPool[mem5.nBlock*mem5.szAtom]; in memsys5Init()
489 if( (iOffset+nAlloc)<=mem5.nBlock ){ in memsys5Init()
[all …]
/dports/databases/db5/db-5.3.28/lang/sql/sqlite/src/
H A Dmem3.c257 assert( mem3.aPool[i+nBlock-1].u.hdr.prevSize==nBlock ); in memsys3Checkout()
260 mem3.aPool[i+nBlock-1].u.hdr.prevSize = nBlock; in memsys3Checkout()
288 mem3.szMaster -= nBlock; in memsys3FromMaster()
356 u32 nBlock; in memsys3MallocUnsafe() local
362 nBlock = 2; in memsys3MallocUnsafe()
364 nBlock = (nByte + 11)/8; in memsys3MallocUnsafe()
366 assert( nBlock>=2 ); in memsys3MallocUnsafe()
373 if( nBlock <= MX_SMALL ){ in memsys3MallocUnsafe()
374 i = mem3.aiSmall[nBlock-2]; in memsys3MallocUnsafe()
380 int hash = nBlock % N_HASH; in memsys3MallocUnsafe()
[all …]
/dports/math/sdpa/sdpa-7.3.8/mex/
H A DmexReadSDPAToSedumi.cpp156 int nBlock, BlockType* blockType, in changeIndex() argument
204 int nBlock = 0; in mexFunction() local
222 fscanf(fpData,"%d",&nBlock); in mexFunction()
227 for (int l=0; l<nBlock; ++l) { in mexFunction()
230 for (int l=0; l<nBlock; ++l) { in mexFunction()
238 for (int l=0; l<nBlock; ++l) { in mexFunction()
250 for (int l=0; l<nBlock; ++l) { in mexFunction()
258 for (int l=0; l<nBlock; ++l) { in mexFunction()
367 for (int l=0; l<nBlock; ++l) { in mexFunction()
375 for (int l=0; l<nBlock; ++l) { in mexFunction()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/svl/source/misc/
H A Dstrmadpt.cxx493 m_pReadPage->m_pRead += nBlock; in read()
494 m_pReadBuffer += nBlock; in read()
495 m_nReadBufferSize -= nBlock; in read()
497 nRemain -= nBlock; in read()
552 if (nBlock > 0) in write()
555 nBlock); in write()
557 nRemain -= nBlock; in write()
559 nPosition += nBlock; in write()
573 sal_uInt32 nBlock in write() local
579 pBuffer += nBlock; in write()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svl/source/misc/
H A Dstrmadpt.cxx493 m_pReadPage->m_pRead += nBlock; in read()
494 m_pReadBuffer += nBlock; in read()
495 m_nReadBufferSize -= nBlock; in read()
497 nRemain -= nBlock; in read()
552 if (nBlock > 0) in write()
555 nBlock); in write()
557 nRemain -= nBlock; in write()
559 nPosition += nBlock; in write()
573 sal_uInt32 nBlock in write() local
579 pBuffer += nBlock; in write()
[all …]
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/solver/matrix/
H A Dhecmw_allocate.f909 subroutine hecmw_allocate_matrix(hecMAT, mat, nBlock) argument
15 integer:: nBlock local
18 allocate( mat%AL( nBlock*hecMAT%NPL ), stat=ierr )
23 allocate( mat%AU( nBlock*hecMAT%NPU ), stat=ierr )
28 allocate( mat%D ( nBlock*hecMAT%NP ), stat=ierr )
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/char/
H A Dnwflash.c45 static int erase_block(int nBlock);
149 int nBlock, temp, rc; in flash_write() local
182 nBlock = (int) p >> 16; //block # of 64K bytes in flash_write()
187 temp = ((int) (p + count) >> 16) - nBlock + 1; in flash_write()
197 "starting at %d.\n", temp, nBlock); in flash_write()
199 for (; temp; temp--, nBlock++) { in flash_write()
201 printk(KERN_DEBUG "flash_write: erasing block %d.\n", nBlock); in flash_write()
210 rc = erase_block(nBlock); in flash_write()
292 static int erase_block(int nBlock) in erase_block() argument
319 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16))); in erase_block()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/char/
H A Dnwflash.c45 static int erase_block(int nBlock);
149 int nBlock, temp, rc; in flash_write() local
182 nBlock = (int) p >> 16; //block # of 64K bytes in flash_write()
187 temp = ((int) (p + count) >> 16) - nBlock + 1; in flash_write()
197 "starting at %d.\n", temp, nBlock); in flash_write()
199 for (; temp; temp--, nBlock++) { in flash_write()
201 printk(KERN_DEBUG "flash_write: erasing block %d.\n", nBlock); in flash_write()
210 rc = erase_block(nBlock); in flash_write()
292 static int erase_block(int nBlock) in erase_block() argument
319 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16))); in erase_block()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/char/
H A Dnwflash.c45 static int erase_block(int nBlock);
149 int nBlock, temp, rc; in flash_write() local
182 nBlock = (int) p >> 16; //block # of 64K bytes in flash_write()
187 temp = ((int) (p + count) >> 16) - nBlock + 1; in flash_write()
197 "starting at %d.\n", temp, nBlock); in flash_write()
199 for (; temp; temp--, nBlock++) { in flash_write()
201 printk(KERN_DEBUG "flash_write: erasing block %d.\n", nBlock); in flash_write()
210 rc = erase_block(nBlock); in flash_write()
292 static int erase_block(int nBlock) in erase_block() argument
319 pWritePtr = (unsigned char *) ((unsigned int) (FLASH_BASE + 0x8000 + (nBlock << 16))); in erase_block()
[all …]
/dports/archivers/unadf/ADFlib-f3af9e0/src/
H A Dadf_bitm.c104 mapSize = nBlock / (127*32); in adfReadBitmap()
105 if ( (nBlock%(127*32))!=0 ) in adfReadBitmap()
301 int32_t nBlock, mapSize ; in adfCreateBitmap() local
304 nBlock = vol->lastBlock - vol->firstBlock +1 - 2; in adfCreateBitmap()
306 mapSize = nBlock / (127*32); in adfCreateBitmap()
307 if ( (nBlock%(127*32))!=0 ) in adfCreateBitmap()
363 int nBlock; in adfWriteNewBitmap() local
382 nBlock = 0; in adfWriteNewBitmap()
387 nBlock = n; in adfWriteNewBitmap()
410 while( nBlock<vol->bitmapSize ) { in adfWriteNewBitmap()
[all …]

12345678910>>...17