- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 273 for sCases (0.14 sec)
-
src/runtime/select.go
selectDefault // default ) //go:linkname reflect_rselect reflect.rselect func reflect_rselect(cases []runtimeSelect) (int, bool) { if len(cases) == 0 { block() } sel := make([]scase, len(cases)) orig := make([]int, len(cases)) nsends, nrecvs := 0, 0 dflt := -1 for i, rc := range cases { var j int switch rc.dir { case selectDefault: dflt = i continue case selectSend:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 13 21:36:04 UTC 2024 - 15K bytes - Viewed (0) -
src/reflect/all_test.go
} } } func TestSelectMaxCases(t *testing.T) { var sCases []SelectCase channel := make(chan int) close(channel) for i := 0; i < 65536; i++ { sCases = append(sCases, SelectCase{ Dir: SelectRecv, Chan: ValueOf(channel), }) } // Should not panic _, _, _ = Select(sCases) sCases = append(sCases, SelectCase{ Dir: SelectRecv, Chan: ValueOf(channel), })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/cases.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:generate go run gen.go gen_trieval.go // Package cases provides general and language-specific case mappers. package cases // import "golang.org/x/text/cases" import ( "golang.org/x/text/language" "golang.org/x/text/transform" ) // References: // - Unicode Reference Manual Chapter 3.13, 4.2, and 5.18.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/device_target.h
enum class ScaleConstraintType { OutputInputSameScale, OutputInputFreeScale, CustomScale, }; // Each kernel signature has its own specification for scales. struct KernelSpec { // Scale constraint ScaleConstraintType type; // Custom function to derive the scales. Only available when the scale // constraint is `CustomScale`. ScaleFn scale_fn; }; class KernelSpecs { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 7.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java
public Lifecycle(String id, List<String> phases, Map<String, LifecyclePhase> defaultPhases) { this.id = id; this.phases = phases; this.defaultPhases = defaultPhases; } public Lifecycle(org.apache.maven.api.Lifecycle lifecycle) { this.lifecycle = lifecycle; this.id = lifecycle.id(); this.phases = lifecycle.phases().stream()
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed May 22 13:45:13 UTC 2024 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/shape_inference_with_shape_specialization.mlir
// RUN: tf-opt %s -tf-shape-inference=input-arg-shapes=1 -verify-diagnostics -split-input-file | FileCheck %s // RUN: not tf-opt %s -tf-shape-inference=input-arg-shapes=* 2>&1 | FileCheck --check-prefix=INPUT_ARG_SHAPES_ERROR %s // INPUT_ARG_SHAPES_ERROR: Missing input argument shapes module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} { // CHECK-LABEL: func.func @main
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init.go
// initialize the workflow runner with the list of phases initRunner.AppendPhase(phases.NewPreflightPhase()) initRunner.AppendPhase(phases.NewCertsPhase()) initRunner.AppendPhase(phases.NewKubeConfigPhase()) initRunner.AppendPhase(phases.NewEtcdPhase()) initRunner.AppendPhase(phases.NewControlPlanePhase()) initRunner.AppendPhase(phases.NewKubeletStartPhase()) initRunner.AppendPhase(phases.NewWaitControlPlanePhase())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 03:37:05 UTC 2024 - 24.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java
Map<String, LifecyclePhase> phases = getLifecyclePhases(lifecycleId); if (phases != null) { Lifecycle lifecycle = new Lifecycle(); lifecycle.setId(lifecycleId); lifecycle.setLifecyclePhases(phases); lifecycleMap.put(lifecycleId, lifecycle); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 07:46:36 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
const ArrayRef<double> scales = qtype.getScales(); // Broadcasting hasn't been implemented yet. if (static_cast<int64_t>(scales.size()) != factor_values.getNumElements()) return {}; SmallVector<double, 4> new_scales; new_scales.reserve(scales.size()); auto scales_iter = scales.begin(); for (const auto& f : factor_values) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java
private final String name; private final List<Plugin> plugins; private final List<Lifecycle.Phase> phases; DefaultPhase(String name, List<Plugin> plugins, List<Lifecycle.Phase> phases) { this.name = name; this.plugins = plugins; this.phases = phases; } @Override public String name() { return name; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.4K bytes - Viewed (0)