Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 23 for Guard (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * found in any textbook.
       */
    
      /** Monitor guarding all access */
      final Monitor monitor;
    
      /** Guard for waiting takes */
      private final Monitor.Guard notEmpty;
    
      /** Guard for waiting puts */
      private final Monitor.Guard notFull;
    
      // Internal helper methods
    
      /** Circularly increment i. */
      final int inc(int i) {
        return (++i == items.length) ? 0 : i;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/ThrowablesTest.java

      @J2ktIncompatible
      @GwtIncompatible // lazyStackTraceIsLazy()
      public void testLazyStackTraceWorksInProd() {
        // TODO(b/64442212): Remove this guard once lazyStackTrace() works in Java 9+.
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        if (javaVersion != null && javaVersion >= 9) {
          return;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  3. CONTRIBUTING.md

    TensorFlow coding style.
    
    #### General guidelines and philosophy for contribution
    
    *   Include unit tests when you contribute new features, as they help to a)
        prove that your code works correctly, and b) guard against future breaking
        changes to lower the maintenance cost.
    *   Bug fixes also generally require unit tests, because the presence of bugs
        usually indicates insufficient test coverage.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Jan 11 04:47:59 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final int rankConstant = fessConfig.getRankFusionRankConstantAsInteger();
            // Guard against division by zero (should not happen due to caller checks, but defensive)
            if (searchers.length == 0) {
                logger.warn("searchWithMultipleSearchers called with empty searcher array");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            queue[0] = x;
            return 0;
          }
          int parentIndex = getParentIndex(index);
          E parentElement = elementData(parentIndex);
          if (parentIndex != 0) {
            /*
             * This is a guard for the case of the childless aunt node. Since the end of the array is
             * actually the middle of the heap, a smaller childless aunt node can become a child of x
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * which it is guaranteed that it can never become healthy.
         */
        final Monitor.Guard awaitHealthGuard = new AwaitHealthGuard();
    
        @WeakOuter
        final class AwaitHealthGuard extends Monitor.Guard {
          AwaitHealthGuard() {
            super(ServiceManagerState.this.monitor);
          }
    
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  7. tensorflow/c/c_api.cc

        const char* export_dir, const char* const* tags, int tags_len,
        TF_Graph* graph, TF_Buffer* meta_graph_def, TF_Status* status) {
    // TODO(sjr): Remove the IS_MOBILE_PLATFORM guard. This will require ensuring
    // that the tensorflow/cc/saved_model:loader build target is mobile friendly.
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      status->status = tensorflow::errors::Unimplemented(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    they arrived, with a great crowd assembled about them--all sorts
    of little birds and beasts, as well as the whole pack of cards:
    the Knave was standing before them, in chains, with a soldier on
    each side to guard him; and near the King was the White Rabbit,
    with a trumpet in one hand, and a scroll of parchment in the
    other.  In the very middle of the court was a table, with a large
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    they arrived, with a great crowd assembled about them--all sorts
    of little birds and beasts, as well as the whole pack of cards:
    the Knave was standing before them, in chains, with a soldier on
    each side to guard him; and near the King was the White Rabbit,
    with a trumpet in one hand, and a scroll of parchment in the
    other.  In the very middle of the court was a table, with a large
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Click Count (0)
  10. src/main/webapp/js/admin/bootstrap.min.js.map

     $(this._dialog)\n        .one(Util.TRANSITION_END, transitionComplete)\n        .emulateTransitionEnd(transitionDuration)\n    } else {\n      transitionComplete()\n    }\n  }\n\n  _enforceFocus() {\n    $(document)\n      .off(EVENT_FOCUSIN) // Guard against infinite focus loop\n      .on(EVENT_FOCUSIN, event => {\n        if (document !== event.target &&\n            this._element !== event.target &&\n            $(this._element).has(event.target).length === 0) {\n          this._element.focus()\n...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 180.9K bytes
    - Click Count (0)
Back to Top