Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 746 for IsEmpty (0.15 sec)

  1. src/test/java/jcifs/util/StringsTest.java

                // When
                byte[] result = Strings.getBytes(input, StandardCharsets.UTF_8);
    
                // Then
                assertNotNull(result, "Result should never be null");
                if (input == null || input.isEmpty()) {
                    assertEquals(0, result.length, "Null or empty input should produce empty array");
                } else {
                    assertTrue(result.length > 0, "Non-empty input should produce non-empty array");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. 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);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (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();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Longs.java

       *     Character.MAX_RADIX}
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      public static @Nullable Long tryParse(String string, int radix) {
        if (checkNotNull(string).isEmpty()) {
          return null;
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new IllegalArgumentException(
              "radix must be between MIN_RADIX and MAX_RADIX but was " + radix);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

            if (iterator.hasNext()) {
              queue.add(Iterators.peekingIterator(iterator));
            }
          }
        }
    
        @Override
        public boolean hasNext() {
          return !queue.isEmpty();
        }
    
        @Override
        @ParametricNullness
        public T next() {
          PeekingIterator<T> nextIter = queue.remove();
          T next = nextIter.next();
          if (nextIter.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * that could call it, nor exposed this Future for users to call cancel() on).
         */
        requireNonNull(futures);
    
        // Corner case: List is empty.
        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        val calls = connection.calls
        val index = calls.indexOfFirst { it.get() == this@RealCall }
        check(index != -1)
    
        calls.removeAt(index)
        this.connection = null
    
        if (calls.isEmpty()) {
          connection.idleAtNs = System.nanoTime()
          if (connectionPool.connectionBecameIdle(connection)) {
            return connection.socket()
          }
        }
    
        return null
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            }
    
            // Wait for all threads
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Verify results
            assertTrue(exceptions.isEmpty());
            assertEquals(threadCount / 2 * matchesPerThread, matchCount.get());
            assertEquals(threadCount / 2 * matchesPerThread, noMatchCount.get());
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/Suggester.java

                }
                final List<AliasMetadata> list = response.getAliases().get(s);
                if (list == null) {
                    return true;
                }
                return list.isEmpty();
            }).forEach(s -> {
                if (logger.isInfoEnabled()) {
                    logger.info("Delete index: {}", s);
                }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  10. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          calledWith(array, s);
        }
    
        void check() {
          runTester();
          Object[] defaultArray = (Object[]) getDefaultParameterValue(0);
          assertThat(defaultArray).isEmpty();
        }
      }
    
      public void testObjectArrayDefaultValue() {
        new ObjectArrayDefaultValueChecker().check();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
Back to top