- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 220 for Colors (0.1 sec)
-
src/expvar/expvar_test.go
func TestMapInit(t *testing.T) { RemoveAll() colors := NewMap("bike-shed-colors") colors.Add("red", 1) colors.Add("blue", 1) colors.Add("chartreuse", 1) n := 0 colors.Do(func(KeyValue) { n++ }) if n != 3 { t.Errorf("after three Add calls with distinct keys, Do should invoke f 3 times; got %v", n) } colors.Init() n = 0 colors.Do(func(KeyValue) { n++ }) if n != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:46:19 UTC 2024 - 13.4K bytes - Viewed (0) -
scripts/docs.py
new_index_content = f"{missing_translation_snippet}\n\n{en_index_content}" new_index_path.write_text(new_index_content, encoding="utf-8") typer.secho(f"Successfully initialized: {new_path}", color=typer.colors.GREEN) update_languages() @app.command() def build_lang( lang: str = typer.Argument( ..., callback=lang_callback, autocompletion=complete_existing_lang ), ) -> None:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jan 22 19:26:14 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/html.go
.highlight-yellow { background-color: yellow; color: black; } .highlight-lime { background-color: lime; color: black; } .highlight-khaki { background-color: khaki; color: black; } .highlight-aqua { background-color: aqua; color: black; } .highlight-salmon { background-color: salmon; color: black; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 15:11:40 UTC 2023 - 34.8K bytes - Viewed (0) -
src/image/color/ycbcr.go
} // YCbCrModel is the [Model] for Y'CbCr colors. var YCbCrModel Model = ModelFunc(yCbCrModel) func yCbCrModel(c Color) Color { if _, ok := c.(YCbCr); ok { return c } r, g, b, _ := c.RGBA() y, u, v := RGBToYCbCr(uint8(r>>8), uint8(g>>8), uint8(b>>8)) return YCbCr{y, u, v} } // NYCbCrA represents a non-alpha-premultiplied Y'CbCr-with-alpha color, having
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 10.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go
// colors should be shifted away from grey (to make positive and // negative values easier to distinguish, and to make more use of // the color range.) const shift = 0.7 // Saturation and value (in hsv colorspace) for background colors. const bgSaturation = 0.1 const bgValue = 0.93 // Saturation and value (in hsv colorspace) for foreground colors. const fgSaturation = 1.0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 20:51:42 UTC 2022 - 14.8K bytes - Viewed (0) -
maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/decl.go
if obj.color() == white && obj.Type() != nil { obj.setColor(black) return } switch obj.color() { case white: assert(obj.Type() == nil) // All color values other than white and black are considered grey. // Because black and white are < grey, all values >= grey are grey. // Use those values to encode the object's index into the object path. obj.setColor(grey + color(check.push(obj))) defer func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/image/image_test.go
// license that can be found in the LICENSE file. package image import ( "image/color" "image/color/palette" "testing" ) type image interface { Image Opaque() bool Set(int, int, color.Color) SubImage(Rectangle) Image } func cmp(cm color.Model, c0, c1 color.Color) bool { r0, g0, b0, a0 := cm.Convert(c0).RGBA() r1, g1, b1, a1 := cm.Convert(c1).RGBA()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 30 02:00:49 UTC 2021 - 10.8K bytes - Viewed (0) -
src/go/types/decl.go
if obj.color() == white && obj.Type() != nil { obj.setColor(black) return } switch obj.color() { case white: assert(obj.Type() == nil) // All color values other than white and black are considered grey. // Because black and white are < grey, all values >= grey are grey. // Use those values to encode the object's index into the object path. obj.setColor(grey + color(check.push(obj))) defer func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
src/image/gif/writer.go
// point to the same []color.Color? If so, they are equal so long as the // frame's palette is not longer than the global palette... paddedSize := log2(len(pm.Palette)) // Size of Local Color Table: 2^(1+n). if gp, ok := e.g.Config.ColorModel.(color.Palette); ok && len(pm.Palette) <= len(gp) && &gp[0] == &pm.Palette[0] { e.writeByte(0) // Use the global color table. } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:38:09 UTC 2024 - 11.9K bytes - Viewed (0)