- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 122 for http_server (0.19 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheRemoteBuildScriptIntegrationTest.groovy
import org.gradle.test.fixtures.file.TestFile import org.gradle.test.fixtures.server.http.HttpServer import org.junit.Rule import spock.lang.Issue class ConfigurationCacheRemoteBuildScriptIntegrationTest extends AbstractConfigurationCacheIntegrationTest { @Rule HttpServer server = new HttpServer() String scriptUrl TestFile scriptFile String scriptName = "remote-script.gradle"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/KeyServer.groovy
import org.gradle.test.fixtures.file.TestFile import org.gradle.test.fixtures.server.http.HttpServer import javax.servlet.http.HttpServletRequest import javax.servlet.http.HttpServletResponse import static org.gradle.security.internal.SecuritySupport.toLongIdHexString class KeyServer extends HttpServer { private final TestFile baseDirectory private final Map<String, File> keyFiles = [:]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3K bytes - Viewed (0) -
cmd/signals.go
os.Exit(0) } os.Exit(1) } stopProcess := func() bool { // send signal to various go-routines that they need to quit. cancelGlobalContext() if httpServer := newHTTPServerFn(); httpServer != nil { if err := httpServer.Shutdown(); err != nil && !errors.Is(err, http.ErrServerClosed) { shutdownLogIf(context.Background(), err) } } if objAPI := newObjectLayerFn(); objAPI != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 17:57:52 UTC 2024 - 2.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/resource/BrokenTextResourceIntegrationTest.groovy
import org.gradle.test.fixtures.server.http.HttpServer import org.junit.Rule import static org.gradle.integtests.fixtures.ToBeFixedForConfigurationCache.Skip.INVESTIGATE class BrokenTextResourceIntegrationTest extends AbstractIntegrationSpec { @Rule public final HttpServer server = new HttpServer() def setup() { buildFile << """ class TextTask extends DefaultTask {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 2.9K bytes - Viewed (0) -
security/pkg/k8s/chiron/utils_test.go
server1 := newMockTLSServer(t) defer server1.httpServer.Close() server2 := newMockTLSServer(t) defer server2.httpServer.Close() host := "127.0.0.1" port1, err := getServerPort(server1.httpServer) if err != nil { t.Fatalf("error to get the server 1 port: %v", err) } port2, err := getServerPort(server2.httpServer) if err != nil { t.Fatalf("error to get the server 2 port: %v", err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
src/net/http/omithttp2.go
_, ok := err.(interface{ IsHTTP2NoCachedConnError() }) return ok } type http2Server struct { NewWriteScheduler func() http2WriteScheduler } type http2WriteScheduler any func http2NewPriorityWriteScheduler(any) http2WriteScheduler { panic(noHTTP2) } func http2ConfigureServer(s *Server, conf *http2Server) error { panic(noHTTP2) } var http2ErrNoCachedConn = http2noCachedConnError{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 22 20:51:27 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishHttpsIntegTest.groovy
import org.gradle.test.fixtures.server.http.HttpServer import org.gradle.test.fixtures.server.http.IvyHttpModule import org.gradle.test.fixtures.server.http.IvyHttpRepository import org.junit.Rule class IvyPublishHttpsIntegTest extends AbstractIvyPublishIntegTest { TestKeyStore keyStore @Rule public final HttpServer server = new HttpServer() IvyHttpRepository ivyRemoteRepo IvyHttpModule module
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 4.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/driver/driver.go
obj = &internalObjTool{o.Obj} } var sym plugin.Symbolizer if o.Sym != nil { sym = &internalSymbolizer{o.Sym} } var httpServer func(args *plugin.HTTPServerArgs) error if o.HTTPServer != nil { httpServer = func(args *plugin.HTTPServerArgs) error { return o.HTTPServer(((*HTTPServerArgs)(args))) } } return &plugin.Options{ Writer: o.Writer, Flagset: o.Flagset, Fetch: o.Fetch,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 9.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
* limitations under the License. */ package org.gradle.test.fixtures.server.http; import com.sun.net.httpserver.BasicAuthenticator; import com.sun.net.httpserver.HttpContext; import com.sun.net.httpserver.HttpExchange; import com.sun.net.httpserver.HttpServer; import org.gradle.api.Action; import org.gradle.internal.ErroringAction; import org.gradle.internal.work.WorkerLeaseService;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0) -
security/pkg/credentialfetcher/plugin/mock.go
} // StartMetadataServer starts a mock GCE metadata server. func StartMetadataServer() (*MetadataServer, error) { ms := &MetadataServer{} httpServer := httptest.NewServer(http.HandlerFunc(ms.getToken)) ms.server = httpServer url, err := url.Parse(httpServer.URL) if err != nil { return nil, fmt.Errorf("parse URL failed: %v", err) } if err := os.Setenv("GCE_METADATA_HOST", url.Host); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3K bytes - Viewed (0)