Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for PrintFer (0.27 sec)

  1. src/cmd/compile/internal/syntax/printer.go

    // that takes care of accounting and error handling.
    func (p *printer) write(data []byte) {
    	n, err := p.output.Write(data)
    	p.written += n
    	if err != nil {
    		panic(writeError{err})
    	}
    }
    
    var (
    	tabBytes    = []byte("\t\t\t\t\t\t\t\t")
    	newlineByte = []byte("\n")
    	blankByte   = []byte(" ")
    )
    
    func (p *printer) writeBytes(data []byte) {
    	if len(data) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  2. src/go/printer/printer.go

    	commentNewline bool              // true if the comment group contains newlines
    }
    
    type printer struct {
    	// Configuration (does not change after initialization)
    	Config
    	fset *token.FileSet
    
    	// Current state
    	output       []byte       // raw printer result
    	indent       int          // current indentation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt

                is KaAnnotation -> renderAnnotationApplication(value, printer)
                is KaAnnotationList -> renderAnnotationsList(value, printer)
                is KtModule -> renderKtModule(value, printer)
                // Other custom values
                is Name -> printer.append(value.asString())
                is FqName -> printer.append(value.asString())
                is ClassId -> printer.append(value.asString())
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                is DefinitelyNotNullType -> renderDefinitelyNotNullType(unwrappedType, printer)
                is ErrorType -> renderErrorType(printer)
                is CapturedType -> renderCapturedType(unwrappedType, printer)
                is NewCapturedType -> renderCapturedType(unwrappedType, printer)
                is AbbreviatedType -> renderType(unwrappedType.abbreviation, printer)
                is SimpleType -> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/KtDeclarationRenderer.kt

                is KaAnonymousFunctionSymbol -> anonymousFunctionRenderer.renderSymbol(analysisSession, symbol, this, printer)
                is KaConstructorSymbol -> constructorRenderer.renderSymbol(analysisSession, symbol, this, printer)
                is KaFunctionSymbol -> functionSymbolRenderer.renderSymbol(analysisSession, symbol, this, printer)
                is KaPropertyGetterSymbol -> getterRenderer.renderSymbol(analysisSession, symbol, this, printer)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. src/go/doc/doc.go

    		LookupPackage: p.lookupPackage,
    		LookupSym:     p.lookupSym,
    	}
    }
    
    // Printer returns a doc comment printer configured
    // for printing doc comments from package p.
    // Each call returns a new printer, so that the caller may
    // customize it before use.
    func (p *Package) Printer() *comment.Printer {
    	// No customization today, but having p.Printer()
    	// gives us flexibility in the future, and it is convenient for callers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/upgrade/plan.go

    			continue
    		}
    		_, _ = printer.Fprintf(tabw, "%s\t%s\t%s\t%s\n", component.Name, component.NodeName, component.CurrentVersion, component.NewVersion)
    	}
    	_ = tabw.Flush()
    
    	_, _ = printer.Fprintln(writer, "")
    	_, _ = printer.Fprintf(writer, "Upgrade to the latest %s:\n", au.Description)
    	_, _ = printer.Fprintln(writer, "")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    		table := &metav1.Table{
    			ColumnDefinitions: test.columns,
    			Rows:              test.rows,
    		}
    		// Print the table
    		out := bytes.NewBuffer([]byte{})
    		printer := NewTablePrinter(test.options)
    		printer.PrintObj(table, out)
    
    		// Validate the printed table is empty.
    		if len(out.String()) > 0 {
    			t.Errorf("Error Printing Table. Should be empty; got (%s)", out.String())
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/upgrade/common.go

    		for scanner.Scan() {
    			printer.Fprintf(w, "\t%s\n", scanner.Text())
    		}
    	}
    }
    
    // runPreflightChecks runs the root preflight check
    func runPreflightChecks(client clientset.Interface, ignorePreflightErrors sets.Set[string], printer output.Printer) error {
    	printer.Printf("[preflight] Running pre-flight checks.\n")
    	err := preflight.RunRootCheckOnly(ignorePreflightErrors)
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/compute.go

    // kinds of upgrades can be performed
    func GetAvailableUpgrades(versionGetterImpl VersionGetter, experimentalUpgradesAllowed, rcUpgradesAllowed bool, client clientset.Interface, printer output.Printer) ([]Upgrade, error) {
    	printer.Printf("[upgrade] Fetching available versions to upgrade to\n")
    
    	// Collect the upgrades kubeadm can do in this list
    	var upgrades []Upgrade
    
    	// Get the kube-apiserver versions in the cluster
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top