Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 169 for req (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

            List<Profile> profiles = profileSelector.getActiveProfiles(profilesById.values(), context, req -> {
                if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) {
                    errors.add(new ProfileActivationException(req.getMessage(), req.getException()));
                }
            });
    
            if (!errors.isEmpty()) {
                throw errors.get(0);
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. cmd/object-api-options_test.go

    			},
    		},
    	}
    
    	for _, testCase := range testCases {
    		t.Run(testCase.name, func(t *testing.T) {
    			rec := httptest.NewRecorder()
    			req := httptest.NewRequest("GET", "/test", nil)
    			req.Header = testCase.headers
    
    			opts, _ := getAndValidateAttributesOpts(ctx, rec, req, bucket, "testobject")
    
    			if !reflect.DeepEqual(opts.ObjectAttributes, testCase.wantObjectAttrs) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            when(tree.acquire(false)).thenReturn(tree);
    
            CommonServerMessageBlockRequest req = mock(CommonServerMessageBlockRequest.class);
            CommonServerMessageBlockResponse resp = mock(CommonServerMessageBlockResponse.class);
    
            // Configure the tree to throw transport error on first call, succeed on second
            when(tree.send(eq(req), eq(resp), anySet()))
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            byte ap = (byte) 0x7A;
            ASN1Sequence seq = buildMinimalApReqSeq(ap);
    
            // Act
            KerberosApRequest req = new KerberosApRequest(seq, null);
    
            // Assert
            assertEquals(ap, req.getApOptions(), "apOptions should reflect BIT STRING's first byte");
            assertNull(req.getTicket(), "ticket should be null when tag 3 is absent");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 4, 6, 99 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

    /**
     * Represents a Kerberos AP-REQ (Application Request) message.
     * This class parses and contains the authentication request sent from a client to a server.
     */
    public class KerberosApRequest {
    
        private byte apOptions;
        private KerberosTicket ticket;
    
        /**
         * Creates a Kerberos AP request from a token.
         *
         * @param token the Kerberos AP-REQ token
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NtlmHttpServletRequest.java

    import jakarta.servlet.http.HttpServletRequestWrapper;
    
    class NtlmHttpServletRequest extends HttpServletRequestWrapper {
    
        Principal principal;
    
        NtlmHttpServletRequest(final HttpServletRequest req, final Principal principal) {
            super(req);
            this.principal = principal;
        }
    
        @Override
        public String getRemoteUser() {
            return this.principal.getName();
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

         */
        return (int) Math.pow(a, 1.0 / concentration);
      }
    
      @AfterExperiment
      void tearDown() {
        double req = requests.get();
        double hit = req - misses.get();
    
        // Currently, this is going into /dev/null, but I'll fix that
        System.out.println("hit rate: " + hit / req);
      }
    
      // for proper distributions later:
      // import JSci.maths.statistics.ProbabilityDistribution;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. cmd/kms-handlers_test.go

    		accessKey = userAccessKey
    		secretKey = userSecretKey
    	}
    
    	req := buildKMSRequest(t, test.method, test.path, accessKey, secretKey, test.query)
    	rec := httptest.NewRecorder()
    	adminTestBed.router.ServeHTTP(rec, req)
    
    	t.Logf("HTTP req: %s, resp code: %d, resp body: %s", req.URL.String(), rec.Code, rec.Body.String())
    
    	// Check status code
    	if rec.Code != test.wantStatusCode {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                }
            };
    
            // When
            BufferCache.getBuffers(req, rsp);
    
            // Then
            assertNotNull(req.txn_buf, "Request buffer should be allocated");
            assertNotNull(rsp.txn_buf, "Response buffer should be allocated");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, req.txn_buf.length, "Request buffer should have correct size");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            SmbComNTCreateAndX req = mock(SmbComNTCreateAndX.class);
            SmbComNTCreateAndXResponse resp = mock(SmbComNTCreateAndXResponse.class);
    
            // Act
            pipe.customizeCreate(req, resp);
    
            // Assert: verify interactions with dependencies
            verify(req, times(1)).addFlags0(0x16);
            verify(resp, times(1)).setExtended(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top