- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 204 for REQ (1.43 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
SmbComNTCreateAndX req = createRequest(0, 0); int actual = (int) getPrivateField(req, "createOptions"); assertEquals(0x0040, actual, "createOptions should be padded with 0x0040"); } @Test @DisplayName("addFlags0 combines flags correctly") void addFlags0() { SmbComNTCreateAndX req = createRequest(0, 0); req.addFlags0(0x10);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
internal/grid/handlers.go
// The request may be reused, so caller should clear any fields. func (h *SingleHandler[Req, Resp]) NewRequest() Req { return h.newReq() } // Register a handler for a Req -> Resp roundtrip. // Requests are automatically recycled. func (h *SingleHandler[Req, Resp]) Register(m *Manager, handle func(req Req) (resp Resp, err *RemoteErr), subroute ...string) error { if h.newReq == nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 27.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
// Act int resultWithNull = req.readBytesWireFormat(null, 0); int resultWithData = req.readBytesWireFormat(new byte[] { 1, 2, 3 }, 1); // Assert assertEquals(0, resultWithNull, "Should return 0 for null buffer"); assertEquals(0, resultWithData, "Should return 0 regardless of input data"); } @Nested class CreateResponseTests {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
internal/handlers/forwarder.go
} } if xfPort := req.Header.Get(xForwardedPort); xfPort == "" { req.Header.Set(xForwardedPort, forwardedPort(req)) } if xfHost := req.Header.Get(xForwardedHost); xfHost == "" && req.Host != "" { req.Header.Set(xForwardedHost, req.Host) } } func forwardedPort(req *http.Request) string { if req == nil { return "" } if _, port, err := net.SplitHostPort(req.Host); err == nil && port != "" {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.7K bytes - Viewed (0) -
internal/kms/stub.go
func (s *StubKMS) CreateKey(_ context.Context, req *CreateKeyRequest) error { if s.containsKeyName(req.Name) { return ErrKeyExists } s.KeyNames = append(s.KeyNames, req.Name) return nil } // GenerateKey is a non-functional stub. func (s StubKMS) GenerateKey(_ context.Context, req *GenerateKeyRequest) (DEK, error) { if !s.containsKeyName(req.Name) { return DEK{}, ErrKeyNotFound } return DEK{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java
@Override public void add(ModelProblemCollectorRequest req) { int line = -1; int column = -1; String source = null; String modelId = null; if (req.getLocation() != null) { line = req.getLocation().getLineNumber(); column = req.getLocation().getColumnNumber(); if (req.getLocation().getSource() != null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 5.5K bytes - Viewed (0) -
cmd/auth-handler_test.go
req := mustNewRequest(method, urlStr, contentLength, body, t) req.Header.Set("Content-Md5", "invalid-digest") cred := globalActiveCred if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil { t.Fatalf("Unable to initialized new signed http request %s", err) } return req }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 15.4K bytes - Viewed (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)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 24 15:33:57 UTC 2025 - 11.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java
*/ <REQ extends Request<?>, REP extends Result<REQ>> REP request(REQ req, Function<REQ, REP> supplier); /** * Executes and optionally caches a batch of requests using the provided supplier function. * This method allows for efficient batch processing of multiple requests. * <p> * The implementation may optimize the execution by:Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/WebApiUtil.java
* * @param name The attribute name * @param value The attribute value */ public static void setObject(final String name, final Object value) { LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(name, value)); } /** * Gets an object from the current request attributes. * * @param <T> The type of the object * @param name The attribute nameRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0)