- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 1,364 for implementations (0.09 sec)
-
android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java
queue.clear(); for (int j = 0; j < size; j++) { // TODO(kevinb): precompute random #s? queue.add(random.nextInt()); } } } /** * Implementation of the InvertedMinMaxPriorityQueue which forwards all calls to a * MinMaxPriorityQueue, except poll, which is forwarded to pollMax. That way we can benchmark * pollMax using the same code that benchmarks poll. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; class SmbComNtTransactionResponseTest { private TestableSmbComNtTransactionResponse response; // A concrete implementation of the abstract class for testing purposes. private static class TestableSmbComNtTransactionResponse extends SmbComNtTransactionResponse { @Override int writeSetupWireFormat(byte[] dst, int dstIndex) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
import jcifs.Configuration; import jcifs.internal.TreeConnectResponse; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 Tree Connect AndX response implementation. * Handles server responses to tree connect requests in SMB1 protocol, providing * information about the connected share including service type and DFS capabilities. * * @author mbechler */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
@CollectionSize.Require(absent = ZERO) public void testCompute_presentNullToNull() { // The spec is somewhat ambiguous about this case, but the actual default implementation // in Map will remove a present null. initMapWithNullValue(); assertNull( "Map.compute(presentMappedToNull, functionReturningNull) should return null", getMap() .compute(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.ArrayList; import java.util.List; import junit.framework.AssertionFailedError; import org.jspecify.annotations.NullMarked; /** * Implementation helper for {@link EqualsTester} and {@link EquivalenceTester} that tests for * equivalence classes. * * @author Gregory Kick */ @GwtCompatible @NullMarked final class RelationshipTester<T> {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
assertEquals(6, bytesWritten); assertEquals(fid, SMBUtil.readInt2(dst, 0)); // With a digest, the lastWriteTime should be written. // We can't verify the exact bytes without a real implementation of writeUTime, // but we can check that it's not zero. long writtenTime = SMBUtil.readInt4(dst, 2) & 0xFFFFFFFFL; // This is a weak check, but better than nothing.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
SmbException sharingViolation = new SmbException(NtStatus.NT_STATUS_SHARING_VIOLATION, false); // Sharing violations might be retriable in some contexts // The implementation determines this assertNotNull(sharingViolation); } @Test @DisplayName("Should preserve stack trace information") void testStackTracePreservation() { // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java
import org.lastaflute.di.core.SingletonLaContainer; import org.opensearch.core.xcontent.ToXContent; import org.opensearch.core.xcontent.XContentBuilder; /** * OpenSearchAccessResult is an implementation of {@link AccessResult} for OpenSearch. * * @author shinsuke * */ public class OpenSearchAccessResult extends AccessResultImpl<String> implements ToXContent { /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertArrayEquals(hashAlgos, decodedContext.getHashAlgos()); assertArrayEquals(salt, decodedContext.getSalt()); } } @Nested @DisplayName("Interface Implementation Tests") class InterfaceImplementationTests { @Test @DisplayName("Should implement NegotiateContextRequest interface") void testImplementsNegotiateContextRequest() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
} catch (NullPointerException e) { // Also acceptable if null is not handled explicitly } } public void test_findOnMainSchema_alwaysReturnsNull() { // Since the implementation always returns null (no DBFlute classification used), // test that it consistently returns null for any input assertNull(invokeMethod(provider, "findOnMainSchema", "TestClassification"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0)