/dports/security/hs-cryptol/cryptol-2.11.0/_cabal_deps/GraphSCC-1.0.4/Data/Graph/ |
H A D | MapSCC.hs | 61 newS = check_adj g function 65 in case Map.lookup v (lows newS) of 67 | x < me -> newS 69 case span (/= v) (stack newS) of 72 n = next_scc newS 75 , lows = lows newS 77 , num = num newS 78 , sccs = (n,this) : sccs newS 88 let newS = from_root g st v' function 91 lows' = Map.insert v new_low (lows newS) [all …]
|
H A D | ArraySCC.hs | 69 newS <- check_adj g ixes lows 73 if x < me then return newS else 74 case span (/= v) (stack newS) of 77 n = next_scc newS 80 , num = num newS 81 , sccs = (n,this) : sccs newS 91 do newS <- from_root g ixes lows st v' 94 check_adj g ixes lows newS v vs
|
/dports/devel/jcmdline/jcmdline-2.0.0/testsrc/jcmdline/ |
H A D | StringFormatHelper_UT.java | 231 String newS = sHelper.formatHangingIndent(s, 5, s.length()); in testFormatMaxLen() local 232 assertEquals("format of String of length = maxLength failed", s, newS); in testFormatMaxLen() 241 String newS = sHelper.formatHangingIndent(s, 5, s.length() - 1); in testFormatMaxLenWNL() local 242 assertEquals("format of String of length = maxLength failed", s, newS); in testFormatMaxLenWNL() 250 String newS = sHelper.formatHangingIndent(s, 5, 16); in testFormatNoBreak() local 252 "this_is_a_string\n _next_line", newS); in testFormatNoBreak() 260 String newS = sHelper.formatHangingIndent(s, 5, 16); in testFormatWordAtMaxLen() local 262 "this is a string\n next line", newS); in testFormatWordAtMaxLen() 273 String newS = sHelper.formatHangingIndent(s, 3, 80); in testNLinFinalLine() local 274 assertEquals("wrong string returned", expS, newS); in testNLinFinalLine()
|
/dports/www/carbonapi/carbonapi-0.14.1/expr/tags/ |
H A D | helper.go | 19 newS := s[idx+1:] 21 idx := strings.IndexRune(newS, ';') 23 kv := strings.Split(newS, "=") 28 kv := strings.Split(newS[:idx], "=") 30 newS = newS[idx+1:]
|
/dports/security/keybase/client-v5.7.1/go/vendor/github.com/keybase/colly/ |
H A D | unmarshal.go | 99 newS := s 101 newS = newS.Find(selector) 103 if newS.Nodes == nil { 107 err := UnmarshalHTML(v.Interface(), newS) 116 newS := s 118 newS = newS.Find(selector) 120 if newS.Nodes == nil { 128 err := UnmarshalHTML(v.Interface(), newS)
|
/dports/www/colly/colly-2.1.0/ |
H A D | unmarshal.go | 146 newS := s 148 newS = newS.Find(selector) 150 if newS.Nodes == nil { 154 err := UnmarshalHTML(v.Interface(), newS, nil) 163 newS := s 165 newS = newS.Find(selector) 167 if newS.Nodes == nil { 175 err := UnmarshalHTML(v.Interface(), newS, nil)
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/ |
H A D | qgspostgresstringutils.cpp | 132 QString newS = v.toString(); in buildArray() 133 if ( newS.startsWith( '{' ) ) in buildArray() 135 sl.push_back( newS ); in buildArray() 139 newS.replace( '\\', QLatin1String( R"(\\)" ) ); in buildArray() 140 newS.replace( '\"', QLatin1String( R"(\")" ) ); in buildArray() 141 sl.push_back( "\"" + newS + "\"" ); in buildArray()
|
/dports/graphics/qgis/qgis-3.22.3/src/core/ |
H A D | qgspostgresstringutils.cpp | 135 QString newS = v.toString(); in buildArray() 136 if ( newS.startsWith( '{' ) ) in buildArray() 138 sl.push_back( newS ); in buildArray() 142 newS.replace( '\\', QLatin1String( R"(\\)" ) ); in buildArray() 143 newS.replace( '\"', QLatin1String( R"(\")" ) ); in buildArray() 144 sl.push_back( "\"" + newS + "\"" ); in buildArray()
|
/dports/math/stp/stp-2.3.3/lib/STPManager/ |
H A D | STP.cpp | 65 SOLVER_RETURN_TYPE STP::solve_by_sat_solver(SATSolver* newS, in solve_by_sat_solver() argument 68 SATSolver& NewSolver = *newS; in solve_by_sat_solver() 73 newS->setMaxConflicts(bm->UserFlags.timeout_max_conflicts); in solve_by_sat_solver() 81 SATSolver* newS = NULL; in get_new_sat_solver() local 85 newS = new SimplifyingMinisat; in get_new_sat_solver() 89 newS = new CryptoMiniSat5(bm->UserFlags.num_solver_threads); in get_new_sat_solver() 98 newS = new RissCore(); in get_new_sat_solver() 106 newS = new MinisatCore; in get_new_sat_solver() 114 return newS; in get_new_sat_solver() 138 SATSolver* newS = get_new_sat_solver(); in TopLevelSTP() local [all …]
|
/dports/textproc/redisearch/RediSearch-2.2.5/src/aggregate/reducers/ |
H A D | deviation.c | 7 double oldM, newM, oldS, newS; member 27 dctx->newS = dctx->oldS + (d - dctx->oldM) * (d - dctx->newM); in stddevAddInternal() 31 dctx->oldS = dctx->newS; in stddevAddInternal() 58 double variance = ((dctx->n > 1) ? dctx->newS / (dctx->n - 1) : 0.0); in stddevFinalize()
|
/dports/textproc/redisearch16/RediSearch-1.6.16/src/aggregate/reducers/ |
H A D | deviation.c | 7 double oldM, newM, oldS, newS; member 27 dctx->newS = dctx->oldS + (d - dctx->oldM) * (d - dctx->newM); in stddevAddInternal() 31 dctx->oldS = dctx->newS; in stddevAddInternal() 58 double variance = ((dctx->n > 1) ? dctx->newS / (dctx->n - 1) : 0.0); in stddevFinalize()
|
/dports/textproc/redisearch20/RediSearch-2.0.15/src/aggregate/reducers/ |
H A D | deviation.c | 7 double oldM, newM, oldS, newS; member 27 dctx->newS = dctx->oldS + (d - dctx->oldM) * (d - dctx->newM); in stddevAddInternal() 31 dctx->oldS = dctx->newS; in stddevAddInternal() 58 double variance = ((dctx->n > 1) ? dctx->newS / (dctx->n - 1) : 0.0); in stddevFinalize()
|
/dports/science/chemps2/CheMPS2-1.8.10/CheMPS2/ |
H A D | DMRGfock.cpp | 217 Sobject * newS = new Sobject( dmrg_orb1, denBK ); in solve_fock() local 221 …citation::matvec( denBK, denBK, dmrg_orb1, dmrg_orb2, alpha, alpha, beta, newS, oldS, NULL, NULL, … in solve_fock() 226 delete newS; in solve_fock() 270 Sobject * newS = new Sobject( index, newBK ); in solve_fock() local 276 if ( noise_level > 0.0 ){ newS->addNoise( noise_level ); } in solve_fock() 279 …const double discarded_weight = newS->Split( MPS[ index ], MPS[ index + 1 ], OptScheme->get_D( ins… in solve_fock() 281 delete newS; in solve_fock() 292 Sobject * newS = new Sobject( index, newBK ); in solve_fock() local 298 if ( noise_level > 0.0 ){ newS->addNoise( noise_level ); } in solve_fock() 301 …const double discarded_weight = newS->Split( MPS[ index ], MPS[ index + 1 ], OptScheme->get_D( ins… in solve_fock() [all …]
|
/dports/biology/ugene/ugene-40.1/src/plugins_3rdparty/hmm2/src/hmmer2/ |
H A D | sre_string.cpp | 34 char *newS = (char *) MallocOrDie (len); in Strdup() local 35 sre_strlcpy(newS, s, len); in Strdup() 36 return newS; in Strdup() 434 char *newS = (char*)MallocOrDie (sizeof(char) * (n+1)); in sre_strdup() local 435 sre_strlcpy(newS, s, n+1); in sre_strdup() 436 return newS; in sre_strdup()
|
H A D | aligneval.cpp | 546 char *newS; in MakeAlignedString() local 549 newS = (char *) MallocOrDie ((alen+1) * sizeof(char)); in MakeAlignedString() 553 newS[apos] = ss[rpos]; in MakeAlignedString() 557 newS[apos] = '.'; in MakeAlignedString() 558 newS[apos] = '\0'; in MakeAlignedString() 561 { free(newS); return 0; } in MakeAlignedString() 562 *ret_s = newS; in MakeAlignedString()
|
/dports/math/stp/stp-2.3.3/lib/AbsRefineCounterExample/ |
H A D | CounterExample.cpp | 44 SATSolver& newS, ToSATBase::ASTNodeToSATVar& satVarToSymbol) in ConstructCounterExample() argument 46 if (!newS.okay()) in ConstructCounterExample() 72 if (newS.modelValue(sat_variable_index) == newS.undef_literal()) in ConstructCounterExample() 81 (newS.modelValue(sat_variable_index) == newS.true_literal()); in ConstructCounterExample() 86 if (newS.modelValue(sat_variable_index) == newS.true_literal()) in ConstructCounterExample() 88 else if (newS.modelValue(sat_variable_index) == newS.false_literal()) in ConstructCounterExample() 957 void AbsRefine_CounterExample::PrintSATModel(SATSolver& newS, in PrintSATModel() argument 960 if (!newS.okay()) in PrintSATModel() 977 if (newS.modelValue(v[i]) == newS.true_literal()) in PrintSATModel() 982 else if (newS.modelValue(v[i]) == newS.false_literal()) in PrintSATModel()
|
/dports/math/gap/gap-4.11.0/pkg/hap-1.25/lib/Quandles/ |
H A D | isoreps.gi | 64 local oldS, newS, pairs, x, y, newNow, p, z, fz; 66 newS := f[ 2 ]; 70 for x in oldS do for y in newS do 74 for x in newS do for y in newS do 90 oldS := Union( oldS, newS ); 91 newS := ShallowCopy( newNow ); 92 until IsEmpty( newS );
|
/dports/math/gambit/gambit-16.0.1/library/src/ |
H A D | stratspt.cc | 272 bool StrategySupportProfile::Undominated(StrategySupportProfile &newS, int p_player, in Undominated() argument 329 newS.RemoveStrategy(set[i]); in Undominated() 342 StrategySupportProfile newS(*this); in Undominated() local 345 Undominated(newS, pl, p_strict, p_external); in Undominated() 348 return newS; in Undominated() 354 StrategySupportProfile newS(*this); in Undominated() local 358 Undominated(newS, players[i], p_strict); in Undominated() 361 return newS; in Undominated()
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/github.com/gopherjs/gopherjs/compiler/vendor/github.com/neelance/astrewrite/ |
H A D | simplify.go | 154 newS := &ast.IfStmt{ 161 *stmts = append(*stmts, newS) 217 newS := &ast.TypeSwitchStmt{ 225 *stmts = append(*stmts, newS) 228 newS := &ast.ForStmt{ 267 var newS ast.Stmt 288 newS = &ast.ForStmt{ 322 newS = &ast.RangeStmt{ 448 newS := &ast.BlockStmt{ 454 return newS [all …]
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/gopherjs/gopherjs/compiler/vendor/github.com/neelance/astrewrite/ |
H A D | simplify.go | 154 newS := &ast.IfStmt{ 161 *stmts = append(*stmts, newS) 217 newS := &ast.TypeSwitchStmt{ 225 *stmts = append(*stmts, newS) 228 newS := &ast.ForStmt{ 267 var newS ast.Stmt 288 newS = &ast.ForStmt{ 322 newS = &ast.RangeStmt{ 448 newS := &ast.BlockStmt{ 454 return newS [all …]
|
/dports/misc/perkeep/perkeep-0.11/vendor/github.com/neelance/astrewrite/ |
H A D | simplify.go | 154 newS := &ast.IfStmt{ 161 *stmts = append(*stmts, newS) 217 newS := &ast.TypeSwitchStmt{ 225 *stmts = append(*stmts, newS) 228 newS := &ast.ForStmt{ 267 var newS ast.Stmt 288 newS = &ast.ForStmt{ 322 newS = &ast.RangeStmt{ 448 newS := &ast.BlockStmt{ 454 return newS [all …]
|
/dports/security/snowflake-tor/snowflake-ead5a960d7fa19dc890ccbfc0765c5ab6629eaa9/vendor/github.com/gopherjs/gopherjs/compiler/vendor/github.com/neelance/astrewrite/ |
H A D | simplify.go | 154 newS := &ast.IfStmt{ 161 *stmts = append(*stmts, newS) 217 newS := &ast.TypeSwitchStmt{ 225 *stmts = append(*stmts, newS) 228 newS := &ast.ForStmt{ 267 var newS ast.Stmt 288 newS = &ast.ForStmt{ 322 newS = &ast.RangeStmt{ 448 newS := &ast.BlockStmt{ 454 return newS [all …]
|
/dports/www/writefreely/writefreely-0.13.1/vendor/github.com/gopherjs/gopherjs/compiler/vendor/github.com/neelance/astrewrite/ |
H A D | simplify.go | 154 newS := &ast.IfStmt{ 161 *stmts = append(*stmts, newS) 217 newS := &ast.TypeSwitchStmt{ 225 *stmts = append(*stmts, newS) 228 newS := &ast.ForStmt{ 267 var newS ast.Stmt 288 newS = &ast.ForStmt{ 322 newS = &ast.RangeStmt{ 448 newS := &ast.BlockStmt{ 454 return newS [all …]
|
/dports/audio/visp-go/visp-2585747/vendor/github.com/gopherjs/gopherjs/compiler/vendor/github.com/neelance/astrewrite/ |
H A D | simplify.go | 154 newS := &ast.IfStmt{ 161 *stmts = append(*stmts, newS) 217 newS := &ast.TypeSwitchStmt{ 225 *stmts = append(*stmts, newS) 228 newS := &ast.ForStmt{ 267 var newS ast.Stmt 288 newS = &ast.ForStmt{ 322 newS = &ast.RangeStmt{ 448 newS := &ast.BlockStmt{ 454 return newS [all …]
|
/dports/sysutils/terraform/terraform-1.0.11/vendor/github.com/gopherjs/gopherjs/compiler/vendor/github.com/neelance/astrewrite/ |
H A D | simplify.go | 154 newS := &ast.IfStmt{ 161 *stmts = append(*stmts, newS) 217 newS := &ast.TypeSwitchStmt{ 225 *stmts = append(*stmts, newS) 228 newS := &ast.ForStmt{ 267 var newS ast.Stmt 288 newS = &ast.ForStmt{ 322 newS = &ast.RangeStmt{ 448 newS := &ast.BlockStmt{ 454 return newS [all …]
|