Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 180 for Ansi (0.04 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/printers/terminal.go

    limitations under the License.
    */
    
    package printers
    
    import (
    	"io"
    	"os"
    	"runtime"
    	"strings"
    
    	"github.com/moby/term"
    )
    
    // terminalEscaper replaces ANSI escape sequences and other terminal special
    // characters to avoid terminal escape character attacks (issue #101695).
    var terminalEscaper = strings.NewReplacer("\x1b", "^[", "\r", "\\r")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

         */
        String getNormalizedOutput();
    
        /**
         * Stdout of the Gradle execution, with ANSI characters interpreted and text attributes rendered as plain text.
         */
        String getFormattedOutput();
    
        /**
         * Stdout of the Gradle execution, with ANSI characters interpreted and text attributes discarded.
         */
        String getPlainTextOutput();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. cmd/update-notifier.go

    func colorizeUpdateMessage(updateString string, newerThan string) string {
    	msgLine1Fmt := " You are running an older version of MinIO released %s "
    	msgLine2Fmt := " Update: %s "
    
    	// Calculate length *without* color coding: with ANSI terminal
    	// color characters, the result is incorrect.
    	line1Length := len(fmt.Sprintf(msgLine1Fmt, newerThan))
    	line2Length := len(fmt.Sprintf(msgLine2Fmt, updateString))
    
    	// Populate lines with color coding.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/ConsoleStub.java

                this.id = id;
            }
    
            @Override
            public void setText(String text) {
                buffer = text;
            }
    
            @Override
            public void redraw(AnsiContext ansi) {
                if (buffer != null) {
                    super.setDisplay(buffer);
                    buffer = null;
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/crypto/aes/block.go

    // license that can be found in the LICENSE file.
    
    // This Go implementation is derived in part from the reference
    // ANSI C implementation, which carries the following notice:
    //
    //	rijndael-alg-fst.c
    //
    //	@version 3.0 (December 2000)
    //
    //	Optimised ANSI C code for the Rijndael cipher (now AES)
    //
    //	@author Vincent Rijmen <******@****.***>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. internal/color/color.go

    package color
    
    import (
    	"fmt"
    
    	"github.com/fatih/color"
    )
    
    // global colors.
    var (
    	// Check if we stderr, stdout are dumb terminals, we do not apply
    	// ansi coloring on dumb terminals.
    	IsTerminal = func() bool {
    		return !color.NoColor
    	}
    
    	Bold = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.Bold).SprintfFunc()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/pprof/readlineui.go

    	text := fmt.Sprint(args...)
    	if !strings.HasSuffix(text, "\n") {
    		text += "\n"
    	}
    	if withColor {
    		text = colorize(text)
    	}
    	fmt.Fprint(r.term, text)
    }
    
    // colorize prints the msg in red using ANSI color escapes.
    func colorize(msg string) string {
    	const red = 31
    	var colorEscape = fmt.Sprintf("\033[0;%dm", red)
    	var colorResetEscape = "\033[0m"
    	return colorEscape + msg + colorResetEscape
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

        // RFC 822, updated by RFC 1123 with any TZ.
        "EEE, dd MMM yyyy HH:mm:ss zzz",
        // RFC 850, obsoleted by RFC 1036 with any TZ.
        "EEEE, dd-MMM-yy HH:mm:ss zzz",
        // ANSI C's asctime() format
        "EEE MMM d HH:mm:ss yyyy",
        // Alternative formats:
        "EEE, dd-MMM-yyyy HH:mm:ss z",
        "EEE, dd-MMM-yyyy HH-mm-ss z",
        "EEE, dd MMM yy HH:mm:ss z",
        "EEE dd-MMM-yyyy HH:mm:ss z",
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/LongRunningOperation.java

        /**
         * Specifies whether to generate colored (ANSI encoded) output for logging. The default is to not generate color output.
         *
         * <p>Supported by Gradle 2.3 or later. Ignored for older versions.</p>
         *
         * @param colorOutput {@code true} to request color output (using ANSI encoding).
         * @return this
         * @since 2.3
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 14K bytes
    - Viewed (0)
  10. go.mod

    	github.com/charmbracelet/bubbles v0.18.0 // indirect
    	github.com/charmbracelet/bubbletea v0.26.4 // indirect
    	github.com/charmbracelet/lipgloss v0.11.0 // indirect
    	github.com/charmbracelet/x/ansi v0.1.2 // indirect
    	github.com/charmbracelet/x/input v0.1.2 // indirect
    	github.com/charmbracelet/x/term v0.1.1 // indirect
    	github.com/charmbracelet/x/windows v0.1.2 // indirect
    	github.com/coreos/go-semver v0.3.1 // indirect
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top