- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 109 for ansS (0.1 sec)
-
src/cmd/compile/internal/test/testdata/gen/arithConstGen.go
ans = i ^ j } switch t { case "uint32": ans = uint64(uint32(ans)) case "uint16": ans = uint64(uint16(ans)) case "uint8": ans = uint64(uint8(ans)) } return fmt.Sprintf("%d", ans) } // compute the result of i op j, cast as type t. func ansS(i, j int64, t, op string) string { var ans int64 switch op { case "+": ans = i + j case "-": ans = i - j case "*":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 8.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/constFoldGen.go
case "uint16": ans = uint64(uint16(ans)) case "uint8": ans = uint64(uint8(ans)) } return fmt.Sprintf("%d", ans) } // compute the result of i op j, cast as type t. func ansS(i, j int64, t, op string) string { var ans int64 switch op { case "+": ans = i + j case "-": ans = i - j case "*": ans = i * j case "/": if j != 0 { ans = i / j } case "%": if j != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 8.4K bytes - Viewed (0) -
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: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 23.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy
then: 1 * ansi.a(Ansi.Attribute.INTENSITY_BOLD) 1 * ansi.fg(Ansi.Color.GREEN) 1 * ansi.a('text') 1 * ansi.fg(Ansi.Color.DEFAULT) 1 * ansi.a(Ansi.Attribute.RESET) 0 * ansi._ } def "write the text once to ansi when redrawing multiple time without changing the label text"() { given: label.text = "text" when: redraw()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java
Ansi ansi = factory.create(); action.execute(new AnsiContextImpl(ansi, colorMap, writeCursor)); write(ansi); } @Override public void writeAt(Cursor writePos, Action<? super AnsiContext> action) { Ansi ansi = factory.create(); positionCursorAt(writePos, ansi); action.execute(new AnsiContextImpl(ansi, colorMap, writePos)); write(ansi);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/MultiLineBuildProgressAreaTest.groovy
1 * ansi.cursorDown(1) 1 * ansi.eraseLine(Ansi.Erase.ALL) // Parking 1 * ansi.cursorDown(1) 1 * ansi.eraseLine(Ansi.Erase.ALL) 1 * ansi.cursorUp(absoluteDeltaRowToAreaTop) 0 * ansi._ } } @Issue("https://github.com/gradle/gradle/issues/1482")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultColorMap.java
private final Ansi.Color ansiColor; public BrightForegroundColor(Ansi.Color ansiColor) { this.ansiColor = ansiColor; } @Override public void on(Ansi ansi) { ansi.fgBright(ansiColor); } @Override public void off(Ansi ansi) { ansi.fg(DEFAULT); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/TestColorMap.groovy
return [on : { ansi -> ansi.a(statusBarOn) }, off: { ansi -> ansi.a(statusBarOff) } ] as ColorMap.Color } ColorMap.Color getColourFor(StyledTextOutput.Style style) { if (style != StyledTextOutput.Style.Header) { return {} as ColorMap.Color } return [on : { ansi -> ansi.fg(Ansi.Color.YELLOW) }, off: { ansi -> ansi.fg(Ansi.Color.DEFAULT) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/img/file-collection-vs-file-tree.graffle
NOshad.0g0.0r0.0space9eaea0911d89d6{{681, 164.275390625}, {65, 30}}ClassShapedGraphicFi{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200 {\fonttbl\f0\fnil\fcharset0 HelveticaNeue;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \deftab720 \pard\pardeftab720\partightenfactor0 \f0\fs32 \cf0 data.txt}WrapNOBounds{{681.01979791655117, 141.275390625}, {85, 30}}ClassShapedGraphicFi{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200 {\fonttbl\f0\fnil\fcharset0 HelveticaNeue;} {\colortb...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 9.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultColorMapTest.groovy
Ansi ansi = Mock() when: def color = map.getColourFor(Style.Info) color.on(ansi) then: 1 * ansi.a(Attribute.INTENSITY_BOLD) 0 * ansi._ when: color.off(ansi) then: 1 * ansi.a(Attribute.RESET) 0 * ansi._ } def statusBarIsBoldByDefault() { Ansi ansi = Mock() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 4.2K bytes - Viewed (0)