Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 827 for _clear (0.04 sec)

  1. android/guava/src/com/google/common/collect/EvictingQueue.java

        return true;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean addAll(Collection<? extends E> collection) {
        int size = collection.size();
        if (size >= maxSize) {
          clear();
          return Iterables.addAll(this, Iterables.skip(collection, size - maxSize));
        }
        return standardAddAll(collection);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MoreCollectors.java

              extras = new ArrayList<>();
            }
            extras.add(other.element);
            extras.addAll(other.extras);
            if (extras.size() > MAX_EXTRAS) {
              extras.subList(MAX_EXTRAS, extras.size()).clear();
              throw multiples(true);
            }
            return this;
          }
        }
    
        @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      }
    
      /**
       * Atomically removes all of the elements from this queue. The queue will be empty after this call
       * returns.
       */
      @Override
      public void clear() {
        Monitor monitor = this.monitor;
        monitor.enter();
        try {
          q.clear();
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Returns an iterator over the elements in this queue. The iterator does not return the elements
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertTrue(delegateFuture.isCancelled());
    
        delegateQueue.clear();
    
        future = service.scheduleAtFixedRate(runnable, 5, 5, MINUTES);
        future.cancel(true);
        assertTrue(future.isCancelled());
        delegateFuture = (ScheduledFuture<?>) delegateQueue.element();
        assertTrue(delegateFuture.isCancelled());
    
        delegateQueue.clear();
    
        future = service.scheduleWithFixedDelay(runnable, 5, 5, MINUTES);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                    // Force disconnection
                    this.connectionState.set(0);
                    this.tid = -1;
    
                    // Clear any cached resources
                    // Note: Most fields in SmbTreeImpl are final or managed differently
    
                    // Clear session reference if mutable
                    // Note: session field may be final, cannot be nulled
                }
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Lists.java

        }
    
        @Override
        public void clear() {
          forwardList.clear();
        }
    
        @Override
        @ParametricNullness
        public T remove(int index) {
          return forwardList.remove(reverseIndex(index));
        }
    
        @Override
        protected void removeRange(int fromIndex, int toIndex) {
          subList(fromIndex, toIndex).clear();
        }
    
        @Override
        @ParametricNullness
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                                            List<Object> originalValues = new ArrayList<>(c);
                                            try {
                                                c.clear();
                                            } catch (UnsupportedOperationException e) {
                                                if (debugEnabled && logger != null) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/PerformanceTestsPass.kt

                                    if (index == 0) {
                                        // The artifact rule report/css/*.css => performanceResultsDir is there to clean up the target directory.
                                        // If we don't clean that up there might be leftover json files from other report builds running on the same machine.
                                        """
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

            private String fieldName;
    
            private final StringBuilder buffer = new StringBuilder(1000);
    
            @Override
            public void startDocument() {
                dataMap.clear();
            }
    
            @Override
            public void startElement(final String uri, final String localName, final String qName, final Attributes attributes) {
                if ("field".equals(qName)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. maven-tests/mvnw

    esac
    
    # prepare tmp dir
    if TMP_DOWNLOAD_DIR="$(mktemp -d)" && [ -d "$TMP_DOWNLOAD_DIR" ]; then
      clean() { rm -rf -- "$TMP_DOWNLOAD_DIR"; }
      trap clean HUP INT TERM EXIT
    else
      die "cannot create temp dir"
    fi
    
    mkdir -p -- "${MAVEN_HOME%/*}"
    
    # Download and Install Apache Maven
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top