Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for Ansi (0.02 seconds)

  1. 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)
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. 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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  3. 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",
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  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. 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)
  8. 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)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

            return style(style).a(message).resetStyle();
        }
    
        MessageBuilder style(String style);
    
        MessageBuilder resetStyle();
    
        //
        // message building methods modelled after Ansi methods
        //
    
        @Nonnull
        @Override
        MessageBuilder append(CharSequence cs);
    
        @Nonnull
        @Override
        MessageBuilder append(CharSequence cs, int start, int end);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Nov 02 09:29:52 GMT 2024
    - 7.6K bytes
    - Click Count (0)
Back to Top