repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
rust-lang/rust
41931320f83f8c7742597e1d1a965901e563b3b1
d2b3dd7c173de58881ead8109f7970b9cd926e2a
run-make-support: fix artifact name calculations for target This was implemented incorrectly during the porting process, where we relied on std consts. However, `run-make-support` is a host-only library, which meant that these artifact names were for the *host* and not the *target*.
[ { "path": "src/tools/run-make-support/src/artifact_names.rs", "patch": "@@ -1,11 +1,11 @@\n //! A collection of helpers to construct artifact names, such as names of dynamic or static\n-//! librarys which are target-dependent.\n-\n-// FIXME(jieyouxu): convert these to return `PathBuf`s instead of strings!\n...
2025-04-02T08:41:40
vercel/next.js
383ec5a6a67d9ffef81f0404842bbf603a09a005
3a0fc134df81b785596e554c2f5a9e3263ccfcd8
Fix static generation and crawler requests (#41735) Right now the SSG condition is determined _only_ based on `supportsDynamicHTML`. However that `supportsDynamicHTML` flag can be affected by bots too. Here we exclude the `isBot` condition from the SSG flag, and set proper status and meta tags for static HTML re...
[ { "path": "packages/next/server/app-render.tsx", "patch": "@@ -142,6 +142,7 @@ export type RenderOptsPartial = {\n serverComponents?: boolean\n assetPrefix?: string\n fontLoaderManifest?: FontLoaderManifest\n+ isBot?: boolean\n }\n \n export type RenderOpts = LoadComponentsReturnType & RenderOptsPart...
2022-10-24T20:38:30
nodejs/node
99d56a4749e7b167b4f312a4fbcc754b7a3a8894
65d97c96aa59517f90c34bf5a6b962e1b5e42316
console: fix console.table() display edge case If the properties are not specified in `console.table()`, then we should make a best effort to determine them rather than put all values into a "Values" column. PR-URL: https://github.com/nodejs/node/pull/20323 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram...
[ { "path": "lib/console.js", "patch": "@@ -363,9 +363,7 @@ Console.prototype.table = function(tabularData, properties) {\n tabularData = previewSetIterator(tabularData);\n \n const setlike = setIter || isSet(tabularData);\n- if (setlike ||\n- (properties === undefined &&\n- (isArray(tabular...
2018-04-26T05:47:56
huggingface/transformers
f48ecd7608a2f80765208de7ce05e7984df396d4
f85ba2044955323e2a24b3c4e4a2153c0588a1ec
Fix TP initialization (#35860) * fix tp * Update modeling_utils.py * style * style * Update test_tp.py * Update test_tp.py * style * Update test_tp.py * Update test_tp.py * Update test_tp.py * Update test_tp.py
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -3443,6 +3443,29 @@ def from_pretrained(\n # TODO: we can relax this check when we support taking tp_plan from a json file, for example.\n raise ValueError(f\"tp_plan supports 'auto' only for now but got {tp_plan}.\")\n \n+...
2025-01-28T14:07:37
rust-lang/rust
31578dc587ecb0a26bc487ce3999032065b8dfb5
75f86e6e2e07c40825e5c7e2f63537efff74a207
fix "could not find source function" error by preventing function merging before AD
[ { "path": "compiler/rustc_codegen_llvm/src/back/write.rs", "patch": "@@ -568,6 +568,7 @@ pub(crate) unsafe fn llvm_optimize(\n let print_before_enzyme = config.autodiff.contains(&config::AutoDiff::PrintModBefore);\n let print_after_enzyme = config.autodiff.contains(&config::AutoDiff::PrintModAfter);...
2025-04-12T04:51:16
golang/go
f82ce7fb230c0c0934be8975bd8b56c953c29422
7e00049b5545cac8705d6df1e337c5ddc70e65e4
cmd/link: improve nonexistent package error message Change-Id: I207541efa6a34bc21e7a00584376622b59e2bf6d Reviewed-on: https://go-review.googlesource.com/c/go/+/302749 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com> TryBot-Result: ...
[ { "path": "src/cmd/link/internal/loader/loader.go", "patch": "@@ -2208,7 +2208,7 @@ func loadObjRefs(l *Loader, r *oReader, arch *sys.Arch) {\n \t\tpkg := r.Pkg(i)\n \t\tobjidx, ok := l.objByPkg[pkg]\n \t\tif !ok {\n-\t\t\tlog.Fatalf(\"reference of nonexisted package %s, from %v\", pkg, r.unit.Lib)\n+\t\t\t...
2021-03-17T21:15:28
electron/electron
ec5fc10bd9d79612e6649855dc4d3afa44d6a2c8
384e83972ff7f6097f0639af33a71da1bafebdb1
Fix calling compile-coffee under cygwin.
[ { "path": "script/compile-coffee.py", "patch": "@@ -15,7 +15,8 @@ def main():\n output_dir = os.path.dirname(sys.argv[2])\n \n node = get_node_path()\n- coffee = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'coffee')\n+ coffee = os.path.join(SOURCE_ROOT, 'node_modules', 'coffee-script', 'bin',\n+...
2013-07-01T10:04:15
vercel/next.js
e4f6bbf6abd9a9479447d1250233b0b768b04d6b
b0d8d364298c6968df5c8e67274b61d2f91e5f3f
Implement source map tracing for errors (vercel/turbo#227) Fixes https://github.com/vercel/web-tooling-internal/issues/67
[ { "path": "packages/next-swc/crates/next-core/Cargo.toml", "patch": "@@ -18,6 +18,7 @@ regex = \"1.6.0\"\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"\n serde_qs = \"0.10.1\"\n+sourcemap = \"6.0.1\"\n tokio = { version = \"1.11.0\", features = [\"full\"] }\n turbo-tasks = { path = \"../turbo-tasks\" }\n t...
2022-10-24T20:21:12
huggingface/transformers
f85ba2044955323e2a24b3c4e4a2153c0588a1ec
3f860dba553d09a8eb96fded8d940c98a9a86854
Qwen-2-5-VL: fix CI (#35935) fix
[ { "path": "tests/generation/test_utils.py", "patch": "@@ -1655,7 +1655,7 @@ def test_generate_from_inputs_embeds(self, _, num_beams):\n inputs_dict.pop(\"pixel_values_images\", None)\n # 2.C - No easy fix, let's skip the check that compares the outputs from `input_ids` and `inp...
2025-01-28T13:51:57
rust-lang/rust
75f86e6e2e07c40825e5c7e2f63537efff74a207
e643f59f6da3a84f43e75dea99afaa5b041ea6bf
fix LooseTypes flag and PrintMod behaviour, add debug helper
[ { "path": "compiler/rustc_codegen_llvm/src/back/lto.rs", "patch": "@@ -584,12 +584,10 @@ fn thin_lto(\n }\n }\n \n-fn enable_autodiff_settings(ad: &[config::AutoDiff], module: &mut ModuleCodegen<ModuleLlvm>) {\n+fn enable_autodiff_settings(ad: &[config::AutoDiff]) {\n for &val in ad {\n+ // W...
2025-04-12T04:50:41
nodejs/node
dc8676c1292ea15bf65b74b1ab773fd91942512f
ad6a65ba110932d5af187b8422ce2cdb808a4a2f
doc: remove eu-strip from tarball This is been removed because of this: the source is not provided it adds 105ko of useless files It's only used in the android and fuchsia GN builds Fixes: #20280 PR-URL: https://github.com/nodejs/node/pull/20304 Fixes: https://github.com/nodejs/node/issues/20280 Reviewed-By: Ben Noo...
[ { "path": ".gitignore", "patch": "@@ -127,3 +127,4 @@ deps/v8/src/Debug/\n deps/v8/src/Release/\n deps/v8/src/inspector/Debug/\n deps/v8/src/inspector/Release/\n+deps/v8/third_party/eu-strip/", "additions": 1, "deletions": 0, "language": "Unknown" }, { "path": "deps/v8/third_party/eu-str...
2018-04-25T19:05:39
golang/go
7e00049b5545cac8705d6df1e337c5ddc70e65e4
4313c2886160613ca62742d0f46665cf8954213c
cmd/go: only add a 'go' directive to the main module when the go.mod file will be written Then, write the 'go.mod' file with that version before further processing. That way, if the command errors out due to a change in behavior, the reason for the change in behavior will be visible in the file diffs. If the 'go.mod'...
[ { "path": "doc/go1.17.html", "patch": "@@ -55,6 +55,18 @@ <h4 id=\"go-get\"><code>go</code> <code>get</code></h4>\n <code>environment</code> for details.\n </p>\n \n+<h4 id=\"missing-go-directive\"><code>go.mod</code> files missing <code>go</code> directives</h4>\n+\n+<p><!-- golang.org/issue/44976 -->\n+...
2021-03-15T16:40:34
huggingface/transformers
3f860dba553d09a8eb96fded8d940c98a9a86854
b764c20b09c1f564638ed92886e238066f09e58d
Fix mask slicing for models with HybridCache (#35681) * correctly slice * check mask * Update modular_gemma2.py * fix * add tests * fix typo * finally fix mask slicing * Finally correctly slice in all cases!! * add test for all attention functions * small fix in tests * trick around dynam...
[ { "path": "src/transformers/models/cohere2/modeling_cohere2.py", "patch": "@@ -260,6 +260,11 @@ def forward(\n }\n key_states, value_states = past_key_value.update(key_states, value_states, self.layer_idx, cache_kwargs)\n \n+ # Here we need to slice as we use a static cach...
2025-01-28T13:35:00
vercel/next.js
0ce52d036d498ae177bed0d7785e5df00f291926
3067fe5221b5499c4a130c819f6d289a095bbb3c
Implement source map tracing for errors (#227) Fixes https://github.com/vercel/web-tooling-internal/issues/67
[ { "path": "crates/next-core/Cargo.toml", "patch": "@@ -18,6 +18,7 @@ regex = \"1.6.0\"\n serde = \"1.0.136\"\n serde_json = \"1.0.85\"\n serde_qs = \"0.10.1\"\n+sourcemap = \"6.0.1\"\n tokio = { version = \"1.11.0\", features = [\"full\"] }\n turbo-tasks = { path = \"../turbo-tasks\" }\n turbo-tasks-env = {...
2022-10-24T20:21:12
nodejs/node
a4b4854e2ff0f3de69caa5e46d001575b9e22273
db10473e57389828f5f1d775f3c25d49fe840074
tools: add log output to crashes PR-URL: https://github.com/nodejs/node/pull/20295 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gma...
[ { "path": "tools/test.py", "patch": "@@ -298,10 +298,8 @@ def HasRun(self, output):\n \n if output.HasCrashed():\n self.severity = 'crashed'\n- exit_code = output.output.exit_code\n- self.traceback = \"oh no!\\nexit code: \" + PrintCrashed(exit_code)\n \n- if output.HasTimed...
2018-04-25T15:51:32
golang/go
4313c2886160613ca62742d0f46665cf8954213c
a5df88355cb8998856a5dbd3550b98e5de1f6009
cmd/cgo: check whether C compiler exists Currently we print a cryptic message if a C compiler doesn't exist. This patch adds more graceful handling. Fixes #44271 Change-Id: I44f16ef6eb2853fee22fa1d996e41ec6c9ee82f1 Reviewed-on: https://go-review.googlesource.com/c/go/+/301249 Run-TryBot: Ian Lance Taylor <iant@golan...
[ { "path": "src/cmd/cgo/main.go", "patch": "@@ -20,6 +20,7 @@ import (\n \t\"io\"\n \t\"io/ioutil\"\n \t\"os\"\n+\t\"os/exec\"\n \t\"path/filepath\"\n \t\"reflect\"\n \t\"runtime\"\n@@ -302,6 +303,14 @@ func main() {\n \n \tp := newPackage(args[:i])\n \n+\t// We need a C compiler to be available. Check this....
2021-03-12T16:21:18
huggingface/transformers
b764c20b09c1f564638ed92886e238066f09e58d
3613f568cde5baa7b9d2d3badfd1ea2991087b2e
Fix: loading DBRX back from saved path (#35728) * fix dtype as dict for some models + add test * add comment in tests
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -4037,7 +4037,9 @@ def from_pretrained(\n sub_config = getattr(config, sub_config_key)\n sub_config.torch_dtype = torch_dtype\n elif isinstance(torch_dtype, torch.dtype):\n- ...
2025-01-28T10:38:45
vercel/next.js
fa04df25e1d5b5b524e9fa1486b94c96ed353fc9
ef62bf3bf17a92d96c48962ae8f965bcf20ace0e
Fix ignored file path (#41747) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Bug - [ ] Related issues l...
[ { "path": "packages/next/lib/typescript/writeVscodeConfigurations.ts", "patch": "@@ -45,6 +45,6 @@ export async function writeVscodeConfigurations(\n await fs.writeFile(gitIgnore, `${gitIgnoreContent}\\n.vscode\\n`)\n }\n } catch (e) {\n- await fs.writeFile(gitIgnore, `vscode\\n`)\n+ await...
2022-10-24T20:18:49
nodejs/node
b87ef189e91e475ca4811addc3f4201641f8789b
2b8512738aa14bfa157f010eee198c123b4d8b14
src: improve fatal exception This is just some code cleanup. PR-URL: https://github.com/nodejs/node/pull/20294 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
[ { "path": "src/node.cc", "patch": "@@ -2374,39 +2374,30 @@ void FatalException(Isolate* isolate,\n Local<Function> fatal_exception_function =\n process_object->Get(fatal_exception_string).As<Function>();\n \n- int exit_code = 0;\n if (!fatal_exception_function->IsFunction()) {\n- // failed bef...
2018-04-25T15:50:43
golang/go
5423f6023cff995f1077ac83e132705893a8af79
8628bf9a972993bdb978b7d6fa7a6bb1ca2cddbe
test: add bug that failed when run with gccgo Change-Id: Ie52d70d2ae8a21acacf0745a4093650b03ac43f9 Reviewed-on: https://go-review.googlesource.com/c/go/+/302371 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <...
[ { "path": "test/fixedbugs/bug512.go", "patch": "@@ -0,0 +1,52 @@\n+// run\n+\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+// Gccgo did not make a copy of a value receiver when using a...
2021-03-17T04:24:09
electron/electron
0c6997b160d88b7c4105c3574b1758944ebd4a22
b9c7013469fd2e1a2859a73de33dc9b9de4e2986
Fix passing null as window in dialog.showMessageBox.
[ { "path": "browser/api/lib/dialog.coffee", "patch": "@@ -31,7 +31,7 @@ module.exports =\n binding.showSaveDialog window, options.title, options.defaultPath\n \n showMessageBox: (window, options) ->\n- if window?.constructor isnt BrowserWindow\n+ if window? and window.constructor isnt BrowserWind...
2013-06-27T11:18:31
huggingface/transformers
3613f568cde5baa7b9d2d3badfd1ea2991087b2e
96625d85fd3476d716dbf3d6cde71c982bb0a239
Add default TP plan for all models with backend support (#35870) * Add some tp plans! * More tp plans! * Add it in the comment * style * Update configuration_mixtral.py * Update configuration_phi.py * update the layout according to special archs * fix mixtral * style * trigger CIs * trigger CIs * CIs * olm...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -1294,7 +1294,7 @@ class PreTrainedModel(nn.Module, ModuleUtilsMixin, GenerationMixin, PushToHubMix\n \n # This flag signal that the model can be used as an efficient backend in TGI and vLLM\n # In practice, it means that they support atte...
2025-01-28T10:20:58
vercel/next.js
ef62bf3bf17a92d96c48962ae8f965bcf20ace0e
5223d66abd66a8049d9f476518c22917c03e225a
Fix module trace error messages to not include queries (#41738) This improves errors like this: ``` One of these is marked as a client entry with "use client": app/page2/page.tsx?__edge_ssr_entry__ ``` ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors h...
[ { "path": "packages/next/build/webpack/plugins/wellknown-errors-plugin/parseRSC.ts", "patch": "@@ -89,7 +89,9 @@ export function getRscError(\n formattedError[1] +\n moduleTrace\n .map((m) =>\n- m.resource ? ' ' + relative(compiler.context, m.resource) : ''\n+ m.resour...
2022-10-24T19:32:43
nodejs/node
2b8512738aa14bfa157f010eee198c123b4d8b14
6c6f31392c37d9e7ad6e2587514e19d8c5d344ee
build: do not depend on `cp` in `PATH` Use gyp’s own copying mechanism instead. It’s not really clear which UNIX utils exactly are needed to build on Windows, but this is an easier fix (at least for me) than figuring out how to get `cp` into the `PATH` in all cases, and judging from the issue I’m not the only one who...
[ { "path": "node.gyp", "patch": "@@ -682,13 +682,13 @@\n 'toolsets': ['host'],\n 'conditions': [\n [ 'v8_enable_inspector==1', {\n- 'actions': [\n+ 'copies': [\n {\n- 'action_name': 'v8_inspector_copy_protocol_to_intermediate_folder',\n- ...
2018-04-25T16:10:38
golang/go
8628bf9a972993bdb978b7d6fa7a6bb1ca2cddbe
0bd308ff27822378dc2db77d6dd0ad3c15ed2e08
cmd/compile: resurrect clobberdead mode This CL resurrects the clobberdead debugging mode (CL 23924). When -clobberdead flag is set (TODO: make it GOEXPERIMENT?), the compiler inserts code that clobbers all dead stack slots that contains pointers. Mark windows syscall functions cgo_unsafe_args, as the code actually d...
[ { "path": "src/cmd/compile/internal/base/flag.go", "patch": "@@ -90,6 +90,7 @@ type CmdFlags struct {\n \tBuildID string \"help:\\\"record `id` as the build id in the export metadata\\\"\"\n \tCPUProfile string \"help:\\\"write cpu profile to `file`\\\"\"\n \tComplete ...
2021-03-12T23:38:02
electron/electron
6362e60a7b638e5668395a135cf4fbab7d9d0e67
c651e967085d2f3bfaab2412b3547071ae956263
Make video and audio tag work, fixes #31. See more about this on: https://github.com/brightray/brightray_example/commit/fdf20531bd8618d344447c5090f8594a62de1ed6
[ { "path": "atom.gyp", "patch": "@@ -334,6 +334,15 @@\n '<@(fix_framework_link_command)',\n ],\n },\n+ {\n+ 'postbuild_name': 'Add symlinks for framework subdirectories',\n+ 'action': [\n+ 'tools/mac/create-framewor...
2013-06-26T02:31:32
huggingface/transformers
86d7564611d21731fc004b4e79e472d48c4b0fec
414658f94f426a04abe7655b21c89bbf8fee99c3
[docs] Fix Zamba2 (#35916) fix code block
[ { "path": "docs/source/en/model_doc/zamba2.md", "patch": "@@ -34,6 +34,8 @@ Zamba2-1.2B, Zamba2-2.7B and Zamba2-7B are hybrid models combining state-space m\n Zamba2 requires you use `transformers` version 4.48.0 or higher:\n ```bash\n pip install transformers>=4.48.0\n+```\n+\n ## Inference\n \n ```python"...
2025-01-27T19:44:10
vercel/next.js
5223d66abd66a8049d9f476518c22917c03e225a
792c661264dd92b264f127d2e563ad2665d12dd0
Bump version tailwindcss example to 3.2 (#41681) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted f...
[ { "path": "examples/with-tailwindcss/package.json", "patch": "@@ -7,16 +7,16 @@\n },\n \"dependencies\": {\n \"next\": \"latest\",\n- \"react\": \"18.1.0\",\n- \"react-dom\": \"18.1.0\"\n+ \"react\": \"18.2.0\",\n+ \"react-dom\": \"18.2.0\"\n },\n \"devDependencies\": {\n- \"@type...
2022-10-24T19:12:27
golang/go
0bd308ff27822378dc2db77d6dd0ad3c15ed2e08
70d54df4f6bd63b0057d718c6fc3fffc0d94bbc1
go/parser: avoid formatting a panic message if an assertion succeeds tryResolve is an extremely hot method on the parser. Eliminating this formatting led to a 20% performance improvement in BenchmarkParse. Change-Id: Idf8850404bd72d45d1351356427a85086422ea68 Reviewed-on: https://go-review.googlesource.com/c/go/+/3026...
[ { "path": "src/go/parser/parser.go", "patch": "@@ -181,7 +181,10 @@ func (p *parser) tryResolve(x ast.Expr, collectUnresolved bool) {\n \tif ident == nil {\n \t\treturn\n \t}\n-\tassert(ident.Obj == nil, fmt.Sprintf(\"identifier %s already declared or resolved\", ident.Name))\n+\t// Don't use assert here, t...
2021-03-17T16:42:19
huggingface/transformers
63e9c941eb63fae6140dfd365fd4b440b27f77ad
c550a1c6404664734f4607eacf44b1a3b100bca2
Fix the config class comparison for remote code models (#35592) * Fix the config class comparison when repeatedly saving and loading remote code models * once again you have committed your debug breakpoint
[ { "path": "src/transformers/models/auto/auto_factory.py", "patch": "@@ -580,7 +580,7 @@ def register(cls, config_class, model_class, exist_ok=False):\n model_class ([`PreTrainedModel`]):\n The model to register.\n \"\"\"\n- if hasattr(model_class, \"config_class\")...
2025-01-27T18:37:30
electron/electron
85d7e7b0343a5610f6c5c84cb27aad8d0a7b6180
5c4c86c6ef5d288c1162356e6f0d94c9b85a1127
Don't throw exception when ninja quit unnormally.
[ { "path": "script/build.py", "patch": "@@ -13,7 +13,7 @@ def main():\n args = parse_args()\n for config in args.configuration:\n build_path = os.path.join('out', config)\n- subprocess.check_call(['ninja', '-C', build_path])\n+ subprocess.call(['ninja', '-C', build_path])\n \n \n def parse_args...
2013-06-24T08:05:22
nodejs/node
a1fc52884b98acab3d3f0b66c3b5ac9eb0728b8b
e10cb7fdda85bdf3204ae40843d64e56cf07e5a8
doc: fix typo in console.md logit -> log it PR-URL: https://github.com/nodejs/node/pull/20349 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemoz...
[ { "path": "doc/api/console.md", "patch": "@@ -354,7 +354,7 @@ added: v10.0.0\n * `properties` {string[]} Alternate properties for constructing the table.\n \n Try to construct a table with the columns of the properties of `tabularData`\n-(or use `properties`) and rows of `tabularData` and logit. Falls back ...
2018-04-27T03:28:06
vercel/next.js
fedcae42d035f783f6b307b02fb3c4a964957764
89355298f29b1bac3f810ea27994500b1887c2a9
Update custom-error-page for getServerSideProps (#41723) `fetch` output type has `status` but no `statusCode`, see MDN https://developer.mozilla.org/en-US/docs/Web/API/Response/status ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm lint` - [x] The "examples guidelines" are followed f...
[ { "path": "docs/advanced-features/custom-error-page.md", "patch": "@@ -74,7 +74,7 @@ import Error from 'next/error'\n \n export async function getServerSideProps() {\n const res = await fetch('https://api.github.com/repos/vercel/next.js')\n- const errorCode = res.ok ? false : res.statusCode\n+ const err...
2022-10-24T19:00:14
huggingface/transformers
cd6591bfb276bdef8390770570393fb315ab6e77
e57b459997344c8231f9195af5143f1e737bdca9
Fix typing in audio_utils.chroma_filter_bank (#35888) * Fix typing in audio_utils.chroma_filter_bank * Apply make style --------- Co-authored-by: Louis Groux <louis.cal.groux@gmail.com>
[ { "path": "src/transformers/audio_utils.py", "patch": "@@ -146,7 +146,7 @@ def chroma_filter_bank(\n sampling_rate: int,\n tuning: float = 0.0,\n power: Optional[float] = 2.0,\n- weighting_parameters: Optional[Tuple[float]] = (5.0, 2),\n+ weighting_parameters: Optional[Tuple[float, float]]...
2025-01-27T16:06:03
golang/go
70d54df4f6bd63b0057d718c6fc3fffc0d94bbc1
2f3db220d1ff1610e315d95d276782d4533f052b
cmd/compile: getting more built-ins to work with generics For Builtin ops, we currently stay with using the old typechecker to transform the call to a more specific expression and possibly use more specific ops. However, for a bunch of the ops, we delay calling the old typechecker if any of the args have type params,...
[ { "path": "src/cmd/compile/internal/noder/expr.go", "patch": "@@ -135,7 +135,7 @@ func (g *irgen) expr0(typ types2.Type, expr syntax.Expr) ir.Node {\n \t\t\tindex := g.expr(expr.Index)\n \t\t\tif index.Op() != ir.OTYPE {\n \t\t\t\t// This is just a normal index expression\n-\t\t\t\treturn Index(pos, g.expr(...
2021-03-12T19:36:02
rust-lang/rust
e013cf8afcf74a5f27feb7ebb0dca248e5c489fe
71b68da1bd9fa6afb9f964a731e9c843ab0862bd
rustdoc-search: add unbox flag to Result aliases Fixes #139665
[ { "path": "compiler/rustc_passes/src/check_attr.rs", "patch": "@@ -1109,6 +1109,7 @@ impl<'tcx> CheckAttrVisitor<'tcx> {\n ItemKind::Trait(_, _, _, generics, _, items)\n if generics.params.len() != 0\n || items.iter().any(|item| matches!(item.kind, AssocItemKi...
2025-04-11T18:35:10
electron/electron
f26db5c7a1c6328549d1bb884b051f03b1786494
354a1c555bfaff7320b167c6cb065a0b1444c349
Enable getUserMedia(). Part of fixes for #31.
[ { "path": "atom.gyp", "patch": "@@ -82,6 +82,10 @@\n 'browser/browser_observer.h',\n 'browser/file_dialog.h',\n 'browser/file_dialog_mac.mm',\n+ 'browser/media/media_capture_devices_dispatcher.cc',\n+ 'browser/media/media_capture_devices_dispatcher.h',\n+ 'browser/media/medi...
2013-06-21T08:05:28
nodejs/node
e10cb7fdda85bdf3204ae40843d64e56cf07e5a8
9c8395679cb211c99d47246c1c37ae7c4ae40396
tls: specify options.name in validateKeyCert This commit addresses a TODO added by Ruben Bridgewater in commit c6b6c92185316e13738e6fa931fdd5303e381e46 ("lib: always show ERR_INVALID_ARG_TYPE received part") which was to prefix the name of the invalid argument with 'options.'. This commit also switches the order of t...
[ { "path": "lib/_tls_common.js", "patch": "@@ -56,11 +56,10 @@ function SecureContext(secureProtocol, secureOptions, context) {\n if (secureOptions) this.context.setOptions(secureOptions);\n }\n \n-function validateKeyCert(value, type) {\n+function validateKeyCert(name, value) {\n if (typeof value !== 's...
2018-04-25T11:58:32
vercel/next.js
3067fe5221b5499c4a130c819f6d289a095bbb3c
3dd7f3859aaf482c12acc3ec1f9bd528e31501af
add spacing to the error message (#235)
[ { "path": "crates/turbopack-cli-utils/src/issue.rs", "patch": "@@ -550,7 +550,7 @@ impl ConsoleUiVc {\n if let Some(severity_map) = grouped_issues.get_mut(&severity) {\n let severity_map_size = severity_map.len();\n let indent = if severity_map_size == 1 {\n- ...
2022-10-24T19:00:13
huggingface/transformers
e57b459997344c8231f9195af5143f1e737bdca9
5c576f5a66cc4c1f48b8b63c71aad70a2eae9875
Split and clean up GGUF quantization tests (#35502) * clean up ggml test Signed-off-by: Isotr0py <2037008807@qq.com> * port remaining tests Signed-off-by: Isotr0py <2037008807@qq.com> * further cleanup Signed-off-by: Isotr0py <2037008807@qq.com> * format Signed-off-by: Isotr0py <2037008807@qq.com>...
[ { "path": "tests/quantization/ggml/test_ggml.py", "patch": "@@ -15,6 +15,8 @@\n import tempfile\n import unittest\n \n+from parameterized import parameterized\n+\n from transformers import AddedToken, AutoModelForCausalLM, AutoModelForSeq2SeqLM, AutoTokenizer\n from transformers.testing_utils import (\n ...
2025-01-27T14:46:57
golang/go
2f3db220d1ff1610e315d95d276782d4533f052b
72b501cb0326f62a20621636942e5a95fc3c1466
crypto/tls: remove flaky cancellation test This will be reintroduced again once the source of the flakiness has been determined and fixed. Fixes #45084 Change-Id: I6677b27fcd71e8c9bb8edbe8e3be70e5a271ebd3 Reviewed-on: https://go-review.googlesource.com/c/go/+/302569 Trust: Johan Brandhorst-Satzkorn <johan.brandhorst...
[ { "path": "src/crypto/tls/handshake_client_test.go", "patch": "@@ -6,7 +6,6 @@ package tls\n \n import (\n \t\"bytes\"\n-\t\"context\"\n \t\"crypto/rsa\"\n \t\"crypto/x509\"\n \t\"encoding/base64\"\n@@ -21,7 +20,6 @@ import (\n \t\"os/exec\"\n \t\"path/filepath\"\n \t\"reflect\"\n-\t\"runtime\"\n \t\"strcon...
2021-03-17T14:13:35
nodejs/node
169756b15dc8f6c2974a8ef3f095c055dcd47159
13001035340d6d3fb173fef4a1db42ba70f61720
tools: show stdout/stderr for timed out tests When a test times out, the contents of stdout and stderr can often be highly valuable in debugging. Provide that information. Refs: https://github.com/nodejs/node/issues/19906#issuecomment-382073888 PR-URL: https://github.com/nodejs/node/pull/20260 Reviewed-By: Ruben Bri...
[ { "path": "tools/test.py", "patch": "@@ -333,7 +333,7 @@ def HasRun(self, output):\n (total_seconds, duration.microseconds / 1000))\n if self.severity is not 'ok' or self.traceback is not '':\n if output.HasTimedOut():\n- self.traceback = 'timeout'\n+ self.traceback = 'timeout\...
2018-04-24T21:20:31
vercel/next.js
92254d137ad87f7b48d3305ebf50751e8c68f8e6
20f5db06fa5d2b627af76ed84a9f317c21e3ab04
Emit VSCode settings for TypeScript (#41710) This makes sure that the TypeScript in the workspace can be enabled. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing...
[ { "path": "packages/next/build/webpack/plugins/flight-types-plugin.ts", "patch": "@@ -35,8 +35,8 @@ interface LayoutProps {\n params?: PageParams\n }\n \n-type PageComponent = (props: PageProps) => React.ReactNode | null\n-type LayoutComponent = (props: LayoutProps) => React.ReactNode | null\n+type PageCo...
2022-10-24T08:07:56
huggingface/transformers
5450e7c84afc9e93e897705de0dfb6b53b2b07e2
a50befa9b95d53d9e1ceef09127696fcf0c2b963
🔴 🔴 🔴 Added `segmentation maps` support for DPT image processor (#34345) * Added `segmentation_maps` support for DPT image processor * Added tests for dpt image processor * Moved preprocessing into separate functions * Added # Copied from statements * Fixed # Copied from statements * Added `segmentation_maps`...
[ { "path": "src/transformers/models/dpt/image_processing_dpt.py", "patch": "@@ -139,6 +139,11 @@ class DPTImageProcessor(BaseImageProcessor):\n size_divisor (`int`, *optional*):\n If `do_pad` is `True`, pads the image dimensions to be divisible by this value. This was introduced in the\n ...
2025-01-27T14:14:00
rust-lang/rust
ac45a672979b28670cf2e5de5afbb0b1fb42c0b2
71b68da1bd9fa6afb9f964a731e9c843ab0862bd
Use delayed bug for normalization errors in drop elaboration Normalization can fail from errors from other items so use a delayed bug instead of checking the body.
[ { "path": "compiler/rustc_mir_transform/src/elaborate_drop.rs", "patch": "@@ -266,19 +266,16 @@ where\n let tcx = self.tcx();\n \n assert_eq!(self.elaborator.typing_env().typing_mode, ty::TypingMode::PostAnalysis);\n- // The type error for normalization may hav...
2025-04-04T09:58:55
electron/electron
993c7ad6505ec53c044643d6c2d538bbc99ae0b7
9983e7c0ba8330c69cd24e9fd0c4b1c8ad416493
Use .py suffix for python scripts, we're following chromium.
[ { "path": "script/update", "patch": "@@ -5,7 +5,7 @@ set -e\n cd \"$(dirname \"$0\")/..\"\n \n ./script/update-frameworks\n-./script/update-node v0.10.9\n+./script/update-node.py --version v0.10.9\n \n gyp -f ninja --depth . atom.gyp \\\n -Icommon.gypi \\", "additions": 1, "deletions": 1, "lan...
2013-06-20T14:55:54
golang/go
72b501cb0326f62a20621636942e5a95fc3c1466
119d76d98e4a367ad9b35dfa436692e2976c99aa
compress/lzw: add Reset method to Reader and Writer We add a Reset method which clears any internal state of an encoder or a decoder to let it be reused again as a new Writer or Reader respectively. We also export the encoder and decoder structs, renaming them to be Reader and Writer, and we guarantee that the underl...
[ { "path": "src/compress/lzw/reader.go", "patch": "@@ -42,15 +42,15 @@ const (\n \tflushBuffer = 1 << maxWidth\n )\n \n-// decoder is the state from which the readXxx method converts a byte\n-// stream into a code stream.\n-type decoder struct {\n+// Reader is an io.Reader which can be used to read co...
2020-11-27T05:55:00
nodejs/node
bda2eaf3d5967603eeb2c498058a5256a3dc37d1
8c12e01bf869fc1a796abd0917c4f4df7188b859
doc: fix unhandled to uncaught PR-URL: https://github.com/nodejs/node/pull/20293 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/errors.md", "patch": "@@ -107,7 +107,7 @@ pass or fail).\n \n For *all* [`EventEmitter`][] objects, if an `'error'` event handler is not\n provided, the error will be thrown, causing the Node.js process to report an\n-unhandled exception and crash unless either: The [`domain`][domains] mo...
2018-04-25T15:41:32
vercel/next.js
95af24549870e1f1fa4cf41c89ff1a992e927aa0
ceb07ff00c59e95b4473a945ecba566471ff0d94
Fail on prerendering with dynamic error config (#41707) This PR adds the ability to fail on pre-rendering for a page configured with `dynamic="error"`
[ { "path": "packages/next/build/index.ts", "patch": "@@ -2094,11 +2094,13 @@ export default async function build(\n // revalidate periods and dynamicParams settings\n appStaticPaths.forEach((routes, originalAppPath) => {\n const encodedRoutes = appStaticPathsEncode...
2022-10-24T06:08:15
electron/electron
e3803bc4995488789df2e6e947931f5374f532f2
6d187cbb7d28b4768151732148e9012682e9e4fe
Update brightray: fix linking with libchromiumcontent.
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 1143359bed70f5c2d4f6fc998a1d8cedb7ecff87\n+Subproject commit 6d893b1f5001c94d1ace0bc3d976f6e83a922e81", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-06-19T14:54:40
golang/go
a98a0a75b415d8e3adb3ff5a2c20e485d9c24ac0
a826f7dc45f2e0f210341893bd70740aef6b777d
os/user: make user.LookupGroupId function work for large entries The existing implementation of user.LookupGroupId function works incorrectly with very large (>64K symbols) entries in /etc/group file. This patch fixes this. Fixes #43636 Change-Id: I453321f1ab15fd4d0002f97fcec7d0789e1e0da5 Reviewed-on: https://go-rev...
[ { "path": "src/os/user/lookup_unix.go", "patch": "@@ -33,23 +33,72 @@ type lineFunc func(line []byte) (v interface{}, err error)\n // readColonFile parses r as an /etc/group or /etc/passwd style file, running\n // fn for each row. readColonFile returns a value, an error, or (nil, nil) if\n // the end of the...
2021-01-14T15:30:14
vercel/next.js
fbe1ffb65760adcdeea6670803bd00b1038a1da5
13f6eff4cc5b483831b8f0dd6d8d9d4724487797
Include resolved external package dirs (#41706) We currently assume that external packages are installed via a package manager, but actually in a monorepo they can be in local. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see...
[ { "path": "packages/next/build/webpack-config.ts", "patch": "@@ -120,11 +120,19 @@ function errorIfEnvConflicted(config: NextConfigComplete, key: string) {\n }\n }\n \n-function isResourceInPackages(resource: string, packageNames?: string[]) {\n+function isResourceInPackages(\n+ resource: string,\n+ pac...
2022-10-24T05:23:50
nodejs/node
8c12e01bf869fc1a796abd0917c4f4df7188b859
78d95b4032fbdc633b1e2a8ae4a4cbcc813c4a09
src: create per-isolate strings after platform setup Allocation of strings may cause a garbage collection that uses the platform to post tasks. PR-URL: https://github.com/nodejs/node/pull/20175 Fixes: https://github.com/nodejs/node/issues/20171 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tiancheng "...
[ { "path": "src/env.cc", "patch": "@@ -28,44 +28,46 @@ IsolateData::IsolateData(Isolate* isolate,\n uv_loop_t* event_loop,\n MultiIsolatePlatform* platform,\n uint32_t* zero_fill_field) :\n-\n-// Create string and private symbol prope...
2018-04-20T17:33:32
rust-lang/rust
07d8a9d3316c94f102061d74719fa8595ca3119f
f74d7ce81371b2573d7a356408251fa4cac3f8d2
fix: `redundant_clone` FP in overlapping lifetime
[ { "path": "clippy_lints/src/redundant_clone.rs", "patch": "@@ -182,15 +182,20 @@ impl<'tcx> LateLintPass<'tcx> for RedundantClone {\n \n let clone_usage = if local == ret_local {\n CloneUsage {\n- cloned_used: false,\n+ cloned_use_loc: None.i...
2025-04-11T14:41:16
electron/electron
81aea6a4b9f3e05c37f60edba106976ef3334896
a79649c43fd0830fd95b93ae1565a27fb1a745fd
Add app.getVersion() API. Fixes #28.
[ { "path": "browser/api/atom_api_app.cc", "patch": "@@ -92,6 +92,15 @@ v8::Handle<v8::Value> App::Focus(const v8::Arguments &args) {\n return v8::Undefined();\n }\n \n+// static\n+v8::Handle<v8::Value> App::GetVersion(const v8::Arguments &args) {\n+ v8::HandleScope scope;\n+\n+ std::string version(Browse...
2013-06-19T05:43:48
golang/go
a826f7dc45f2e0f210341893bd70740aef6b777d
63b0a0a5b83e28f55ce68cf1099d9c5ff3998b60
debug/dwarf: support DW_FORM_rnglistx aka formRnglistx Change-Id: I7df915978af3488f46a27595a1b04d0d33f81f7b Reviewed-on: https://go-review.googlesource.com/c/go/+/302369 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than M...
[ { "path": "src/debug/dwarf/entry.go", "patch": "@@ -317,7 +317,7 @@ const (\n \t// the \"mac\" section.\n \tClassMacPtr\n \n-\t// ClassMacPtr represents values that are an int64 offset into\n+\t// ClassRangeListPtr represents values that are an int64 offset into\n \t// the \"rangelist\" section.\n \tClassRa...
2021-03-16T20:31:20
vercel/next.js
ef7de2a93fbfaaa20b5c1c7c480f52055ebb6a35
a9d1452164831b04d934e05f883772cac713931b
Font subsets in function call (#41694) Enable setting font specific subsets in the call. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure ...
[ { "path": "packages/font/src/google/loader.ts", "patch": "@@ -21,16 +21,8 @@ const downloadGoogleFonts: FontLoader = async ({\n data,\n config,\n emitFontFile,\n+ isServer,\n }) => {\n- if (!config?.subsets) {\n- Log.warn(\n- `${chalk.bold('@next/font/google')} is missing ${chalk.bold(\n- ...
2022-10-24T05:21:38
nodejs/node
2fd248f639981c72794efef397dfae5263ebdff5
e8361287030fbaa773761bb3798d45903bb160f6
process: migrate methods to throw errors with code Migrate some methods from node.cc to JS in order to properly throw errors with codes. PR-URL: https://github.com/nodejs/node/pull/19973 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <j...
[ { "path": "doc/api/errors.md", "patch": "@@ -1607,6 +1607,11 @@ A string that contained unescaped characters was received.\n An unhandled error occurred (for instance, when an `'error'` event is emitted\n by an [`EventEmitter`][] but an `'error'` handler is not registered).\n \n+<a id=\"ERR_UNKNOWN_CREDENTI...
2018-04-12T09:54:19
rust-lang/rust
5ea1764b45ecaf2f467a7daec9b8b96363da99ca
2e79c265e48050003a914f72ec7b5be85c129842
fix clippy::useless-conversion
[ { "path": "src/tools/rust-analyzer/crates/rust-analyzer/src/handlers/request.rs", "patch": "@@ -255,7 +255,7 @@ pub(crate) fn handle_run_test(\n }\n })\n .collect_vec(),\n- None => all_test_targets(cargo).into_iter().map(|target|...
2025-04-11T15:23:47
electron/electron
c9e9080a3573b64a3f0c0f3e367471d1aed9cd03
09f84888936ac41c9d25b20c3e3aaab79d83061a
Fix cpplint errors.
[ { "path": "browser/accelerator_util.cc", "patch": "@@ -70,7 +70,8 @@ bool StringToAccelerator(const std::string& description,\n } else if (tokens[i][0] >= '0' && tokens[i][0] <= '9') {\n key = static_cast<ui::KeyboardCode>(ui::VKEY_0 + (tokens[i][0] - '0'));\n } else if (tokens[i][0] >= ...
2013-06-19T05:24:13
huggingface/transformers
33cb1f7b615f59f3d18de1f13bddfcbfa6b863a5
14a9bb520e50723b7dbd0663521975d7174f7790
Add Zamba2 (#34517) * First commit * Finish model implementation * First commit * Finish model implementation * Register zamba2 * generated modeling and configuration * generated modeling and configuration * added hybrid cache * fix attention_mask in mamba * dropped unused loras * fix flash2 * config docstr...
[ { "path": "docs/source/en/index.md", "patch": "@@ -385,6 +385,7 @@ Flax), PyTorch, and/or TensorFlow.\n | [YOLOS](model_doc/yolos) | ✅ | ❌ | ❌ |\n | [YOSO](model_doc/yoso) ...
2025-01-27T09:51:23
golang/go
63b0a0a5b83e28f55ce68cf1099d9c5ff3998b60
68f8e1af29ab12cfa97eb119a7d12a7ea2295e4d
spec: fix rendering of >= Follow-up on https://golang.org/cl/297249. Change-Id: Ib4df91df530e4e7d7dd8c54d89c834cee55031f8 Reviewed-on: https://go-review.googlesource.com/c/go/+/302370 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
[ { "path": "doc/go_spec.html", "patch": "@@ -3681,8 +3681,8 @@ <h3 id=\"Arithmetic_operators\">Arithmetic operators</h3>\n ^ bitwise XOR integers\n &amp;^ bit clear (AND NOT) integers\n \n-&lt;&lt; left shift integer &lt;&lt; integer >= 0\n-&gt;&gt; right shift i...
2021-03-17T00:09:23
vercel/next.js
2d9e17c6fe9ba1c90d59aeb2c72fc1ae59960dae
752f06f7011bbbc4413ba49edecda3b036c2eb1f
chore: Update swc_core to `v0.40.16` (#41702) This PR applies https://github.com/swc-project/swc/pull/6241 to fix the build
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -165,9 +165,9 @@ dependencies = [\n \n [[package]]\n name = \"binding_macros\"\n-version = \"0.20.51\"\n+version = \"0.20.53\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"b5593fc8d6306acce711e0f13ae133b70ac6616427...
2022-10-24T04:29:38
nodejs/node
24c8f0ba8ce94eaab566a680d51c9d637ceac886
5a10d14b6e38bd3a981dd5ad58c4ec11f04d4963
n-api: update cli documentation Fixes: https://github.com/nodejs/node/issues/20082 PR-URL: https://github.com/nodejs/node/pull/20301 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail...
[ { "path": "doc/api/cli.md", "patch": "@@ -144,8 +144,7 @@ tcp port and communicate using the [Chrome DevTools Protocol][].\n added: v7.10.0\n -->\n \n-Enable loading native modules compiled with the ABI-stable Node.js API (N-API)\n-(experimental).\n+This option is a no-op. It is kept for compatibility.\n \n...
2018-04-25T17:49:48
rust-lang/rust
dc0fbcab7e0673afe62b3e8e74905d9e5f5b74a4
71b68da1bd9fa6afb9f964a731e9c843ab0862bd
Fix profiler_builtins build script to handle full path to profiler lib LLVM_PROFILER_RT_LIB may be set to an absolute path (e.g., in Fedora builds), but `-l` expects a library name, not a path. After #138273, this caused builds to fail with a "could not find native static library" error. This patch updates the build ...
[ { "path": "library/profiler_builtins/build.rs", "patch": "@@ -9,8 +9,14 @@ use std::path::PathBuf;\n \n fn main() {\n if let Ok(rt) = tracked_env_var(\"LLVM_PROFILER_RT_LIB\") {\n- println!(\"cargo::rustc-link-lib=static:+verbatim={rt}\");\n- return;\n+ let rt = PathBuf::from(rt);\n...
2025-04-11T14:57:38
electron/electron
a8eaaf97391a9ed5e36f7b1e24c106834961933e
dbaf8860a6b65665f9a8a286da52735b84bf67c5
Update libchromiumcontent, fixed #22.
[ { "path": "vendor/brightray", "patch": "@@ -1 +1 @@\n-Subproject commit 32e0b1666398db02c33c6d6ba51970672e9cb873\n+Subproject commit 1143359bed70f5c2d4f6fc998a1d8cedb7ecff87", "additions": 1, "deletions": 1, "language": "Unknown" } ]
2013-06-19T02:52:18
golang/go
7a1e963058460d4136603b86386f2bae6fe0d5f2
dc1556eaef871074895ed9fdf6028475d53235be
cmd/compile, cmd/link: dynamically export writable static tmps Static tmps are private to a package, but with plugins a package can be shared among multiple DSOs. They need to have a consistent view of the static tmps, especially for writable ones. So export them. (Read-only static tmps have the same values anyway, so...
[ { "path": "misc/cgo/testplugin/plugin_test.go", "patch": "@@ -209,3 +209,10 @@ func TestMethod2(t *testing.T) {\n \tgoCmd(t, \"build\", \"-o\", \"method2.exe\", \"./method2/main.go\")\n \trun(t, \"./method2.exe\")\n }\n+\n+func TestIssue44956(t *testing.T) {\n+\tgoCmd(t, \"build\", \"-buildmode=plugin\", \"...
2021-03-13T04:21:09
nodejs/node
f1d952753496c554523f835e7b539f9d114f966d
20612486d9c56b4e1f3c8f28b9edd827ceaa0500
test: fix flaky child-process-exec-kill-throws Kill the child process with `SIGKILL` to make sure the child process does not remain alive. Fixes: https://github.com/nodejs/node/issues/20139 PR-URL: https://github.com/nodejs/node/pull/20213 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipin...
[ { "path": "test/parallel/test-child-process-exec-kill-throws.js", "patch": "@@ -19,7 +19,8 @@ if (process.argv[2] === 'child') {\n };\n \n const cmd = `\"${process.execPath}\" \"${__filename}\" child`;\n- const options = { maxBuffer: 0 };\n+ const options = { maxBuffer: 0, killSignal: 'SIGKILL' };\n+\...
2018-04-22T20:22:25
huggingface/transformers
14a9bb520e50723b7dbd0663521975d7174f7790
f11f57c92579aa311dbde5267bc0d8d6f2545f7b
Fix fast image processor warnings in object detection examples (#35892) Have the DETR examples default to using the fast image processor
[ { "path": "examples/pytorch/object-detection/run_object_detection.py", "patch": "@@ -271,6 +271,10 @@ class DataTrainingArguments:\n )\n },\n )\n+ use_fast: Optional[bool] = field(\n+ default=True,\n+ metadata={\"help\": \"Use a fast torchvision-base image processor ...
2025-01-27T08:32:44
electron/electron
dbaf8860a6b65665f9a8a286da52735b84bf67c5
3d267e2a9ff52df74fac5d0586c6e2cbe9c5404a
Revert "Make BrowserWindow inheritable. Fixed #23." This reverts commit 5a0aab2e4f1a9f447bf72d7d3425d5461ed6173c.
[ { "path": "browser/api/atom_api_event_emitter.cc", "patch": "@@ -20,6 +20,13 @@ namespace api {\n \n EventEmitter::EventEmitter(v8::Handle<v8::Object> wrapper) {\n Wrap(wrapper);\n+\n+ // process.emit('ATOM_BROWSER_INTERNAL_NEW', this).\n+ v8::Handle<v8::Value> args[] = {\n+ v8::String::New(\"ATOM_...
2013-06-18T13:40:03
golang/go
c870e863298a44ead08e0b797d62ea74d7b7c971
72d98df88e3cbbbe482f7d421c6fd5cbd84423b4
cmd/asm: when dynamic linking, reject code that uses a clobbered R15 The assember uses R15 as scratch space when assembling global variable references in dynamically linked code. If the assembly code uses the clobbered value of R15, report an error. The user is probably expecting some other value in that register. Ge...
[ { "path": "src/cmd/asm/internal/asm/endtoend_test.go", "patch": "@@ -270,7 +270,7 @@ var (\n \terrQuotesRE = regexp.MustCompile(`\"([^\"]*)\"`)\n )\n \n-func testErrors(t *testing.T, goarch, file string) {\n+func testErrors(t *testing.T, goarch, file string, flags ...string) {\n \tinput := filepath.Join(\"t...
2021-01-13T23:45:28
nodejs/node
2a30bfe295eadbdaea3675447b9fe743c622b47b
1e40b75404872c45961cff33376f1d85ead73165
doc: improve docs for Http2Session:frameError Improve documentation regarding the callback parameters for the frameError event for instances of Http2Session, making it inline with the currently accepted structure, like the rest of the documentation. Refs: https://github.com/nodejs/help/issues/877#issuecomment-3812534...
[ { "path": "doc/api/http2.md", "patch": "@@ -159,18 +159,16 @@ an `Http2Session`.\n added: v8.4.0\n -->\n \n+* `type` {integer} The frame type.\n+* `code` {integer} The error code.\n+* `id` {integer} The stream id (or `0` if the frame isn't associated with a\n+ stream).\n+\n The `'frameError'` event is emit...
2018-04-23T21:17:21
huggingface/transformers
f11f57c92579aa311dbde5267bc0d8d6f2545f7b
fc269f77da72d4c65b2e71e6d4896cd16c6f1e76
[doctest] Fixes (#35863) doctest fixes
[ { "path": "docs/source/en/agents_advanced.md", "patch": "@@ -162,7 +162,7 @@ agent.run(\n improved_prompt could be \"A bright blue space suit wearing rabbit, on the surface of the moon, under a bright orange sunset, with the Earth visible in the background\"\n \n Now that I have improved the prompt, I can u...
2025-01-26T23:26:38
electron/electron
5a0aab2e4f1a9f447bf72d7d3425d5461ed6173c
eaa03faceee20ae15283e94e2a6fff3337c8ce58
Make BrowserWindow inheritable. Fixed #23.
[ { "path": "browser/api/atom_api_event_emitter.cc", "patch": "@@ -71,6 +71,26 @@ bool EventEmitter::Emit(const std::string& name, base::ListValue* args) {\n return prevent_default;\n }\n \n+// static\n+v8::Handle<v8::Value> EventEmitter::FromConstructorTemplate(\n+ v8::Persistent<v8::FunctionTemplate> t...
2013-06-18T10:35:08
nodejs/node
3152b7c0d329893d2fe9f74ff4f334d182a10545
94e0e2c787deade5702026b6d6eea8dcfee3b6a3
src: assign ERR_SCRIPT_EXECUTION_* codes in C++ Also modifies the error messages so they include more information and are more consistent. - The message of ERR_SCRIPT_EXECUTION_INTERRUPTED now mentions SIGINT and the trailing period is dropped for consistency. - Added ERR_SCRIPT_EXECUTION_TIMEOUT and include the ti...
[ { "path": "doc/api/errors.md", "patch": "@@ -1371,6 +1371,10 @@ An attempt was made to `require()` an [ES6 module][].\n Script execution was interrupted by `SIGINT` (For example, when Ctrl+C was\n pressed).\n \n+### ERR_SCRIPT_EXECUTION_TIMEOUT\n+\n+Script execution timed out, possibly due to bugs in the sc...
2018-04-19T10:41:33
golang/go
72d98df88e3cbbbe482f7d421c6fd5cbd84423b4
18246672593fd59c2671bc6407c06fd020716708
cmd/go: bail out from script tests earlier when a timeout occurs (I needed this to debug an accidental infinite-recursion I introduced while revising CL 293689.) Fixes #38768 Change-Id: I306122f15b5bbd2fc5e836b32fd4dd5992ea891e Reviewed-on: https://go-review.googlesource.com/c/go/+/302052 Trust: Bryan C. Mills <bcmi...
[ { "path": "src/cmd/go/script_test.go", "patch": "@@ -41,6 +41,33 @@ func TestScript(t *testing.T) {\n \ttestenv.MustHaveGoBuild(t)\n \ttestenv.SkipIfShortAndSlow(t)\n \n+\tvar (\n+\t\tctx = context.Background()\n+\t\tgracePeriod = 100 * time.Millisecond\n+\t)\n+\tif deadline, ok := t.Deadline(); ok ...
2021-03-15T20:48:51
vercel/next.js
b41156779271c0bcdbf6599a92d86933002ff8fd
1fa0068610baf8c9198f04e9a8933d68b9ff2e1a
Print error when next dev has conflicting app & page (#41656) This PR prints an error when the `app` and `pages` directory contain the same route. ## build error <img width="904" alt="image" src="https://user-images.githubusercontent.com/229881/197424839-67dac580-1e1d-4c31-b769-112f2f38b06e.png"> ## dev error...
[ { "path": "packages/next/build/index.ts", "patch": "@@ -586,7 +586,7 @@ export default async function build(\n \n for (const appPath of pageKeys.app) {\n if (pageKeys.pages.includes(appPath)) {\n- conflictingAppPagePaths.push(`pages${appPath} - app${appPath}`)\n+ conf...
2022-10-24T03:09:59
electron/electron
eaa03faceee20ae15283e94e2a6fff3337c8ce58
e440ad2714ba693c8c3ea103eac6485e0c8be466
Add API for renderer's crashes.
[ { "path": "browser/api/atom_api_window.cc", "patch": "@@ -79,6 +79,10 @@ void Window::OnRendererResponsive() {\n Emit(\"responsive\");\n }\n \n+void Window::OnRendererCrashed() {\n+ Emit(\"crashed\");\n+}\n+\n // static\n v8::Handle<v8::Value> Window::New(const v8::Arguments &args) {\n v8::HandleScope ...
2013-06-10T12:50:25
nodejs/node
94e0e2c787deade5702026b6d6eea8dcfee3b6a3
b69926486569529a5fe140df4b769d1ce4f6bca0
src: fix Systemtap node_gc_stop probe The process("node").mark("gc__stop") is actually process("node").mark("gc__done"). Use the proper name so that a developer can use SystemTap to determine the duration of garbage collection. PR-URL: https://github.com/nodejs/node/pull/20152 Reviewed-By: Ben Noordhuis <info@bnoordh...
[ { "path": "src/node.stp", "patch": "@@ -125,7 +125,7 @@ probe node_gc_start = process(\"node\").mark(\"gc__start\")\n flags);\n }\n \n-probe node_gc_stop = process(\"node\").mark(\"gc__stop\")\n+probe node_gc_stop = process(\"node\").mark(\"gc__done\")\n {\n scavenge = 1 << 0;\n compact = 1 << 1;", ...
2018-04-19T14:15:25
golang/go
d206ca5cac60ddff222a25e1dc96d6b0e96c21b5
0ec2c4abbad7d678ebc4afc4c69af7d952fc3404
cmd/compile: fix open defer of method call Code generation for open defers failed to account for presence of method receiver and thus was OFF BY ONE. Fixes #45062. Updates #44816. Updates #40724. Change-Id: Ia90ea8fd0f7d823e1f757c406f9127136c2ffdd2 Reviewed-on: https://go-review.googlesource.com/c/go/+/302249 Trust:...
[ { "path": "src/cmd/compile/internal/ssagen/ssa.go", "patch": "@@ -353,10 +353,12 @@ func (s *state) emitOpenDeferInfo() {\n \t\t\tnumArgs++\n \t\t}\n \t\toff = dvarint(x, off, int64(numArgs))\n+\t\targAdjust := 0 // presence of receiver offsets the parameter count.\n \t\tif r.rcvrNode != nil {\n \t\t\toff =...
2021-03-16T16:03:08
vercel/next.js
48c7a801c500e511d13e191d9ccea54343c498da
af395047d7a08b8ba87777ded32e057a2ac1c996
chore: Update swc_core to `v0.40.13` (#41692) This PR update swc crates to https://github.com/swc-project/swc/commit/c025cd01cefd178f7be43ac7832c64e36079e0e1 This PR applies - https://github.com/swc-project/swc/pull/6235 which fixes an issue of the minifier
[ { "path": "packages/next-swc/Cargo.lock", "patch": "@@ -165,9 +165,9 @@ dependencies = [\n \n [[package]]\n name = \"binding_macros\"\n-version = \"0.20.48\"\n+version = \"0.20.51\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"ac6b78c495bec96bc6b19121c324cb3919d729245b...
2022-10-24T02:38:30
rust-lang/rust
b9e2ac5c7b1d6bb3b6f5fdfe0819eaf7e95bf7ff
9eb6a5446a4e35f48ad22a5b70a74a8badb9fa0d
sync::mpsc: prevent double free on `Drop` This PR is fixing a regression introduced by #121646 that can lead to a double free when dropping the channel. The details of the bug can be found in the corresponding crossbeam PR https://github.com/crossbeam-rs/crossbeam/pull/1187 Signed-off-by: Petros Angelatos <petrosagg...
[ { "path": "library/std/src/sync/mpmc/list.rs", "patch": "@@ -569,9 +569,15 @@ impl<T> Channel<T> {\n // In that case, just wait until it gets initialized.\n while block.is_null() {\n backoff.spin_heavy();\n- block = self.head.block.load(Ordering::Acquir...
2025-04-08T19:37:25
electron/electron
e440ad2714ba693c8c3ea103eac6485e0c8be466
25df5caf635f0e03e07418427b93687e5cedbc77
Make window aware of renderer crashes.
[ { "path": "browser/native_window.cc", "patch": "@@ -15,6 +15,7 @@\n #include \"browser/atom_browser_main_parts.h\"\n #include \"browser/atom_javascript_dialog_manager.h\"\n #include \"browser/window_list.h\"\n+#include \"content/public/browser/invalidate_type.h\"\n #include \"content/public/browser/navigati...
2013-06-10T12:42:10
huggingface/transformers
b912f5ee438a1644247da13d789166ec77bb2304
72d1a4cd53d90d5db384df948ccc293b3c1e3b9d
use torch.testing.assertclose instead to get more details about error in cis (#35659) * use torch.testing.assertclose instead to get more details about error in cis * fix * style * test_all * revert for I bert * fixes and updates * more image processing fixes * more image processors * fix mamba and co * style...
[ { "path": "src/transformers/models/wav2vec2_bert/convert_wav2vec2_seamless_checkpoint.py", "patch": "@@ -183,7 +183,7 @@ def convert_wav2vec2_bert_checkpoint(\n with torch.no_grad():\n outputs = hf_wav2vec(**inputs)\n \n- torch.testing.assert_close(original_output, outputs.last_hi...
2025-01-24T15:55:28
nodejs/node
e991bf7a29694b457fd06b155ee212a42a90caff
a3231d94bdd8272c633f4a1d0c24a3742987bb5c
test,n-api: re-write test_error in C PR-URL: https://github.com/nodejs/node/pull/20244 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Colin ...
[ { "path": "test/addons-napi/test_error/binding.gyp", "patch": "@@ -2,7 +2,7 @@\n \"targets\": [\n {\n \"target_name\": \"test_error\",\n- \"sources\": [ \"test_error.cc\" ]\n+ \"sources\": [ \"test_error.c\" ]\n }\n ]\n }", "additions": 1, "deletions": 1, "language": ...
2018-04-24T02:31:20
golang/go
0ec2c4abbad7d678ebc4afc4c69af7d952fc3404
832a01aad409dc0e41eabb53bfdb64d1a41b2c83
cmd/compile: (fixed) spill output parameters passed in registers as autos Repair of CL 300749. ALSO: found evidence that stack maps for bodyless methods are wrong. gofmt in test/abi removed never-executed code in types/size.go Updates #44816. Updates #40724. Change-Id: Ifeb5fee60f60e7c7b58ee0457f58a3265d6cf3f6 Revi...
[ { "path": "src/cmd/compile/internal/abi/abiutils.go", "patch": "@@ -69,6 +69,14 @@ func (a *ABIParamResultInfo) SpillAreaSize() int64 {\n \treturn a.spillAreaSize\n }\n \n+// ArgWidth returns the amount of stack needed for all the inputs\n+// and outputs of a function or method, including ABI-defined parame...
2021-03-11T01:54:11
rust-lang/rust
49cc8601821b614aa7a245dd37a837ec92192d3a
72841001f19f4aabecdec66fc76881699ec8f1df
fix build fail on macos bacause of libffi-sys 2.3.0; This updates libffi to new major version
[ { "path": "src/tools/miri/Cargo.lock", "patch": "@@ -436,19 +436,19 @@ checksum = \"c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6\"\n \n [[package]]\n name = \"libffi\"\n-version = \"3.2.0\"\n+version = \"4.0.0\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-check...
2025-04-11T11:56:53
vercel/next.js
af395047d7a08b8ba87777ded32e057a2ac1c996
d5a682e6e824d7345e88f958b3731ee23fdcd212
App dir sass (#41690) sass & scss support for app ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been...
[ { "path": "packages/next/build/webpack/config/blocks/css/index.ts", "patch": "@@ -456,6 +456,28 @@ export const css = curry(async function css(\n ],\n })\n )\n+ fns.push(\n+ loader({\n+ oneOf: [\n+ markRemovable({\n+ // A global SASS impor...
2022-10-24T02:05:55
electron/electron
024c316bcd70b4523fdbf613032e0ce22f93274d
ae88f303fae724c844bb60e6c5d4bc28861168be
Fullscreen => FullScreen. Fixed #19.
[ { "path": "browser/api/atom_api_window.cc", "patch": "@@ -634,8 +634,8 @@ void Window::Initialize(v8::Handle<v8::Object> target) {\n NODE_SET_PROTOTYPE_METHOD(t, \"unmaximize\", Unmaximize);\n NODE_SET_PROTOTYPE_METHOD(t, \"minimize\", Minimize);\n NODE_SET_PROTOTYPE_METHOD(t, \"restore\", Restore);\n...
2013-06-07T06:05:56
huggingface/transformers
72d1a4cd53d90d5db384df948ccc293b3c1e3b9d
b5aaf875090388e2bbdbf2d8641ed7967365f435
Fix Llava-NeXT / Llava-NeXT Video / Llava-OneVision's token unpadding mismatch (#35779) * Fix Llava OneVision's token padding * Fix Llava next and Llava next video's token unpadding for consistency
[ { "path": "src/transformers/models/llava_next/processing_llava_next.py", "patch": "@@ -200,11 +200,11 @@ def _get_unpadded_features(self, height, width, patches_height, patches_width, s\n original_aspect_ratio = width / height\n current_aspect_ratio = current_width / current_height\n ...
2025-01-24T08:10:27
nodejs/node
214fd404b9f016a63316498090c33add780ea4d8
d3edf2fcde0c37206dc339aab7333212d20aa0f1
doc: fix net.Socket link inconsistencies PR-URL: https://github.com/nodejs/node/pull/20271 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
[ { "path": "doc/api/tty.md", "patch": "@@ -77,8 +77,8 @@ Note that `CTRL`+`C` will no longer cause a `SIGINT` when in this mode.\n added: v0.5.8\n -->\n \n-The `tty.WriteStream` class is a subclass of `net.Socket` that represents the\n-writable side of a TTY. In normal circumstances, [`process.stdout`][] and...
2018-04-25T02:14:12
golang/go
832a01aad409dc0e41eabb53bfdb64d1a41b2c83
e31e84010e0989e1df4bd2c55d529497119bb345
cmd/compile: deal with comparable embedded in a constraint Ignore an embedded type in an interface which is the predeclared interface "comparable" (which currently can only be in a type constraint), since the name doesn't resolve and the "comparable" type doesn't have any relevant methods (for the purposes of the com...
[ { "path": "src/cmd/compile/internal/noder/types.go", "patch": "@@ -181,11 +181,20 @@ func (g *irgen) typ0(typ types2.Type) *types.Type {\n \n \tcase *types2.Interface:\n \t\tembeddeds := make([]*types.Field, typ.NumEmbeddeds())\n+\t\tj := 0\n \t\tfor i := range embeddeds {\n \t\t\t// TODO(mdempsky): Get emb...
2021-03-15T17:27:06
rust-lang/rust
b5046525d502129c57f9c1dddc32ee63bf7ad06d
a721b3ec299e437587d2f191acfe70bc6ce657c7
fix broken intra doc links
[ { "path": "library/stdarch/crates/core_arch/src/x86/avx512fp16.rs", "patch": "@@ -264,8 +264,8 @@ pub fn _mm512_setzero_ph() -> __m512h {\n \n /// Return vector of type `__m128h` with indetermination elements.\n /// Despite using the word \"undefined\" (following Intel's naming scheme), this non-determinist...
2025-04-10T16:15:54
huggingface/transformers
b5aaf875090388e2bbdbf2d8641ed7967365f435
328e2ae4c0ca0919ef0db68bfea3a8f4517d30b4
Fix `test_pipelines_video_classification` that was always failing (#35842) * Fix test_pipelines_video_classification that was always failing * Update video pipeline docstring to reflect actual return type --------- Co-authored-by: Louis Groux <louis.cal.groux@gmail.com>
[ { "path": "src/transformers/pipelines/video_classification.py", "patch": "@@ -106,9 +106,9 @@ def __call__(self, inputs: Union[str, List[str]] = None, **kwargs):\n post-processing.\n \n Return:\n- A dictionary or a list of dictionaries containing result. If the input is a ...
2025-01-23T18:22:32
vercel/next.js
3dd7f3859aaf482c12acc3ec1f9bd528e31501af
01d40c39616ae28d71a0b3470af97c76b8e33c1b
Fix a warning with 'use client' (#211)
[ { "path": "crates/turbopack-ecmascript/src/analyzer/imports.rs", "patch": "@@ -280,7 +280,6 @@ impl Visit for Analyzer<'_> {\n }\n }\n }\n- self.data.reexports.push((i, Reexport::Star));\n }\n }\n ", "additions": 0, "deletions": ...
2022-10-24T02:02:48
electron/electron
9ad77c4a3803060cef8ec8f21db870075c550076
4c9870e75333c720018e71c0ed3bea9b548217d5
Implement undocked dev tools on Windows DevToolsWindow represents a vanilla top-level window that shows the dev tools. It uses ui::WindowImpl to implement window functionality, which requires a newer libchromiumcontent which contains the necessary headers for using that class, and requires some modifications to bright...
[ { "path": "brightray/brightray.gyp", "patch": "@@ -50,6 +50,8 @@\n 'browser/notification_presenter_mac.mm',\n 'browser/url_request_context_getter.cc',\n 'browser/url_request_context_getter.h',\n+ 'browser/win/devtools_window.cc',\n+ 'browser/win/devtools_window.h',\n ...
2013-06-04T18:31:37
nodejs/node
d3edf2fcde0c37206dc339aab7333212d20aa0f1
95197ed2b052b1fee312cfc127a9f67844dd77b7
src: limit foreground tasks draining loop Foreground tasks that repost themselves can force the draining loop to run indefinitely long without giving other tasks chance to run. This limits the foreground task draining loop to run only the tasks that were in the tasks queue at the beginning of the loop. PR-URL: https...
[ { "path": "node.gyp", "patch": "@@ -961,6 +961,7 @@\n 'test/cctest/test_base64.cc',\n 'test/cctest/test_node_postmortem_metadata.cc',\n 'test/cctest/test_environment.cc',\n+ 'test/cctest/test_platform.cc',\n 'test/cctest/test_util.cc',\n 'test/cctest/test_url.c...
2018-04-12T20:01:11
golang/go
860704317e02d699e4e4a24103853c4782d746c1
0089f8b2f5a4e3db944cf4b61314bdef45fa1b81
crypto/tls: add HandshakeContext method to Conn Adds the (*tls.Conn).HandshakeContext method. This allows us to pass the context provided down the call stack to eventually reach the tls.ClientHelloInfo and tls.CertificateRequestInfo structs. These contexts are exposed to the user as read-only via Context() methods. T...
[ { "path": "doc/go1.17.html", "patch": "@@ -79,6 +79,23 @@ <h2 id=\"library\">Core library</h2>\n TODO: complete this section\n </p>\n \n+<h3 id=\"crypto/tls\"><a href=\"/pkg/crypto/tls\">crypto/tls</a></h3>\n+\n+<p><!-- CL 295370 -->\n+ <a href=\"/pkg/crypto/tls#Conn.HandshakeContext\">(*Conn).HandshakeC...
2020-08-01T11:18:31
rust-lang/rust
dd21b6eceae0676e40c75eeaa350b8b487a823cc
0cd5b6261aa58582b73562de55143b3b98a9141e
book: indicate that at least one error marker is required This is a recent change, and no error marker is inserted by default in the file generated by `cargo dev new_lint`.
[ { "path": "book/src/development/adding_lints.md", "patch": "@@ -126,10 +126,14 @@ fn main() {\n ```\n \n Note that we are adding comment annotations with the name of our lint to mark\n-lines where we expect an error. Once we have implemented our lint we can run\n-`TESTNAME=foo_functions cargo uibless` to ge...
2025-04-11T08:00:44
huggingface/transformers
328e2ae4c0ca0919ef0db68bfea3a8f4517d30b4
d2a424b55027ba1e26056a0504a3169e67697307
fix apply_chat_template() padding choice (#35828) fix apply_chat_template() padding choice to bool, str, PaddingStrategy and the docstring of pad()
[ { "path": "src/transformers/tokenization_utils_base.py", "patch": "@@ -1533,7 +1533,7 @@ def apply_chat_template(\n add_generation_prompt: bool = False,\n continue_final_message: bool = False,\n tokenize: bool = True,\n- padding: bool = False,\n+ padding: Union[bool, st...
2025-01-23T17:32:32