Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 9,621 for Session (0.1 sec)

  1. docs/sts/client-grants.py

    #!/usr/bin/env python
    # -*- coding: utf-8 -*-
    
    import logging
    
    import boto3
    from boto3.session import Session
    from botocore.session import get_session
    
    from client_grants import ClientGrantsCredentialProvider
    
    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    
    bc_session = get_session()
    bc_session.get_component('credential_provider').insert_before(
        'env',
        ClientGrantsCredentialProvider('NZLOOFRSluw9RfIkuHGqfk1HFp4a',
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            return artifactFactory.createParentArtifact(groupId, artifactId, version);
        }
    
        public Artifact createPluginArtifact(Plugin plugin) {
            String version = plugin.getVersion();
            if (version == null || version.isEmpty()) {
                version = "RELEASE";
            }
    
            VersionRange versionRange;
            try {
                versionRange = VersionRange.createFromVersionSpec(version);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  3. tests/count_test.go

    		t.Errorf("multiple count in chain should works")
    	}
    
    	tx := DB.Model(&User{}).Where("name = ?", user1.Name).Session(&gorm.Session{})
    	tx.Count(&count1)
    	tx.Or("name in ?", []string{user2.Name, user3.Name}).Count(&count2)
    	if count1 != 1 || count2 != 3 {
    		t.Errorf("count after new session should works")
    	}
    
    	var count3 int64
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. tests/associations_test.go

    	coupon := &Coupon{
    		AppliesToProduct: []*CouponProduct{
    			{ProductId: "full-save-association-product1"},
    		},
    		AmountOff:  10,
    		PercentOff: 0.0,
    	}
    
    	err := DB.
    		Session(&gorm.Session{FullSaveAssociations: true}).
    		Create(coupon).Error
    	if err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    	if DB.First(&Coupon{}, "id = ?", coupon.ID).Error != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(h -> false); // no close handle
    
            // warm up
            test(listener, session, resource, 0);
    
            for (int i = 1; i < size; i++) {
                final int bytes = i;
    
                service.execute(() -> {
                    test(listener, session, resource, bytes);
                });
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

    public class DefaultMojoExecution implements MojoExecution {
        private final InternalMavenSession session;
        private final org.apache.maven.plugin.MojoExecution delegate;
    
        public DefaultMojoExecution(InternalMavenSession session, org.apache.maven.plugin.MojoExecution delegate) {
            this.session = session;
            this.delegate = delegate;
        }
    
        public org.apache.maven.plugin.MojoExecution getDelegate() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            assertEquals("<%= a", AdminDesignAction.decodeJsp("<%= a"));
            assertEquals("<% try{ %>", AdminDesignAction.decodeJsp("<!--TRY-->"));
            assertEquals("<% }catch(Exception e){session.invalidate();} %>",
                    AdminDesignAction.decodeJsp("<!--CACHE_AND_SESSION_INVALIDATE-->"));
            assertEquals("&lt;% a %&gt; %>", AdminDesignAction.decodeJsp("<% a %> %>"));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jul 28 09:03:48 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

            MavenSession session = legacySupport.getSession();
            if (session != null) {
                request.setRepositorySession(session.getRepositorySession());
                request.setSystemProperties(session.getSystemProperties());
                if (request.getUserProperties().isEmpty()) {
                    request.setUserProperties(session.getUserProperties());
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        // Force reuse. This appears flaky (30% of the time) even though sessions are reused.
        // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing
        // session can be resumed
        //
        // Report https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8264944
        // Sessions improvement https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8245576
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGeneratorFactory.java

        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, InstallRequest request) {
            return new PluginsMetadataGenerator(session, request);
        }
    
        @Override
        public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) {
            return new PluginsMetadataGenerator(session, request);
        }
    
        @Override
        public float getPriority() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top