Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1071 - 1080 of 1,161 for IsEmpty (0.28 seconds)

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

          }
        }
    
        void execute() {
          synchronized (runnables) {
            if (executed) {
              return;
            }
            executed = true;
          }
    
          while (!runnables.isEmpty()) {
            runnables.poll().execute();
          }
        }
    
        private static class RunnableExecutorPair {
          final Runnable runnable;
          final Executor executor;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/Closer.java

       */
      @Override
      public void close() throws IOException {
        Throwable throwable = thrown;
    
        // close closeables in LIFO order
        while (!stack.isEmpty()) {
          Closeable closeable = stack.removeFirst();
          try {
            closeable.close();
          } catch (Throwable e) {
            if (throwable == null) {
              throwable = e;
            } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/PacLogonInfo.java

                }
    
                // Compute User IDs with Domain ID to get User SIDs
                // First extra is user if userId is empty
                if (!userId.isEmpty() && !userId.isBlank()) {
                    this.userSid = new SID(domainId, userId);
                } else if (this.extraSids.length > 0) {
                    this.userSid = this.extraSids[0];
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                if (staticThrowOnOpen)
                    throw new CIFSException("open fail");
                // Simulate fetching first page during open
                if (staticPages != null && !staticPages.isEmpty()) {
                    pageIdx = 0;
                }
                // Return the initial element if provided
                return staticInitial;
            }
    
            @Override
            protected boolean isDone() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            @SuppressWarnings("unchecked")
            List<String> deserializedList = (List<String>) deserialized;
            assertTrue("Deserialized list should be empty", deserializedList.isEmpty());
        }
    
        /**
         * Test that multiple serializations produce consistent results
         */
        @Test
        public void test_serializationConsistency() {
            String original = "Consistency Test";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

                }
    
                final Set<String> matchedLabelSet = labelTypeHelper.getMatchedLabelValueSet(url);
                if (!matchedLabelSet.isEmpty()) {
                    final Set<String> newLabelSet = new HashSet<>();
                    final String[] oldLabels = (String[]) dataMap.get(fessConfig.getIndexFieldLabel());
                    if (oldLabels != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

         */
        protected void initProtocolVersions(final String minStr, final String maxStr) {
            final DialectVersion min = minStr != null && !minStr.isEmpty() ? DialectVersion.valueOf(minStr) : null;
            final DialectVersion max = maxStr != null && !maxStr.isEmpty() ? DialectVersion.valueOf(maxStr) : null;
            initProtocolVersions(min, max);
        }
    
        /**
         * Initializes the minimum and maximum protocol versions.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                        Set<String> pluginsForThisPom = pluginsNeedingManagement.get(pomPath);
                        if (pluginsForThisPom != null && !pluginsForThisPom.isEmpty()) {
                            hasUpgrades |= addPluginManagementForEffectivePlugins(context, pomDocument, pluginsForThisPom);
                            context.detail("Added plugin management to " + pomPath + " (target parent for "
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       *     Long#parseLong(String)})
       */
      @CanIgnoreReturnValue
      public static long parseUnsignedLong(String string, int radix) {
        checkNotNull(string);
        if (string.isEmpty()) {
          throw new NumberFormatException("empty string");
        }
        if (radix < Character.MIN_RADIX || radix > Character.MAX_RADIX) {
          throw new NumberFormatException("illegal radix: " + radix);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

                list.subList(0, size - 1),
                list.subList(1, size),
                list.subList(0, 0),
                list.subList(size, size))) {
          assertEquals(subList.size() == 0, subList.isEmpty());
        }
      }
    
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testSubList_get() {
        List<E> list = getList();
        int size = getNumElements();
        List<E> copy = list.subList(0, size);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top