- Sort Score
- Result 10 results
- Languages All
Results 1061 - 1070 of 1,439 for result1 (0.05 sec)
-
guava/src/com/google/common/math/BigIntegerMath.java
return DoubleMath.roundToBigInteger(d, mode); } @Override BigInteger minus(BigInteger a, BigInteger b) { return a.subtract(b); } } /** * Returns the result of dividing {@code p} by {@code q}, rounding using the specified {@code * RoundingMode}. * * @throws ArithmeticException if {@code q == 0}, or if {@code mode == UNNECESSARY} and {@code a}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
* <li>Building the query and filter query for the suggestion request.</li> * <li>Processing the request and handling the response or failure.</li> * <li>Creating the response from the search results.</li> * </ul> * * <p>Example usage:</p> * <pre> * SuggestRequest suggestRequest = new SuggestRequest(); * suggestRequest.setIndex("my_index"); * suggestRequest.setQuery("example query");
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
SecureRandom expectedRandom = new SecureRandom(); when(mockDelegate.getRandom()).thenReturn(expectedRandom); // When SecureRandom result = delegatingConfig.getRandom(); // Then assertSame(expectedRandom, result, "Should return delegated random"); verify(mockDelegate).getRandom(); } @Test @DisplayName("Protocol version methods should delegate correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
upperVersion = new DefaultArtifactVersion(upperBound); } if (upperVersion != null && lowerVersion != null) { int result = upperVersion.compareTo(lowerVersion); if (result < 0 || (result == 0 && (!lowerBoundInclusive || !upperBoundInclusive))) { throw new InvalidVersionSpecificationException("Range defies version ordering: " + spec); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
types[i] = resolveType(types[i]); } return types; } private Type[] resolveTypes(Type[] types) { Type[] result = new Type[types.length]; for (int i = 0; i < types.length; i++) { result[i] = resolveType(types[i]); } return result; } private WildcardType resolveWildcardType(WildcardType type) { Type[] lowerBounds = type.getLowerBounds();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* one or more such elements. Returns {@code true} if this queue contained the specified element * (or equivalently, if this queue changed as a result of the call). * * @param o element to be removed from this queue, if present * @return {@code true} if this queue changed as a result of the call */ @CanIgnoreReturnValue @Override public boolean remove(@Nullable Object o) { if (o == null) return false;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicate.java
* * @author Kevin Bourrillion * @since 2.0 */ @FunctionalInterface @GwtCompatible public interface Predicate<T extends @Nullable Object> extends java.util.function.Predicate<T> { /** * Returns the result of applying this predicate to {@code input} (Java 8+ users, see notes in the * class documentation above). This method is <i>generally expected</i>, but not absolutely * required, to have the following properties: *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 15:22:00 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
testGraphMutation(GraphBuilder.undirected()); } private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) { Random gen = new Random(42); // Fixed seed so test results are deterministic. for (int trial = 0; trial < NUM_TRIALS; ++trial) { MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); assertThat(graph.nodes()).isEmpty();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/SearchEngineUtil.java
import org.opensearch.search.SearchHit; /** * Utility class for search engine operations and content formatting. * Provides helper methods for working with XContent builders, scrolling through search results, * and converting XContent objects to different output formats. */ public final class SearchEngineUtil { private static final Logger logger = LogManager.getLogger(SearchEngineUtil.class); /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/SuccessorsFunction.java
* edges". For that functionality, see {@link Graphs#reachableNodes(Graph, Object)}. * * <p>Some algorithms that operate on a {@code SuccessorsFunction} may produce undesired results * if the returned {@link Iterable} contains duplicate elements. Implementations of such * algorithms should document their behavior in the presence of duplicates. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.2K bytes - Viewed (0)