- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 300 for locked (0.4 sec)
-
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
// Then assertTrue(result, "Custom implementation should return true when initialized with true"); } @Test @DisplayName("Test interface can be mocked") void testInterfaceCanBeMocked() { // Given SmbNegotiationRequest mockRequest = mock(SmbNegotiationRequest.class); // Then
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/smb1/dcerpc/ndr/NdrShortTest.java
decoded.decode(buf); assertEquals(123, decoded.value, "decoded value should equal original"); } /** * Verify that encode invokes NdrBuffer.enc_ndr_short via a mocked * (spied) buffer. */ @Test void encodeWithSpiedBufferCallsEncMethod() throws NdrException { NdrShort ns = new NdrShort(42); NdrBuffer spy = spy(new NdrBuffer(new byte[10], 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
} } @Nested @DisplayName("Mock Behavior Verification Tests") class MockBehaviorTests { @Test @DisplayName("Should verify all interface methods can be mocked") void testAllMethodsCanBeMocked() { // Setup all mock behaviors when(mockReferralData.getExpiration()).thenReturn(1000L); when(mockReferralData.getPathConsumed()).thenReturn(10);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
} /** * Updates the index an iterator is pointing to after a call to remove: returns the index of the * entry that should be looked at after a removal on indexRemoved, with indexBeforeRemove as the * index that *was* the next entry that would be looked at. */ int adjustAfterRemove(int indexBeforeRemove, @SuppressWarnings("unused") int indexRemoved) { return indexBeforeRemove - 1; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0) -
LICENSES/vendor/github.com/cyphar/filepath-securejoin/LICENSE
= vendor/github.com/cyphar/filepath-securejoin licensed under: = Copyright (C) 2014-2015 Docker Inc & Go Authors. All rights reserved. Copyright (C) 2017-2024 SUSE LLC. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Sat Nov 02 00:26:09 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableList.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting; import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableList} backed by a simple array. * * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class RegularImmutableList<E> extends ImmutableList<E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
@Mock Configuration mockCfg; // Provides a fresh handler instance for tests private Handler newHandler() { return new Handler(); } // Provides a handler wired with a mocked CIFSContext private Handler newHandlerWith(CIFSContext ctx) { return new Handler(ctx); } @Test @DisplayName("getDefaultPort returns SMB default port") void testGetDefaultPort() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ForwardingValueGraph.java
* limitations under the License. */ package com.google.common.graph; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A class to allow {@link ValueGraph} implementations to be backed by a provided delegate. This is * not currently planned to be released as a general-purpose forwarding class. * * @author James Sexton * @author Joshua O'Madadhain */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
defaultDomainField.setAccessible(true); defaultDomainField.set(explorer, null); } /** * Helper method to create a mocked NetworkExplorer instance */ private NetworkExplorer createMockedNetworkExplorer(boolean enableBasic, String realm) { return new NetworkExplorer() { @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
other[size] = null; } copyIntoArray(other, 0); return other; } /** If this collection is backed by an array of its elements in insertion order, returns it. */ @Nullable Object @Nullable [] internalArray() { return null; } /** * If this collection is backed by an array of its elements in insertion order, returns the offset * where this collection's elements start. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0)