Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 413 for Strip (0.08 sec)

  1. src/go/types/commentMap_test.go

    	for {
    		pos, tok, lit := s.Scan()
    		switch tok {
    		case token.EOF:
    			return
    		case token.COMMENT:
    			if lit[1] == '*' {
    				lit = lit[:len(lit)-2] // strip trailing */
    			}
    			lit = lit[2:] // strip leading // or /*
    			if rx.MatchString(lit) {
    				p := fset.Position(prev)
    				err := comment{p.Line, p.Column, lit}
    				if res == nil {
    					res = make(map[int][]comment)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/strip_saved_module_metadata.mlir

    // RUN: tf-opt %s --tf-strip-saved-module-metadata --split-input-file | FileCheck %s
    
    // CHECK-LABEL: module
    // CHECK-NOT: tf_saved_model
    module attributes {tf_saved_model.semantics} {
      // CHECK: tf_saved_model.global_tensor
      // CHECK-NOT: tf_saved_model
      "tf_saved_model.global_tensor"() { is_mutable, sym_name = "v", type = tensor<?xf32>, value = dense<1.> : tensor<1xf32> } : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 30 01:28:41 UTC 2022
    - 712 bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/util/documentation.go

    // - A line break can be forced by adding a couple of empty spaces at the end of a text line.
    // - All indentation is removed. The resulting output is not indented.
    func LongDesc(s string) string {
    	// Strip beginning and trailing space characters (including empty lines) and split the lines into a slice
    	lines := strings.Split(strings.TrimSpace(s), "\n")
    
    	output := []string{}
    	paragraph := []string{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 24 11:40:55 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/SwiftPlatformToolProvider.java

                return toolSearchPath.locate(compilerType, SymbolExtractorOsConfig.current().getExecutableName());
            }
            if (compilerType == ToolType.STRIPPER) {
                return toolSearchPath.locate(compilerType, "strip");
            }
            throw new IllegalArgumentException();
        }
    
        @Override
        public <T extends CompileSpec> org.gradle.language.base.internal.compile.Compiler<T> newCompiler(Class<T> spec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/strip_noinline_attribute.cc

    struct StripNoinlineAttributePass
        : public impl::StripNoinlineAttributePassBase<StripNoinlineAttributePass> {
     public:
      // void runOnOperation() override;
      void runOnOperation() override {
        // Strip the "tf._noinline" attribute from top-level functions.
        for (auto func_op : getOperation().getOps<func::FuncOp>())
          func_op->removeAttr("tf._noinline");
      }
    };
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. ci/official/utilities/extract_resultstore_links.py

        if not elem.text or not elem.text.strip():
          elem.text = indent_str + '  '
        if not elem.tail or not elem.tail.strip():
          elem.tail = indent_str
        for elem in elem:
          indent_xml(elem, level + 1)
        if not elem.tail or not elem.tail.strip():
          elem.tail = indent_str
      else:
        if level and (not elem.tail or not elem.tail.strip()):
          elem.tail = indent_str
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/strip_tf_attributes.mlir

    // RUN: tf-opt %s -allow-unregistered-dialect --tf-strip-tf-attributes --split-input-file | FileCheck %s
    
    // CHECK-LABEL: strips_attributes
    // CHECK-NOT: tf
    func.func @strips_attributes(%arg0: tensor<32x28x28x1xf32> {tf._user_specified_name = "x"},
                                 %arg1: tensor<3x3x1x5xf32> {tf._user_specified_name = "w1"},
                                 %arg2: tensor<5xf32> {tf._user_specified_name = "b1"},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 25 20:04:10 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/recv.go

    	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.
    //
    // Use this function to strip off the optional pointer on a receiver
    // in a field or method selection, without losing the named type
    // (which is needed to compute the method set).
    //
    // See also [typeparams.MustDeref], which removes one level of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue22660.go

    	"strings"
    )
    
    func main() {
    	f, err := ioutil.TempFile("", "issue22660.go")
    	if err != nil {
    		log.Fatal(err)
    	}
    	f.Close()
    	defer os.Remove(f.Name())
    
    	// path must appear in error messages even if we strip them with -trimpath
    	path := filepath.Join("users", "xxx", "go")
    	var src bytes.Buffer
    	fmt.Fprintf(&src, "//line %s:1\n", filepath.Join(path, "foo.go"))
    
    	if err := ioutil.WriteFile(f.Name(), src.Bytes(), 0660); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/ops/gen/model/attr_spec.cc

      description_ = attr_def.description();
      full_type_ = attr_def.type();
      default_value_ = attr_def.default_value();
      if (str_util::StartsWith(full_type_, "list(")) {
        is_list_ = true;
        // strip surrounding "list(%s)"
        base_type_ = full_type_.substr(5, full_type_.length() - 6);
      } else {
        is_list_ = false;
        base_type_ = full_type_;
      }
    }
    
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
Back to top