- Sort Score
- Result 10 results
- Languages All
Results 941 - 950 of 1,238 for results2 (0.12 sec)
-
guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
private static long fingerprint(byte[] bytes, int length) { return HASH_FN.hashBytes(bytes, 0, length).asLong(); } /** * Tests that the Java port of Fingerprint2011 provides the same results on buffers up to 800 * bytes long as the original implementation in C++. See http://cl/106539598 */ public void testMultipleLengths() { int iterations = 800; byte[] buf = new byte[iterations * 4];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsPagingResultBean.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.opensearch.config.allcommon; import org.apache.lucene.search.TotalHits; import org.dbflute.cbean.result.PagingResultBean; import org.opensearch.action.search.SearchRequestBuilder; import org.opensearch.search.aggregations.Aggregations; /** * @param <ENTITY> The type of entity. * @author ESFlute (using FreeGen) */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/ModelUtils.java
* <p> * Given: * <pre> * parent: X -> A -> B -> D -> E * child: Y -> A -> C -> D -> F * </pre> * Result: * <pre> * X -> Y -> A -> B -> C -> D -> E -> F * </pre> */ public static void mergePluginLists(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
byte[] buffer = new byte[6]; System.arraycopy("short".getBytes(), 0, buffer, 0, 5); buffer[5] = 0; // Null terminator String result = smb.readString(buffer, 0, 5, false); assertEquals("short", result); } @Test void testReadStringWithMaxLengthExceeded() { smb.useUnicode = false;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
{* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *} In this example, it would convert the Pydantic model to a `dict`, and the `datetime` to a `str`. The result of calling it is something that can be encoded with the Python standard <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
} List<MojoExecution> getExecutions(MavenExecutionPlan mavenExecutionPlan) { List<MojoExecution> result = new ArrayList<>(); for (ExecutionPlanItem executionPlanItem : mavenExecutionPlan) { result.add(executionPlanItem.getMojoExecution()); } return result; } // We need to take in multiple lifecycles @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 22.9K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
} /** * Returns the element that follows {@code previous}, or returns {@code null} if no elements * remain. This method is invoked during each call to {@link #next()} in order to compute the * result of a <i>future</i> call to {@code next()}. */ protected abstract @Nullable T computeNext(T previous); @Override public final boolean hasNext() { return nextOrNull != null; } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
import com.google.common.annotations.GwtCompatible; import com.google.errorprone.annotations.CanIgnoreReturnValue; import org.jspecify.annotations.Nullable; /** * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any * other {@code Future}, be {@linkplain #cancel cancelled}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0)