Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,356 for afterFn (0.05 seconds)

  1. docs/en/docs/advanced/events.md

    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Because this code is executed before the application **starts** taking requests, and right after it **finishes** handling requests, it covers the whole application **lifespan** (the word "lifespan" will be important in a second 😉).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. cmd/bucket-metadata.go

    	if b.PolicyConfigUpdatedAt.After(t) {
    		t = b.PolicyConfigUpdatedAt
    	}
    	if b.ObjectLockConfigUpdatedAt.After(t) {
    		t = b.ObjectLockConfigUpdatedAt
    	}
    	if b.EncryptionConfigUpdatedAt.After(t) {
    		t = b.EncryptionConfigUpdatedAt
    	}
    	if b.TaggingConfigUpdatedAt.After(t) {
    		t = b.TaggingConfigUpdatedAt
    	}
    	if b.QuotaConfigUpdatedAt.After(t) {
    		t = b.QuotaConfigUpdatedAt
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  3. tests/association_generics_test.go

    	}
    
    	// Verify both associations were created using real database queries
    	AssertAssociationCount(t, &user, "Pets", 1, "after Set Update with multiple associations")
    	AssertAssociationCount(t, &user, "Toys", 1, "after Set Update with multiple associations")
    }
    
    // Test Set + Update with multiple associations using real database
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                    } catch (CIFSException e) {
                        // Expected
                    }
                }
    
                // Circuit should be OPEN after 3 failures
                assertEquals(State.OPEN, customCb.getState(), "Circuit should be OPEN after regular failures");
                assertEquals(3, customCb.getFailureCount(), "Should have 3 failures");
    
                // Reset for custom predicate test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  5. cmd/batch-replicate_gen_test.go

    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgBatchJobReplicateCredentials(b *testing.B) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            // Test state after nextElement call
            response.nextElement();
            // Response behavior may change after nextElement
    
            // Test state after error (using errorCode, not status)
            response.setTestErrorCode(1);
            assertFalse(response.hasMoreElements());
    
            // Test state after reset
            response.reset();
            // After reset, hasMore should be true again
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        /* Should complain on attempt to remove() after peek(). */
        assertThrows(IllegalStateException.class, () -> peekingIterator.remove());
    
        assertEquals(
            "After remove() throws exception, peek should still be ok", "B", peekingIterator.peek());
    
        /* Should recover to be able to remove() after next(). */
        assertEquals("B", peekingIterator.next());
        peekingIterator.remove();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(checkTarget.exists(), "Target file should exist after rename");
    
            // Verify content is preserved
            try (InputStream in = checkTarget.getInputStream()) {
                String readContent = new String(in.readAllBytes(), "UTF-8");
                assertEquals(content, readContent, "Content should be preserved after rename");
            }
    
            // Best effort to verify source is gone
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/lex/lex_test.go

    		lines(
    			"#define A 1\\",
    			"\t2\\",
    			"\t3",
    			"before",
    			"A",
    			"after",
    		),
    		"before.\n.1.\n.2.\n.3.\n.after.\n",
    	},
    	{
    		"multiline macro with arguments",
    		lines(
    			"#define A(a, b, c) a\\",
    			"\tb\\",
    			"\tc",
    			"before",
    			"A(1, 2, 3)",
    			"after",
    		),
    		"before.\n.1.\n.2.\n.3.\n.after.\n",
    	},
    	{
    		"LOAD macro",
    		lines(
    			"#define LOAD(off, reg) \\",
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  10. docs/site-replication/run-multi-site-oidc.sh

    	exit_1
    fi
    
    sleep 10
    ./mc admin user svcacct info minio2 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    ./mc admin user svcacct info minio3 testsvc
    if [ $? -eq 0 ]; then
    	echo "svc account found after delete, exiting.."
    	exit_1
    fi
    
    # create a bucket bucket2 on minio1.
    ./mc mb minio1/bucket2
    
    ./mc mb minio1/newbucket
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 8.5K bytes
    - Click Count (0)
Back to Top