Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 785 for printhex (0.12 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/template_flags_test.go

    			templateArg:    "invalid",
    			expectedOutput: "invalid",
    		},
    		{
    			name:          "no printer is matched on an invalid outputFormat",
    			outputFormat:  "invalid",
    			expectNoMatch: true,
    		},
    		{
    			name:          "go-template printer should not match on any other format supported by another printer",
    			outputFormat:  "jsonpath",
    			expectNoMatch: true,
    		},
    	}
    
    	for _, tc := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/jsonpath_flags_test.go

    			outputFormat:       "jsonpath",
    			templateArg:        "{invalid}",
    			expectedParseError: "unrecognized identifier invalid",
    		},
    		{
    			name:          "no printer is matched on an invalid outputFormat",
    			outputFormat:  "invalid",
    			expectNoMatch: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/go/doc/comment/print.go

    package comment
    
    import (
    	"bytes"
    	"fmt"
    	"strings"
    )
    
    // A Printer is a doc comment printer.
    // The fields in the struct can be filled in before calling
    // any of the printing methods
    // in order to customize the details of the printing process.
    type Printer struct {
    	// HeadingLevel is the nesting level used for
    	// HTML and Markdown headings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. src/go/doc/comment/doc.go

    use a [Parser]:
    
    	var p comment.Parser
    	doc := p.Parse(text)
    
    The result is a [*Doc].
    To reformat it as a doc comment, HTML, Markdown, or plain text,
    use a [Printer]:
    
    	var pr comment.Printer
    	os.Stdout.Write(pr.Text(doc))
    
    The [Parser] and [Printer] types are structs whose fields can be
    modified to customize the operations.
    For details, see the documentation for those types.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 19:05:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/rich/RichConsoleBasicGroupedTaskLoggingFunctionalTest.groovy

            given:
            buildFile << "task log"
    
            when:
            succeeds('log')
    
            then:
            !result.groupedOutput.hasTask(':log')
        }
    
        def "group header is printed red if task failed"() {
            given:
            buildFile << """
                task failing { doFirst {
                    logger.quiet 'hello'
                    throw new RuntimeException('Failure...')
                } }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/modifiers/KtDeclarationModifiersRenderer.kt

        public val keywordsRenderer: KaKeywordsRenderer,
    ) {
        public fun renderDeclarationModifiers(analysisSession: KaSession, symbol: KaDeclarationSymbol, printer: PrettyPrinter) {
            modifierListRenderer.renderModifiers(analysisSession, symbol, this, printer)
        }
    
        public inline fun with(action: Builder.() -> Unit): KaDeclarationModifiersRenderer {
            val renderer = this
            return KaDeclarationModifiersRenderer {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/base/contextReceivers/KtContextReceiversRenderer.kt

            analysisSession: KaSession,
            owner: KaContextReceiversOwner,
            typeRenderer: KaTypeRenderer,
            printer: PrettyPrinter,
        ) {
            contextReceiverListRenderer.renderContextReceivers(analysisSession, owner, this, typeRenderer, printer)
        }
    
        public inline fun with(action: Builder.() -> Unit): KaContextReceiversRenderer {
            val renderer = this
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderIntegrationTest.groovy

                        text.get()
                    }
    
                    void setText(Provider<String> text) {
                        this.text = text
                    }
    
                    @TaskAction
                    void printText() {
                        println getText()
                    }
                }
            """
    
            when:
            succeeds('myTask')
    
            then:
            outputContains(DEFAULT_TEXT)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 15:32:52 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. api/go1.19.txt

    pkg go/doc/comment, type Printer struct #51082
    pkg go/doc/comment, type Printer struct, DocLinkBaseURL string #51082
    pkg go/doc/comment, type Printer struct, DocLinkURL func(*DocLink) string #51082
    pkg go/doc/comment, type Printer struct, HeadingID func(*Heading) string #51082
    pkg go/doc/comment, type Printer struct, HeadingLevel int #51082
    pkg go/doc/comment, type Printer struct, TextCodePrefix string #51082
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  10. src/go/printer/performance_test.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements a simple printer performance benchmark:
    // go test -bench=BenchmarkPrint
    
    package printer
    
    import (
    	"bytes"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"io"
    	"log"
    	"os"
    	"testing"
    )
    
    var (
    	fileNode *ast.File
    	fileSize int64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 15:10:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top