- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for optimization (0.2 sec)
-
src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java
*/ public Class<?> getActionClass() { return actionClass; } /** * Overrides fillInStackTrace to return null for performance optimization. * This prevents stack trace generation for this exception type. * * @return null to skip stack trace generation */ @Override public synchronized Throwable fillInStackTrace() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
* This class analyzes the User-Agent header to determine which browser type is being used * and caches the result in the request attribute for performance optimization. * */ public class UserAgentHelper { /** * Default constructor for UserAgentHelper. */ public UserAgentHelper() { // Default constructor }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java
assertEquals("org.codelibs.fess.app.web.RootAction", actionClass.getName()); } public void test_fillInStackTrace() { // Test fillInStackTrace returns null for performance optimization UserRoleLoginException exception = new UserRoleLoginException(RootAction.class); Throwable result = exception.fillInStackTrace(); assertNull(result);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableMap.java
entry != null; entry = entry.getNextInKeyBucket()) { Object candidateKey = entry.getKey(); /* * Assume that equals uses the == optimization when appropriate, and that * it would check hash codes as an optimization when appropriate. If we * did these things, it would just make things worse for the most * performance-conscious users. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
if (compare(dividend, divisor) < 0) { return 0; // dividend < divisor } else { return 1; // dividend >= divisor } } // Optimization - use signed division if dividend < 2^63 if (dividend >= 0) { return dividend / divisor; } /* * Otherwise, approximate the quotient, check, and correct if necessary. Our approximation is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
// Asterisk (*) is only permitted in the left-most domain name label and must be the only // character in that label return false } // Optimization: check whether hostname is too short to match the pattern. hostName must be at // least as long as the pattern because asterisk must match the whole left-most label and
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graphs.java
if (numEdges == 0) { return false; // An edge-free graph is acyclic by definition. } if (!graph.isDirected() && numEdges >= graph.nodes().size()) { return true; // Optimization for the undirected case: at least one cycle must exist. } Map<Object, NodeVisitState> visitedNodes = Maps.newHashMapWithExpectedSize(graph.nodes().size()); for (N node : graph.nodes()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
if (numEdges == 0) { return false; // An edge-free graph is acyclic by definition. } if (!graph.isDirected() && numEdges >= graph.nodes().size()) { return true; // Optimization for the undirected case: at least one cycle must exist. } Map<Object, NodeVisitState> visitedNodes = Maps.newHashMapWithExpectedSize(graph.nodes().size()); for (N node : graph.nodes()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
*/ public String join(Iterable<?> parts) { // We don't use the same optimization here as in the JRE flavor. // TODO: b/381289911 - Evaluate the performance impact of doing so. return join(parts.iterator()); } /* * TODO: b/381289911 - Make the Iterator overload use StringJoiner (including Android or not)—or * some other optimization, given that StringJoiner can over-allocate:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 19.3K bytes - Viewed (0)