Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for ansS (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ColorMap.java

    import org.fusesource.jansi.Ansi;
    import org.gradle.internal.logging.text.Style;
    import org.gradle.internal.logging.text.StyledTextOutput;
    
    public interface ColorMap {
        Color getColourFor(StyledTextOutput.Style style);
    
        Color getColourFor(Style style);
    
        Color getStatusBarColor();
    
        interface Color {
            void on(Ansi ansi);
    
            void off(Ansi ansi);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/img/dependency-management-resolution.graffle/data.plist

     in = 1 inFileTypeautoGraphD{{231.625, 169.08848417266185}, {63, 27}}ClassShapedGraphicFi{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf100 {\fonttbl\f0\fnil\fcharset0 HelveticaNeue;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \deftab720 \pard\pardeftab720\qc\partightenfactor0 \f0\fs28 \cf0 Network}WrapNOBounds{{21.875, 86.756199999999993}, {68, 47}}ClassShapedGraphicFi{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf100 {\fonttbl\f0\fnil\fcharset0 HelveticaNeue;} {\colortbl;\...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top