Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 600 for SplitV (0.11 sec)

  1. src/cmd/cgo/internal/testerrors/errors_test.go

    		testenv.MustHaveGoBuild(t)
    		testenv.MustHaveCGO(t)
    		t.Parallel()
    
    		contents, err := os.ReadFile(path(file))
    		if err != nil {
    			t.Fatal(err)
    		}
    		var errors []*regexp.Regexp
    		for i, line := range bytes.Split(contents, []byte("\n")) {
    			if bytes.HasSuffix(line, []byte("ERROR HERE")) {
    				re := regexp.MustCompile(regexp.QuoteMeta(fmt.Sprintf("%s:%d:", file, i+1)))
    				errors = append(errors, re)
    				continue
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/mlrt/rewrite_ifrt_load_variable.mlir

    // RUN: tf-tfrt-opt -split-input-file -tf-mlrt-rewrite-ifrt-load-variable %s | FileCheck %s
    
    // Variable is used by both CPU and TPU
    //
    // CHECK-LABEL: func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32>
    // CHECK-NEXT:    [[HANDLE:%.*]] = "tf.VarHandleOp"()
    // CHECK-NEXT:    [[ARRAYKEY:%.*]], [[FURTURE:%.*]] = "tf_mlrt.tf_ifrt_load_variable"([[HANDLE]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/covdata/covdata.go

    	// Mode-independent flag setup
    	dbgtrace(1, "starting mode-independent setup")
    	if flag.NArg() != 0 {
    		op.Usage("unknown extra arguments")
    	}
    	if *pkgpatflag != "" {
    		pats := strings.Split(*pkgpatflag, ",")
    		matchers := []func(name string) bool{}
    		for _, p := range pats {
    			if p == "" {
    				continue
    			}
    			f := pkgpattern.MatchSimplePattern(p)
    			matchers = append(matchers, f)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

                                       StringRef name_loc_id) {
        if (name_loc_id.contains("@")) {
          new_unit.set_node_name(name_loc_id.split('@').first.str());
          new_unit.set_func_name(name_loc_id.split('@').second.str());
        } else {
          new_unit.set_node_name(name_loc_id.str());
        }
      };
    
      ArrayRef<Location> locations = mlir::cast<FusedLoc>(loc).getLocations();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/insert_call_once_op.mlir

    // RUN: tf-opt -split-input-file -tfl-insert-call-once-op %s | FileCheck %s
    
    // Tests that new call_once op is added when there is a session initializer.
    
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_all_tables]} : () -> ()
    
      func.func @init_all_tables()
      attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/conversion.go

    	if svc.Annotations[annotation.AlphaCanonicalServiceAccounts.Name] != "" {
    		serviceaccounts = append(serviceaccounts, strings.Split(svc.Annotations[annotation.AlphaCanonicalServiceAccounts.Name], ",")...)
    	}
    	if svc.Annotations[annotation.AlphaKubernetesServiceAccounts.Name] != "" {
    		for _, ksa := range strings.Split(svc.Annotations[annotation.AlphaKubernetesServiceAccounts.Name], ",") {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScriptExecuter.groovy

        @Override
        ExecHandle build() {
            if (OperatingSystem.current().isWindows()) {
                def theArgs = ['/d', '/c', executable.replace('/', File.separator)] + getArgs()
                setArgs(theArgs) //split purposefully to avoid weird windows CI issue
                executable = 'cmd.exe'
            } else {
                executable = "${workingDir}/${executable}"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go

    	if i := bytes.IndexByte(meta, 0); i >= 0 {
    		meta = meta[:i]
    	}
    	m := &mappedFile{
    		meta:    string(meta),
    		hdrLen:  hdrLen,
    		mapping: &mmap.Data{Data: data},
    	}
    
    	lines := strings.Split(m.meta, "\n")
    	for _, line := range lines {
    		if line == "" {
    			continue
    		}
    		k, v, ok := strings.Cut(line, ": ")
    		if !ok {
    			return corrupt()
    		}
    		f.Meta[k] = v
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 14:38:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/ListBuildOption.java

        @Override
        public void applyFromProperty(Map<String, String> properties, T settings) {
            String value = properties.get(property);
    
            if (value != null) {
                String[] splitValues = value.split("\\s*,\\s*");
                applyTo(Arrays.asList(splitValues), settings, Origin.forGradleProperty(property));
            }
        }
    
        @Override
        public void configure(CommandLineParser parser) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/internal/trace/testtrace/expectation.go

    // ParseExpectation parses the serialized form of an Expectation.
    func ParseExpectation(data []byte) (*Expectation, error) {
    	exp := new(Expectation)
    	s := bufio.NewScanner(bytes.NewReader(data))
    	if s.Scan() {
    		c := strings.SplitN(s.Text(), " ", 2)
    		switch c[0] {
    		case "SUCCESS":
    		case "FAILURE":
    			exp.failure = true
    			if len(c) != 2 {
    				return exp, fmt.Errorf("bad header line for FAILURE: %q", s.Text())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top