Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 163 for Alive (0.02 seconds)

  1. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

            }
    
            // Verify alive is false
            assertFalse("alive should be false after all stop() calls", dataStore.alive);
        }
    
        /**
         * Test that multiple threads can safely read alive field while one writes.
         */
        @Test
        public void test_aliveField_concurrentReadWrite() throws Exception {
            dataStore.alive = true;
    
            final int readerCount = 5;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

          .assertLogEqual("<-- END HTTP")
          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogEqual("Host: $host")
          .assertLogEqual("Connection: Keep-Alive")
          .assertLogEqual("Accept-Encoding: gzip")
          .assertLogMatch(Regex("""User-Agent: okhttp/.+"""))
          .assertLogEqual("--> END GET")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms\)"""))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 39.4K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            // All connections are in use. It'll be at least the keep alive duration 'til we run again.
            return keepAliveDurationNs
          }
    
          else -> {
            // No connections, idle or in use.
            return -1
          }
        }
      }
    
      /**
       * Prunes any leaked calls and then returns the number of remaining live calls on [connection].
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            h[1] = (byte) ((length >> 16) & 0x01);
            h[2] = (byte) ((length >> 8) & 0xFF);
            h[3] = (byte) (length & 0xFF);
            return h;
        }
    
        /**
         * Creates a NetBIOS keep-alive header.
         * Keep-alive packets have type 0x85 and zero length.
         */
        private static byte[] keepAliveHeader() {
            byte[] h = new byte[4];
            h[0] = (byte) SessionServicePacket.SESSION_KEEP_ALIVE;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            // Wait for completion with longer timeout
            indexUpdater.join(3000);
    
            assertFalse(errorOccurred.get());
            // Thread may still be alive in test environment, just check no errors
            // // Thread may still be alive in test environment
            // assertFalse(indexUpdater.isAlive());
        }
    
        // Test updateDocument with boost matcher
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            for (ChannelInfo channel : channels.values()) {
                if (channel.getIdleTime() > 60000) { // 1 minute idle
                    // Send keep-alive
                    try {
                        sendKeepAlive(channel);
                    } catch (Exception e) {
                        log.debug("Keep-alive failed for channel {}", channel.getChannelId());
                        handleChannelFailure(channel, e);
                    }
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            ComponentUtil.setFessConfig(fessConfig);
    
            // Execute
            String result = pingSearchEngineJob.execute();
    
            // Assert
            assertEquals("test-cluster is alive.", result);
        }
    
        // Test RED status with state change
        @Test
        public void test_execute_redStatusNoChange() {
            // Setup mock components
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            } finally {
                if (task != null) {
                    task.cancel();
                }
                if (p != null && p.isAlive()) {
                    logger.warn("Process {} is still alive in finally block. Forcing destruction.", p);
                    if (task == null) {
                        task = new ProcessDestroyer(p, ist, commandDestroyTimeout);
                    }
                    if (!task.isExecuted()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

            return this.pipe;
        }
    
        @Override
        public SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            if (this.treeHandle == null) {
                // extra acquire to keep the tree alive
                this.treeHandle = this.pipe.ensureTreeConnected();
            }
            return this.treeHandle.acquire();
        }
    
        public String getUncPath() {
            return this.uncPath;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt

      }
    
      /**
       * Regression test for an edge case where closing response body in the HTTP engine doesn't release
       * the corresponding stream allocation. This test keeps those response bodies alive and reads
       * them after the redirect has completed. This forces a connection to not be reused where it would
       * be otherwise.
       *
       *
       * This test leaks a response body by not closing it.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.3K bytes
    - Click Count (1)
Back to Top