Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 119 for http2server (0.19 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpModule.groovy

    class MavenHttpModule extends DelegatingMavenModule<MavenHttpModule> implements RemoteMavenModule, HttpModule {
        private final HttpServer server
        private final String repoRoot
        private final String moduleRootUriPath
        private final String uriPath
        private final MavenFileModule backingModule
    
        MavenHttpModule(HttpServer server, String repoRoot, MavenFileModule backingModule) {
            super(backingModule)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. cmd/background-heal-ops.go

    				return
    			}
    			time.Sleep(waitTick)
    			tmpMaxWait -= waitTick
    		}
    		if tmpMaxWait <= 0 {
    			return
    		}
    	}
    }
    
    func currentHTTPIO() int {
    	httpServer := newHTTPServerFn()
    	if httpServer == nil {
    		return 0
    	}
    
    	return httpServer.GetRequestCount() - activeListeners()
    }
    
    func waitForLowHTTPReq() {
    	maxIO, maxWait, _ := globalHealConfig.Clone()
    	waitForLowIO(maxIO, maxWait, currentHTTPIO)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/resource/TextResourceIntegrationTest.groovy

        @Rule
        TestResources resource = new TestResources(temporaryFolder)
    
        @Rule
        public final HttpServer server = new HttpServer()
    
        def "string backed text resource"() {
            when:
            run("stringText")
    
            then:
            result.assertTasksExecuted(":stringText")
            file("output.txt").text == "my config"
    
            when:
            run("stringText")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/extensibility/unit-test-fixtures/src/integTest/groovy/org/gradle/testfixtures/ProjectBuilderIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.testfixtures
    
    import org.gradle.api.Project
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.fixtures.server.http.MavenHttpRepository
    import org.gradle.testfixtures.internal.ProjectBuilderImpl
    import org.gradle.util.SetSystemProperties
    import org.junit.Rule
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishBuildOperationIntegrationTest.groovy

    import org.gradle.internal.resource.ExternalResourceWriteBuildOperationType
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.fixtures.server.http.MavenHttpRepository
    
    class MavenPublishBuildOperationIntegrationTest extends AbstractMavenPublishIntegTest {
        def server = new HttpServer()
        def buildOperations = new BuildOperationsFixture(executer, temporaryFolder)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishChangingUrlIntegTest.groovy

    import org.gradle.test.fixtures.ivy.IvyFileRepository
    import org.gradle.test.fixtures.ivy.IvyModule
    import org.gradle.test.fixtures.server.http.HttpServer
    import org.junit.Rule
    
    class IvyPublishChangingUrlIntegTest extends AbstractIvyPublishIntegTest {
    
        @Rule HttpServer server
    
        String moduleName = "publish"
        String org = "org.gradle"
        String rev = "2"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/fixtures/S3Server.groovy

                        response.outputStream.bytes = httpStub.response.body.call()
                    }
                }
            }
        }
    
        private void add(HttpStub httpStub, HttpServer.ActionSupport action) {
            HttpServer.HttpExpectOne expectation = new HttpServer.HttpExpectOne(action, [httpStub.request.method], httpStub.request.path)
            expectations << expectation
            addHandler(new AbstractHandler() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy

    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.matchers.UserAgentMatcher
    import org.gradle.util.GradleVersion
    import org.junit.Rule
    import org.junit.Test
    
    @SuppressWarnings("IntegrationTestFixtures")
    class ExternalScriptExecutionIntegrationTest extends AbstractIntegrationTest {
        @Rule
        public final HttpServer server = new HttpServer()
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. pkg/registry/core/componentstatus/validator.go

    )
    
    const (
    	probeTimeOut = 20 * time.Second
    )
    
    type ValidatorFn func([]byte) error
    
    type Server interface {
    	DoServerCheck() (probe.Result, string, error)
    }
    
    type HttpServer struct {
    	Addr        string
    	Port        int
    	Path        string
    	EnableHTTPS bool
    	TLSConfig   *tls.Config
    	Validate    ValidatorFn
    	Prober      httpprober.Prober
    	Once        sync.Once
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 13:08:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy

    import org.gradle.test.fixtures.server.http.HttpServer
    import org.gradle.test.fixtures.server.http.MavenHttpModule
    import org.gradle.test.fixtures.server.http.MavenHttpRepository
    import org.junit.Rule
    import spock.lang.Issue
    
    class MavenPublishHttpIntegTest extends AbstractMavenPublishIntegTest {
    
        @Rule
        HttpServer server
        @Rule
        HttpServer redirectServer
    
        final String repoPath = "/repo"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top