Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for Ansi (0.02 seconds)

  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()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  2. 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) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  3. 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()
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. 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
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. 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
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  6. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                // look for last ANSI escape sequence to check if nextColor
                Matcher matcher = LAST_ANSI_SEQUENCE.matcher(line);
                String nextColor = "";
                if (matcher.find()) {
                    nextColor = matcher.group(1);
                    if (ANSI_RESET.equals(nextColor)) {
                        // last ANSI escape code is reset: no next color
                        nextColor = "";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  8. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. internal/logger/console.go

    	// of splitting error text and always pretty printing the
    	// red banner along with the error message. Since the error
    	// message itself contains some colored text, we needed
    	// to use some ANSI control escapes to cursor color state
    	// and freely move in the screen.
    	for line := range strings.SplitSeq(errMsg, "\n") {
    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            byte[] ansiHash = auth.getAnsiHash(challenge);
    
            // Unicode hash returns empty array due to static LM_COMPATIBILITY=3
            assertEquals(0, unicodeHash.length);
            // ANSI hash always returns 24 bytes
            assertEquals(24, ansiHash.length);
        }
    
        // Test ANONYMOUS constant
        @Test
        void testAnonymousConstant() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top