- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,668 for book (0.28 sec)
-
src/internal/poll/splice_linux_test.go
"time" ) var closeHook atomic.Value // func(fd int) func init() { closeFunc := poll.CloseFunc poll.CloseFunc = func(fd int) (err error) { if v := closeHook.Load(); v != nil { if hook := v.(func(int)); hook != nil { hook(fd) } } return closeFunc(fd) } } func TestSplicePipePool(t *testing.T) { const N = 64 var ( p *poll.SplicePipe ps []*poll.SplicePipe
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/fix/main_test.go
} testCases = append(testCases, t...) } func fnop(*ast.File) bool { return false } func parseFixPrint(t *testing.T, fn func(*ast.File) bool, desc, in string, mustBeGofmt bool) (out string, fixed, ok bool) { file, err := parser.ParseFile(fset, desc, in, parserMode) if err != nil { t.Errorf("parsing: %v", err) return } outb, err := gofmtFile(file) if err != nil { t.Errorf("printing: %v", err) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 05:31:47 UTC 2024 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/hooks.go
return err } s.postStartHooks[name] = postStartHookEntry{hook: hook, originatingStack: string(debug.Stack()), done: done} return nil } // AddPostStartHookOrDie allows you to add a PostStartHook, but dies on failure func (s *GenericAPIServer) AddPostStartHookOrDie(name string, hook PostStartHookFunc) { if err := s.AddPostStartHook(name, hook); err != nil { klog.Fatalf("Error registering PostStartHook %q: %v", name, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf.cc
// actionable. if (!mlir::TF::TensorFlowDialect::HasConstantFoldHook()) { return tensorflow::errors::Internal( "TensorFlow dialect missing constant fold hook in TFXLA bridge phase " "1; this could happen if the binary doesn't link the constant fold " "hook registration library."); } PassManager bridge(module.getContext()); bridge.enableVerifier(); ::tensorflow::applyTensorflowAndCLOptions(bridge);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:25:18 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc
// (`kResultsSizeThreshold`), or // 2. size of results is within a factor (`kSizeFactor`) of size of operands, or // TODO(b/157226221): Look into other heuristics for constant fold policy. static bool IsFoldedByDefaultPolicy(Operation* inst) { bool has_unknown_shape = false; auto get_size = [&](TypeRange types) { int64_t size = 0; for (auto t : types) { auto tensor_type = mlir::cast<TensorType>(t);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_xla_computations_pass.h
// StatefulPartitionedCall{_xla_compile_id=1} -> XlaClusterOutput -> NodeA // The output graph of this function would look like the following when // add_edges_to_output_of_downstream_nodes is true: // XlaLaunch -> NodeA static Status BuildXlaLaunchOps( Graph* graph, const std::function<absl::StatusOr<bool>(const Node&)>& is_xla_launch_node, const std::function<absl::StatusOr<XlaFunctionInfo>(const Node&)>&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/recv.go
func ReceiverNamed(recv *types.Var) (isPtr bool, named *types.Named) { t := recv.Type() if ptr, ok := aliases.Unalias(t).(*types.Pointer); ok { isPtr = true t = ptr.Elem() } named, _ = aliases.Unalias(t).(*types.Named) return } // Unpointer returns T given *T or an alias thereof. // For all other types it is the identity function. // It does not look at underlying types. // The result may be an alias. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 1.3K bytes - Viewed (0) -
pkg/kubelet/lifecycle/handlers.go
if err != nil { msg = fmt.Sprintf("Exec lifecycle hook (%v) for Container %q in Pod %q failed - error: %v, message: %q", handler.Exec.Command, container.Name, format.Pod(pod), err, string(output)) klog.V(1).ErrorS(err, "Exec lifecycle hook for Container in Pod failed", "execCommand", handler.Exec.Command, "containerName", container.Name, "pod", klog.KObj(pod), "message", string(output))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 11:40:52 UTC 2024 - 8.2K bytes - Viewed (0) -
pkg/test/framework/scope.go
id string parent *scope resources []resource.Resource closers []io.Closer children []*scope closeChan chan struct{} topLevel bool skipDump bool // Mutex to lock changes to resources, children, and closers that can be done concurrently mu sync.Mutex } func newScope(id string, p *scope) *scope { s := &scope{ id: id,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 21:55:23 UTC 2024 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/plugin.go
"k8s.io/apiserver/pkg/admission/plugin/policy/matching" "k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/client-go/dynamic" "k8s.io/client-go/informers" "k8s.io/client-go/kubernetes" ) // H is the Hook type generated by the source and consumed by the dispatcher. type sourceFactory[H any] func(informers.SharedInformerFactory, kubernetes.Interface, dynamic.Interface, meta.RESTMapper) Source[H]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 19:11:10 UTC 2024 - 6.6K bytes - Viewed (0)