Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 137 for walkFn (0.22 sec)

  1. src/go/types/infer.go

    	// Generally, cycles may occur across multiple type parameters and inferred types
    	// (for instance, consider [P interface{ *Q }, Q interface{ func(P) }]).
    	// We eliminate cycles by walking the graphs for all type parameters. If a cycle
    	// through a type parameter is detected, killCycles nils out the respective type
    	// (in the inferred list) which kills the cycle, and marks the corresponding type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. src/runtime/tracetype.go

    	w.varint(uint64(node.id))
    	w.varint(uint64(uintptr(unsafe.Pointer(typ))))
    	w.varint(uint64(typ.Size()))
    	w.varint(uint64(typ.PtrBytes))
    	w.varint(uint64(len(typName)))
    	w.stringData(typName)
    
    	// Recursively walk all child nodes.
    	for i := range node.children {
    		child := node.children[i].Load()
    		if child == nil {
    			continue
    		}
    		w = dumpTypesRec((*traceMapNode)(child), w)
    	}
    	return w
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		return baseIfStmt(path, enclosingIndex+1)
    	case *ast.ForStmt:
    		if expr.Init == enclosingStmt || expr.Post == enclosingStmt {
    			return expr
    		}
    	}
    	return enclosingStmt.(ast.Stmt)
    }
    
    // baseIfStmt walks up the if/else-if chain until we get to
    // the top of the current if chain.
    func baseIfStmt(path []ast.Node, index int) ast.Stmt {
    	stmt := path[index]
    	for i := index + 1; i < len(path); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/runtime/symtabinl_test.go

    		"tiuTest:12":                             0,
    	}
    	wantStart := map[string]int{
    		"tiuInlined1": 2,
    		"tiuInlined2": 5,
    		"tiuTest":     9,
    	}
    
    	// Iterate over the PCs in tiuTest and walk the inline stack for each.
    	prevStack := "x"
    	for pc := pc1; pc < pc1+1024 && findfunc(pc) == f; pc += sys.PCQuantum {
    		stack := ""
    		u, uf := newInlineUnwinder(f, pc)
    		if file, _ := u.fileLine(uf); file == "?" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

    // Symbolizes `called_index` attributes in custom all ops to `called_func`.
    LogicalResult SymbolizeCustomCallCalledIndex(
        ModuleOp module, llvm::ArrayRef<SymbolRefAttr> function_list) {
      WalkResult result =
          module.walk([&](stablehlo::CustomCallOp op) {
            if (!IsTfFuncCustomCall(op)) {
              return WalkResult::advance();
            }
    
            auto backend_config =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/sessionBuilderTestUtils.kt

            Assertions.assertEquals(callableId, symbol.callableId)
        }
    }
    
    internal fun compileCommonKlib(kLibSourcesRoot: Path): Path {
        val ktFiles = Files.walk(kLibSourcesRoot).asSequence().filter { it.extension == "kt" }.toList()
        val testKlib = KtTestUtil.tmpDir("testLibrary").resolve("library.klib").toPath()
    
        val arguments = buildList {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/software/internal/DefaultSoftwareTypeRegistry.java

                    TypeToken<?> pluginType = TypeToken.of(pluginClass);
                    TypeMetadataWalker.typeWalker(inspectionScheme.getMetadataStore(), SoftwareType.class)
                        .walk(pluginType, new SoftwareTypeImplementationRecordingVisitor(pluginClass, registeringPluginClass, registeredTypes, softwareTypeImplementationsBuilder));
                });
            });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:31 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

      return kNoReplicationCluster;
    }
    
    bool HasDataDependencyWithUnscheduledOp(
        Operation& op, Block* block, SmallPtrSet<Operation*, 16>& unscheduled_ops) {
      WalkResult ready_to_schedule = op.walk([&](Operation* nested_op) {
        for (Value operand : nested_op->getOperands()) {
          Operation* defining_op = operand.getDefiningOp();
          if (!defining_op) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  9. src/internal/coverage/cfile/testsupport.go

    	}
    	if err := json.Unmarshal(data, &mfc); err != nil {
    		return fmt.Errorf("error reading auxmetafiles file %q: %v", metafiles, err)
    	}
    
    	// Walk through each available aux meta-file. If we've already
    	// seen the package path in question during the walk of the
    	// "regular" meta-data file, then we can skip the package,
    	// otherwise construct a dummy pod with the single meta-data file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

      }
      return success();
    }
    
    void RewriteTPUEmbeddingOps::runOnOperation() {
      func::FuncOp func = getOperation();
      if (failed(RunOnRegion(&func.getBody()))) return signalPassFailure();
    
      func.walk([&](Operation* op) {
        for (Region& region : op->getRegions()) {
          if (failed(RunOnRegion(&region))) return signalPassFailure();
        }
      });
    }
    
    }  // anonymous namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top