Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 651 for iterators (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

          if (result == null) result = ArrayList(2)
          result.add(value(i))
        }
      }
      return result?.toList().orEmpty()
    }
    
    internal fun Headers.commonIterator(): Iterator<Pair<String, String>> {
      return Array(size) { name(it) to value(it) }.iterator()
    }
    
    internal fun Headers.commonNewBuilder(): Headers.Builder {
      val result = Headers.Builder()
      result.namesAndValues += namesAndValues
      return result
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

          for (List<Integer> contents : SAMPLE_INPUTS) {
            C unfiltered = createUnfiltered(contents);
            C filtered = filter(unfiltered, EVEN);
    
            Iterator<Integer> filteredItr = filtered.iterator();
            for (Integer i : unfiltered) {
              if (EVEN.apply(i)) {
                assertTrue(filteredItr.hasNext());
                assertEquals(i, filteredItr.next());
              }
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayMap.java

        @Override
        public Set<Map.Entry<K, V>> entrySet() {
            if (entrySet == null) {
                entrySet = new AbstractSet<Entry<K, V>>() {
                    @Override
                    public Iterator<Entry<K, V>> iterator() {
                        return new ArrayMapIterator();
                    }
    
                    @Override
                    public boolean contains(final Object o) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                        return 1;
                    case COMBINATION_ITEM:
                        return 1; // 1-1 > 1-sp
    
                    case LIST_ITEM:
                        Iterator<Item> left = iterator();
                        Iterator<Item> right = ((ListItem) item).iterator();
    
                        while (left.hasNext() || right.hasNext()) {
                            Item l = left.hasNext() ? left.next() : null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

                        }
                    ]
                }
            """])
    
            then:
            changes.acceptedChanges.size() == 1
            def acceptedChange = changes.acceptedChanges.entrySet().iterator().next()
            def change = acceptedChange.key
            change.type == "org.gradle.api.initialization.ConfigurableIncludedBuild"
            change.member == "Implemented interface org.gradle.api.initialization.IncludedBuild"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Cache.kt

        cache.evictAll()
      }
    
      /**
       * Returns an iterator over the URLs in this cache. This iterator doesn't throw
       * `ConcurrentModificationException`, but if new responses are added while iterating, their URLs
       * will not be returned. If existing responses are evicted during iteration, they will be absent
       * (unless they were already returned).
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. licenses/github.com/json-iterator/go/LICENSE

    MIT License
    
    Copyright (c) 2016 json-iterator
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    copies of the Software, and to permit persons to whom the Software is
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Oct 26 02:47:39 UTC 2019
    - 1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

       * 800 bytes long as the C++ reference implementation.
       */
      public void testMultipleLengths() {
        int iterations = 800;
        byte[] buf = new byte[iterations * 4];
        int bufLen = 0;
        long h = 0;
        for (int i = 0; i < iterations; ++i) {
          h ^= fingerprint(buf, i);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, i * i % bufLen);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

       * 800 bytes long as the C++ reference implementation.
       */
      public void testMultipleLengths() {
        int iterations = 800;
        byte[] buf = new byte[iterations * 4];
        int bufLen = 0;
        long h = 0;
        for (int i = 0; i < iterations; ++i) {
          h ^= fingerprint(buf, i);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, i * i % bufLen);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt

     *
     *  * **Read/write:** read and write using the same operator.
     *  * **Random access:** access any position within the file.
     *  * **Shared channels:** read and write a file channel that's shared between
     * multiple operators. Note that although the underlying [FileChannel] may be shared,
     * each [FileOperator] should not be.
     */
    internal class FileOperator(
      private val fileChannel: FileChannel,
    ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top