- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 210 for Req (0.01 seconds)
-
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
// ## Arrange ## CurlRequest req = new MockCurlRequest(Curl.Method.POST, "http://dummy"); req.threshold(0); // always create tmp file // ## Act ## long before = countTmpFiles(); logger.info("Before request. Number of temp files: " + before); req.execute(res -> {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
internal/handlers/proxy_test.go
} for _, v := range headers { req := &http.Request{ Header: http.Header{ v.key: []string{v.val}, }, } res := GetSourceIP(req) if res != v.expected { t.Errorf("wrong header for %s: got %s want %s", v.key, res, v.expected) } } } func TestXFFDisabled(t *testing.T) { req := &http.Request{ Header: http.Header{ xForwardedFor: []string{"8.8.8.8"},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 3.9K bytes - Click Count (0) -
internal/kms/kms.go
k.updateMetrics(err, time.Since(start)) return plaintext, err } // MAC generates the checksum of the given req.Message using the key // with the req.Name at the KMS. func (k *KMS) MAC(ctx context.Context, req *MACRequest) ([]byte, error) { if req.Name == "" { req.Name = k.DefaultKey } start := time.Now() mac, err := k.conn.MAC(ctx, req)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 24 15:33:57 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/request/RequestBuilder.java
* * @param <Req> the type of the request * @param <Res> the type of the response */ public abstract class RequestBuilder<Req extends Request<Res>, Res extends Response> { /** The OpenSearch client. */ protected Client client; /** The request being built. */ protected Req request; /** * Constructor for RequestBuilder.
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 1.6K bytes - Click Count (0) -
internal/rest/client.go
// variable to mean explicitly zero. if req.GetBody != nil && req.ContentLength == 0 { req.Body = http.NoBody req.GetBody = func() (io.ReadCloser, error) { return http.NoBody, nil } } } if c.auth != nil { req.Header.Set("Authorization", "Bearer "+c.auth()) } req.Header.Set("X-Minio-Time", strconv.FormatInt(time.Now().UnixNano(), 10))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
for (String path : paths) { Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, path); // When int actualSize = req.size(); int expectedUnaligned = Smb2Constants.SMB2_HEADER_LENGTH + 8 + path.length() * 2; int expectedAligned = (int) size8Method.invoke(req, expectedUnaligned); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
cmd/generic-handlers_contrib.go
"strings" ) // guessIsLoginSTSReq - returns true if incoming request is Login STS user func guessIsLoginSTSReq(req *http.Request) bool { if req == nil { return false } return strings.HasPrefix(req.URL.Path, loginPathPrefix) || (req.Method == http.MethodPost && req.URL.Path == SlashSeparator && getRequestAuthType(req) == authTypeSTS)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 30 15:50:39 GMT 2021 - 995 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestResult.java
* @since 4.0.0 */ @Experimental public record RequestResult<REQ extends Request<?>, REP extends Result<REQ>>( /** * The original request that was processed */ REQ request, /** * The result of the request, if successful; may be null if an error occurred */ REP result, /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java
new Smb2Lock(200L, 300L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK) }; Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, multipleLocks); Smb2LockResponse response = req.createResponse(mockContext, req); assertNotNull(response); } } @Nested @DisplayName("Integration Tests") class IntegrationTests {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
when(config.getNotifyBufferSize()).thenReturn(8192); // When Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId); // Then assertNotNull(req); assertTrue(req instanceof ServerMessageBlock2Request); assertTrue(req instanceof ServerMessageBlock2); } @Test @DisplayName("Should set notify flags correctly")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0)