Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 185 for hiter (0.14 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

                "remove(int)": { container.remove(0) },
                "listIterator().add(T)": { def iter = container.listIterator(); iter.next(); iter.add(b) },
                "listIterator().set(T)": { def iter = container.listIterator(); iter.next(); iter.set(b) },
                "listIterator().remove()": { def iter = container.listIterator(); iter.next(); iter.remove() },
            ]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. src/reflect/iter_test.go

    package reflect_test
    
    import (
    	"iter"
    	"maps"
    	. "reflect"
    	"testing"
    )
    
    func TestValueSeq(t *testing.T) {
    	m := map[string]int{
    		"1": 1,
    		"2": 2,
    		"3": 3,
    		"4": 4,
    	}
    	c := make(chan int, 3)
    	for i := range 3 {
    		c <- i
    	}
    	close(c)
    	tests := []struct {
    		name  string
    		val   Value
    		check func(*testing.T, iter.Seq[Value])
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/grad_op_registry.cc

      CHECK(registry_.insert({op, func}).second) << "Existing gradient for " << op;
      return true;
    }
    
    Status GradOpRegistry::Lookup(const string& op, GradFunc* func) const {
      auto iter = registry_.find(op);
      if (iter == registry_.end()) {
        const string error_msg =
            "No gradient defined for op: " + op +
            ". Please see "
            "https://www.tensorflow.org/code/"
            "tensorflow/cc/gradients/README.md"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/cmd/link/testdata/linkname/ok.go

    // license that can be found in the LICENSE file.
    
    // Use of public API is ok.
    
    package main
    
    import (
    	"iter"
    	"unique"
    )
    
    func seq(yield func(int) bool) {
    	yield(123)
    }
    
    var s = "hello"
    
    func main() {
    	h := unique.Make(s)
    	next, stop := iter.Pull(seq)
    	defer stop()
    	println(h.Value())
    	println(next())
    	println(next())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 433 bytes
    - Viewed (0)
  5. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/StatementReplacingVisitorSupport.java

       * replaced.
       */
      @SuppressWarnings("unchecked")
      protected <T extends Statement> void replaceAll(List<T> stats) {
        ListIterator<T> iter = stats.listIterator();
          while (iter.hasNext()) {
              iter.set((T) replace(iter.next()));
          }
      }
    
      /**
       * Replaces the currently visited statement with the specified statement.
       */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

                         llvm::StringMap<FunctionMetadata> &metadatas) {
      MLIRContext *context = module_op.getContext();
      SymbolTable symbol_table(module_op);
      for (auto &iter : metadatas) {
        llvm::StringRef host = iter.first();
        FunctionMetadata &metadata = iter.second;
    
        // Do not create any new function for the operations on the localhost.
        if (IsOnLocalHost(host)) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/cmd/link/testdata/linkname/coro.go

    // license that can be found in the LICENSE file.
    
    // Linkname coroswitch is not allowed, even if iter.Pull
    // is instantiated in the same package.
    
    package main
    
    import (
    	"iter"
    	"unsafe"
    )
    
    func seq(yield func(int) bool) {
    	yield(123)
    }
    
    func main() {
    	next, stop := iter.Pull(seq)
    	next()
    	stop()
    	coroswitch(nil)
    }
    
    //go:linkname coroswitch runtime.coroswitch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:05:33 UTC 2024
    - 506 bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/inheritance/t08/ProjectInheritanceTest.java

            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
            Iterator iter = set.iterator();
            assertTrue(set.size() == 4, "Set size should be 4, is " + set.size());
    
            while (iter.hasNext()) {
                Artifact artifact = (Artifact) iter.next();
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_util.cc

      for (auto iter : shape_info) {
        std::vector<PartialTensorShape> output_shapes;
        std::transform(iter.second.begin(), iter.second.end(),
                       std::back_inserter(output_shapes),
                       [](const InferredShape& inferred_shape) {
                         return inferred_shape.shape;
                       });
        Node* n = node_name_index[iter.first];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    		if e := v.Index(a.iter.index); e.IsValid() {
    			x = e.Interface().(ast.Node)
    		}
    
    		a.iter.step = 1
    		a.apply(parent, name, &a.iter, x)
    		a.iter.index += a.iter.step
    	}
    	a.iter = saved
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
Back to top