- Sort Score
- Result 10 results
- Languages All
Results 2111 - 2120 of 4,820 for IF (0.01 sec)
-
cmd/last-minute.go
// Add a duration to a single element. func (a *AccElem) add(dur time.Duration) { if dur < 0 { dur = 0 } a.Total += int64(dur) a.N++ } // Merge b into a. func (a *AccElem) merge(b AccElem) { a.N += b.N a.Total += b.Total a.Size += b.Size } // Avg returns average time spent. func (a AccElem) avg() time.Duration { if a.N >= 1 && a.Total > 0 { return time.Duration(a.Total / a.N) } return 0
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/DefaultProjectDependenciesResolver.java
throws ArtifactResolutionException, ArtifactNotFoundException { Set<Artifact> resolved = new LinkedHashSet<>(); if (projects == null || projects.isEmpty()) { return resolved; } if ((scopesToCollect == null || scopesToCollect.isEmpty()) && (scopesToResolve == null || scopesToResolve.isEmpty())) { return resolved; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8.4K bytes - Viewed (1) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java
derivedFeatures.remove(CollectionFeature.SUPPORTS_ADD); derivedFeatures.remove(CollectionFeature.ALLOWS_NULL_VALUES); derivedFeatures.add(CollectionFeature.REJECTS_DUPLICATES_AT_CREATION); if (!derivedFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) { derivedFeatures.remove(CollectionFeature.SERIALIZABLE); } return derivedFeatures; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformation.java
@Deprecated public interface ArtifactTransformation { String ROLE = ArtifactTransformation.class.getName(); /** * Take in an artifact and return the transformed artifact for locating in the remote repository. If no * transformation has occurred the original artifact is returned. * * @param artifact Artifact to be transformed. * @param request the repositories to check */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
clause/group_by.go
for idx, column := range groupBy.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) } if len(groupBy.Having) > 0 { builder.WriteString(" HAVING ") Where{Exprs: groupBy.Having}.Build(builder) } } // MergeClause merge group by clause func (groupBy GroupBy) MergeClause(clause *Clause) { if v, ok := clause.Expression.(GroupBy); ok {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 30 10:28:09 UTC 2021 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
}); if (ComponentUtil.getFessConfig().isValidAdminPassword(password)) { return loginRedirect; } getSession().ifPresent(session -> session.setAttribute(INVALID_OLD_PASSWORD, password)); return asHtml(virtualHost(path_Login_NewpasswordJsp)); } catch (final LoginFailureException lfe) { if (logger.isDebugEnabled()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java
* @return OpenSearch QueryBuilder for fuzzy matching * @throws InvalidQueryException if the query is not a FuzzyQuery */ @Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final FuzzyQuery fuzzyQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
Iterator<String> iterator = components.iterator(); if (iterator.hasNext()) { sb.append(iterator.next().toString()); while (iterator.hasNext()) { sb.append(DELIMITER_STRING); sb.append(iterator.next()); } } dummy ^= sb.toString().length(); } return dummy; } /** * Only appends delimiter if the accumulated string is non-empty. Note: this isn't a candidate
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
} override fun isCanceled() = canceled override fun plan(): FakePlan { // Return deferred plans preferentially. These don't require addPlan(). if (deferredPlans.isNotEmpty()) return deferredPlans.removeFirst() as FakePlan if (nextPlanIndex >= plans.size && autoGeneratePlans) addPlan() require(nextPlanIndex < plans.size) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* strict, use {@link #reserialize}. * * @return the re-serialized object * @throws RuntimeException if the specified object was not successfully serialized or * deserialized * @throws AssertionFailedError if the re-serialized object is not equal to the original object, * or if the hashcodes are different. */ @CanIgnoreReturnValue public static <T> T reserializeAndAssert(T object) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.1K bytes - Viewed (0)