Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for ansi (0.01 sec)

  1. 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)
  2. 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)
  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()
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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 = "";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  8. 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
    		}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. 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() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertEquals("-Dpom.xml", request.getCommandLine().getOptionValue(CLIManager.ALTERNATE_POM_FILE));
        }
    
        @Test
        void testStyleColors() throws Exception {
            assumeTrue(MessageUtils.isColorEnabled(), "ANSI not supported");
            CliRequest request;
    
            MessageUtils.setColorEnabled(true);
            request = new CliRequest(new String[] {"-B"}, null);
            cli.cli(request);
            cli.properties(request);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top