Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 235 for Scenario (0.13 seconds)

  1. cmd/signature-v4-utils.go

    		if err != nil {
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    		if !ok {
    			// Credentials could be valid but disabled - return a different
    			// error in such a scenario.
    			if u.Credentials.Status == auth.AccountOff {
    				return cred, false, ErrAccessKeyDisabled
    			}
    			return cred, false, ErrInvalidAccessKeyID
    		}
    		cred = u.Credentials
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            assertFalse(deleted);
        }
    
        @Test
        public void test_atomicDeleteIfExists_concurrentScenario() throws Exception {
            // Test simulating concurrent access scenario
            Path tempDir = Files.createTempDirectory("concurrent_test");
            try {
                Path targetFile = tempDir.resolve("target.tmp");
                Files.createFile(targetFile);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                                } catch (SmbException e) {
                                    // Account locked out - this is expected behavior in concurrent scenario
                                    blockedAttempts.incrementAndGet();
                                    break; // Stop trying if account is locked
                                }
    
                                if (!allowed) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
    
            // Test max attempts in half-open with failure scenario
            circuitBreaker.trip(); // Open again
            Thread.sleep(1100); // Wait for reset
    
            // First attempt transitions to HALF_OPEN
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                echoResponse.received();
                assertTrue(echoResponse.isReceived());
                assertFalse(echoResponse.isError());
            }
    
            @Test
            @DisplayName("Should handle error scenario")
            void testErrorScenario() {
                byte[] buffer = new byte[1024];
                int bufferIndex = 64;
    
                // Write invalid structure size
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/handling-errors.md

    You probably won't need to use it directly in your code.
    
    But in case you needed it for an advanced scenario, you can add custom headers:
    
    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    ## Install custom exception handlers { #install-custom-exception-handlers }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        // Test getExecuteType method
        @Test
        public void test_getExecuteType() {
            assertEquals(Constants.EXECUTE_TYPE_CRAWLER, crawlJob.getExecuteType());
        }
    
        // Test execute method with runAll scenario
        @Test
        public void test_execute_runAll() {
            // Setup test
            crawlJob = new CrawlJob() {
                @Override
                protected int getRunningJobCount() {
                    return 0;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

        constructor(
          @JvmField var headerTableSizeSetting: Int = SETTINGS_HEADER_TABLE_SIZE,
          private val useCompression: Boolean = true,
          private val out: Buffer,
        ) {
          /**
           * In the scenario where the dynamic table size changes multiple times between transmission of
           * header blocks, we need to keep track of the smallest value in that interval.
           */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  9. cmd/peer-s3-client.go

    	}
    
    	res := madmin.HealResultItem{
    		Type:     madmin.HealItemBucket,
    		Bucket:   bucket,
    		SetCount: -1, // explicitly set an invalid value -1, for bucket heal scenario
    	}
    
    	for i, err := range errs {
    		if err == nil {
    			res.Before.Drives = append(res.Before.Drives, healBucketResults[i].Before.Drives...)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            CharMappingItem item = new CharMappingItem(1L, new String[] { "temp" }, "output") {
                @Override
                public String getInputsValue() {
                    // Simulate null inputs scenario
                    if (getInputs() == null) {
                        return super.getInputsValue();
                    }
                    return super.getInputsValue();
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16K bytes
    - Click Count (0)
Back to Top