- Sort Score
- Result 10 results
- Languages All
Results 1101 - 1110 of 2,681 for Then (0.02 sec)
-
src/test/java/jcifs/netbios/UniAddressTest.java
when(mockNbtAddress.firstCalledName()).thenReturn("NBT_NAME"); assertEquals("NBT_NAME", uniAddress.firstCalledName()); verify(mockNbtAddress, times(1)).firstCalledName(); } @Test void shouldReturnSmbServerNameWhenInetAddressIsDotQuadIP() throws UnknownHostException { when(mockInetAddress.getHostName()).thenReturn("192.168.1.100");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
/** * Notify when a directory name changes */ public static final int FILE_NOTIFY_CHANGE_DIR_NAME = 0x2; /** * Notify when file attributes change */ public static final int FILE_NOTIFY_CHANGE_ATTRIBUTES = 0x4; /** * Notify when file size changes */ public static final int FILE_NOTIFY_CHANGE_SIZE = 0x8; /** * Notify when last write time changes */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s
MOVQ R15, AX // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here" RET TEXT ·a8(SB), 0, $0-0 CMPL runtime·writeBarrier(SB), $0 ADDQ AX, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here" RET TEXT ·a9(SB), 0, $0-0 CMPL runtime·writeBarrier(SB), $0
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Nov 20 19:05:03 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
message.opnumValue = 5; when(mockBuffer.getIndex()).thenReturn(0).thenReturn(16).thenReturn(20).thenReturn(24); lenient().doNothing().when(mockBuffer).advance(anyInt()); lenient().doNothing().when(mockBuffer).enc_ndr_long(anyInt()); lenient().doNothing().when(mockBuffer).enc_ndr_short(anyInt()); lenient().doNothing().when(mockBuffer).enc_ndr_small(anyInt());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
when(logonInfo.getHomeDirectory()).thenReturn("\\\\server\\\\home"); when(logonInfo.getHomeDrive()).thenReturn("H:"); when(logonInfo.getLogonScript()).thenReturn("logon.bat"); when(logonInfo.getUserAccountControl()).thenReturn(0x200); when(logonInfo.getUserFlags()).thenReturn(0); when(logonInfo.getUserSid()).thenReturn(userSid); when(logonInfo.getGroupSid()).thenReturn(new SID("S-1-5-21-1-2-3-513"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
mockContext = mock(CIFSContext.class); mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); } @Test void testGetByNameWithNullLmHostsFile() { // Test when lmhosts file is not configured when(mockConfig.getLmHostsFileName()).thenReturn(null); NbtAddress result = lmhosts.getByName("TEST_HOST", mockContext);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
cmd/typed-errors.go
// error returned in IAM subsystem when user doesn't exist. var errNoSuchUser = errors.New("Specified user does not exist") // error returned by IAM when a use a builtin IDP command when they could mean // to use a LDAP command. var errNoSuchUserLDAPWarn = errors.New("Specified user does not exist. If you meant a user in LDAP please use command under `mc idp ldap`") // error returned when service account is not found
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 5.9K bytes - Viewed (1) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
private void setupParentForUrlCreation() throws CIFSException { // Only set up parent mocks when they're actually needed for URL creation when(parent.getContext()).thenReturn(this.ctx); when(parent.getLocator()).thenReturn(parentLocator); // Make the parent appear as a workgroup to use the simpler URL code-path when(parentLocator.isWorkgroup()).thenReturn(true); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
filter = new NtlmHttpFilter(); // Setup lenient stubs for common mock interactions lenient().when(request.getSession()).thenReturn(httpSession); lenient().when(request.getSession(anyBoolean())).thenReturn(httpSession); lenient().when(response.getOutputStream()).thenReturn(servletOutputStream); } @Test void testInit_success() throws ServletException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
tests/associations_many2many_test.go
t.Fatalf("should raise error when create users without languages reference") } if err := DB.Create(&user.Languages).Error; err != nil { t.Fatalf("no error should happen when create languages, but got %v", err) } if err := DB.Omit("Languages.*").Create(&user).Error; err != nil { t.Fatalf("no error should happen when create user when languages exists, but got %v", err) } // Find
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Jun 10 13:05:19 UTC 2023 - 13.2K bytes - Viewed (0)