Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 785 for printhex (0.12 sec)

  1. src/cmd/link/internal/ld/util.go

    func afterErrorAction() {
    	nerrors++
    	if *flagH {
    		panic("error")
    	}
    	if nerrors > 20 {
    		Exitf("too many errors")
    	}
    }
    
    // Errorf logs an error message.
    //
    // If more than 20 errors have been printed, exit with an error.
    //
    // Logging an error means that on exit cmd/link will delete any
    // output file and return a non-zero error code.
    //
    // TODO: remove. Use ctxt.Errorf instead.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:39:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/idea/model/ProjectLibraryTest.groovy

            when:
            def parent = new Node(null, "parent")
            lib.addToNode(parent, pathFactory)
    
            then:
            def writer = new StringWriter()
            def printer = new XmlNodePrinter(new IndentPrinter(writer))
            printer.print(parent)
            writer.toString().trim() == """
    <parent>
      <library name="lib">
        <CLASSES>
          <root url="jar://\$USER_HOME\$/class/one.jar!/"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/kube_template_flags.go

    */
    
    package genericclioptions
    
    import (
    	"github.com/spf13/cobra"
    
    	"k8s.io/cli-runtime/pkg/printers"
    )
    
    // KubeTemplatePrintFlags composes print flags that provide both a JSONPath and a go-template printer.
    // This is necessary if dealing with cases that require support both both printers, since both sets of flags
    // require overlapping flags.
    type KubeTemplatePrintFlags struct {
    	GoTemplatePrintFlags *GoTemplatePrintFlags
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 13 10:28:09 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  4. doc/next/4-runtime.md

    ## Runtime {#runtime}
    
    The traceback printed by the runtime after an unhandled panic or other
    fatal error now indents the second and subsequent lines of the error
    message (for example, the argument to panic) by a single tab, so that
    it can be unambiguously distinguished from the stack trace of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 359 bytes
    - Viewed (0)
  5. test/fixedbugs/issue14010.go

    // errorcheck
    
    // Copyright 2016 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.
    
    // Verify that built-in types don't get printed with
    // (empty) package qualification.
    
    package main
    
    func main() {
    	true = false // ERROR "cannot assign to true|invalid left hand side"
    	byte = 0     // ERROR "not an expression|invalid left hand side|invalid use of type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 10 18:34:40 UTC 2020
    - 449 bytes
    - Viewed (0)
  6. docs/auditlog/auditlog-echo.md

    2. Configure audit logging in MinIO with for example:
    
    ```
    mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 447 bytes
    - Viewed (0)
  7. tests/fuzz/crd_roundtrip_fuzzer.go

    		panic(fmt.Sprintf("%v: serialization is not stable: %s\n", name, printer.Sprintf("%#v", object)))
    	}
    
    	// decode (deserialize) the encoded data back into an object
    	obj2, err := runtime.Decode(codec, data)
    	if err != nil {
    		panic(fmt.Sprintf("%v: %v\nCodec: %#v\nData: %s\nSource: %#v\n", name, err, codec, dataAsString(data), printer.Sprintf("%#v", object)))
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/printers/discard.go

    limitations under the License.
    */
    
    package printers
    
    import (
    	"io"
    
    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    // NewDiscardingPrinter is a printer that discards all objects
    func NewDiscardingPrinter() ResourcePrinterFunc {
    	return ResourcePrinterFunc(func(runtime.Object, io.Writer) error {
    		return nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 23:00:24 UTC 2019
    - 843 bytes
    - Viewed (0)
  9. src/cmd/test2json/main.go

    //	run    - the test has started running
    //	pause  - the test has been paused
    //	cont   - the test has continued running
    //	pass   - the test passed
    //	bench  - the benchmark printed log output but did not fail
    //	fail   - the test or benchmark failed
    //	output - the test printed output
    //	skip   - the test was skipped or the package contained no tests
    //
    // Every JSON stream begins with a "start" event.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. test/typeparam/issue50690c.go

    // run
    
    // Copyright 2022 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.
    
    package main
    
    import (
    	"fmt"
    )
    
    type Printer[T ~string] struct {
    	PrintFn func(T)
    }
    
    func Print[T ~string](s T) {
    	fmt.Println(s)
    }
    
    func PrintWithPrinter[T ~string, S interface {
    	~struct {
    		ID       T
    		PrintFn_ func(T)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 917 bytes
    - Viewed (0)
Back to top