- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 2,810 for when (0.02 sec)
-
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
@Test @DisplayName("checkRelease(): when connected and usage>0 performs check without throwing") void checkRelease_connectedAndInUse_doesNotThrow() { // Arrange: spy isConnected() to return true; increment usage via acquire() CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); doReturn(true).when(trace).isConnected();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
@BeforeEach void setup() { when(mockContext.getConfig()).thenReturn(mockConfig); when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub()); } private void setupNegotiateStubs() { when(mockNegotiate.getNegotiatedCapabilities()).thenReturn(0x00123456); when(mockNegotiate.getNegotiatedSendBufferSize()).thenReturn(65535); when(mockNegotiate.getNegotiatedMpxCount()).thenReturn(65535);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
docs/en/docs/management-tasks.md
## Be Nice First of all, be nice. 😊 You probably are super nice if you were added to the team, but it's worth mentioning it. 🤓 ### When Things are Difficult When things are great, everything is easier, so that doesn't need much instructions. But when things are difficult, here are some guidelines.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 14.2K 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 Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
FileInformation internalInfo = mock(FileInformation.class); // Set different levels when(basicInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_BASIC_INFO); when(standardInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_STANDARD_INFO); when(internalInfo.getFileInformationLevel()).thenReturn(FileInformation.FILE_INTERNAL_INFO); // Verify each has correct level
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
// GIVEN an unknown auth type int unknownAuthType = -1; byte[] emptyToken = new byte[0]; // WHEN parsing the auth data List<KerberosAuthData> result = KerberosAuthData.parse(unknownAuthType, emptyToken, mockKeys); // THEN the result should be an empty list assertNotNull(result, "The result should not be null.");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/batch-jobs/README.md
createdBefore: "date" # match objects created before "date" ## NOTE: tags are not supported when "source" is remote. # tags: # - key: "name" # value: "pick*" # match objects with tag 'name', with all values starting with 'pick' ## NOTE: metadata filter not supported when "source" is non MinIO. # metadata: # - key: "content-type"
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Oct 06 06:00:43 UTC 2022 - 4.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java
List<UrlQueueImpl<Long>> newUrlList = new ArrayList<>(); newUrlList.add(newUrl1); newUrlList.add(newUrl2); when(dataHelper.getUrlQueueList(sessionId)).thenReturn(existingQueue); when(dataHelper.getAccessResultMap(sessionId)).thenReturn(accessResultMap); // Execute service.offerAll(sessionId, newUrlList); // VerifyRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.1K bytes - Viewed (0) -
impl/maven-core/src/site/apt/offline-mode.apt
Find the control point for m2 using maven-wagon. At this point, inject a offline status parameter which is used when retrieving the specific Wagon. If <<<offline == true>>>: * If the wagon is not bound to "file://", then ignore the request and print a debug message. * If the wagon is bound to "file://" then: Retrieve the file or base-url file to be "downloaded".
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
@BeforeEach void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockConfig.getMaximumBufferSize()).thenReturn(65536); when(mockConfig.getListSize()).thenReturn(65536); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) i;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0)