- Sort Score
- Result 10 results
- Languages All
Results 771 - 780 of 1,393 for Create (0.03 sec)
-
src/main/java/jcifs/smb/SmbEnumerationUtil.java
} } catch (final IOException ioe) { log.debug("DS enumeration failed", ioe); } } final SmbTreeConnection treeConn = SmbTreeConnection.create(tc); try (SmbTreeHandleImpl th = treeConn.connectHost(locator, locator.getServerWithDfs()); SmbSessionImpl session = th.getSession(); SmbTransportImpl transport = session.getTransport()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
@BeforeEach void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); // Create a test file ID (16 bytes) testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); } request = new Smb2FlushRequest(mockConfig, testFileId);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
assertNull(emptyIterator.next(), "Final next call"); } @Test @DisplayName("EmptyIterator should be lightweight and efficient") void testPerformanceCharacteristics() { // When - create many instances quickly long startTime = System.currentTimeMillis(); for (int i = 0; i < 10000; i++) { EmptyIterator iterator = new EmptyIterator(); iterator.hasNext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
/// ## Update the dependencies { #update-the-dependencies } Now we are going to update our dependencies. We want to get the `current_user` *only* if this user is active. So, we create an additional dependency `get_current_active_user` that in turn uses `get_current_user` as a dependency. Both of these dependencies will just return an HTTP error if the user doesn't exist, or if is inactive.Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
cmd/admin-handlers-idp-ldap.go
if newCred.ParentUser != globalActiveCred.AccessKey { replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{ Type: madmin.SRIAMItemSvcAcc, SvcAccChange: &madmin.SRSvcAccChange{ Create: &madmin.SRSvcAccCreate{ Parent: newCred.ParentUser, AccessKey: newCred.AccessKey, SecretKey: newCred.SecretKey, Groups: newCred.Groups, Name: newCred.Name,Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:46:04 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
void testConstructorWithDifferentInfoClasses(byte infoClass, String description) { response = new Smb2QueryDirectoryResponse(mockConfig, infoClass); assertNotNull(response, "Should create response for " + description); assertNull(response.getResults()); } @Test @DisplayName("Test readBytesWireFormat handles entry with nextEntryOffset loop correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
@BeforeEach void setUp() { mockConfig = mock(Configuration.class); response = new Smb2TreeDisconnectResponse(mockConfig); } @Test @DisplayName("Should create response with configuration") void testConstructorWithConfiguration() { // Given & When Smb2TreeDisconnectResponse resp = new Smb2TreeDisconnectResponse(mockConfig); // ThenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config); when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Create real lease manager for integration testing baseLeaseManager = new LeaseManager(context); directoryLeaseManager = new DirectoryLeaseManager(context, baseLeaseManager); } @AfterEach
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
* Java cannot determine the localhost. This is basically a config * issue on the host. There's not much we can do about it. Just * to suppress NPEs that would result we can create a possibly bogus * address. Pretty sure the below cannot actually thrown a UHE tho. */ try { localInetAddress = InetAddress.getByName("127.0.0.1");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer) SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK); assertEquals(SmbConstants.TYPE_PRINTER, info.getType()); typeWithUpperBits = 0x12340003; // Should be treated as type 3 (named pipe) info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)