Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for SubPtr (0.15 sec)

  1. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Add64F", argLength: 2, commutative: true},
    
    	{name: "Sub8", argLength: 2}, // arg0 - arg1
    	{name: "Sub16", argLength: 2},
    	{name: "Sub32", argLength: 2},
    	{name: "Sub64", argLength: 2},
    	{name: "SubPtr", argLength: 2},
    	{name: "Sub32F", argLength: 2},
    	{name: "Sub64F", argLength: 2},
    
    	{name: "Mul8", argLength: 2, commutative: true}, // arg0 * arg1
    	{name: "Mul16", argLength: 2, commutative: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. src/strings/strings.go

    // Count counts the number of non-overlapping instances of substr in s.
    // If substr is an empty string, Count returns 1 + the number of Unicode code points in s.
    func Count(s, substr string) int {
    	// special case
    	if len(substr) == 0 {
    		return utf8.RuneCountInString(s) + 1
    	}
    	if len(substr) == 1 {
    		return bytealg.CountString(s, substr[0])
    	}
    	n := 0
    	for {
    		i := Index(s, substr)
    		if i == -1 {
    			return n
    		}
    		n++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen_util.cc

        result = dot_h_fname.substr(pos + sizeof("/bin/") - 1);
      } else {
        pos = dot_h_fname.find("/genfiles/");
        if (pos != string::npos) {
          result = dot_h_fname.substr(pos + sizeof("/genfiles/") - 1);
        }
      }
      if (result.size() > sizeof("external/") &&
          result.compare(0, sizeof("external/") - 1, "external/") == 0) {
        result = result.substr(sizeof("external/") - 1);
        pos = result.find('/');
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. src/syscall/mksyscall.pl

    		$sysname =~ s/([a-z])([A-Z])/${1}_$2/g;	# turn FooBar into Foo_Bar
    		$sysname =~ y/a-z/A-Z/;
    		if($libc) {
    			$sysname =~ y/A-Z/a-z/;
    			$sysname = substr $sysname, 4;
    			$funcname = "libc_$sysname";
    		}
    	}
    	if($libc) {
    		if($funcname eq "") {
    			$sysname = substr $sysname, 4;
    			$sysname =~ y/A-Z/a-z/;
    			$funcname = "libc_$sysname";
    		}
    		$sysname = "abi.FuncPCABI0(${funcname}_trampoline)";
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      int idx_arrow = einsum_equation.find("->");
      StringRef calc_eq = einsum_equation.substr(0, idx_arrow);
      StringRef out_eq = einsum_equation.substr(idx_arrow + 2);
    
      int idx_comma = calc_eq.find(',');
      StringRef lhs_eq = calc_eq.substr(0, idx_comma);
      StringRef rhs_eq = calc_eq.substr(idx_comma + 1);
    
      std::string target_eq;
      if (is_lhs) {
        target_eq = lhs_eq;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      }
    
      // Parse equation.
      int idx_arrow = equation.find("->");
      StringRef calc_eq = equation.substr(0, idx_arrow);
      StringRef out_eq = equation.substr(idx_arrow + 2);
    
      int idx_comma = calc_eq.find(',');
      StringRef lhs_eq = calc_eq.substr(0, idx_comma);
      StringRef rhs_eq = calc_eq.substr(idx_comma + 1);
    
      if (absl::StrContains(rhs_eq, ",")) return false;
    
      int lhs_out_idx_start = out_eq.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

                             data_types_str, "'"));
          }
          inside_subtype = false;
        }
        if (inside_subtype) continue;
        if (c == ',') {
          dtypes.push_back(
              std::string(data_types_str.substr(cur_pos, i - cur_pos)));
          cur_pos = i + 1;
        }
      }
      if (inside_subtype) {
        return errors::FailedPrecondition(
            absl::StrCat("Syntax error: expected a ')' in input data types '",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/check_test.go

    			errList = filemap[line]
    		}
    
    		// At least one of the errors in errList should match the current error.
    		indices = indices[:0]
    		for i, want := range errList {
    			pattern, substr := strings.CutPrefix(want.Msg, " ERROR ")
    			if !substr {
    				var found bool
    				pattern, found = strings.CutPrefix(want.Msg, " ERRORx ")
    				if !found {
    					panic("unreachable")
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/go/types/check_test.go

    			errList = filemap[line]
    		}
    
    		// At least one of the errors in errList should match the current error.
    		indices = indices[:0]
    		for i, want := range errList {
    			pattern, substr := strings.CutPrefix(want.text, " ERROR ")
    			if !substr {
    				var found bool
    				pattern, found = strings.CutPrefix(want.text, " ERRORx ")
    				if !found {
    					panic("unreachable")
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. tensorflow/cc/saved_model/metrics.cc

            "Invalid path_and_singleprint argument. Found no delimeter.");
      }
      std::string path = path_and_singleprint.substr(0, delimiter);
      if (path.empty()) {
        return absl::InvalidArgumentError(
            "Invalid path_and_singleprint argument. Empty path.");
      }
      std::string singleprint = path_and_singleprint.substr(delimiter + 1);
      if (singleprint.empty()) {
        return absl::InvalidArgumentError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 23:43:59 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top