Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for ansi (0.02 sec)

  1. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        public interface Consumer {
            void apply(Ansi ansi);
        }
    
        public static boolean isEnabled() {
            return org.apache.maven.jline.MessageUtils.isColorEnabled() && org.jline.jansi.Ansi.isEnabled();
        }
    
        public static void setEnabled(final boolean flag) {
            org.jline.jansi.Ansi.setEnabled(flag);
        }
    
        public static Ansi ansi() {
            if (isEnabled()) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

        assertThat("Thursday, 01-Jan-70 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Friday, 06-Jun-14 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
    
        // ANSI C's asctime(): should use GMT, not platform default.
        assertThat("Thu Jan 1 00:00:00 1970".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Fri Jun 6 12:30:30 2014".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.9K 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            DEFAULT_PASSWORD = Config.getProperty("jcifs.smb1.smb.client.password", BLANK);
        }
    
        /**
         * Generate the ANSI DES hash for the password associated with these credentials.
         *
         * @param password the password to hash
         * @param challenge the server challenge bytes
         * @return the ANSI DES hash response
         */
        static public byte[] getPreNTLMResponse(final String password, final byte[] challenge) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/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: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. internal/logger/utils.go

    package logger
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"net/http"
    	"regexp"
    	"runtime"
    
    	"github.com/minio/minio/internal/color"
    )
    
    var ansiRE = regexp.MustCompile("(\x1b[^m]*m)")
    
    // Print ANSI Control escape
    func ansiEscape(format string, args ...any) {
    	Esc := "\x1b"
    	fmt.Printf("%s%s", Esc, fmt.Sprintf(format, args...))
    }
    
    func ansiMoveRight(n int) {
    	if runtime.GOOS == "windows" {
    		return
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. 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 ...any) string {
    		if IsTerminal() {
    			return color.New(color.Bold).SprintfFunc()
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. go.mod

    	github.com/charmbracelet/bubbles v0.20.0 // indirect
    	github.com/charmbracelet/bubbletea v1.3.4 // indirect
    	github.com/charmbracelet/lipgloss v1.0.0 // indirect
    	github.com/charmbracelet/x/ansi v0.8.0 // indirect
    	github.com/charmbracelet/x/term v0.2.1 // indirect
    	github.com/cncf/xds/go v0.0.0-20250326154945-ae57f3c0d45f // indirect
    	github.com/coreos/go-semver v0.3.1 // indirect
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

     */
    @Deprecated
    public class NtlmPasswordAuthentication extends NtlmPasswordAuthenticator {
    
        /**
         *
         */
        private static final long serialVersionUID = -2832037191318016836L;
    
        /** The ANSI password hash */
        private byte[] ansiHash;
        /** The Unicode password hash */
        private byte[] unicodeHash;
        /** Flag indicating if hashes are externally provided */
        private boolean hashesExternal = false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmUtil.java

            final byte[] p24 = new byte[24];
            System.arraycopy(passwordHash, 0, p21, 0, 16);
            NtlmUtil.E(p21, challenge, p24);
            return p24;
        }
    
        /**
         * Generate the ANSI DES hash for the password associated with these credentials.
         *
         * @param tc the CIFS context to use for configuration
         * @param password the password to hash
         * @param challenge the server challenge bytes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top