- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 2,189 for whet (0.02 sec)
-
android/guava/src/com/google/common/hash/BloomFilter.java
* generated today may <i>not</i> be readable by a binary that was compiled 6 months ago). * * <p>As of Guava 23.0, this class is thread-safe and lock-free. It internally uses atomics and * compare-and-swap to ensure correctness when multiple threads are used to access it. * * @param <T> the type of instances that the {@code BloomFilter} accepts * @author Dimitris Andreou * @author Kevin Bourrillion * @since 11.0 (thread-safe since 23.0) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
@Override public int getErrorCode() { return DcerpcError.DCERPC_FAULT_OP_RNG_ERROR; } }).when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class)); // Subsequent call for MsrpcSamrConnect2 should succeed doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect2.class)); try (SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access)) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
@Test void testInitSecContext_state2_type3Message() throws Exception { // Test the second step (processing Type 2 and creating Type 3 message) when(mockAuth.getDomain()).thenReturn(domain); when(mockAuth.getUsername()).thenReturn(username); when(mockAuth.getPassword()).thenReturn(password); NtlmContext context = new NtlmContext(mockAuth, true); // State 1: Generate Type 1 message
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
Mockito.when(mockContext.getConfig()).thenReturn(mockConfig); Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials); Mockito.when(mockCredentials.unwrap(Mockito.any())).thenReturn(mockCredentialsInternal); Mockito.when(mockCredentialsInternal.clone()).thenReturn(mockCredentialsInternal); Mockito.when(mockTransport.acquire()).thenReturn(mockTransport); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig); lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN"); lenient().when(mockConfig.isUseUnicode()).thenReturn(true); // Mock NameServiceClient for Type1Message test lenient().when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
/** * An object that can capture objects to be closed later, when a {@link ClosingFuture} pipeline is * done. */ public static final class DeferredCloser { @RetainedWith private final CloseableList list; DeferredCloser(CloseableList list) { this.list = list; } /** * Captures an object to be closed when a {@link ClosingFuture} pipeline is done. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 97.8K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
*/ @DisplayName("SpnegoException Tests") class SpnegoExceptionTest extends BaseTest { @Test @DisplayName("Should create SpnegoException with default constructor") void testDefaultConstructor() { // When SpnegoException ex = new SpnegoException(); // Then assertNotNull(ex, "Exception should be created"); assertNull(ex.getMessage(), "Default message should be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
tests/update_belongs_to_test.go
if err := DB.Create(&user).Error; err != nil { t.Fatalf("errors happened when create: %v", err) } user.Company = Company{Name: "company-belongs-to-association"} user.Manager = &User{Name: "manager-belongs-to-association"} if err := DB.Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user2 User
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
*/ @Test void testConstructorInitializesFields() { // Given int sid = 0x2222; int resumeKey = 0x12345678; String filename = "dir\\pattern*"; // When Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, filename); // Then assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, next.command, "Command must be SMB_COM_TRANSACTION2");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.security.Principal; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3.4K bytes - Viewed (0)