Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for iterated (0.16 sec)

  1. src/internal/trace/internal/oldtrace/parser_test.go

    	}
    
    	if n := evs.Len(); n != N {
    		t.Fatalf("got %d events, want %d", n, N)
    	}
    
    	var n int
    	evs.All()(func(ev *Event) bool {
    		n++
    		return true
    	})
    	if n != N {
    		t.Fatalf("iterated over %d events, expected %d", n, N)
    	}
    
    	const consume = eventsBucketSize + 50
    	for i := 0; i < consume; i++ {
    		if _, ok := evs.Pop(); !ok {
    			t.Fatalf("iteration failed after %d events", i)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/waiting_pods_map.go

    }
    
    // get a WaitingPod from the map.
    func (m *waitingPodsMap) get(uid types.UID) *waitingPod {
    	m.mu.RLock()
    	defer m.mu.RUnlock()
    	return m.pods[uid]
    }
    
    // iterate acquires a read lock and iterates over the WaitingPods map.
    func (m *waitingPodsMap) iterate(callback func(framework.WaitingPod)) {
    	m.mu.RLock()
    	defer m.mu.RUnlock()
    	for _, v := range m.pods {
    		callback(v)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/collect/PersistentListTest.groovy

            where:
            elements << [
                [],
                ["a"],
                ["a", "b", "c"],
                ["a", "b", "c", "d"]
            ]
        }
    
        def "iterator iterates the elements #elements"() {
            expect:
            ImmutableList.copyOf(listOf(elements)) == elements
    
            where:
            elements << [
                [],
                ["a"],
                ["a", "b", "c"],
                ["a", "b", "c", "d"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

          signalPassFailure();
        }
      }
    
      // Remove all attr_map attributes.
      module_op.walk([](Operation* op) { op->removeAttr(kAttrMapAttribute); });
    
      // Perform selective quantization. Iterates over the quantization specs and
      // applies quantization methods to each matched lifted function.
      for (const QuantizationSpec& spec : quantization_specs_.specs()) {
        if (failed(ApplyQuantizationSpec(spec, module_op))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### Using the *path operation function* name as the operationId
    
    If you want to use your APIs' function names as `operationId`s, you can iterate over all of them and override each *path operation's* `operation_id` using their `APIRoute.name`.
    
    You should do it after adding all your *path operations*.
    
    ```Python hl_lines="2  12-21  24"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/runtime/symtabinl.go

    	parentPc  int32 // position of an instruction whose source position is the call site (offset from entry)
    	startLine int32 // line number of start of function (func keyword/TEXT directive)
    }
    
    // An inlineUnwinder iterates over the stack of inlined calls at a PC by
    // decoding the inline table. The last step of iteration is always the frame of
    // the physical function, so there's always at least one frame.
    //
    // This is typically used as:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/3-iter.md

    - [All](/pkg/slices#All) returns an iterator over slice indexes and values.
    - [Values](/pkg/slices#Values) returns an iterator over slice elements.
    - [Backward](/pkg/slices#Backward) returns an iterator that loops over
      a slice backward.
    - [Collect](/pkg/slices#Collect) collects values from an iterator into
      a new slice.
    - [AppendSeq](/pkg/slices#AppendSeq) appends values from an iterator to
      an existing slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/api/specs/CompositeSpec.java

                }
            } else {
                Iterator<? extends Spec<? super T>> iterator = specs.iterator();
                if (!iterator.hasNext()) {
                    this.specs = uncheckedCast(EMPTY);
                } else {
                    this.specs = uncheckedCast(Iterators.toArray(iterator, Spec.class));
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            @Nonnull
            public Optional<Lifecycle> lookup(String id) {
                return getDelegate().lookup(id);
            }
    
            @Override
            public Iterator<Lifecycle> iterator() {
                return getDelegate().iterator();
            }
    
            protected LifecycleRegistry getDelegate() {
                return lifecycleRegistry;
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            @Nonnull
            public Optional<Lifecycle> lookup(String id) {
                return getDelegate().lookup(id);
            }
    
            @Override
            public Iterator<Lifecycle> iterator() {
                return getDelegate().iterator();
            }
    
            protected LifecycleRegistry getDelegate() {
                return lifecycleRegistry;
            }
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top