Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 641 - 650 of 658 for iterable (0.1 seconds)

  1. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixTrie.java

       */
      public int findSuffixIndex(List<String> labels, @Nullable PublicSuffixType desiredType) {
        int partsSize = labels.size();
        int nodeIndex = 0; // Root node.
        int bestResult = -1;
    
        // Iterate over the labels in reverse order (from top level domain to the left).
        for (int i = partsSize - 1; i >= 0; i--) {
          // Decode the current node.
          int firstChild = trieData.charAt(nodeIndex * NODE_SIZE + 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java

                    // exclude classes from multi release jars
                    spec.exclude("META-INF/versions/**");
                });
                // Deal with multi release jars:
                // The order is important, we iterate here so we don't depend on the order in which Gradle executes the spec
                // We extract multi release jar classes ( if these exist ) going from 9 - the first to support them, to the
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 17 08:59:22 GMT 2021
    - 16.2K bytes
    - Click Count (0)
  3. internal/logger/logger.go

    	sendLog(ctx, entry)
    }
    
    func sendLog(ctx context.Context, entry log.Entry) {
    	systemTgts := SystemTargets()
    	if len(systemTgts) == 0 {
    		return
    	}
    
    	// Iterate over all logger targets to send the log entry
    	for _, t := range systemTgts {
    		if err := t.Send(ctx, entry); err != nil {
    			if consoleTgt != nil { // Sending to the console never fails
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Throwables.java

       * will not reflect any subsequent changes to the cause chain.
       *
       * <p>Here's an example of how it can be used to find specific types of exceptions in the cause
       * chain:
       *
       * <pre>
       * Iterables.filter(Throwables.getCausalChain(e), IOException.class));
       * </pre>
       *
       * @param throwable the non-null {@code Throwable} to extract causes from
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

         */
        private void removeIdleConnections() {
            long now = System.currentTimeMillis();
            List<SmbTransportImpl> idle = new ArrayList<>();
    
            // Iterate through connections without synchronization - ConcurrentLinkedQueue is thread-safe
            for (SmbTransportImpl transport : connections) {
                try {
                    // Check if connection has been idle too long
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

        if (IPV4_DELIMITER_MATCHER.countIn(ipString) + 1 != IPV4_PART_COUNT) {
          return null; // Wrong number of parts
        }
    
        byte[] bytes = new byte[IPV4_PART_COUNT];
        int start = 0;
        // Iterate through the parts of the ip string.
        // Invariant: start is always the beginning of an octet.
        for (int i = 0; i < IPV4_PART_COUNT; i++) {
          int end = ipString.indexOf(IPV4_DELIMITER, start);
          if (end == -1) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            fireEvent(ResolutionListener.TEST_ARTIFACT, listeners, node);
    
            Object key = node.getKey();
    
            // TODO Does this check need to happen here? Had to add the same call
            // below when we iterate on child nodes -- will that suffice?
            if (managedVersions.containsKey(key)) {
                manageArtifact(node, managedVersions, listeners);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                }
            }
            return documentItems;
        }
    
        /**
         * Performs a scroll search for processing large result sets efficiently.
         *
         * This method uses OpenSearch scroll API to iterate through large numbers of
         * documents without loading them all into memory at once.
         *
         * @param params The search request parameters
         * @param cursor Function to process each document in the result set
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/StandardTable.java

           *
           * - The only case in which rowEntry is cleared (during remove() below) happens only if the
           *   caller removed every element from columnIterator. During that process, we would have had
           *   to iterate it to exhaustion. Then we can apply the logic above about an empty
           *   columnIterator. (This assumes no concurrent modification, but behavior under concurrent
           *   modification is undefined, anyway.)
           */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 29.4K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * to do so leaks open files!
       */
      @Synchronized
      @Throws(IOException::class)
      fun snapshots(): MutableIterator<Snapshot> {
        initialize()
        return object : MutableIterator<Snapshot> {
          /** Iterate a copy of the entries to defend against concurrent modification errors. */
          private val delegate = ArrayList(lruEntries.values).iterator()
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top