- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 137 for walkFn (0.12 sec)
-
src/cmd/cover/cover.go
} return f } } f.addCounters(n.Lbrace, n.Lbrace+1, n.Rbrace+1, n.List, true) // +1 to step past closing brace. case *ast.IfStmt: if n.Init != nil { ast.Walk(f, n.Init) } ast.Walk(f, n.Cond) ast.Walk(f, n.Body) if n.Else == nil { return nil } // The elses are special, because if we have // if x { // } else if y { // }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
pkg/volume/util/atomic_writer.go
// 1. The payload is validated; if the payload is invalid, the function returns // // 2. The current timestamped directory is detected by reading the data directory // symlink // // 3. The old version of the volume is walked to determine whether any // portion of the payload was deleted and is still present on disk. // // 4. The data in the current timestamped directory is compared to the projected
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 16.6K bytes - Viewed (0) -
src/syscall/rlimit.go
// // Go does not use select, so it should not be subject to these limits. // On some systems the limit is 256, which is very easy to run into, // even in simple programs like gofmt when they parallelize walking // a file tree. // // After a long discussion on go.dev/issue/46279, we decided the // best approach was for Go to raise the limit unconditionally for itself, // and then leave old software to set the limit back as needed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:57 UTC 2024 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/visitor.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package schema // Visitor recursively walks through a structural schema. type Visitor struct { // Structural is called on each Structural node in the schema, before recursing into // the subtrees. It is allowed to mutate s. Return true if something has been changed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 3.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/patches/patches.go
} patches = append(patches, string(patchJSON)) } return &patchSet{ targetName: targetName, patchType: patchType, patches: patches, }, nil } // getPatchSetsFromPath walks a path, ignores sub-directories and non-patch files, and // returns a list of patchFile objects. func getPatchSetsFromPath(targetPath string, knownTargets []string, output io.Writer) ([]*patchSet, []string, []string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 10.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy
GetInputFilesVisitor visitor = new GetInputFilesVisitor("ownerName", fileCollectionFactory) def walker = services.get(PropertyWalker) TaskPropertyUtils.visitProperties(walker, this, visitor) def inputFiles = visitor.fileProperties*.propertyFiles*.files.flatten() assert inputFiles.empty }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:04:02 UTC 2024 - 10.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc
*mlir_module_, DeviceType(DEVICE_TPU_XLA_JIT))); FuncOp main = mlir_module_->lookupSymbol<FuncOp>("main"); ASSERT_TRUE(main); bool has_cluster_op = false; main.walk([&](mlir::tf_device::ClusterOp) { has_cluster_op = true; return mlir::WalkResult::interrupt(); }); EXPECT_FALSE(has_cluster_op); } TEST_F(LowerClusterToRuntimeOpsTest, LowersClusterOpsCPU) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:44:37 UTC 2024 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.cc
TF_ASSIGN_OR_RETURN(const CalibrationStatisticsFlatMap statistics_map, ReadStatistics(calibration_data_dir)); absl::Status status = absl::OkStatus(); module_op.walk([&py_function_library, &calibration_options, &status, &statistics_map](mlir::TF::CustomAggregatorOp aggregator_op) { mlir::StringRef id = aggregator_op.getId(); auto iter = statistics_map.find(id);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 4.6K bytes - Viewed (0) -
test/fixedbugs/issue29870b.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 357 bytes - Viewed (0) -
cmd/batch-handlers.go
s3Type := r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3 if err := api.Walk(ctx, r.Source.Bucket, r.Source.Prefix, walkCh, WalkOptions{ Marker: lastObject, Filter: selectObj, AskDisks: walkQuorum, }); err != nil { cancel() // Do not need to retry if we can't list objects on source.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 56K bytes - Viewed (0)