Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 853 for iterated (0.22 sec)

  1. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy

        }
    
        def "forEach is tracked for non-strings"() {
            when:
            HashMap<Object, Object> iterated = new HashMap<>()
            getMapUnderTestToRead().forEach(iterated::put)
    
            then:
            iterated.keySet() == innerMap.keySet()
            1 * listener.onAccess(EXISTING_KEY, EXISTING_VALUE)
            1 * listener.onAccess('existing', 'existingStringValue')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Traverser.java

            @Override
            N visitNext(Deque<Iterator<? extends N>> horizon) {
              Iterator<? extends N> top = horizon.getFirst();
              if (top.hasNext()) {
                return checkNotNull(top.next());
              }
              horizon.removeFirst();
              return null;
            }
          };
        }
    
        final Iterator<N> breadthFirst(Iterator<? extends N> startNodes) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/Traverser.java

            @Override
            N visitNext(Deque<Iterator<? extends N>> horizon) {
              Iterator<? extends N> top = horizon.getFirst();
              if (top.hasNext()) {
                return checkNotNull(top.next());
              }
              horizon.removeFirst();
              return null;
            }
          };
        }
    
        final Iterator<N> breadthFirst(Iterator<? extends N> startNodes) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/UnsafeConfigurationResolutionDeprecationIntegrationTest.groovy

                "resolvedConfiguration.files",
                "resolvedConfiguration.resolvedArtifacts"
            ]
        }
    
        def "no exception when non-gradle thread iterates over dependency artifacts that were previously iterated"() {
            mavenRepo.module("test", "test-jar", "1.0").publish()
    
            settingsFile << """
                rootProject.name = "foo"
            """
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

            iterator.add('d')
    
            then:
            iterator.next() == 'b'
            list == ['a', 'd', 'b', 'c']
        }
    
        def "fires event when element added using ListIterator"() {
            given:
            Action<String> action = Mock()
            list.addAll(['a', 'b', 'c'])
            list.whenObjectAdded(action)
    
            when:
            def iterator = list.listIterator()
            iterator.next()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectSetSpec.groovy

            container.index.pendingAsMap.size() == 2
    
            filtered.index.asMap().size() == 1
            filtered.index.pendingAsMap.size() == 1
    
            expect: "list contains the right elements when iterated"
            filtered.asList()*.name == ["realized2", "unrealized2"]
    
            and: "unrealized element get realized"
            container.index.asMap().size() == 4
            container.index.pendingAsMap.size() == 2
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/custom-response.md

    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function.
    
        So, it is a generator function that transfers the "generating" work to something else internally.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

      Note: This should be run in graph mode (default in TF1) only.
    
      Args:
        repr_ds: Representative dataset to replace the tf.Tensors with their
          evaluated values. `repr_ds` is iterated through, so it may not be reusable
          (e.g. if it is a generator object).
        sess: Session instance used to evaluate tf.Tensors.
    
      Returns:
        The new representative dataset where each tf.Tensor is replaced by its
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Lists.java

            : newArrayList(elements.iterator());
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
       * shortcut for creating an empty list and then calling {@link Iterators#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
       * ImmutableList#copyOf(Iterator)} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Lists.java

            : newArrayList(elements.iterator());
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
       * shortcut for creating an empty list and then calling {@link Iterators#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
       * ImmutableList#copyOf(Iterator)} instead.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 16:48:36 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top