Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for force32 (0.04 sec)

  1. android/guava-tests/test/com/google/common/math/IntMathTest.java

        assertEquals(10, IntMath.saturatedAbs(10));
        assertEquals(10, IntMath.saturatedAbs(-10));
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/HashBiMap.java

        int keyHash = Hashing.smearedHash(key);
        int entryForKey = findEntryByKey(key, keyHash);
        if (entryForKey != ABSENT) {
          V oldValue = values[entryForKey];
          if (Objects.equals(oldValue, value)) {
            return value;
          } else {
            replaceValueInEntry(entryForKey, value, force);
            return oldValue;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            }
    
            try {
                dataIndexHelper.crawl("test-session-force-stop");
                assertTrue("Should exit quickly when force stopped", true);
            } catch (Exception e) {
                assertTrue("Force stop should handle exceptions quickly", true);
            }
        }
    
        public void test_crawl_with_short_intervals() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

            }
    
        }
    
        /**
         * Initializes OpenSearch monitoring probes.
         * Forces the loading of process, OS, and JVM monitoring probes
         * to ensure they are available for system monitoring during crawling.
         */
        static void initializeProbes() {
            // Force probes to be loaded
            ProcessProbe.getInstance();
            OsProbe.getInstance();
            JvmInfo.jvmInfo();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     * doesn't cache partial responses.
     *
     * ## Force a Network Response
     *
     * In some situations, such as after a user clicks a 'refresh' button, it may be necessary to skip
     * the cache, and fetch data directly from the server. To force a full refresh, add the `no-cache`
     * directive:
     *
     * ```java
     * Request request = new Request.Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/Collections2Test.java

                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
        assertEquals(
            Integer.MAX_VALUE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Checks if the system is in a force-stop state.
         *
         * @return true if the system is force-stopping, false otherwise.
         */
        public boolean isForceStop() {
            return forceStop.get();
        }
    
        /**
         * Sets the force-stop state of the system.
         *
         * @param b true to force-stop the system.
         */
        public void setForceStop(final boolean b) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                logger.info("Deleted completed document data. The execution time is {}ms.", systemHelper.getCurrentTimeAsLong() - execTime);
            }
        }
    
        /**
         * Forces all crawlers to stop immediately.
         * Sets the force stop flag and stops all active crawler instances.
         */
        private void forceStop() {
            systemHelper.setForceStop(true);
            if (crawlerList != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

        // Write metadata to the end of the file.
        writeMetadata(upstreamSize)
        file!!.channel.force(false)
    
        // Once everything else is in place we can swap the dirty header for a clean one.
        writeHeader(PREFIX_CLEAN, upstreamSize, metadata.size.toLong())
        file!!.channel.force(false)
    
        // This file is complete.
        synchronized(this@Relay) {
          complete = true
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

             * the case of the Samsung bug, and we do that by breaking AtomicReferenceFieldUpdater.
             * Breaking AtomicReferenceFieldUpdater not only forces AggregateFutureState to fall back to
             * another implementation but also forces AbstractFutureState to be able to do the
             * same—hence the try-catch here.
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
Back to top