Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 216 for scenario (0.24 sec)

  1. cmd/format-erasure.go

    	for _, format := range formats {
    		if format == nil {
    			continue
    		}
    		// NOTE: This code is specifically needed when migrating version
    		// V1 to V2 to V3, in a scenario such as this we only need to handle
    		// single sets since we never used to support multiple sets in releases
    		// with V1 format version.
    		if len(format.Erasure.Sets) > 1 {
    			continue
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            int responseCode = ntlmConnection.getResponseCode();
    
            // Assert - Verify we got the 401 response (simplified test)
            assertEquals(HTTP_UNAUTHORIZED, responseCode);
    
            // In a real scenario, the connection would reconnect and send Type1/Type3 messages
            // This simplified test just verifies the initial handshake detection
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. 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
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. 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.
           */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            ruleManager.addRule(rule4);
            matched = ruleManager.getRule(responseData);
            assertEquals("rule4", matched.getRuleId());
        }
    
        /**
         * Test rule replacement scenario
         */
        public void test_ruleReplacement() {
            TestRule oldRule = new TestRule("rule1", false);
            TestRule newRule = new TestRule("rule1", true); // Same ID, different behavior
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

            optimizedHelper.setProperty(bean, "timeout", Long.class, timeoutConfig);
        }
    
        /**
         * Benchmark that tests multiple property configurations in a single operation.
         * This simulates a more realistic scenario where multiple properties are set on a bean.
         */
        @Benchmark
        public void benchmarkOriginalHelperMultipleProperties() throws Exception {
            RealisticTestBean bean = new RealisticTestBean();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  8. 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) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. 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_py39.py hl[14] *}
    
    ## Install custom exception handlers { #install-custom-exception-handlers }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            Handler handler = new Handler();
            Handler.StorageURLConnection conn = (Handler.StorageURLConnection) handler.openConnection(url);
    
            // Ensure environment variables are not set (in real scenario)
            // In this test, we expect IOException when endpoint is blank
            try {
                conn.connect();
                fail("Should throw IOException when endpoint is not set");
            } catch (IOException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top