/dports/java/javamail/javamail-JAVAMAIL-1_6_2/mail/src/main/java/com/sun/mail/imap/ |
H A D | MessageCache.java | 231 int newnum = 1; in removeExpungedMessages() local 239 if (newnum != oldnum) { in removeExpungedMessages() 243 messages[newnum-1].setMessageNumber(newnum); in removeExpungedMessages() 245 newnum++; in removeExpungedMessages() 250 shrink(newnum, oldnum); in removeExpungedMessages() 298 int newnum = 1; in removeExpungedMessages() local 321 if (newnum != oldnum) { in removeExpungedMessages() 325 messages[newnum-1].setMessageNumber(newnum); in removeExpungedMessages() 329 if (seqnums != null && seqnums[newnum-1] != newnum) in removeExpungedMessages() 331 newnum++; in removeExpungedMessages() [all …]
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/fields/ |
H A D | SoMField.cpp | 348 SoMField::makeRoom(int newnum) in makeRoom() argument 350 assert(newnum >= 0); in makeRoom() 351 if (newnum != this->num) this->allocValues(newnum); in makeRoom() 784 SoMField::allocValues(int newnum) in allocValues() argument 791 assert(newnum >= 0); in allocValues() 793 if (newnum == 0) { in allocValues() 801 else if (newnum > this->maxNum || newnum < this->num) { in allocValues() 813 while (newnum > this->maxNum) this->maxNum *= 2; in allocValues() 848 (void)memset(data, 0, newnum * fsize); in allocValues() 851 this->maxNum = newnum; in allocValues() [all …]
|
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/client/ |
H A D | cl_parse.c | 73 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 90 int newnum; in CL_ParsePacketEntities() local 114 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 116 if ( newnum == (MAX_GENTITIES-1) ) { in CL_ParsePacketEntities() 124 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 141 if (oldnum == newnum) { in CL_ParsePacketEntities() 160 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 165 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 391 int newnum; in CL_ParseGamestate() local 435 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/tcpedit/ |
H A D | rewrite_sequence.c | 48 volatile uint32_t newnum; in rewrite_seqs() local 50 newnum = ntohl(tcp_hdr->th_seq) + tcpedit->tcp_sequence_adjust; in rewrite_seqs() 51 csum_replace4(&tcp_hdr->th_sum, tcp_hdr->th_seq, htonl(newnum)); in rewrite_seqs() 52 tcp_hdr->th_seq = htonl(newnum); in rewrite_seqs() 56 newnum = ntohl(tcp_hdr->th_ack) + tcpedit->tcp_sequence_adjust; in rewrite_seqs() 57 csum_replace4(&tcp_hdr->th_sum, tcp_hdr->th_ack, htonl(newnum)); in rewrite_seqs() 58 tcp_hdr->th_ack = htonl(newnum); in rewrite_seqs()
|
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/client/ |
H A D | cl_parse.c | 72 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 89 int newnum; in CL_ParsePacketEntities() local 113 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 115 if ( newnum == (MAX_GENTITIES-1) ) { in CL_ParsePacketEntities() 123 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 140 if (oldnum == newnum) { in CL_ParsePacketEntities() 159 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 164 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 444 int newnum; in CL_ParseGamestate() local 488 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codemp/client/ |
H A D | cl_parse.cpp | 89 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 106 int newnum; in CL_ParsePacketEntities() local 130 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 132 if ( newnum == (MAX_GENTITIES-1) ) { in CL_ParsePacketEntities() 140 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 157 if (oldnum == newnum) { in CL_ParsePacketEntities() 176 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 181 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 504 int newnum; in CL_ParseGamestate() local 586 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/databases/grass7/grass-7.8.6/lib/ogsf/ |
H A D | gsd_legend.c | 162 newnum = 1.; in gsd_make_nice_number() 165 newnum /= 2.; in gsd_make_nice_number() 167 newnum /= 2.; in gsd_make_nice_number() 169 newnum = nextnum; in gsd_make_nice_number() 173 newnum = 1.; in gsd_make_nice_number() 176 newnum *= 2.5; in gsd_make_nice_number() 178 newnum *= 2.; in gsd_make_nice_number() 180 newnum = nextnum; in gsd_make_nice_number() 182 if (newnum == 2.5) in gsd_make_nice_number() 183 newnum = 3; in gsd_make_nice_number() [all …]
|
/dports/math/freefem++/FreeFem-sources-4.6/3rdparty/yams/ |
H A D | freeyams.2012.02.05.patch | 63 + if ( !gs->newnum ) gs->newnum = ++nn; 64 + if ( !gt->newnum ) gt->newnum = ++nt; 73 + if ( gs->newnum > 0 ) { 79 + gs->newnum = ++nn; 106 + if ( gt->newnum > 0 ) { 112 + gt->newnum = ++nt; 131 + if ( !gs->newnum ) gs->newnum = ++nn; 132 + if ( !gt->newnum ) gt->newnum = ++nq; 147 + gs->newnum = ++nn; 180 + gt->newnum = ++nq; [all …]
|
/dports/databases/tokyotyrant/tokyotyrant-1.1.41/lab/ |
H A D | highlow.lua | 57 local newnum = math.random(NUMRANGE) 60 if newnum > num then 65 elseif newnum < num then 79 _put(key .. ":n", newnum) 84 return "The currnet number is " .. newnum .. ".\n" .. 85 newnum .. ":" .. num .. " (" .. cmp .. ") ... You " .. res .. "!\n" ..
|
/dports/audio/julius/julius-4.1.2/libsent/src/util/ |
H A D | ptree.c | 123 int newnum; in make_ptree() local 142 newnum = 0; in make_ptree() 145 newnum++; in make_ptree() 148 if (newnum == 0 || newnum == wordsnum) { in make_ptree() 154 for (i=0; i<newnum; i++) { in make_ptree() 156 for (; j>=newnum; j--) { in make_ptree() 168 ntmp->right1 = make_ptree(words, data, newnum, bitplace+1); in make_ptree() 169 ntmp->left0 = make_ptree(&(words[newnum]), &(data[newnum]), wordsnum-newnum, bitplace+1); in make_ptree()
|
/dports/games/ioquake3-server/ioquake3-1.36/code/client/ |
H A D | cl_parse.c | 75 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 92 int newnum; in CL_ParsePacketEntities() local 116 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 118 if ( newnum == (MAX_GENTITIES-1) ) { in CL_ParsePacketEntities() 126 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 143 if (oldnum == newnum) { in CL_ParsePacketEntities() 162 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 167 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 458 int newnum; in CL_ParseGamestate() local 502 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/games/iortcw/iortcw-1.51c/SP/code/client/ |
H A D | cl_parse.c | 82 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 99 int newnum; in CL_ParsePacketEntities() local 123 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 125 if ( newnum == ( MAX_GENTITIES - 1 ) ) { in CL_ParsePacketEntities() 133 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 150 if ( oldnum == newnum ) { in CL_ParsePacketEntities() 169 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 174 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 467 int newnum; in CL_ParseGamestate() local 512 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/games/ioquake3/ioquake3-1.36/code/client/ |
H A D | cl_parse.c | 75 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 92 int newnum; in CL_ParsePacketEntities() local 116 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 118 if ( newnum == (MAX_GENTITIES-1) ) { in CL_ParsePacketEntities() 126 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 143 if (oldnum == newnum) { in CL_ParsePacketEntities() 162 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 167 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 458 int newnum; in CL_ParseGamestate() local 502 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/games/evq3/evq3/code/client/ |
H A D | cl_parse.c | 75 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 92 int newnum; in CL_ParsePacketEntities() local 116 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 118 if ( newnum == (MAX_GENTITIES-1) ) { in CL_ParsePacketEntities() 126 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 143 if (oldnum == newnum) { in CL_ParsePacketEntities() 162 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 167 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 458 int newnum; in CL_ParseGamestate() local 502 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/client/ |
H A D | cl_parse.c | 75 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 92 int newnum; in CL_ParsePacketEntities() local 116 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 118 if ( newnum == (MAX_GENTITIES-1) ) { in CL_ParsePacketEntities() 126 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 143 if (oldnum == newnum) { in CL_ParsePacketEntities() 162 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 167 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 465 int newnum; in CL_ParseGamestate() local 509 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/games/openarena/openarena-engine-source-0.8.8/code/client/ |
H A D | cl_parse.c | 75 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 92 int newnum; in CL_ParsePacketEntities() local 116 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 118 if ( newnum == (MAX_GENTITIES-1) ) { in CL_ParsePacketEntities() 126 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 143 if (oldnum == newnum) { in CL_ParsePacketEntities() 162 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 167 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 465 int newnum; in CL_ParseGamestate() local 509 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/lang/clisp/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/src/ |
H A D | intelem.d | 568 return newnum; in UL_to_I() 583 return newnum; in UL_to_I() 597 return newnum; in UL_to_I() 653 #define OK return newnum; in L2_to_I() 750 #define OK return newnum; in UL2_to_I() 871 return newnum; in UQ_to_I() 886 return newnum; in UQ_to_I() 902 return newnum; in UQ_to_I() 919 return newnum; in UQ_to_I() 935 return newnum; in UQ_to_I() [all …]
|
/dports/audio/kwave/kwave-21.12.3/libkwave/ |
H A D | Filter.cpp | 79 unsigned int Kwave::Filter::resize(unsigned int newnum) in resize() argument 82 if (newnum == oldnum) return oldnum; // nothing to do in resize() 85 m_delay.resize(newnum); in resize() 86 m_coeff.resize(newnum); in resize() 87 Q_ASSERT(m_delay.size() >= Kwave::toInt(newnum)); in resize() 88 Q_ASSERT(m_coeff.size() >= Kwave::toInt(newnum)); in resize() 92 while (oldnum < newnum) { in resize() 98 return newnum; in resize()
|
/dports/audio/julius/julius-4.1.2/libsent/src/phmm/ |
H A D | outprob.c | 119 int newnum; in outprob_cache_extend() local 128 newnum = reqframe + 1; in outprob_cache_extend() 129 …if (newnum < wrk->outprob_allocframenum + OUTPROB_CACHE_PERIOD) newnum = wrk->outprob_allocframenu… in outprob_cache_extend() 130 size = (newnum - wrk->outprob_allocframenum) * wrk->statenum; in outprob_cache_extend() 134 wrk->outprob_cache = (LOGPROB **)mymalloc(sizeof(LOGPROB *) * newnum); in outprob_cache_extend() 136 wrk->outprob_cache = (LOGPROB **)myrealloc(wrk->outprob_cache, sizeof(LOGPROB *) * newnum); in outprob_cache_extend() 140 for(t = wrk->outprob_allocframenum; t < newnum; t++) { in outprob_cache_extend() 148 wrk->outprob_allocframenum = newnum; in outprob_cache_extend()
|
/dports/games/q2pro/q2pro/source/ |
H A D | cl_parse.c | 285 int newnum; in CL_ParsePacketEntities() local 312 if( newnum < 0 || newnum >= MAX_EDICTS ) { in CL_ParsePacketEntities() 314 newnum ); in CL_ParsePacketEntities() 321 if( !newnum ) { in CL_ParsePacketEntities() 349 if( oldnum != newnum ) { in CL_ParsePacketEntities() 372 if( oldnum == newnum ) { in CL_ParsePacketEntities() 395 if( oldnum > newnum ) { in CL_ParsePacketEntities() 400 CL_ParseDeltaEntity( frame, newnum, &cl.baselines[newnum], bits ); in CL_ParsePacketEntities() 850 int newnum; in CL_ParseBaseline() local 853 if( newnum < 1 || newnum >= MAX_EDICTS ) { in CL_ParseBaseline() [all …]
|
/dports/games/iortcw/iortcw-1.51c/MP/code/client/ |
H A D | cl_parse.c | 188 MSG_ReadDeltaEntity( msg, old, state, newnum ); in CL_DeltaEntity() 222 int newnum; in CL_ParsePacketEntities() local 246 newnum = MSG_ReadBits( msg, GENTITYNUM_BITS ); in CL_ParsePacketEntities() 248 if ( newnum == ( MAX_GENTITIES - 1 ) ) { in CL_ParsePacketEntities() 256 while ( oldnum < newnum ) { in CL_ParsePacketEntities() 273 if ( oldnum == newnum ) { in CL_ParsePacketEntities() 292 if ( oldnum > newnum ) { in CL_ParsePacketEntities() 297 CL_DeltaEntity( msg, newframe, newnum, &cl.entityBaselines[newnum], qfalse ); in CL_ParsePacketEntities() 596 int newnum; in CL_ParseGamestate() local 641 if ( newnum < 0 || newnum >= MAX_GENTITIES ) { in CL_ParseGamestate() [all …]
|
/dports/science/jstrack/jstrack/extlib/tcllib1.19/math/ |
H A D | rational_funcs.tcl | 188 set newnum [addPolyn [multPolyn $num1 $den2] \ 193 return [list RATIONAL_FUNCTION $newnum $newden] 224 set newnum [subPolyn [multPolyn $num1 $den2] \ 229 return [list RATIONAL_FUNCTION $newnum $newden] 260 set newnum [multPolyn $num1 $num2] 263 return [list RATIONAL_FUNCTION $newnum $newden] 294 set newnum [multPolyn $num1 $den2] 297 return [list RATIONAL_FUNCTION $newnum $newden]
|
/dports/devel/tcllib/tcllib-1.20/modules/math/ |
H A D | rational_funcs.tcl | 188 set newnum [addPolyn [multPolyn $num1 $den2] \ 193 return [list RATIONAL_FUNCTION $newnum $newden] 224 set newnum [subPolyn [multPolyn $num1 $den2] \ 229 return [list RATIONAL_FUNCTION $newnum $newden] 260 set newnum [multPolyn $num1 $num2] 263 return [list RATIONAL_FUNCTION $newnum $newden] 294 set newnum [multPolyn $num1 $den2] 297 return [list RATIONAL_FUNCTION $newnum $newden]
|
/dports/devel/tcllibc/tcllib-1.20/modules/math/ |
H A D | rational_funcs.tcl | 188 set newnum [addPolyn [multPolyn $num1 $den2] \ 193 return [list RATIONAL_FUNCTION $newnum $newden] 224 set newnum [subPolyn [multPolyn $num1 $den2] \ 229 return [list RATIONAL_FUNCTION $newnum $newden] 260 set newnum [multPolyn $num1 $num2] 263 return [list RATIONAL_FUNCTION $newnum $newden] 294 set newnum [multPolyn $num1 $den2] 297 return [list RATIONAL_FUNCTION $newnum $newden]
|
/dports/games/brainparty/brainparty/ |
H A D | cardmatch.cpp | 50 int newnum; in BPMiniGame_CardMatch() local 53 newnum = TheGame->RandomRange(0, 7); in BPMiniGame_CardMatch() 54 nums->Add(newnum); in BPMiniGame_CardMatch() 55 nums->Add(newnum); in BPMiniGame_CardMatch() 64 newnum = TheGame->RandomRange(0, nums->Count - 1); in BPMiniGame_CardMatch() 65 card->Type = (*nums)[newnum]; in BPMiniGame_CardMatch() 66 nums->RemoveAt(newnum); in BPMiniGame_CardMatch()
|