Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 173 for Scenarios (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            assertEquals((byte) 0xFF, dst[1]);
            assertEquals((byte) 0xFF, dst[2]);
            assertEquals((byte) 0xFF, dst[3]);
        }
    
        @Test
        @DisplayName("Test writeUTime with DST scenarios")
        void testWriteUTimeWithDST() {
            when(mockConfig.getLocalTimezone()).thenReturn(mockTimeZone);
    
            byte[] dst = new byte[4];
            long testTime = System.currentTimeMillis();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/oauth2-jwt.md

    Using these ideas, JWT can be used for way more sophisticated scenarios.
    
    In those cases, several of those entities could have the same ID, let's say `foo` (a user `foo`, a car `foo`, and a blog post `foo`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/AllocInfoTest.java

                // When & Then
                assertEquals(free, allocInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle overflow scenarios")
            void shouldHandleOverflowScenarios() {
                // Given - capacity at max, free space at max
                TestAllocInfo allocInfo = new TestAllocInfo(Long.MAX_VALUE, Long.MAX_VALUE);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Security-focused test cases for Smb2NegotiateResponse input validation.
     * Tests various malformed input scenarios to ensure proper validation and
     * protection against buffer overflow, integer overflow, and other attacks.
     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            assertEquals(TEST_CAPABILITIES, SMBUtil.readInt4(buffer, offset + 4)); // Capabilities
        }
    
        @Test
        @DisplayName("Should handle session binding scenarios")
        void testSessionBindingScenarios() throws Exception {
            // Test both true and false session binding
            boolean[] bindingValues = { true, false };
    
            for (boolean binding : bindingValues) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. cmd/metacache-walk.go

    				}
    				diskHealthCheckOK(ctx, err)
    				if err != nil {
    					// It is totally possible that xl.meta was overwritten
    					// while being concurrently listed at the same time in
    					// such scenarios the 'xl.meta' might get truncated
    					if !IsErrIgnored(err, io.EOF, io.ErrUnexpectedEOF) {
    						internalLogOnceIf(ctx, err, "metacache-walk-read-metadata")
    					}
    					continue
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon May 26 07:06:43 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. cmd/endpoint.go

    	// says its local for a given host - it is true for all endpoints
    	// for the same host. Following code ensures that this assumption
    	// is true and it works in all scenarios and it is safe to assume
    	// for a given host.
    	endpointLocalMap := make(map[string]bool)
    	for _, ep := range endpoints {
    		if ep.IsLocal {
    			endpointLocalMap[ep.Host] = ep.IsLocal
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                assertEquals(FileSystemInformation.FS_SIZE_INFO, freshInfo.getFileSystemInformationClass());
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Real-World Scenarios")
        class EdgeCasesAndRealWorldTests {
    
            @Test
            @DisplayName("Should handle typical Windows NTFS configuration")
            void shouldHandleTypicalNTFSConfiguration() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbTransportPoolTest.java

                // Then
                verify(transportPool).removeTransport(transport);
                verify(transportPool).removeTransport(transport2);
            }
        }
    
        @Nested
        @DisplayName("Integration Scenarios")
        class IntegrationTests {
    
            @Test
            @DisplayName("Should complete full connection lifecycle")
            void testFullConnectionLifecycle() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/CrawlJob.java

     *
     * <p>The job supports selective crawling by specifying configuration IDs for different
     * types of crawlers (web, file, data). It manages the crawler process lifecycle,
     * handles timeout scenarios, and ensures proper cleanup of resources.</p>
     *
     * <p>Key features:</p>
     * <ul>
     *   <li>Concurrent crawler process management with configurable limits</li>
     *   <li>Selective crawling based on configuration IDs</li>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top