Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 691 - 700 of 790 for useEmpty (0.05 seconds)

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

  1. src/main/java/jcifs/smb/SID.java

            return toByteArray(this);
        }
    
        /**
         * Checks whether the SID is empty (no sub-authorities).
         *
         * @return whether the SID is empty (no sub-authorities)
         */
        public boolean isEmpty() {
            return this.sub_authority_count == 0;
        }
    
        /**
         * Checks whether the SID is blank (all sub-authorities zero).
         *
         * @return whether the SID is blank (all sub-authorities zero)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CompactHashMap.java

          }
        } else {
          keys[dstIndex] = null;
          values[dstIndex] = null;
          entries[dstIndex] = 0;
        }
      }
    
      int firstEntryIndex() {
        return isEmpty() ? -1 : 0;
      }
    
      int getSuccessor(int entryIndex) {
        return (entryIndex + 1 < size) ? entryIndex + 1 : -1;
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/FluentIterable.java

        // TODO(kevinb): Support a concurrently modified collection?
        Iterable<E> iterable = getDelegate();
        if (iterable instanceof List) {
          List<E> list = (List<E>) iterable;
          if (list.isEmpty()) {
            return Optional.absent();
          }
          return Optional.of(list.get(list.size() - 1));
        }
        Iterator<E> iterator = iterable.iterator();
        if (!iterator.hasNext()) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.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
    - 13.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keyOrNull(higherEntry(key));
      }
    
      @Override
      public @Nullable Entry<K, V> firstEntry() {
        return isEmpty() ? null : entrySet().asList().get(0);
      }
    
      @Override
      public @Nullable Entry<K, V> lastEntry() {
        return isEmpty() ? null : entrySet().asList().get(size() - 1);
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 52.9K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                        }
                        regex.append(c);
                    }
                }
    
                // If pattern doesn't end with $, it implicitly matches anything after it
                if (pattern.isEmpty() || pattern.charAt(pattern.length() - 1) != '$') {
                    // This makes "/fish" match "/fish", "/fishing", "/fish/", etc.
                    // No need to add anything - the pattern naturally continues
                }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

            }
            return Optional.empty();
        }
    
        @Override
        public void warnAboutDeprecatedOptions(ParserRequest request, Consumer<String> printWriter) {
            if (cliManager.getUsedDeprecatedOptions().isEmpty()) {
                return;
            }
            printWriter.accept("Detected deprecated option use in " + source);
            for (Option option : cliManager.getUsedDeprecatedOptions()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  8. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  9. 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: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        ArrayTableImpl {
          @Override
          <R extends Comparable<R>, C extends Comparable<C>, V> Table<R, C, V> create(
              Table<R, C, V> contents) {
            if (contents.isEmpty()) {
              return ImmutableTable.of();
            } else {
              return ArrayTable.create(contents);
            }
          }
        },
        ImmutableTableImpl {
          @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top