- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 414 for handlerIn (0.3 seconds)
-
internal/grid/muxserver.go
} }() // Data inbound to the handler var handlerIn chan []byte if inboundCap > 0 { m.inbound = make(chan []byte, inboundCap) handlerIn = make(chan []byte, 1) go func(inbound chan []byte) { wg.Wait() defer xioutil.SafeClose(handlerIn) m.handleInbound(c, inbound, handlerIn) }(m.inbound) } // Fill outbound block.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 9.7K bytes - Click Count (0) -
internal/grid/handlers.go
"github.com/tinylib/msgp/msgp" ) //go:generate stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go $GOFILE // HandlerID is a handler identifier. // It is used to determine request routing on the server. // Handlers can be registered with a static subroute. // Do NOT remove or change the order of existing handlers. const ( // handlerInvalid is reserved to check for uninitialized values.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 27.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
TestCorsHandler handler1 = new TestCorsHandler("handler1"); TestCorsHandler handler2 = new TestCorsHandler("handler2"); TestCorsHandler handler3 = new TestCorsHandler("handler3"); // Execute corsHandlerFactory.add(origin1, handler1); corsHandlerFactory.add(origin2, handler2); corsHandlerFactory.add(origin3, handler3); // Verify
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/https/HandlerTest.java
// When Handler handler1 = new Handler(null); Handler handler2 = new Handler(null); Handler handler3 = new Handler(null); // Then assertEquals(443, handler1.getDefaultPort()); assertEquals(443, handler2.getDefaultPort()); assertEquals(443, handler3.getDefaultPort()); } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/https/HandlerTest.java
// When Handler handler1 = new Handler(); Handler handler2 = new Handler(); Handler handler3 = new Handler(); // Then assertEquals(443, handler1.getDefaultPort()); assertEquals(443, handler2.getDefaultPort()); assertEquals(443, handler3.getDefaultPort()); } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/Handler.java
synchronized (PROTOCOL_HANDLERS) { URLStreamHandler handler = (URLStreamHandler) PROTOCOL_HANDLERS.get(protocol); if (handler != null) { return handler; } if (factory != null) { handler = factory.createURLStreamHandler(protocol); } if (handler == null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/http/Handler.java
synchronized (PROTOCOL_HANDLERS) { URLStreamHandler handler = PROTOCOL_HANDLERS.get(protocol); if (handler != null) { return handler; } if (factory != null) { handler = factory.createURLStreamHandler(protocol); } if (handler == null) { final String path = System.getProperty(HANDLER_PKGS_PROPERTY);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.9K bytes - Click Count (0) -
internal/grid/grid_test.go
r := RemoteErr(req.String) return nil, &r } errFatal(h1.Register(local, handler1)) errFatal(h2.Register(local, handler2)) errFatal(h1.Register(remote, handler1)) errFatal(h2.Register(remote, handler2)) // local to remote connection remoteConn := local.Connection(remoteHost) const testPayload = "Hello Grid World!" start := time.Now() req := testRequest{Num: 1, String: testPayload}
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K bytes - Click Count (0) -
cmd/crossdomain-xml-handler.go
// policy file that grants access to the source domain, allowing the client to continue the transaction. func setCrossDomainPolicyMiddleware(h http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { cxml := crossDomainXML if globalServerCtxt.CrossDomainXML != "" { cxml = globalServerCtxt.CrossDomainXML }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 18 06:42:40 GMT 2024 - 2.2K bytes - Click Count (0) -
internal/grid/manager.go
if m.handlers.hasAny(id) && !id.isTestHandler() { return ErrHandlerAlreadyExists } m.handlers.streams[id] = &h return nil } subID := makeSubHandlerID(id, h.Subroute) if m.handlers.hasSubhandler(subID) && !id.isTestHandler() { return ErrHandlerAlreadyExists } m.handlers.subStreams[subID] = &h // Copy so clients can also pick it up for other subpaths. m.handlers.subStreams[makeZeroSubHandlerID(id)] = &h
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 12 20:41:41 GMT 2024 - 10.8K bytes - Click Count (0)