Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 1,161 for IsEmpty (0.18 seconds)

  1. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                if (message.isSuccess()) {
                    List<WitnessAsyncNotifyMessage.WitnessNotificationResponse> notifications = message.getNotifications();
                    if (!notifications.isEmpty()) {
                        log.debug("Received {} notifications", notifications.size());
                        return notifications.get(0); // Return first notification
                    }
                } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                    if (isPlexusBean(bean)) {
                        list.add(new BindingToBeanEntry<>(key).toBeanEntry(bean).prioritize(bean.getRank()));
                    }
                }
                if (!list.isEmpty()) {
                    list.sort(getPriorityComparator());
                    //noinspection unchecked
                    return () -> (Q) getInstance(list.iterator().next());
                } else if (dep.optional()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

         */
        @Override
        public void treeConnectLogon() throws SmbException {
            String logonShare = getContext().getConfig().getLogonShare();
            if (logonShare == null || logonShare.isEmpty()) {
                throw new SmbException("Logon share is not defined");
            }
            try (SmbTreeImpl t = getSmbTree(logonShare, null)) {
                t.treeConnect(null, null);
            } catch (CIFSException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                final Deque<CrawlRequest> requestQueue = new LinkedList<>();
                final Set<String> processedUrls = new HashSet<>();
                requestQueue.offer(new CrawlRequest(url, 0));
                while (!requestQueue.isEmpty() && (maxAccessCount < 0 || counter < maxAccessCount)) {
                    final CrawlRequest crawlRequest = requestQueue.poll();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * {@snippet :
     * final WeakHashMap<Object, Object> map = new WeakHashMap<>();
     * map.put(new Object(), Boolean.TRUE);
     * GcFinalization.awaitDone(new FinalizationPredicate() {
     *   public boolean isDone() {
     *     return map.isEmpty();
     *   }
     * });
     * }
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
     * leaks, by ensuring that objects are no longer strongly referenced:
     *
     * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                    return b.getTypeConverter().convert(text, toType);
                }
            }
    
            // last chance => attempt to create an instance of the expected type: use the string if non-empty
            return text.isEmpty() ? newImplementation(rawType) : newImplementation(rawType, text);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

                        buf.append('&');
                    } else {
                        buf.append('?');
                    }
                    buf.append(loginReqParams);
                    if (!responseParams.isEmpty()) {
                        buf.append('&');
                        final Charset charset = encoding != null ? Charset.forName(encoding) : StandardCharsets.UTF_8;
                        responseParams.stream().forEach(p -> {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      private static <E> ImmutableSortedMultiset<E> copyOfSortedEntries(
          Comparator<? super E> comparator, Collection<Entry<E>> entries) {
        if (entries.isEmpty()) {
          return emptyMultiset(comparator);
        }
        ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<>(entries.size());
        long[] cumulativeCounts = new long[entries.size() + 1];
        int i = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

      }
    
      internal fun check(
        hostname: String,
        cleanedPeerCertificatesFn: () -> List<X509Certificate>,
      ) {
        val pins = findMatchingPins(hostname)
        if (pins.isEmpty()) return
    
        val peerCertificates = cleanedPeerCertificatesFn()
    
        for (peerCertificate in peerCertificates) {
          // Lazily compute the hashes for each certificate.
          var sha1: ByteString? = null
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

        if (address.size == 4) return inet4AddressToAscii(address) // An IPv4-mapped IPv6 address.
        throw AssertionError("Invalid IPv6 address: '$host'")
      }
    
      val result = idnToAscii(host) ?: return null
      if (result.isEmpty()) return null
      if (result.containsInvalidHostnameAsciiCodes()) return null
      if (result.containsInvalidLabelLengths()) return null
    
      return result
    }
    
    internal fun idnToAscii(host: String): String? {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
Back to Top