- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for 0m (0.04 sec)
-
istioctl/pkg/writer/table/writer_test.go
w.AddRow(newTestObject("baz", "qux", "2.0")) w.AddRow(newTestObject("qux", "quux", "3")) w.Flush() expected := "NAME NAMESPACE VERSION\n" + "foo \x1b[32mbar\x1b[0m 1.0\n" + "baz \x1b[32mqux\x1b[0m 2.0\n" + "qux \x1b[32mquux\x1b[0m 3\n" if got.String() != expected { t.Errorf("got %q, want %q", got.String(), expected) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Oct 08 04:41:42 UTC 2022 - 1.6K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter_test.go
"the castle is too old", ) msgs := diag.Messages{firstMsg, secondMsg} output, _ := Print(msgs, LogFormat, true) g.Expect(output).To(Equal( "\033[1;31mError\033[0m [B1] (SoapBubble) Explosion accident: the bubble is too big\n" + "\033[33mWarning\033[0m [C1] (GrandCastle) Collapse danger: the castle is too old", )) } func TestFormatter_PrintJSON(t *testing.T) { g := NewWithT(t) firstMsg := diag.NewMessage(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.1K bytes - Viewed (0) -
maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
assertOrder(X_GT_Y, "1.0a-1", "1.0"); assertOrder(X_GT_Y, "1.0b.1", "1.0"); assertOrder(X_GT_Y, "1.0b-1", "1.0"); assertOrder(X_GT_Y, "1.0m.1", "1.0"); assertOrder(X_GT_Y, "1.0m-1", "1.0"); } @Test void testUnknownQualifierOrdering() { assertOrder(X_LT_Y, "1-abc", "1-abcd"); assertOrder(X_LT_Y, "1-abc", "1-bcd");
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 21 09:54:32 UTC 2024 - 17.1K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter.go
} prefix, ok := colorPrefixes[m.Type.Level()] if !ok { return "" } return prefix } func colorSuffix(colorize bool) string { if !colorize { return "" } return "\033[0m" } func IstioctlColorDefault(writer io.Writer) bool { if strings.EqualFold(termEnvVar.Get(), "dumb") { return false } file, ok := writer.(*os.File) if ok {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jul 11 02:41:45 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/pprof/readlineui.go
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 } // IsTerminal reports whether the UI is known to be tied to an // interactive terminal (as opposed to being redirected to a file).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 30 18:10:36 UTC 2023 - 3.3K bytes - Viewed (0) -
logger/logger.go
"io" "log" "os" "time" "gorm.io/gorm/utils" ) // ErrRecordNotFound record not found error var ErrRecordNotFound = errors.New("record not found") // Colors const ( Reset = "\033[0m" Red = "\033[31m" Green = "\033[32m" Yellow = "\033[33m" Blue = "\033[34m" Magenta = "\033[35m" Cyan = "\033[36m" White = "\033[37m" BlueBold = "\033[34;1m"
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Nov 07 02:19:41 UTC 2023 - 5.8K bytes - Viewed (0) -
common/Makefile.common.mk
help: ## Show this help @egrep -h '^[a-zA-Z_\.-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 14:37:27 UTC 2024 - 5.9K bytes - Viewed (0) -
src/crypto/tls/testdata/Server-TLSv10-ECDHE-ECDSA-AES
00000040 0d be 57 e4 12 6d 2d 3a 33 24 a0 0c c4 9b 27 09 |..W..m-:3$....'.| 00000050 85 e0 0e 42 04 79 21 9a bf 47 fa 0b 38 1a ce 8f |...B.y!..G..8...| 00000060 17 03 01 00 30 6d 27 f1 9b cf 55 4d 65 48 38 1b |....0m'...UMeH8.| 00000070 d9 dd 1d 5b 81 2f 10 a5 65 28 83 93 b3 b1 3a 72 |...[./..e(....:r| 00000080 f0 15 9a e5 9f 21 80 f1 59 a5 0e f1 0c 2b d1 0c |.....!..Y....+..|
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 00:13:30 UTC 2023 - 5.9K bytes - Viewed (0) -
cmd/preferredimports/preferredimports.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:44 UTC 2024 - 7.1K bytes - Viewed (0) -
src/crypto/tls/testdata/Client-TLSv10-ECDHE-ECDSA-AES
00000010 62 43 15 28 da ac 5f bb 29 07 30 ff f6 84 af c4 |bC.(.._.).0.....| 00000020 cf c2 ed 90 99 5f 58 cb 3b 74 14 03 01 00 01 01 |....._X.;t......| 00000030 16 03 01 00 30 6d 2a 91 d7 c3 8f 1c d8 d4 cc 67 |....0m*........g| 00000040 ed 07 41 c2 9c 48 0d bd 7f 11 61 00 58 23 55 88 |..A..H....a.X#U.| 00000050 f9 bd da 92 bc e4 8d 47 c0 ac 72 43 7f 2d 0f b5 |.......G..rC.-..|
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:38 UTC 2024 - 6.8K bytes - Viewed (0)