- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for readRequests (0.68 sec)
-
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/AbstractInstrumentationProcessor.java
Map<ExecutableElement, List<CallInterceptionRequestReader.Result.InvalidRequest>> errors = new LinkedHashMap<>(); List<CallInterceptionRequestReader.Result.Success> successResults = new ArrayList<>(); readRequests(readers, allMethodElementsInAnnotatedClasses, errors, successResults); if (!errors.isEmpty()) { Messager messager = processingEnv.getMessager();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 10.3K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
defer cancel() fixture := connect(ctx) ztunClient := fixture.ztunClient uid := fixture.uid // read initial pod add readRequest(t, ztunClient) sendAck(ztunClient) // read snapshot sent m, fds := readRequest(t, ztunClient) assert.Equal(t, len(fds), 0) sent := m.Payload.(*zdsapi.WorkloadRequest_SnapshotSent).SnapshotSent if sent == nil { panic("expected snapshot sent") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/api/CallInterceptionRequestReaderFromAnnotatedMethod.java
import java.util.Collection; public interface CallInterceptionRequestReaderFromAnnotatedMethod extends CallInterceptionRequestReader<ExecutableElement> { @Override Collection<Result> readRequest(ExecutableElement input);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 972 bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/api/CallInterceptionRequestReader.java
import org.gradle.internal.instrumentation.model.CallInterceptionRequest; import java.util.Collection; public interface CallInterceptionRequestReader<T> { Collection<Result> readRequest(T input); interface Result { class Success implements Result { private final CallInterceptionRequest request; public Success(CallInterceptionRequest request) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Oct 02 15:44:14 UTC 2023 - 1.4K bytes - Viewed (0) -
src/net/http/httptest/httptest.go
// the NewRequest function in the net/http package. func NewRequestWithContext(ctx context.Context, method, target string, body io.Reader) *http.Request { if method == "" { method = "GET" } req, err := http.ReadRequest(bufio.NewReader(strings.NewReader(method + " " + target + " HTTP/1.0\r\n\r\n"))) if err != nil { panic("invalid NewRequest arguments; " + err.Error()) } req = req.WithContext(ctx)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 18:09:14 UTC 2024 - 2.6K bytes - Viewed (0) -
src/net/http/readrequest_test.go
Close: true, }, noBodyStr, noTrailer, noError, }, } func TestReadRequest(t *testing.T) { for i := range reqTests { tt := &reqTests[i] req, err := ReadRequest(bufio.NewReader(strings.NewReader(tt.Raw))) if err != nil { if err.Error() != tt.Error { t.Errorf("#%d: error %q, want error %q", i, err.Error(), tt.Error) } continue } rbody := req.Body
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 14 22:23:32 UTC 2024 - 10K bytes - Viewed (0) -
src/net/http/request.go
textprotoReaderPool.Put(r) } // ReadRequest reads and parses an incoming request from b. // // ReadRequest is a low-level function and should only be used for // specialized applications; most code should use the [Server] to read // requests and handle them via the [Handler] interface. ReadRequest // only supports HTTP/1.x requests. For HTTP/2, use golang.org/x/net/http2. func ReadRequest(b *bufio.Reader) (*Request, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
source: BufferedSource, sink: BufferedSink, ): Boolean { if (source.exhausted()) { return false // No more requests on this socket. } val request = readRequest(socket, source, sink, sequenceNumber) atomicRequestCount.incrementAndGet() requestQueue.add(request) if (request.failure != null) { return false // Nothing to respond to. }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 37.4K bytes - Viewed (0) -
src/net/http/httputil/dump_test.go
}, WantDump: "POST /v2/api/?login HTTP/1.1\r\n" + "Host: passport.myhost.com\r\n" + "Content-Length: 3\r\n" + "\r\nkey", }, // Issue #7215. DumpRequest should return the "Content-Length" in ReadRequest { GetReq: func() *http.Request { return mustReadRequest("POST /v2/api/?login HTTP/1.1\r\n" + "Host: passport.myhost.com\r\n" + "Content-Length: 0\r\n" + "\r\nkey1=name1&key2=name2") },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:34:07 UTC 2022 - 12.5K bytes - Viewed (0) -
src/net/rpc/server.go
// decode requests and encode responses. func (server *Server) ServeCodec(codec ServerCodec) { sending := new(sync.Mutex) wg := new(sync.WaitGroup) for { service, mtype, req, argv, replyv, keepReading, err := server.readRequest(codec) if err != nil { if debugLog && err != io.EOF { log.Println("rpc:", err) } if !keepReading { break } // send a response if we actually managed to read a header.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 21.6K bytes - Viewed (0)