Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1691 - 1700 of 2,000 for failed (0.06 seconds)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

        @Test
        @DisplayName("Test constructor with invalid information level")
        void testConstructorWithInvalidInformationLevel() {
            // The exception is thrown during writeParametersWireFormat when mapInformationLevel is called
            Trans2QueryFSInformation trans2 = new Trans2QueryFSInformation(config, 99);
            assertNotNull(trans2);
    
            // Exception should be thrown when trying to write parameters
            byte[] buffer = new byte[256];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  2. fastapi/_compat/v2.py

            else "validation"
        )
        field_alias = (
            (field.validation_alias or field.alias)
            if field.mode == "validation"
            else (field.serialization_alias or field.alias)
        )
    
        # This expects that GenerateJsonSchema was already used to generate the definitions
        json_schema = field_mapping[(field, override_mode or field.mode)]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/security/http-basic-auth.md

    ```Python
    if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"):
        # Return some error
        ...
    ```
    
    But by using the `secrets.compare_digest()` it will be secure against a type of attacks called "timing attacks".
    
    ### Timing Attacks { #timing-attacks }
    
    But what's a "timing attack"?
    
    Let's imagine some attackers are trying to guess the username and password.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/ds/DataStoreTest.java

            IndexUpdateCallback callback = new TestIndexUpdateCallback();
    
            // Execute store method
            dataStore.store(config, callback, params);
    
            // Verify store was called
            assertTrue(storeCalled.get());
            assertNotNull(capturedConfig.get());
            assertEquals("test-config", capturedConfig.get().getName());
            assertNotNull(capturedCallback.get());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

            final TestableScriptExecutorJob job = new TestableScriptExecutorJob();
            job.process(runtime);
    
            // When logging is disabled, store() is never called
            assertNull(storedJobLog.get());
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

                    if (!executor.isTerminated()) {
                        executor.shutdownNow();
                    }
                }
            }
        }
    
        /**
         * Test that setSearcher and register can be called concurrently.
         */
        @Test
        public void test_concurrentSetAndRegister() throws Exception {
            final int numIterations = 100;
            final CountDownLatch startLatch = new CountDownLatch(1);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/cache/Cache.java

       *
       * <p><b>Warning:</b> this cache may not be recording statistical data. For example, a cache
       * created using {@link CacheBuilder} only does so if the {@link CacheBuilder#recordStats} method
       * was called. If statistics are not being recorded, a {@code CacheStats} instance with zero for
       * all values is returned.
       *
       */
      CacheStats stats();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

        private NdrBuffer mockNdrBuffer;
    
        @Mock
        private NdrBuffer mockDeferredBuffer;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Set the deferred field directly since it's a public field, not a method
            mockNdrBuffer.deferred = mockDeferredBuffer;
            lenient().when(mockNdrBuffer.derive(anyInt())).thenReturn(mockDeferredBuffer);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. internal/event/target/webhook.go

    func (target *WebhookTarget) Close() error {
    	target.cancel()
    	return nil
    }
    
    func (target *WebhookTarget) init() error {
    	return target.initOnce.Do(target.initWebhook)
    }
    
    // Only called from init()
    func (target *WebhookTarget) initWebhook() error {
    	args := target.args
    	transport := target.transport
    
    	if args.ClientCert != "" && args.ClientKey != "" {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 8.8K bytes
    - Click Count (0)
  10. LICENSES/third_party/forked/libcontainer/LICENSE

          (d) If the Work includes a "NOTICE" text file as part of its
              distribution, then any Derivative Works that You distribute must
              include a readable copy of the attribution notices contained
              within such NOTICE file, excluding those notices that do not
              pertain to any part of the Derivative Works, in at least one
              of the following places: within a NOTICE text file distributed
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Oct 22 13:56:22 GMT 2024
    - 10.5K bytes
    - Click Count (0)
Back to Top