Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PrinterConfig (0.18 sec)

  1. src/cmd/fix/printerconfig.go

    package main
    
    import "go/ast"
    
    func init() {
    	register(printerconfigFix)
    }
    
    var printerconfigFix = fix{
    	name: "printerconfig",
    	date: "2012-12-11",
    	f:    printerconfig,
    	desc: `Add element keys to Config composite literals.`,
    }
    
    func printerconfig(f *ast.File) bool {
    	if !imports(f, "go/printer") {
    		return false
    	}
    
    	fixed := false
    	walk(f, func(n any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  2. src/cmd/fix/printerconfig_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func init() {
    	addTestCases(printerconfigTests, printerconfig)
    }
    
    var printerconfigTests = []testCase{
    	{
    		Name: "printerconfig.0",
    		In: `package main
    
    import "go/printer"
    
    func f() printer.Config {
    	b := printer.Config{0, 8}
    	c := &printer.Config{0}
    	d := &printer.Config{Tabwidth: 8, Mode: 0}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:34:33 UTC 2016
    - 748 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc

                          WritableFileWrapper::Create(dump_file_path));
    
      LOG(INFO) << "IR dump file created: " << dump_file_path;
      return file;
    }
    
    class PrinterConfig : public mlir::PassManager::IRPrinterConfig {
     public:
      explicit PrinterConfig(
          absl::string_view dump_file_prefix, bool print_module_scope = false,
          bool print_after_only_on_change = true,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:38:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top