Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for new_context (0.04 sec)

  1. scripts/playwright/sql_databases/image02.py

    def run(playwright: Playwright) -> None:
        browser = playwright.chromium.launch(headless=False)
        # Update the viewport manually
        context = browser.new_context(viewport={"width": 960, "height": 1080})
        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_label("post /heroes/").click()
        # Manually add the screenshot
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            assertActivation(true, profile, newContext(null, newProperties("1.3.1_09-b03")));
    
            assertActivation(true, profile, newContext(null, newProperties("1.5")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0_09")));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));
            assertActivation(false, profile, newContext(null, newProperties("windows", "1", "aarch64")));
            assertActivation(false, profile, newContext(null, newProperties("windows", "99", "amd64")));
            assertActivation(true, profile, newContext(null, newProperties("windows", "99", "aarch64")));
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

        }
    
        private SpnegoContext newContext() {
            return new SpnegoContext(this.config, this.mechContext, this.mechs);
        }
    
        @Test
        @DisplayName("getSupportedMechs returns SPNEGO OID")
        void testGetSupportedMechs() {
            SpnegoContext ctx = newContext();
            ASN1ObjectIdentifier[] supported = ctx.getSupportedMechs();
            assertNotNull(supported);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. scripts/contributors.py

    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
        if old_content == new_content:
            logging.info(f"The content hasn't changed for {content_path}")
            return False
        content_path.write_text(new_content, encoding="utf-8")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

            assertActivation(false, profile, newContext(newProperties("other", "value"), null));
        }
    
        @Test
        void testWithNameOnlySystemProperty() throws Exception {
            Profile profile = newProfile("prop", null);
    
            assertActivation(true, profile, newContext(null, newProperties("prop", "value")));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. cmd/dummy-handlers.go

    // They are only defined to be used in this file alone.
    
    // GetBucketWebsite  - GET bucket website, a dummy api
    func (api objectAPIHandlers) GetBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketWebsite")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. cmd/kms-handlers.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // KMSStatusHandler - GET /minio/kms/v1/status
    func (a kmsAPIHandlers) KMSStatusHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSStatus")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.KMSStatusAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if GlobalKMS == nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. scripts/people.py

    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
        if old_content == new_content:
            logging.info(f"The content hasn't changed for {content_path}")
            return False
        content_path.write_text(new_content, encoding="utf-8")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. scripts/sponsors.py

    
    def update_content(*, content_path: Path, new_content: Any) -> bool:
        old_content = content_path.read_text(encoding="utf-8")
    
        new_content = yaml.dump(new_content, sort_keys=False, width=200, allow_unicode=True)
        if old_content == new_content:
            logging.info(f"The content hasn't changed for {content_path}")
            return False
        content_path.write_text(new_content, encoding="utf-8")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top