Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 996 for useEmpty (0.11 seconds)

  1. src/main/java/jcifs/util/SmbCircuitBreaker.java

                responseTimeHistory.removeFirst();
            }
    
            // Calculate moving average (simple approach)
            if (!responseTimeHistory.isEmpty()) {
                long sum = responseTimeHistory.stream().mapToLong(Long::longValue).sum();
                avgResponseTime.set(sum / responseTimeHistory.size());
    
                // Calculate 95th percentile
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        public Collection<V2> get(@ParametricNullness K key) {
          return transform(key, fromMultimap.get(key));
        }
    
        @Override
        public boolean isEmpty() {
          return fromMultimap.isEmpty();
        }
    
        @Override
        Set<K> createKeySet() {
          return fromMultimap.keySet();
        }
    
        @Override
        Multiset<K> createKeys() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 86.5K bytes
    - Click Count (0)
  3. docs/smb3-features/04-directory-leasing-design.md

        
        public void invalidateHierarchy(String path) {
            // Invalidate all parent directories up to root
            String currentPath = path;
            while (currentPath != null && !currentPath.isEmpty()) {
                DirectoryCacheEntry entry = leaseManager.getCacheEntry(currentPath);
                if (entry != null) {
                    entry.invalidate();
                }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Tables.java

       * @since 10.0
       */
      public static <R, C, V> Table<R, C, V> newCustomTable(
          Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        checkArgument(backingMap.isEmpty());
        checkNotNull(factory);
        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                String description = strategy.getDescription();
    
                assertNotNull(description, "Description should not be null");
                assertFalse(description.trim().isEmpty(), "Description should not be empty");
                assertTrue(description.toLowerCase().contains("infer"), "Description should mention inference");
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/SecureKeyManager.java

                } catch (Exception e) {
                    log.warn("Failed to auto-rotate key for session: {}", sessionId, e);
                }
            }
    
            if (!sessionsToRotate.isEmpty()) {
                log.info("Auto-rotated {} expired keys", sessionsToRotate.size());
            }
        }
    
        /**
         * Get the current version of a session key
         *
         * @param sessionId the session ID
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

         */
        protected String getResultDataBody(final String name, final List<String> values) {
            final StringBuilder buf = new StringBuilder();
            buf.append("<list>");
            if (values != null && !values.isEmpty()) {
                for (final String value : values) {
                    buf.append("<item>");
                    buf.append(trimSpace(XmlUtil.escapeXml(value)));
                    buf.append("</item>");
                }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 23.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/ArrayMap.java

            this((int) (map.size() / LOAD_FACTOR) + 1);
            putAll(map);
        }
    
        @Override
        public int size() {
            return size;
        }
    
        @Override
        public boolean isEmpty() {
            return size == 0;
        }
    
        @Override
        public boolean containsValue(final Object value) {
            return indexOf(value) >= 0;
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

                } while (stopwatch.elapsed(SECONDS) < 1);
              }
            };
    
        List<Throwable> exceptions = runThreadsAndReturnExceptions(numThreads, task);
    
        assertThat(exceptions).isEmpty();
      }
    
      private static List<Throwable> runThreadsAndReturnExceptions(int numThreads, Runnable task) {
        List<Thread> threads = new ArrayList<>(numThreads);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

       *     all other requests.
       */
      @Throws(IOException::class)
      fun takeHeaders(callerIsIdle: Boolean = false): Headers {
        withLock {
          while (headersQueue.isEmpty() && errorCode == null) {
            val doReadTimeout = callerIsIdle || doReadTimeout()
            if (doReadTimeout) {
              readTimeout.enter()
            }
            try {
              waitForIo()
            } finally {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
Back to Top