Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 106 for getStats (0.17 seconds)

  1. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            assertEquals(origin, handler.getLastOrigin());
            assertSame(mockRequest, handler.getLastRequest());
            assertSame(mockResponse, handler.getLastResponse());
            assertEquals(0, mockResponse.getStatus()); // Status not set for non-OPTIONS
        }
    
        // Test with valid Origin and CorsHandler found (POST request)
        @Test
        public void test_doFilter_withCorsHandler_post() throws IOException, ServletException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          boolean isDone() {
            return (getState() & (COMPLETED | CANCELLED | INTERRUPTED)) != 0;
          }
    
          /** Checks if the state is {@link #CANCELLED} or {@link #INTERRUPTED}. */
          boolean isCancelled() {
            return (getState() & (CANCELLED | INTERRUPTED)) != 0;
          }
    
          /** Checks if the state is {@link #INTERRUPTED}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/entity/PingResponse.java

         *
         * @param response the cluster health response
         */
        public PingResponse(final ClusterHealthResponse response) {
            status = response.getStatus() == ClusterHealthStatus.RED ? 1 : 0;
            clusterName = response.getClusterName();
            clusterStatus = response.getStatus().toString();
            final Set<String> fieldSet = ComponentUtil.getFessConfig().getApiPingEsFieldSet();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.4K bytes
    - Click Count (2)
  4. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
    
            // Wait for timeout
            Thread.sleep(150);
    
            // Next call should transition to HALF_OPEN
            String result = circuitBreaker.call(() -> "success");
            assertEquals("success", result);
            assertEquals(SimpleCircuitBreaker.State.HALF_OPEN, circuitBreaker.getState());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java

            mockRequest.setRequestURI("/search");
    
            testableFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
    
            assertTrue(mockFilterChain.wasDoFilterCalled());
            assertEquals(0, mockResponse.getStatus());
        }
    
        @Test
        public void test_doFilter_apiDisabled() throws IOException, ServletException {
            setConfig(100, 100);
            testableFilter.setCpuPercent((short) 90);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          boolean isDone() {
            return (getState() & (COMPLETED | CANCELLED | INTERRUPTED)) != 0;
          }
    
          /** Checks if the state is {@link #CANCELLED} or {@link #INTERRUPTED}. */
          boolean isCancelled() {
            return (getState() & (CANCELLED | INTERRUPTED)) != 0;
          }
    
          /** Checks if the state is {@link #INTERRUPTED}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertEquals(ChannelState.DISCONNECTED, channelInfo.getState());
            assertFalse(channelInfo.isPrimary());
            assertEquals(0, channelInfo.getBytesSent());
            assertEquals(0, channelInfo.getBytesReceived());
        }
    
        @Test
        void testStateTransitions() {
            assertEquals(ChannelState.DISCONNECTED, channelInfo.getState());
            assertFalse(channelInfo.isHealthy());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerBuildTask.java

            workerExecutor.noIsolation().submit(DockerBuildAction.class, params -> {
                params.getDockerContext().set(dockerContext);
                params.getMarkerFile().set(markerFile);
                params.getTags().set(Arrays.asList(tags));
                params.getPull().set(pull);
                params.getNoCache().set(noCache);
                params.getBaseImages().set(Arrays.asList(baseImages));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            try {
                createResp = th.send(create);
            } catch (final SmbException e) {
                final Smb2CreateResponse cr = create.getResponse();
                if (cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_SUCCESS) {
                    try {
                        th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId()));
                    } catch (final SmbException e2) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTask.java

        }
    
        public void setOutputDir(File outputDir) {
            this.outputDir.set(outputDir);
        }
    
        public void copy(String resource) {
            if (getState().getExecuted() || getState().getExecuting()) {
                throw new GradleException(
                    "buildResources can't be configured after the task ran. " + "Make sure task is not used after configuration time"
                );
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.5K bytes
    - Click Count (0)
Back to Top