repo_id
stringclasses
927 values
file_path
stringlengths
99
214
content
stringlengths
2
4.15M
configtest
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/configtest/configtest.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package configtest provides a helper for testing using a local proxy // containing a fake upload config. package configtest import ( "encoding/json" "fmt"...
content
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/content.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package content import ( "embed" "log" "os" "os/exec" "path/filepath" "runtime" ) //go:embed * var FS embed.FS //go:generate go run generate.go // Run...
content
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/generate.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore package main import "golang.org/x/telemetry/internal/content" func main() { content.RunESBuild(false) }
content
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/README.md
# Telemetry Content This directory contains the templates, styles, scripts, and images used in the telemetry services. Scripts and styles are transformed and minified by the generator in [content.go](./content.go). ## Scripts & Styles The generator command will look for entrypoint scripts and styles, i.e. files that...
gotelemetryview
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/index.css
/*! * Copyright 2023 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ @import url("../shared/base.css"); html { scroll-padding-top: 4rem; } /* TODO(rfindley): refactor to share breadcrumb logic with telemetry.go.dev */...
gotelemetryview
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/index.html
<!-- Copyright 2023 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Go Tel...
gotelemetryview
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/index.ts
/** * @license * Copyright 2023 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ import * as Plot from "@observablehq/plot"; import { debounce } from "../shared/treenav"; declare global { interface Page { Charts: ...
gotelemetryview
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/icon.tmpl
{{define "info-icon"}} <details class="go-Tooltip js-tooltip" data-gtmc="tooltip"> <summary> <img class="go-Icon" height="20" width="20" src="/static/info_black_24dp.svg" alt="" /> </summary> <p> {{.}} </p> </details> {{end}}
gotelemetryview
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/storage.ts
/** * @license * Copyright 2023 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ (function () { const closedSections = localStorage.getItem("closed-sections") ?? ""; const html = document.querySelector("html"); html...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/static/index.min.css.map
{ "version": 3, "sources": ["../../shared/_normalize.css", "../../shared/_color.css", "../../shared/_typography.css", "../../shared/_tooltip.css", "../../shared/base.css", "../index.css"], "sourcesContent": ["/* stylelint-disable */\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/static/storage.min.js.map
{ "version": 3, "sources": ["../storage.ts"], "sourcesContent": ["/**\n * @license\n * Copyright 2023 The Go Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style\n * license that can be found in the LICENSE file.\n */\n\n(function () {\n const closedSections = localStorage.getItem...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/static/index.min.js.map
{ "version": 3, "sources": ["../../../../node_modules/d3-array/src/ascending.js", "../../../../node_modules/d3-array/src/descending.js", "../../../../node_modules/d3-array/src/bisector.js", "../../../../node_modules/d3-array/src/number.js", "../../../../node_modules/d3-array/src/bisect.js", "../../../../node_module...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/static/storage.min.js
// Code generated by esbuild. DO NOT EDIT. "use strict";(()=>{(function(){let t=localStorage.getItem("closed-sections")??"";document.querySelector("html")?.setAttribute("data-closed-sections",t)})();})(); /** * @license * Copyright 2023 The Go Authors. All rights reserved. * Use of this source code is governed by a ...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/static/index.min.js
// Code generated by esbuild. DO NOT EDIT. "use strict";(()=>{function bt(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function xe(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function Fe(t){let e,n,r;t.length!==2?(e=bt,n=(f,u)=>bt(t(f),u),r=(f,u)=>t(f)-u):(e=t===bt||t===xe?t:Fy,n=t,r=t);functio...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/static/index.min.css
/* Code generated by esbuild. DO NOT EDIT. */ html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-botto...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/gotelemetryview/static/info_black_24dp.svg
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/_tooltip.ts
/** * @license * Copyright 2021 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ /** * ToolTipController handles closing tooltips on external clicks. */ export class ToolTipController { constructor(private el: HTMLDet...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/chartbrowser.tmpl
<!-- Copyright 2024 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <!-- A chart browser is a reusable component for displaying a collection of charts. --> {{define "chartbrowser"}} <div class="Chartbrowser-view js-...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/base.ts
/** * @license * Copyright 2023 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ import { ToolTipController } from "./_tooltip"; for (const el of document.querySelectorAll<HTMLDetailsElement>(".js-tooltip")) { new Tool...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/treenav.ts
/** * @license * Copyright 2024 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ /** * A treeNavController adds dynamic expansion and selection of index list * elements based on scroll position. * * Use it as follows:...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/_tooltip.css
/*! * Copyright 2021 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ .go-Tooltip { border-radius: var(--border-radius); cursor: pointer; display: inline-block; position: relative; } .go-Tooltip > summary { list...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/_typography.css
/*! * Copyright 2021 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ body { background-color: var(--color-background); color: var(--color-text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/base.tmpl
<!-- Copyright 2023 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> {{define "base"}} <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta na...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/_color.css
/*! * Copyright 2021 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ :root { /* Colors */ --gray-1: #202224; --gray-2: #3e4042; --gray-3: #555759; --gray-4: #6e7072; --gray-5: #848688; --gray-6: #aaacae; -...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/treenav.css
/*! * Copyright 2024 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ .js-Tree ul { list-style: none; padding-left: 0; } .js-Tree-item ul { display: none; } .js-Tree-item { overflow: hidden; text-overflow: elli...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/chartbrowser.css
/*! * Copyright 2024 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ @import url("../shared/treenav.css"); /* Fix tooltip background for dark theme */ svg g[aria-label="tip"] g { fill: var(--color-background); } .Char...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/base.css
/*! * Copyright 2023 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ @import url("./_normalize.css"); @import url("./_color.css"); @import url("./_typography.css"); @import url("./_tooltip.css"); :root { --border: 0.06...
shared
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/_normalize.css
/* stylelint-disable */ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in iOS. ...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/treenav.min.js
// Code generated by esbuild. DO NOT EDIT. "use strict";(()=>{function h(r){let n=r.querySelectorAll(".js-Tree-heading"),s=()=>{let o=[];for(let e of n){let t=e.getBoundingClientRect();t.height&&t.top<80&&o.unshift(e)}o.length==0&&n[0]instanceof HTMLHeadingElement&&(o=[n[0]]);let l=1/0,a=[];for(let e of o){let t=Number...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/base.min.css
/* Code generated by esbuild. DO NOT EDIT. */ html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-botto...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/base.min.css.map
{ "version": 3, "sources": ["../_normalize.css", "../_color.css", "../_typography.css", "../_tooltip.css", "../base.css"], "sourcesContent": ["/* stylelint-disable */\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ==================================================...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/chartbrowser.min.css.map
{ "version": 3, "sources": ["../treenav.css", "../chartbrowser.css"], "sourcesContent": ["/*!\n * Copyright 2024 The Go Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style\n * license that can be found in the LICENSE file.\n */\n\n.js-Tree ul {\n list-style: none;\n padding-left...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/base.min.js.map
{ "version": 3, "sources": ["../_tooltip.ts", "../base.ts"], "sourcesContent": ["/**\n * @license\n * Copyright 2021 The Go Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style\n * license that can be found in the LICENSE file.\n */\n\n/**\n * ToolTipController handles closing tool...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/treenav.min.css.map
{ "version": 3, "sources": ["../treenav.css"], "sourcesContent": ["/*!\n * Copyright 2024 The Go Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style\n * license that can be found in the LICENSE file.\n */\n\n.js-Tree ul {\n list-style: none;\n padding-left: 0;\n}\n\n.js-Tree-ite...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/treenav.min.css
/* Code generated by esbuild. DO NOT EDIT. */ .js-Tree ul{list-style:none;padding-left:0}.js-Tree-item ul{display:none}.js-Tree-item{overflow:hidden;text-overflow:ellipsis;padding:.125rem 0}.js-Tree-item[aria-expanded=true] ul{display:block}.js-Tree-item .js-Tree-item{position:relative;padding-left:1.25rem}.js-Tree-ite...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/chartbrowser.min.css
/* Code generated by esbuild. DO NOT EDIT. */ .js-Tree ul{list-style:none;padding-left:0}.js-Tree-item ul{display:none}.js-Tree-item{overflow:hidden;text-overflow:ellipsis;padding:.125rem 0}.js-Tree-item[aria-expanded=true] ul{display:block}.js-Tree-item .js-Tree-item{position:relative;padding-left:1.25rem}.js-Tree-ite...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/base.min.js
// Code generated by esbuild. DO NOT EDIT. "use strict";(()=>{var e=class{constructor(i){this.el=i;document.addEventListener("click",o=>{this.el.contains(o.target)||this.el.removeAttribute("open")})}};for(let t of document.querySelectorAll(".js-tooltip"))new e(t);})(); /** * @license * Copyright 2021 The Go Authors. ...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/shared/static/treenav.min.js.map
{ "version": 3, "sources": ["../treenav.ts"], "sourcesContent": ["/**\n * @license\n * Copyright 2024 The Go Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style\n * license that can be found in the LICENSE file.\n */\n\n/**\n * A treeNavController adds dynamic expansion and select...
worker
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/worker/index.md
--- Title: Go Telemetry Worker Layout: base.html --- # Go Telemetry Worker ## Overview This page will provide information about telemetry the telemetry worker.
telemetrygodev
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/charts.css
/*! * Copyright 2023 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ @import url("../shared/chartbrowser.css"); .Charts { margin-top: 1.5rem; }
telemetrygodev
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/index.css
/*! * Copyright 2024 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ @import url("../shared/chartbrowser.css"); p { /* Reset from _typography.css */ max-width: none; } .Charts { margin-top: 1rem; } .Centered { d...
telemetrygodev
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/charts.ts
/** * @license * Copyright 2023 The Go Authors. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ interface Page { Charts: ChartData | null; } interface ChartData { Programs: Program[] | null; } interface Program { ID: string; N...
telemetrygodev
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/privacy.md
--- Title: Go Telemetry Privacy Policy Layout: base.html --- # Privacy Policy _Last updated: January 24, 2024_ Go Telemetry is a way for Go toolchain programs to collect data about their performance and usage. This data can help developers improve the language and tools. ## What Go Telemetry Records {#collection} ...
telemetrygodev
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/charts.html
<!-- Copyright 2023 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> {{template "base" .}} {{define "title"}}Go Telemetry / {{index .Charts.DateRange 1}}{{end}} {{define "content"}} <link rel="stylesheet" href="/static/ch...
telemetrygodev
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/config.html
<!-- Copyright 2023 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> {{template "base" .}} {{define "title"}}Go Telemetry Config{{end}} {{define "content"}} <main id="main"> <div class="Content"> <section class="Chart C...
telemetrygodev
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/index.html
<!-- Copyright 2023 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> {{template "base" .}} {{define "title"}}Go Telemetry{{end}} {{define "content"}} <link rel="stylesheet" href="/static/index.min.css"> <main id="main"> ...
telemetrygodev
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/data.html
<!-- Copyright 2024 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> {{template "base" .}} {{define "title"}}Go Telemetry / Data{{end}} {{define "content"}} <main id="main"> <section> <div class="Hero"> <div class="Conte...
telemetrygodev
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/allcharts.html
<!-- Copyright 2024 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> {{template "base" .}} {{define "title"}}Go Telemetry / Daily Charts{{end}} {{define "content"}} <main id="main"> <section> <div class="Hero"> <div clas...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/static/charts.min.js.map
{ "version": 3, "sources": ["../../../../node_modules/d3-array/src/ascending.js", "../../../../node_modules/d3-array/src/descending.js", "../../../../node_modules/d3-array/src/bisector.js", "../../../../node_modules/d3-array/src/number.js", "../../../../node_modules/d3-array/src/bisect.js", "../../../../node_module...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/static/charts.min.js
// Code generated by esbuild. DO NOT EDIT. "use strict";(()=>{function bt(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function xe(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function qe(t){let e,n,r;t.length!==2?(e=bt,n=(f,u)=>bt(t(f),u),r=(f,u)=>t(f)-u):(e=t===bt||t===xe?t:qy,n=t,r=t);functio...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/static/index.min.css.map
{ "version": 3, "sources": ["../../shared/treenav.css", "../../shared/chartbrowser.css", "../index.css"], "sourcesContent": ["/*!\n * Copyright 2024 The Go Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style\n * license that can be found in the LICENSE file.\n */\n\n.js-Tree ul {\...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/static/charts.min.css
/* Code generated by esbuild. DO NOT EDIT. */ .js-Tree ul{list-style:none;padding-left:0}.js-Tree-item ul{display:none}.js-Tree-item{overflow:hidden;text-overflow:ellipsis;padding:.125rem 0}.js-Tree-item[aria-expanded=true] ul{display:block}.js-Tree-item .js-Tree-item{position:relative;padding-left:1.25rem}.js-Tree-ite...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/static/charts.min.css.map
{ "version": 3, "sources": ["../../shared/treenav.css", "../../shared/chartbrowser.css", "../charts.css"], "sourcesContent": ["/*!\n * Copyright 2024 The Go Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style\n * license that can be found in the LICENSE file.\n */\n\n.js-Tree ul {...
static
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/content/telemetrygodev/static/index.min.css
/* Code generated by esbuild. DO NOT EDIT. */ .js-Tree ul{list-style:none;padding-left:0}.js-Tree-item ul{display:none}.js-Tree-item{overflow:hidden;text-overflow:ellipsis;padding:.125rem 0}.js-Tree-item[aria-expanded=true] ul{display:block}.js-Tree-item .js-Tree-item{position:relative;padding-left:1.25rem}.js-Tree-ite...
counter
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/counter/file.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package counter import ( "bytes" "errors" "fmt" "math/rand" "os" "path" "path/filepath" "runtime" "runtime/debug" "sync" "sync/atomic" "time" "uns...
counter
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/counter/parse.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package counter import ( "bytes" "fmt" "strings" "unsafe" "golang.org/x/telemetry/internal/mmap" ) type File struct { Meta map[string]string Count ma...
counter
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/counter/counter.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package internal/counter implements the internals of the public counter package. // In addition to the public API, this package also includes APIs to parse a...
counter
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/counter/counter_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package counter // Builders at // https://build.golang.org/?repo=golang.org%2fx%2ftelemetry // there are troubles with tests in Windows. all open files have t...
counter
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/counter/concurrent_test.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package counter_test import ( "fmt" "os" "path/filepath" "strings" "sync" "testing" "time" "golang.org/x/telemetry/counter/countertest" "golang.org/x...
counter
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/counter/rotate_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package counter import ( "fmt" "os" "path/filepath" "runtime" "testing" "time" "golang.org/x/telemetry/internal/mmap" "golang.org/x/telemetry/internal...
counter
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/counter/stackcounter.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package counter import ( "fmt" "runtime" "strings" "sync" ) // On the disk, and upstream, stack counters look like sets of // regular counters with names ...
configgen
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/configgen/main_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build go1.22 package main import ( _ "embed" "reflect" "sort" "testing" "golang.org/x/telemetry/internal/chartconfig" "golang.org/x/telemetry/inte...
configgen
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/configgen/validate_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build go1.22 package main import ( "strings" "testing" "golang.org/x/telemetry/internal/chartconfig" ) func TestLoadedChartsAreValid(t *testing.T) {...
configgen
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/configgen/validate.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build go1.22 package main import ( "errors" "fmt" "go/version" "golang.org/x/mod/semver" "golang.org/x/telemetry/internal/chartconfig" "golang.org...
configgen
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/configgen/main.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:generate go run . -w //go:build go1.22 // Package configgen generates the upload config file stored in the config.json // file of golang.org/x/telemetry/...
configgen
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/configgen/syslist.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build go1.22 package main // knownOS is the list of past, present, and future known GOOS values. // Do not remove from this list, as it is used for filen...
upload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/upload/dates_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package upload import ( "bytes" "fmt" "io" "log" "net/http" "net/http/httptest" "os" "path/filepath" "runtime" "strings" "sync" "testing" "time" ...
upload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/upload/Doc.txt
The upload process converts count files into reports, and uploads reports. There will be only one report, named YYYY-MM-DD.json, for a given day. First phase. Look at the localdir (os.UserConfigdir()/go/telemetry/local) and find all .count and .json files. Find the count files that are no longer active by looking at t...
upload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/upload/date.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package upload import ( "fmt" "os" "sync" "time" "golang.org/x/telemetry/internal/counter" ) // time and date handling var distantPast = 21 * 24 * time...
upload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/upload/run.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package upload import ( "fmt" "io" "log" "os" "path" "path/filepath" "runtime/debug" "strings" "time" "golang.org/x/telemetry/internal/configstore" ...
upload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/upload/run_test.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package upload_test import ( "bytes" "encoding/json" "fmt" "net/http" "net/http/httptest" "os" "path/filepath" "regexp" "runtime" "strings" "sync" ...
upload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/upload/upload.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package upload import ( "bytes" "net/http" "os" "path/filepath" "regexp" "strings" "time" ) var ( dateRE = regexp.MustCompile(`(\d\d\d\d-\d\d-\d\d...
upload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/upload/findwork.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package upload import ( "os" "path/filepath" "strings" ) // files to handle type work struct { // absolute file names countfiles []string // count files ...
upload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/upload/first_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package upload import ( "net/http" "reflect" "strings" "testing" ) // make sure we can talk to the test server // In practice this test runs last, so is s...
upload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/upload/reports.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package upload import ( "crypto/rand" "encoding/binary" "encoding/json" "fmt" "math" "os" "path/filepath" "strings" "time" "golang.org/x/telemetry/i...
mmap
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/mmap/mmap.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This package is a lightly modified version of the mmap code // in github.com/google/codesearch/index. // The mmap package provides an abstraction for memor...
mmap
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/mmap/mmap_unix.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix && (!solaris || go1.20) package mmap import ( "fmt" "io/fs" "os" "syscall" ) func mmapFile(f *os.File) (*Data, error) { st, err := f.St...
mmap
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/mmap/mmap_other.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build (js && wasm) || wasip1 || plan9 || (solaris && !go1.20) package mmap import ( "io" "os" ) // mmapFile on other systems doesn't mmap the file. I...
mmap
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/mmap/mmap_test.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package mmap_test import ( "fmt" "log" "os" "os/exec" "path/filepath" "sync" "sync/atomic" "testing" "unsafe" "golang.org/x/telemetry/internal/coun...
mmap
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/mmap/mmap_windows.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package mmap import ( "fmt" "os" "syscall" "unsafe" "golang.org/x/sys/windows" ) func mmapFile(f *os.File) (*Data, error) { st, err := f.Stat() if er...
crashmonitor
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/crashmonitor/monitor_test.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package crashmonitor_test import ( "bytes" "fmt" "os" "os/exec" "path/filepath" "runtime/debug" "strings" "testing" "time" "golang.org/x/telemetry" ...
crashmonitor
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/crashmonitor/crash_go123.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build go1.23 // +build go1.23 package crashmonitor import ( "os" "runtime/debug" ) func init() { setCrashOutput = func(f *os.File) error { return deb...
crashmonitor
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/crashmonitor/monitor_helper_test.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package crashmonitor // This file opens back doors for testing. var ( WriteSentinel = writeSentinel TelemetryCounterName = telemetryCounterName ) fu...
crashmonitor
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/crashmonitor/monitor.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package crashmonitor // This file defines a monitor that reports arbitrary Go runtime // crashes to telemetry. import ( "bytes" "fmt" "io" "log" "os" "r...
testenv
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/testenv/testenv_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package testenv import ( "bytes" "os/exec" "testing" ) func TestNeedsGo(t *testing.T) { NeedsGo(t) out, err := exec.Command("go", "version").Output() ou...
testenv
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/testenv/testenv.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package testenv contains helper functions for skipping tests // based on which tools are present in the environment. package testenv import ( "bytes" "fmt...
config
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/config/config.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // package config provides methods for loading and querying a // telemetry upload config file. package config import ( "encoding/json" "os" "strings" "gol...
config
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/config/config_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package config import ( _ "embed" "encoding/json" "os" "path/filepath" "testing" "golang.org/x/telemetry/internal/telemetry" ) func TestConfig(t *testi...
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/config/testdata/config.json
{ "Version": "v0.0.1-test", "GOOS": [ "linux", "darwin" ], "GOARCH": [ "amd64", "arm64" ], "GoVersion": [ "go1.20", "go1.20.1" ], "Programs": [ { "Name": "golang.org/x/tools/gopls", "Versions": [ "v0.10.1", "v0.11.0" ], "Counters": [ ...
proxy
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/proxy/proxy_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package proxy import ( "archive/zip" "fmt" "io" "os" "path/filepath" "strings" "testing" ) func TestWriteModuleVersion(t *testing.T) { tests := []stru...
proxy
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/proxy/proxy.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package proxy provides functions for writing module data to a directory // in proxy format, so that it can be used as a module proxy by setting // GOPROXY="f...
telemetry
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/telemetry/proginfo_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package telemetry_test import ( "fmt" "path" "runtime/debug" "testing" "golang.org/x/telemetry/internal/telemetry" ) func TestProgramInfo_ProgramVersion...
telemetry
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/telemetry/dir.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package telemetry manages the telemetry mode file. package telemetry import ( "fmt" "os" "path/filepath" "runtime" "strings" "time" ) // Default is t...
telemetry
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/telemetry/dir_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package telemetrymode manages the telemetry mode file. package telemetry import ( "os" "testing" "time" ) func TestDefaults(t *testing.T) { defaultDirM...
telemetry
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/telemetry/types.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package telemetry // Common types and directories used by multiple packages. // An UploadConfig controls what data is uploaded. type UploadConfig struct { GO...
telemetry
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/telemetry/proginfo.go
// Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package telemetry import ( "os" "path/filepath" "runtime/debug" "strings" ) // IsToolchainProgram reports whether a program with the given path is a Go //...
regtest
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/regtest/regtest.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package regtest provides helpers for end-to-end testing // involving counter and upload packages. package regtest import ( "fmt" "log" "os" "os/exec" "...
regtest
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/internal/regtest/e2e_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package regtest import ( "bytes" "encoding/json" "fmt" "log" "os" "path/filepath" "reflect" "runtime" "strings" "testing" "golang.org/x/telemetry/c...
gotelemetry
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/cmd/gotelemetry/help_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "flag" "fmt" "go/format" "go/parser" "go/token" "os" "os/exec" "strings" "testing" "golang.org/x/telemetry/internal/testenv" )...
gotelemetry
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/telemetry/cmd/gotelemetry/doc.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Code generated by TestDocHelp; DO NOT EDIT. // Gotelemetry is a tool for managing Go telemetry data and settings. // // Usage: // // gotelemetry <command> [...