Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 4,188 for long (0.02 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java

     *
     */
    public final class CLIReportingUtils {
        // CHECKSTYLE_OFF: MagicNumber
        public static final long MB = 1024 * 1024;
    
        private static final long ONE_SECOND = 1000L;
    
        private static final long ONE_MINUTE = 60 * ONE_SECOND;
    
        private static final long ONE_HOUR = 60 * ONE_MINUTE;
    
        private static final long ONE_DAY = 24 * ONE_HOUR;
        // CHECKSTYLE_ON: MagicNumber
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 15:02:53 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Internal.java

       *
       * <p>Instead of throwing {@link ArithmeticException}, this method silently saturates to either
       * {@link Long#MAX_VALUE} or {@link Long#MIN_VALUE}. This behavior can be useful when decomposing
       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      // We use this method only for cases in which we need to decompose to primitives.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        @Test
        @DisplayName("Test getSize returns endOfFile value")
        void testGetSize() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
            long expectedAllocationSize = 1024L;
            long expectedEndOfFile = 512L;
            int expectedNumberOfLinks = 3;
            boolean expectedDeletePending = true;
            boolean expectedDirectory = false;
    
            // Encode test data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/nio/ChannelUtil.java

        }
    
        /**
         * Returns the size of the file.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @return The size of the file.
         */
        public static long size(final FileChannel channel) {
            assertArgumentNotNull("channel", channel);
    
            try {
                return channel.size();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      /** Invokes {@code unit.}{@link TimeUnit#sleep(long) sleep(sleepFor)} uninterruptibly. */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public static void sleepUninterruptibly(long sleepFor, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(sleepFor);
          long end = System.nanoTime() + remainingNanos;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                final long indexTime) {
            final double cpuLoad;
            if (ManagementFactory.getOperatingSystemMXBean() instanceof final com.sun.management.OperatingSystemMXBean operatingSystemMXBean) {
                cpuLoad = operatingSystemMXBean.getProcessCpuLoad();
            } else {
                cpuLoad = -1;
            }
            final long maxMemory = Runtime.getRuntime().maxMemory();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            req.threshold(0); // always create tmp file
    
            // ## Act ##
            long before = countTmpFiles();
            logger.info("Before request. Number of temp files: " + before);
            req.execute(res -> {
                logger.info("Processing request. Number of temp files: " + countTmpFiles());
            }, e -> {});
            long after = countTmpFiles();
            logger.info("After close response. Number of temp files: " + after);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

        protected final boolean hasError;
        /** List of errors. */
        protected final List<Throwable> errors = new ArrayList<>();
        /** Time taken for the operation in milliseconds. */
        protected final long took;
    
        /**
         * Constructor for SuggestIndexResponse.
         * @param numberOfSuggestDocs The number of suggest documents.
         * @param numberOfInputDocs The number of input documents.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

         */
        @Override
        public void iterate(final String sessionId, final AccessResultCallback<AccessResultImpl<Long>> accessResultCallback) {
            final Map<String, AccessResultImpl<Long>> arMap = dataHelper.getAccessResultMap(sessionId);
            for (final Map.Entry<String, AccessResultImpl<Long>> entry : arMap.entrySet()) {
                accessResultCallback.iterate(entry.getValue());
            }
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/resources/mapping/data.json

          },
          "sessionId": {
            "type": "keyword"
          },
          "url": {
            "type": "keyword"
          },
          "executionTime": {
            "type": "long"
          },
          "createTime": {
            "type": "long"
          },
          "accessResultData": {
            "properties": {
              "transformerName": {
                "type": "keyword"
              },
              "encoding": {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 963 bytes
    - Viewed (0)
Back to top