Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 534 for sCases (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/output-shapes.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-unconditionally-use-set-output-shapes-on-import -tf-enable-shape-inference-on-import=false -tf-graph-as-function %s -o -  | FileCheck %s
    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-unconditionally-use-set-output-shapes-on-import -tf-enable-shape-inference-on-import=true -tf-graph-as-function %s -o - | FileCheck %s
    
    # Verify importing with _output_shapes enabled works as expected.
    
    node {
      name: "_Arg"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 21 04:07:13 UTC 2021
    - 3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/output-shapes-attr.pbtxt

    Jacques Pienaar <******@****.***> 1587687343 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 24 00:20:25 UTC 2020
    - 426 bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/output-shapes-attr.mlir

    Tres Popp <******@****.***> 1648211118 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/empty-input-shapes.pbtxt

    Hongmin Fan <******@****.***> 1614638143 -0800
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 01 22:43:47 UTC 2021
    - 491 bytes
    - Viewed (0)
  9. 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)
  10. cmd/kubeadm/app/cmd/phases/workflow/runner.go

    }
    
    // NewRunner return a new runner for composable kubeadm workflows.
    func NewRunner() *Runner {
    	return &Runner{
    		Phases: []Phase{},
    	}
    }
    
    // AppendPhase adds the given phase to the ordered sequence of phases managed by the runner.
    func (e *Runner) AppendPhase(t Phase) {
    	e.Phases = append(e.Phases, t)
    }
    
    // computePhaseRunFlags return a map defining which phase should be run and which not.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 21 05:35:15 UTC 2022
    - 16K bytes
    - Viewed (0)
Back to top