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 |
|---|---|---|---|---|---|
electron/electron | 7b47a6152de7bac94f137f655077fabe2f044a25 | d0566e6e053bb485133ba2e9c556b482ee802243 | Fix cpplint errors in media_capture_devices_dispatcher.cc | [
{
"path": "brightray/browser/media/media_capture_devices_dispatcher.cc",
"patch": "@@ -28,7 +28,7 @@ const content::MediaStreamDevice* FindDeviceWithId(\n }\n }\n return NULL;\n-};\n+}\n \n } // namespace\n \n@@ -153,7 +153,6 @@ void MediaCaptureDevicesDispatcher::OnMediaRequestStateChanged(\n ... | 2013-11-18T00:14:08 |
golang/go | 3d5e3a15f65f1dd622c87ffba58914c877c8112c | c27991bf5b5a0c8b7383650309d10913eb0497c4 | debug/pe: replace os.MkdirTemp with T.TempDir
Updates #45402
Change-Id: I3d83a66270ca38e82d6bb7f8a1367af3d5343a98
Reviewed-on: https://go-review.googlesource.com/c/go/+/309352
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org> | [
{
"path": "src/debug/pe/file_test.go",
"patch": "@@ -353,11 +353,7 @@ func testDWARF(t *testing.T, linktype int) {\n \t}\n \ttestenv.MustHaveGoRun(t)\n \n-\ttmpdir, err := os.MkdirTemp(\"\", \"TestDWARF\")\n-\tif err != nil {\n-\t\tt.Fatal(err)\n-\t}\n-\tdefer os.RemoveAll(tmpdir)\n+\ttmpdir := t.TempDir()\... | 2021-04-12T20:49:07 |
rust-lang/rust | 4b5940ad77cf9a95cf78bef1ecc6fa84ef1fc0ce | 0d773175cc41901f1a558a9b45239c67c3fa0df6 | Fix overflow operations | [
{
"path": "src/int.rs",
"patch": "@@ -404,7 +404,7 @@ impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {\n \n let ret_indirect = matches!(fn_abi.ret.mode, PassMode::Indirect { .. });\n \n- let result = if ret_indirect {\n+ let call = if ret_indirect {\n let res_value = self.cur... | 2025-04-15T16:51:28 |
vercel/next.js | 7fd0f7752a7392343a141ca2dc8aca8211054de8 | 086d4340397ca6456c4cc48d55d6e9795223ebcd | Reuse file when shared by several google font variants (#42480)
If a Google font is available as a variable font - the different variants may reuse the same file when you ask for specific variants. Make sure to reuse the same file and don't make additional requests.
## Bug
- [ ] Related issues linked using `fixes #n... | [
{
"path": "packages/font/src/google/loader.ts",
"patch": "@@ -79,7 +79,12 @@ const downloadGoogleFonts: FontLoader = async ({\n currentSubset = newSubset\n } else {\n const googleFontFileUrl = /src: url\\((.+?)\\)/.exec(line)?.[1]\n- if (googleFontFileUrl) {\n+ if (\n+ googl... | 2022-11-04T18:47:42 |
huggingface/transformers | af9b2eaa54c150741f298d6db939af6328e1dc38 | a929c466d053cd51dd06f51eb17ef84495fb37c3 | chore: fix typos in language models (#36586)
* chore: fix typos in language models
* chore: fix typos in mistral model
* chore: fix model copy from issue
* chore: fix model copy from issue
* chore: fix model copy from issue
* chore: fix model copy from issue
* chore: fix model copy from issue | [
{
"path": "src/transformers/models/aria/modeling_aria.py",
"patch": "@@ -1094,7 +1094,7 @@ def _prepare_4d_causal_attention_mask_with_cache_position(\n dtype (`torch.dtype`):\n The dtype to use for the 4D attention mask.\n device (`torch.device`):\n- Th... | 2025-03-10T15:54:49 |
nodejs/node | 15c7a49bfca1db23f4f7a3a79aea04a0075fbd62 | bd85844c4e80c7aa1fc02a986c7619c3956b0061 | http2: switch to new runtime-controlled debugging system
Remove `--debug-http2` as a compile-time feature and
make all debug statements available using `NODE_DEBUG_NATIVE=http2`
at runtime.
This probably makes the debugging-enabled case a bit slower due to
additional string concatenations, but switching to a runtime-... | [
{
"path": "configure",
"patch": "@@ -443,11 +443,6 @@ parser.add_option('--debug-lib',\n dest='node_debug_lib',\n help='build lib with DCHECK macros')\n \n-http2_optgroup.add_option('--debug-http2',\n- action='store_true',\n- dest='debug_http2',\n- help='build with http2 debug statements on... | 2018-05-27T14:41:35 |
rust-lang/rust | bb1e6a3193cedf6315811dd47f584b7f2e294304 | 6504f4c09ce9e3c72084e647fab8e6565d79573e | Fix tests | [
{
"path": "tests/failing-ui-tests.txt",
"patch": "@@ -31,7 +31,6 @@ tests/ui/unwind-no-uwtable.rs\n tests/ui/parser/unclosed-delimiter-in-dep.rs\n tests/ui/consts/missing_span_in_backtrace.rs\n tests/ui/drop/dynamic-drop.rs\n-tests/ui/issues/issue-40883.rs\n tests/ui/issues/issue-43853.rs\n tests/ui/issues/... | 2025-04-13T12:58:32 |
electron/electron | d0566e6e053bb485133ba2e9c556b482ee802243 | 4938fc62ad8d351f9ed25caa6c5706e9dfd7c517 | Fix cpplint errors in application_info_win.cc | [
{
"path": "brightray/common/application_info_win.cc",
"patch": "@@ -7,12 +7,16 @@\n namespace brightray {\n \n std::string GetApplicationName() {\n- auto info = make_scoped_ptr(FileVersionInfo::CreateFileVersionInfoForModule(GetModuleHandle(nullptr)));\n+ auto module = GetModuleHandle(nullptr);\n+ auto i... | 2013-11-18T00:13:44 |
golang/go | cccd3ba912ae903498e7fdc60fb47f5cb64c3570 | aad13cbb749d1e6c085ff0556d306de1a2d5d063 | internal/execabs: replace ioutil.WriteFile with os.WriteFile
Fixes #45532.
Change-Id: I844acd50d6fa1ce918969bbb52f79dd7412d289f
Reviewed-on: https://go-review.googlesource.com/c/go/+/309350
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@gola... | [
{
"path": "src/internal/execabs/execabs_test.go",
"patch": "@@ -42,7 +42,7 @@ func TestCommand(t *testing.T) {\n \t\t\texecutable += \".exe\"\n \t\t}\n \t\tif err := os.WriteFile(filepath.Join(tmpDir, executable), []byte{1, 2, 3}, 0111); err != nil {\n-\t\t\tt.Fatalf(\"ioutil.WriteFile failed: %s\", err)\n+... | 2021-04-12T19:46:14 |
vercel/next.js | cf3bb583d98aeb4a1cfa75b6ce0c9bfc024c4358 | ee62acacfe682bb17d119838e1cb56cd982585f2 | Included negative matcher docs in upgrade guide (#42489)
<!--
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... | [
{
"path": "errors/middleware-upgrade-guide.md",
"patch": "@@ -67,6 +67,23 @@ export const config = {\n }\n ```\n \n+The matcher config also allows full regex so matching like negative lookaheads or character matching is supported. An example of a negative lookahead to match all except specific paths can be ... | 2022-11-04T17:20:53 |
huggingface/transformers | a929c466d053cd51dd06f51eb17ef84495fb37c3 | 858545047c05a35fde437b2ada3a901844cd1e60 | Fix auto-assign reviewers (#36631)
* Fix auto-assign reviewers
* Clean up endanchor a bit
* We don't actually need the end anchor at all | [
{
"path": ".github/scripts/assign_reviewers.py",
"patch": "@@ -17,10 +17,19 @@\n import github\n import json\n from github import Github\n-from fnmatch import fnmatch\n+import re\n from collections import Counter\n from pathlib import Path\n \n+def pattern_to_regex(pattern):\n+ start_anchor = pattern.sta... | 2025-03-10T15:52:13 |
rust-lang/rust | bc0bc8d5e1a1a38ee5a342e614e490e490bc5604 | ec44cfdfb4a74d19f522984e2e2e226a3b76df9a | Fix int_to_float_cast for f128 | [
{
"path": "src/int.rs",
"patch": "@@ -905,6 +905,7 @@ impl<'gcc, 'tcx> CodegenCx<'gcc, 'tcx> {\n let name_suffix = match self.type_kind(dest_typ) {\n TypeKind::Float => \"tisf\",\n TypeKind::Double => \"tidf\",\n+ TypeKind::FP128 => \"tixf\",\n kind => ... | 2025-03-27T19:36:15 |
nodejs/node | bd85844c4e80c7aa1fc02a986c7619c3956b0061 | eadcee11372d8228bcb203a9ab97a5f7d61d4809 | src: implement debug output utilities
Implement utilities for easier debugging of Node.js core code,
inspired by the HTTP/2 debugging code. Debugging is, however,
implemented at runtime rather than at compile time, controlled
through a new `NODE_DEBUG_NATIVE=categories` environment variable.
The runtime overhead in t... | [
{
"path": "node.gyp",
"patch": "@@ -374,6 +374,7 @@\n 'src/base_object-inl.h',\n 'src/connection_wrap.h',\n 'src/connect_wrap.h',\n+ 'src/debug_utils.h',\n 'src/env.h',\n 'src/env-inl.h',\n 'src/handle_wrap.h',",
"additions": 1,
"deletions": 0,
... | 2018-05-27T14:37:30 |
electron/electron | 4938fc62ad8d351f9ed25caa6c5706e9dfd7c517 | 1595940723e9378aa0ced3bdfe6e2e23979d5361 | Fix most cpplint errors in inspectable_web_contents_view_linux.cc | [
{
"path": "brightray/browser/linux/inspectable_web_contents_view_linux.cc",
"patch": "@@ -1,4 +1,4 @@\n-#include \"inspectable_web_contents_view_linux.h\"\n+#include \"browser/linux/inspectable_web_contents_view_linux.h\"\n #include <glib-object.h>\n #include <gtk/gtk.h>\n \n@@ -10,12 +10,15 @@\n \n namespa... | 2013-11-18T00:12:50 |
golang/go | aad13cbb749d1e6c085ff0556d306de1a2d5d063 | 5c9b6e8e63e012513b1cb1a4a08ff23dec4137a1 | runtime: non-strict InlTreeIndex lookup in expandFinalInlineFrame
This is a follow-up to golang.org/cl/301369, which made the same change
in Frames.Next. The same logic applies here: a profile stack may have
been truncated at an invalid PC provided by cgoTraceback.
expandFinalInlineFrame will then try to lookup the in... | [
{
"path": "src/runtime/symtab.go",
"patch": "@@ -185,7 +185,9 @@ func runtime_expandFinalInlineFrame(stk []uintptr) []uintptr {\n \tvar cache pcvalueCache\n \tinltree := (*[1 << 20]inlinedCall)(inldata)\n \tfor {\n-\t\tix := pcdatavalue(f, _PCDATA_InlTreeIndex, tracepc, &cache)\n+\t\t// Non-strict as cgoTra... | 2021-04-09T21:01:45 |
vercel/next.js | 4ffde56eceb072ad9799b122e15d9956f8643e21 | ef73798e4557a8f203f814afe0908e041b2792b2 | Update response-helpers.md (#42378)
## 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 for implementa... | [
{
"path": "docs/api-routes/response-helpers.md",
"patch": "@@ -98,6 +98,8 @@ export default function handler(\n }\n ```\n \n+> Note: The body of `NextApiRequest` is `any` because the client may include any payload. You should validate the type/shape of the body at runtime before using it.\n+\n To view more ... | 2022-11-04T05:37:40 |
huggingface/transformers | 94ae1ba5b55e79ba766582de8a199d8ccf24a021 | a1cf9f33908a60ba74366c575e0e6942b588be69 | Fix check for XPU. PyTorch >= 2.6 no longer needs ipex. (#36593) | [
{
"path": "src/transformers/utils/import_utils.py",
"patch": "@@ -896,17 +896,19 @@ def get_major_and_minor_from_version(full_version):\n @lru_cache\n def is_torch_xpu_available(check_device=False):\n \"\"\"\n- Checks if XPU acceleration is available either via `intel_extension_for_pytorch` or\n- ... | 2025-03-07T14:09:35 |
rust-lang/rust | ec44cfdfb4a74d19f522984e2e2e226a3b76df9a | ecf0a1eea3714a9c9f79bf1f3a53e6feb6c631f5 | Fix tests | [
{
"path": "example/mini_core.rs",
"patch": "@@ -138,6 +138,14 @@ impl Mul for u8 {\n }\n }\n \n+impl Mul for i32 {\n+ type Output = Self;\n+\n+ fn mul(self, rhs: Self) -> Self::Output {\n+ self * rhs\n+ }\n+}\n+\n impl Mul for usize {\n type Output = Self;\n \n@@ -248,6 +256,14 @@ im... | 2025-03-27T19:28:31 |
electron/electron | 1595940723e9378aa0ced3bdfe6e2e23979d5361 | 0271ff1964186d3341880a0d23e6712e04a4b2d1 | Fix cpplint errors in devtools_window.cc | [
{
"path": "brightray/browser/win/devtools_window.cc",
"patch": "@@ -8,7 +8,8 @@\n \n namespace brightray {\n \n-DevToolsWindow* DevToolsWindow::Create(InspectableWebContentsViewWin* controller) {\n+DevToolsWindow* DevToolsWindow::Create(\n+ InspectableWebContentsViewWin* controller) {\n return new DevT... | 2013-11-18T00:05:21 |
nodejs/node | a25730bda39b862da24a1dd633574cfebb926ee1 | 6d5847917c50751608d263e3cd59bc1d66d6e1e9 | util: fix inspection of module namespaces
PR-URL: https://github.com/nodejs/node/pull/20962
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> | [
{
"path": "lib/util.js",
"patch": "@@ -478,7 +478,23 @@ function formatValue(ctx, value, recurseTimes) {\n if (ctx.showHidden) {\n keys = Object.getOwnPropertyNames(value);\n } else {\n- keys = Object.keys(value);\n+ // This might throw if `value` is a Module Namespace Object from an\n+ // ... | 2018-05-25T13:36:26 |
golang/go | 3e8ba91275cdeb0af4c8b30f9cc788fd42cfbbd3 | 1b736b3c19375f6ebd0d834c02316fb13700be27 | mime: support reading shared mime-info database on unix systems
This adds support for reading the FreeDesktop Shared MIME-info Database on Unix systems, if it exists.
It should make lookups work on systems where the mime.types files are not present and
should lead to better mimetype lookup in general. If the shared mi... | [
{
"path": "src/mime/testdata/test.types.globs2",
"patch": "@@ -0,0 +1,8 @@\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+# mime package test for globs2\n+50:document/test:*.t3\n+50:exa... | 2021-04-09T14:57:59 |
vercel/next.js | ef73798e4557a8f203f814afe0908e041b2792b2 | 428624f6211b19c219bcc1bad14b79858693b15e | Docs: Fix invalid tsconfig importSource syntax (#42465) | [
{
"path": "docs/advanced-features/compiler.md",
"patch": "@@ -198,14 +198,14 @@ First, update to the latest version of Next.js: `npm install next@latest`. Then,\n \n ### importSource\n \n-Next.js will automatically detect `jsxImportSource` in `jsconfig.json` or `tsconfig.json` and apply that. This is common... | 2022-11-04T01:54:28 |
huggingface/transformers | a1cf9f33908a60ba74366c575e0e6942b588be69 | 4fce7a0f0ff7976e9d4a496a7d9505054deb8820 | Fixed datatype related issues in `DataCollatorForLanguageModeling` (#36457)
Fixed 2 issues regarding `tests/trainer/test_data_collator.py::TFDataCollatorIntegrationTest::test_all_mask_replacement`:
1. I got the error `RuntimeError: "bernoulli_tensor_cpu_p_" not implemented for 'Long'`. This is because the `mask_replac... | [
{
"path": "src/transformers/data/data_collator.py",
"patch": "@@ -843,6 +843,10 @@ def __post_init__(self):\n if self.random_replace_prob < 0 or self.random_replace_prob > 1:\n raise ValueError(\"random_replace_prob should be between 0 and 1.\")\n \n+ self.mlm_probability = float(... | 2025-03-07T14:09:27 |
rust-lang/rust | 5cf2bbc4e2c82961f2e82fbacc39fcf5f332e371 | f9822772e8781ed30a89aa4494e47c42b4397133 | Fix clippy warnings | [
{
"path": "src/abi.rs",
"patch": "@@ -251,6 +251,8 @@ pub fn conv_to_fn_attribute<'gcc>(conv: Conv, arch: &str) -> Option<FnAttribute<\n Conv::PreserveMost => return None,\n Conv::PreserveAll => return None,\n Conv::GpuKernel => {\n+ // TODO(antoyo): remove clippy allow at... | 2025-03-27T18:34:44 |
nodejs/node | 6d5847917c50751608d263e3cd59bc1d66d6e1e9 | e5a3579a50a7095c337da25054c9c610a3484779 | test: mark test-fs-readfile-tostring-fail as flaky
test-fs-readfile-tostring-fail is failing frequently on OSX machines.
There's a PR to fix this issue in libuv, but while the fix don't land on
Node.js this test should be marked as flaky.
Ref: https://github.com/nodejs/node/issues/16601
Ref: https://github.com/libuv/... | [
{
"path": "test/sequential/sequential.status",
"patch": "@@ -15,6 +15,9 @@ test-inspector-async-hook-setup-at-signal: PASS, FLAKY\n [$system==linux]\n \n [$system==macos]\n+# This test will be flaky until https://github.com/libuv/libuv/pull/1742 lands\n+# on Node.js.\n+test-fs-readfile-tostring-fail: PASS,... | 2018-05-29T14:50:46 |
electron/electron | 0271ff1964186d3341880a0d23e6712e04a4b2d1 | ae504c319eed27b1605f9d9c03c0283d24d66e72 | Fix cpplint errors in inspectable_web_contents_view_win.h | [
{
"path": "brightray/browser/win/inspectable_web_contents_view_win.h",
"patch": "@@ -12,18 +12,21 @@ class DevToolsWindow;\n class InspectableWebContentsImpl;\n \n class InspectableWebContentsViewWin : public InspectableWebContentsView {\n-public:\n- InspectableWebContentsViewWin(InspectableWebContentsImpl... | 2013-11-18T00:03:41 |
vercel/next.js | 428624f6211b19c219bcc1bad14b79858693b15e | 670f2a8a6d2e96cd488c72842e535c41d3dd7b50 | Fix Static Generation link on Pages page (#42462)
Co-authored-by: Balázs Orbán <info@balazsorban.com> | [
{
"path": "docs/basic-features/pages.md",
"patch": "@@ -34,7 +34,7 @@ Each generated HTML is associated with minimal JavaScript code necessary for tha\n \n Next.js has two forms of pre-rendering: **Static Generation** and **Server-side Rendering**. The difference is in **when** it generates the HTML for a p... | 2022-11-04T01:54:16 |
golang/go | 1b736b3c19375f6ebd0d834c02316fb13700be27 | a25a77aed2d76b0aebff8892477f27283398a932 | runtime: consolidate "is sweep done" conditions
The runtime currently has two different notions of sweep completion:
1. All spans are either swept or have begun sweeping.
2. The sweeper has *finished* sweeping all spans.
Having both is confusing (it doesn't help that the documentation is
often unclear or wrong). Co... | [
{
"path": "src/runtime/mgc.go",
"patch": "@@ -175,7 +175,7 @@ func gcinit() {\n \t}\n \n \t// No sweep on the first cycle.\n-\tmheap_.sweepdone = 1\n+\tmheap_.sweepDrained = 1\n \n \t// Set a reasonable initial GC trigger.\n \tmemstats.triggerRatio = 7 / 8.0\n@@ -1187,7 +1187,7 @@ func GC() {\n \t// First, ... | 2021-04-06T23:25:28 |
huggingface/transformers | 1b9978c36095630e6d1c34e06073a1ddf5a298ab | f2e197c30a8fcecfa5e88b5ec6173e460ddaddb8 | Update chat_extras.md with content correction (#36599)
Update chat_extras.md - content
Fixed a typo in the content, that may confuse the readers. | [
{
"path": "docs/source/en/chat_extras.md",
"patch": "@@ -146,7 +146,7 @@ print(tokenizer.decode(out[0][len(inputs[\"input_ids\"][0]):]))\n \n ## Schema\n \n-[`~PreTrainedTokenizerBase.apply_chat_template`] converts functions into a [JSON schema](https://json-schema.org/learn/getting-started-step-by-step) wh... | 2025-03-07T13:09:02 |
rust-lang/rust | f9822772e8781ed30a89aa4494e47c42b4397133 | 9a453d46f42c40b91d004064a4cc12f7c28c7fc7 | Fix libcore tests | [
{
"path": "build_system/src/test.rs",
"patch": "@@ -678,7 +678,7 @@ fn test_projects(env: &Env, args: &TestArg) -> Result<(), String> {\n fn test_libcore(env: &Env, args: &TestArg) -> Result<(), String> {\n // FIXME: create a function \"display_if_not_quiet\" or something along the line.\n println!(... | 2025-03-27T18:33:38 |
electron/electron | ae504c319eed27b1605f9d9c03c0283d24d66e72 | 073b1c164bb9b8532e1e19a2f56b2fa09ef89919 | Fix cpplint errors in content_client.h | [
{
"path": "brightray/common/content_client.h",
"patch": "@@ -11,14 +11,15 @@\n namespace brightray {\n \n class ContentClient : public content::ContentClient {\n-public:\n+ public:\n ContentClient();\n ~ContentClient();\n \n-private:\n+ private:\n virtual std::string GetProduct() const OVERRIDE;\n v... | 2013-11-18T00:03:09 |
huggingface/transformers | f2e197c30a8fcecfa5e88b5ec6173e460ddaddb8 | 8a16edce671e28a20f5469be66c7e097fb4fce33 | Github action for auto-assigning reviewers (#35846)
* First draft of github action on PR opening for auto-assigning reviewers
* fix missing import
* Don't reassign reviewers if we already have them
* Temporarily comment out the opened line so we can test the script
* Correct path for codeowners file
* Update work... | [
{
"path": ".github/scripts/assign_reviewers.py",
"patch": "@@ -0,0 +1,87 @@\n+# coding=utf-8\n+# Copyright 2025 the HuggingFace Inc. team. All rights reserved.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# Y... | 2025-03-07T12:18:49 |
nodejs/node | 2cd3e61b2f222c1e9e396dce6310203fdd960143 | 72ccafdd1084d9dfec8be91daef58e48a6b6368e | fs: ensure options.flag defaults to 'r' in readFile
When passing {} or { encoding: 'utf8' } as options to readFile, the
flag is not defaulted to 'r' unlike normal fs. This fix makes
fs.promises.readFile() act consistent with fs.readFile().
It also fixes another issue with fs.promises.readfile() where it
returned a Bu... | [
{
"path": "lib/internal/fs/promises.js",
"patch": "@@ -138,7 +138,7 @@ async function readFileHandle(filehandle, options) {\n }\n \n if (size === 0)\n- return Buffer.alloc(0);\n+ return options.encoding ? '' : Buffer.alloc(0);\n \n if (size > kMaxLength)\n throw new ERR_FS_FILE_TOO_LARGE(siz... | 2018-05-09T16:48:30 |
golang/go | a25a77aed2d76b0aebff8892477f27283398a932 | 07b2fee4607aa6c710411a7ac404f18be4dff6f7 | runtime: block sweep completion on all sweep paths
The runtime currently has two different notions of sweep completion:
1. All spans are either swept or have begun sweeping.
2. The sweeper has *finished* sweeping all spans.
Most things depend on condition 1. Notably, GC correctness depends on
condition 1, but since... | [
{
"path": "src/runtime/mcentral.go",
"patch": "@@ -81,8 +81,6 @@ func (c *mcentral) cacheSpan() *mspan {\n \tspanBytes := uintptr(class_to_allocnpages[c.spanclass.sizeclass()]) * _PageSize\n \tdeductSweepCredit(spanBytes, 0)\n \n-\tsg := mheap_.sweepgen\n-\n \ttraceDone := false\n \tif trace.enabled {\n \t\... | 2021-04-02T19:54:24 |
vercel/next.js | eb0d9f5e62b6f6aad5fc1d4b2a1f39c65f727682 | c0a8c881600d11c63e90c660a8dba7131d7a6611 | Remove static generation bail-out from usePathname (#42440)
x-ref: [slack
thread](https://vercel.slack.com/archives/C035J346QQL/p1667504961058549)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Featu... | [
{
"path": "packages/next/client/components/navigation.ts",
"patch": "@@ -87,7 +87,6 @@ export function useSearchParams() {\n * Get the current pathname. For example usePathname() on /dashboard?foo=bar would return \"/dashboard\"\n */\n export function usePathname(): string | null {\n- staticGenerationBai... | 2022-11-03T21:56:57 |
rust-lang/rust | be75a58538154cbe901efea7807d7830d3d064c4 | cc81c706e460c2d8a97a7006664136b62fd2c59e | Fix compilation | [
{
"path": "src/abi.rs",
"patch": "@@ -9,7 +9,7 @@ use rustc_middle::ty::Ty;\n use rustc_middle::ty::layout::LayoutOf;\n #[cfg(feature = \"master\")]\n use rustc_session::config;\n-use rustc_target::abi::call::{ArgAttributes, CastTarget, FnAbi, PassMode};\n+use rustc_target::callconv::{ArgAttributes, CastTar... | 2025-04-13T11:48:56 |
huggingface/transformers | 8a16edce671e28a20f5469be66c7e097fb4fce33 | 6f775970c7713d04d238a2e63a0a0ea4d5e87ba7 | Export base streamer. (#36500)
* Export base streamer.
Previously, the base streamer class was not exported so the set of available streamers was fixed to 3 streamer classes.
This change makes it so that customers may extend the default base streamer class.
* make fixup
---------
Co-authored-by: Joao Gante <j... | [
{
"path": "src/transformers/generation/__init__.py",
"patch": "@@ -26,7 +26,7 @@\n \"SynthIDTextWatermarkingConfig\",\n \"WatermarkingConfig\",\n ],\n- \"streamers\": [\"AsyncTextIteratorStreamer\", \"TextIteratorStreamer\", \"TextStreamer\"],\n+ \"streamers\": [\"AsyncTextIterator... | 2025-03-07T11:16:09 |
electron/electron | 073b1c164bb9b8532e1e19a2f56b2fa09ef89919 | 779dfd2bafafee0a1b2d815f0f4d929c39345af2 | Fix cpplint errors in inspectable_web_contents_view_win.cc | [
{
"path": "brightray/browser/win/inspectable_web_contents_view_win.cc",
"patch": "@@ -15,11 +15,13 @@ const int kWindowInset = 100;\n \n }\n \n-InspectableWebContentsView* CreateInspectableContentsView(InspectableWebContentsImpl* inspectable_web_contents) {\n+InspectableWebContentsView* CreateInspectableCon... | 2013-11-18T00:02:49 |
golang/go | 07b2fee4607aa6c710411a7ac404f18be4dff6f7 | 849dba07a5392d2f137deeaa9e797f907c00d0bd | cmd/link: fix TestLargeText
This test is not run in short mode so it was getting
failures that didn't happen with default testing. See
the issue for details on the failures.
Fixes #45406
Change-Id: I51d97cc4c910fe3ba2bc0a12742023a57d101f44
Reviewed-on: https://go-review.googlesource.com/c/go/+/308935
Run-TryBot: Lyn... | [
{
"path": "src/cmd/link/linkbig_test.go",
"patch": "@@ -14,7 +14,6 @@ import (\n \t\"fmt\"\n \t\"internal/testenv\"\n \t\"io/ioutil\"\n-\t\"os\"\n \t\"os/exec\"\n \t\"testing\"\n )\n@@ -29,6 +28,10 @@ func TestLargeText(t *testing.T) {\n \tconst FN = 4\n \ttmpdir := t.TempDir()\n \n+\tif err := ioutil.Write... | 2021-04-09T15:41:27 |
nodejs/node | 72ccafdd1084d9dfec8be91daef58e48a6b6368e | bea6238136d3ee2960061fb2953a29f0b9aaf47e | test: mark test-child-process-fork-net as flaky
`flaky-test-child-process-fork-net` has been failing constantly for the
past few days, and all solutions suggestes so far were didn't work.
Marking it as faky while the issue is not fixed.
Ref: https://github.com/nodejs/node/pull/21012
Ref: https://github.com/nodejs/nod... | [
{
"path": "test/parallel/parallel.status",
"patch": "@@ -9,6 +9,7 @@ prefix parallel\n test-postmortem-metadata: PASS,FLAKY\n \n [$system==win32]\n+test-child-process-fork-net: PASS,FLAKY\n \n [$system==linux]\n ",
"additions": 1,
"deletions": 0,
"language": "Unknown"
}
] | 2018-05-29T19:03:32 |
vercel/next.js | c0a8c881600d11c63e90c660a8dba7131d7a6611 | 0eed10760da90dad999f509fcfb5d56b2a3008e9 | Fix undici warning showing unexpectedly (#42444)
Fixes: https://github.com/vercel/next.js/issues/42441
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature re... | [
{
"path": "packages/next/server/config.ts",
"patch": "@@ -59,7 +59,11 @@ const experimentalWarning = execOnce(\n \n export function setHttpClientAndAgentOptions(config: NextConfig) {\n if (isAboveNodejs16) {\n- if (config.experimental?.enableUndici && isAboveNodejs18) {\n+ if (\n+ config.experi... | 2022-11-03T21:30:57 |
rust-lang/rust | cc81c706e460c2d8a97a7006664136b62fd2c59e | c1d21003bb6d9f1f1bd3f0e5f6edc453c602dcad | Fix patches | [
{
"path": "patches/0022-core-Disable-not-compiling-tests.patch",
"patch": "@@ -1,44 +0,0 @@\n-From af0e237f056fa838c77463381a19b0dc993c0a35 Mon Sep 17 00:00:00 2001\n-From: None <none@example.com>\n-Date: Sun, 1 Sep 2024 11:42:17 -0400\n-Subject: [PATCH] Disable not compiling tests\n-\n----\n- library/core/... | 2025-03-27T13:22:28 |
huggingface/transformers | 6f775970c7713d04d238a2e63a0a0ea4d5e87ba7 | 51ed61e2f05176f81fa7c9decba10cc28e138f61 | avoid errors when the size of `input_ids` passed to `PrefixConstrainedLogitsProcessor` is zero (#36489)
* avoid errors when the size of `input_ids` passed to PrefixConstrainedLogitsProcessor is zero
* use more reasonable process
* avoid early return
---------
Co-authored-by: Joao Gante <joaofranciscocardosogante@g... | [
{
"path": "src/transformers/generation/logits_process.py",
"patch": "@@ -1353,8 +1353,11 @@ def __init__(self, prefix_allowed_tokens_fn: Callable[[int, torch.Tensor], List[\n @add_start_docstrings(LOGITS_PROCESSOR_INPUTS_DOCSTRING)\n def __call__(self, input_ids: torch.LongTensor, scores: torch.Floa... | 2025-03-07T11:02:49 |
electron/electron | 779dfd2bafafee0a1b2d815f0f4d929c39345af2 | 51a2779fdbc4f9d94286302670bb116a1962d980 | Fix most cpplint errors in devtools_window.h
It's still complaining about the non-const reference in BOOL&. | [
{
"path": "brightray/browser/win/devtools_window.h",
"patch": "@@ -8,9 +8,11 @@ namespace brightray {\n \n class InspectableWebContentsViewWin;\n \n-class DevToolsWindow : public ui::WindowImpl, public base::SupportsWeakPtr<DevToolsWindow> {\n+class DevToolsWindow : public ui::WindowImpl,\n+ ... | 2013-11-18T00:01:36 |
nodejs/node | 62c8fb33a6d72dbc6c7950eb459b447e79ac9296 | 9ae658e362b24df8eff0afab1ccf762171bc88cd | doc: make constants enumeration consistent
Add missing prefix `crypto.constants.` to `RSA_PKCS1_PADDING`
in `crypto.privateEncrypt()`, `crypto.privateDecrypt()`,
`crypto.publicEncrypt()`, and `crypto.publicDecrypt()`.
PR-URL: https://github.com/nodejs/node/pull/20991
Reviewed-By: Weijia Wang <starkwang@126.com>
Revie... | [
{
"path": "doc/api/crypto.md",
"patch": "@@ -1902,7 +1902,8 @@ added: v0.11.14\n - `passphrase` {string} An optional passphrase for the private key.\n - `padding` {crypto.constants} An optional padding value defined in\n `crypto.constants`, which may be: `crypto.constants.RSA_NO_PADDING`,\n- `RSA... | 2018-05-28T01:33:48 |
vercel/next.js | 0eed10760da90dad999f509fcfb5d56b2a3008e9 | 1f55ba357fe6f51ba7e4e5c26c9cc1942ea97e31 | Fix invalid markdown lang (#42442)
x-ref: [slack
thread](https://vercel.slack.com/archives/C02F56A54LU/p1667507770684919)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an... | [
{
"path": "docs/basic-features/font-optimization.md",
"patch": "@@ -91,17 +91,18 @@ export default function MyApp({ Component, pageProps }) {\n \n To use the font on a single page, add it to the specific page as shown below:\n \n-```js:pages/index.js\n-import { Inter } from '@next/font/google';\n+```js\n+//... | 2022-11-03T20:47:14 |
golang/go | 8b859be9c3fd1068b659afa1db76dadb210c63de | 2fa7163b06a1b483598eb0ee827c78ef0d32ba33 | internal/poll: ensure that newPoolPipe doesn't return a nil pointer
The function could occasionally return a nil pointer as a non-nil
interface, confusing the calling code.
Fixes #45520
Change-Id: Ifd35613728efa2cee9903177e85d369155074804
Reviewed-on: https://go-review.googlesource.com/c/go/+/309429
Trust: Ian Lance... | [
{
"path": "src/internal/poll/splice_linux.go",
"patch": "@@ -169,9 +169,10 @@ func newPoolPipe() interface{} {\n \t// Discard the error which occurred during the creation of pipe buffer,\n \t// redirecting the data transmission to the conventional way utilizing read() + write() as a fallback.\n \tp := newPi... | 2021-04-12T17:02:37 |
huggingface/transformers | 159445d044623a4eba23ceb96dc7bd5bda51aa1a | 5275ef6f3d4a1a78a25e958496cde48fd0257dc2 | fix: argument (#36558)
https://github.com/huggingface/transformers/blob/752ef3fd4e70869626ec70657a770a85c0ad9219/utils/modular_model_converter.py#L1729 | [
{
"path": "docs/source/en/modular_transformers.md",
"patch": "@@ -24,7 +24,7 @@ A linter \"unravels\" the modular file into a `modeling.py` file to preserve the s\n Run the command below to automatically generate a `modeling.py` file from a modular file.\n \n ```bash\n-python utils/modular_model_converter.p... | 2025-03-06T21:11:19 |
rust-lang/rust | d1178faa9394579a1befd2cbf9e4ecc7aeb7432b | d20f84847886389e25c0669dc48a8890491793df | tests: refine disable reason for `tests/debuginfo/drop-locations.rs` | [
{
"path": "tests/debuginfo/drop-locations.rs",
"patch": "@@ -1,5 +1,7 @@\n //@ ignore-android\n-//@ ignore-test: #128971\n+\n+// FIXME: stepping with \"next\" in a debugger skips past end-of-scope drops\n+//@ ignore-test (broken, see #128971)\n \n #![allow(unused)]\n ",
"additions": 3,
"deletions": ... | 2025-04-17T09:01:14 |
electron/electron | 51a2779fdbc4f9d94286302670bb116a1962d980 | 32f4862e56e911dd6be9d4cae1ac2de1c6b87755 | Fix cpplint errors in main_delegate.cc | [
{
"path": "brightray/common/main_delegate.cc",
"patch": "@@ -53,8 +53,10 @@ void MainDelegate::InitializeResourceBundle() {\n \n std::vector<base::FilePath> pak_paths;\n AddPakPaths(&pak_paths);\n- for (auto it = pak_paths.begin(), end = pak_paths.end(); it != end; ++it)\n- ui::ResourceBundle::GetSh... | 2013-11-17T23:58:25 |
golang/go | 5d80f8a82b1fc3261bb4279f1426a9767b654e92 | 33d99905daee9fc847ceb9e2a7e9a26427b7b41d | runtime: replace outdated documentation link in Windows' nanotime
Fixes #45498
Change-Id: I89365f3517bc84376f0f580c64a57f38aaba0cbb
Reviewed-on: https://go-review.googlesource.com/c/go/+/308997
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Alex Brainman <alex.brainman@gmail.com> | [
{
"path": "src/runtime/sys_windows_386.s",
"patch": "@@ -400,7 +400,9 @@ TEXT runtime·switchtothread(SB),NOSPLIT,$0\n \tMOVL\tBP, SP\n \tRET\n \n-// See https://www.dcl.hpi.uni-potsdam.de/research/WRK/2007/08/getting-os-information-the-kuser_shared_data-structure/\n+// See https://wrkhpi.wordpress.com/2007/... | 2021-04-11T10:13:11 |
vercel/next.js | e74de1a46c0353c5ba8266b6aed90bcf6f8da059 | 21b6654edd4c3534a909739ea9139e5a461d60a1 | Clarify app and pages file conflicting files (#42415)
Improvement to how the `app` and `pages` files conflict is shown.
Especially the last log line `"pages/" - "app/"` made it seem like you
should remove the `pages` folder altogether. This was a bug in how the
`''` case was displayed. After having a look at this I... | [
{
"path": "packages/next/build/index.ts",
"patch": "@@ -576,36 +576,42 @@ export default async function build(\n })\n )\n \n- const pageKeys = {\n- pages: Object.keys(mappedPages),\n- app: mappedAppPages\n- ? Object.keys(mappedAppPages).map(\n- (key... | 2022-11-03T19:50:39 |
nodejs/node | 9ae658e362b24df8eff0afab1ccf762171bc88cd | 148b8ad9f3c4cf6cbab9374d5bdec2f2d5ef0885 | 2018-05-29, Version 10.3.0 (Current)
Notable Changes:
* **deps**:
- upgrade npm to 6.1.0 (Rebecca Turner)
https://github.com/nodejs/node/pull/20190
* **fs**:
- fix reads with pos \> 4GB (Mathias Buus)
https://github.com/nodejs/node/pull/21003
* **net**:
- new option to allow IPC servers to be readable a... | [
{
"path": "CHANGELOG.md",
"patch": "@@ -33,7 +33,8 @@ release.\n </tr>\n <tr>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.2.1\">10.2.1</a></b><br/>\n+<b><a href=\"doc/changelogs/CHANGELOG_V10.md#10.3.0\">10.3.0</a></b><br/>\n+<a href=\"doc/changelogs/CHANGELOG_V10.md#10.2.1\"... | 2018-05-29T12:36:53 |
huggingface/transformers | c1b24c0b73f11b14f5ad2c77f68ea8b7fa214cfb | 0440dbc0e1e311615c52bd8c903d41ad9156831a | [bark] fix loading of generation config (#36587) | [
{
"path": "src/transformers/models/bark/modeling_bark.py",
"patch": "@@ -1573,6 +1573,14 @@ def __init__(self, config):\n \n self.config = config\n \n+ @classmethod\n+ def can_generate(cls) -> bool:\n+ # Bark has a unique model structure, where the external class (`BarkModel`) doesn't n... | 2025-03-06T16:55:19 |
rust-lang/rust | bf2696311be53bed4fe976bb25bed81f0d7477ce | afa859f8121bf2985362a2c8414dc71a825ccf2d | bootstrap: enable zlib for LLVM when we compile it for profiling
when compiling target LLVM with `opt-dist local` on Windows/MinGW,
profraw files are being compressed with zlib, so compiling without it
will make `llvm-profdata` complain about lacking of zlib support. this
error is shown:
`profile uses zlib compressio... | [
{
"path": "src/bootstrap/download-ci-llvm-stamp",
"patch": "@@ -1,4 +1,4 @@\n Change this file to make users of the `download-ci-llvm` configuration download\n a new version of LLVM from CI, even if the LLVM submodule hasn’t changed.\n \n-Last change is for: https://github.com/rust-lang/rust/pull/138784\n+L... | 2025-04-17T09:53:17 |
electron/electron | 32f4862e56e911dd6be9d4cae1ac2de1c6b87755 | 2c1e1b039dc0b311dbdfb0365b5126aae11e23d0 | Fix cpplint errors in main_delegate.h | [
{
"path": "brightray/common/main_delegate.h",
"patch": "@@ -5,10 +5,11 @@\n #ifndef BRIGHTRAY_COMMON_MAIN_DELEGATE_H_\n #define BRIGHTRAY_COMMON_MAIN_DELEGATE_H_\n \n+#include <vector>\n+\n #include \"base/compiler_specific.h\"\n #include \"base/memory/scoped_ptr.h\"\n #include \"content/public/app/content_... | 2013-11-17T23:57:54 |
vercel/next.js | 21b6654edd4c3534a909739ea9139e5a461d60a1 | 152f51c6bd3b3274de431f4e76307e638913b50f | Do not strip loader arg in dynamic for server components (#42426)
When `ssr: false` option is presented, we stripped the loader option for
`next/dynamic` call. But for react server components (both server and
client ones) we're using a `React.lazy` based implementation so we
shouldn't do it for them.
## Bug
... | [
{
"path": "packages/next-swc/crates/core/src/lib.rs",
"patch": "@@ -185,6 +185,7 @@ where\n next_dynamic::next_dynamic(\n opts.is_development,\n opts.is_server,\n+ opts.server_components.is_some(),\n file.name.clone(),\n opts.pages_dir.clone... | 2022-11-03T19:03:15 |
golang/go | 51a47b7ff2934b6c28ece51f6a37dc30bd37a02d | 117b1c84d3678a586c168a5f7f2f0a750c27f0c2 | cmd/go: display helpful error when module cache can't be created
Previously when the module cache specified by GOMODCACHE could not be
created an unhelpful message would be printed multiple times.
This happened because we were fetching several things in parallel then
failing to write them because we can't create the ... | [
{
"path": "src/cmd/go/internal/modfetch/cache.go",
"patch": "@@ -347,6 +347,9 @@ func GoMod(path, rev string) ([]byte, error) {\n \t\tif _, info, err := readDiskStat(path, rev); err == nil {\n \t\t\trev = info.Version\n \t\t} else {\n+\t\t\tif errors.Is(err, statCacheErr) {\n+\t\t\t\treturn nil, err\n+\t\t\... | 2021-03-24T20:24:38 |
huggingface/transformers | 0440dbc0e1e311615c52bd8c903d41ad9156831a | bc30dd1efb99f571d45b2e2131a555d09285ddd8 | Integrate SwanLab for offline/online experiment tracking and local visualization (#36433)
* add swanlab integration
* feat(integrate): add SwanLab as an optional experiment tracking tool in transformers
- Integrated SwanLab into the transformers library as an alternative for experiment tracking.
- Users can now log ... | [
{
"path": "docs/source/en/main_classes/callback.md",
"patch": "@@ -45,6 +45,7 @@ By default, `TrainingArguments.report_to` is set to `\"all\"`, so a [`Trainer`] wi\n - [`~integrations.DagsHubCallback`] if [dagshub](https://dagshub.com/) is installed.\n - [`~integrations.FlyteCallback`] if [flyte](https://fl... | 2025-03-06T16:35:30 |
nodejs/node | 397eceb6d8eae723c0edc5a9050c72b6ce98d71c | 1dae52634851c477c0cf39ccfd482c33f9243475 | test: fix worker send error
In test-child-process-fork-closed-channel-segfault.js, race condition
is observed between the server getting closed and the worker sending
a message. Accommodate the potential errors.
Earlier, the same race was observed between the client and server
and was addressed through ignoring the r... | [
{
"path": "test/parallel/test-child-process-fork-closed-channel-segfault.js",
"patch": "@@ -31,6 +31,16 @@ const server = net\n .listen(0, function() {\n const worker = cluster.fork();\n \n+ worker.on('error', function(err) {\n+ if (\n+ err.code !== 'ECONNRESET' &&\n+ err.code !=... | 2018-05-26T05:48:02 |
electron/electron | 2c1e1b039dc0b311dbdfb0365b5126aae11e23d0 | 9306fecea869fb3a7027bfe4b20f45e6048eeed9 | Fix cpplint errors in main_application_bundle.h | [
{
"path": "brightray/common/mac/main_application_bundle.h",
"patch": "@@ -9,12 +9,13 @@ class FilePath;\n \n namespace brightray {\n \n-// The \"main\" application bundle is the outermost bundle for this logical application. E.g., if you\n-// have MyApp.app and MyApp.app/Contents/Frameworks/MyApp Helper.app... | 2013-11-17T23:57:25 |
vercel/next.js | 152f51c6bd3b3274de431f4e76307e638913b50f | 8fa78a5e3cf9a70d0d9079bbae3a6d5ef5936573 | Avoid breaking useRouter() type change (#42430)
Since `useRouter()` can still be used in `pages` alone and should always
be a valid instance we shouldn't change the default return type to avoid
a breaking type change.
Fixes: https://github.com/vercel/next.js/issues/42409
## Bug
- [ ] Related issues linked u... | [
{
"path": "packages/next/client/router.ts",
"patch": "@@ -130,7 +130,7 @@ export default singletonRouter as SingletonRouter\n export { default as withRouter } from './with-router'\n \n export function useRouter(throwOnMissing: true): NextRouter\n-export function useRouter(): NextRouter | null\n+export funct... | 2022-11-03T18:54:54 |
golang/go | 117b1c84d3678a586c168a5f7f2f0a750c27f0c2 | c26f954a540a99eafac6ee3bb3b996c750aad8a4 | cmd/go/internal/work: remove '_test' from import paths in stacktraces when -trimpath is specified
ExampleFrames with -trimpath failed since the content of Frame's File
changed when -trimpath is specified.
This CL fixes the issue by adding a new field OrigImportPath to
PackageInternal, which represents the original im... | [
{
"path": "src/cmd/go/internal/load/pkg.go",
"patch": "@@ -207,6 +207,7 @@ type PackageInternal struct {\n \tBuildInfo string // add this info to package main\n \tTestmainGo *[]byte // content for _testmain.go\n \tEmbed map[string][]string // //go:embed... | 2020-12-25T17:25:13 |
nodejs/node | 1dae52634851c477c0cf39ccfd482c33f9243475 | 9f4bf4ca43bc40f68a05c87081a9bae8736515b1 | fs: fix reads with pos > 4GB
PR-URL: https://github.com/nodejs/node/pull/21003
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.col... | [
{
"path": "lib/fs.js",
"patch": "@@ -459,7 +459,7 @@ function read(fd, buffer, offset, length, position, callback) {\n \n validateOffsetLengthRead(offset, length, buffer.length);\n \n- if (!isUint32(position))\n+ if (!Number.isSafeInteger(position))\n position = -1;\n \n function wrapper(err, byte... | 2018-05-28T17:00:42 |
electron/electron | 9306fecea869fb3a7027bfe4b20f45e6048eeed9 | 6aec3006e6652b1a975f000b4311a0cb505a5fdb | Fix cpplint errors in content_client.cc | [
{
"path": "brightray/common/content_client.cc",
"patch": "@@ -22,19 +22,23 @@ ContentClient::~ContentClient() {\n std::string ContentClient::GetProduct() const {\n auto name = GetApplicationName();\n RemoveChars(name, kWhitespaceASCII, &name);\n- return base::StringPrintf(\"%s/%s\", name.c_str(), GetAp... | 2013-11-17T23:56:44 |
vercel/next.js | 8fa78a5e3cf9a70d0d9079bbae3a6d5ef5936573 | 6edeb9d43ee93c6b37265c025be39dcf0643c2cf | Google fonts single request (#42406)
Make a single request when using several weights and/or styles for
google fonts instead of one for each variation.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## ... | [
{
"path": "packages/font/src/google/loader.ts",
"patch": "@@ -49,27 +49,21 @@ const downloadGoogleFonts: FontLoader = async ({\n )\n }\n \n- let fontFaceDeclarations = ''\n- for (const weight of weights) {\n- for (const style of styles) {\n- const fontAxes = getFontAxes(\n- fontFamily... | 2022-11-03T18:21:32 |
golang/go | c26f954a540a99eafac6ee3bb3b996c750aad8a4 | 16cd770e0668a410a511680b2ac1412e554bd27b | cmd/compile/internal/amd64: follow-on regabi fix for amd64 zerorange
This patch provides a better long-term fix for the compiler's
zerorange() helper function to make it generate code friendly to the
register ABI.
CL 305829 did part of the work, but didn't properly handle the case
where the compiler emits a REP.STOSQ... | [
{
"path": "src/cmd/compile/internal/amd64/ggen.go",
"patch": "@@ -58,7 +58,6 @@ func zerorange(pp *objw.Progs, p *obj.Prog, off, cnt int64, state *uint32) *obj.\n \tconst (\n \t\tr13 = 1 << iota // if R13 is already zeroed.\n \t\tx15 // if X15 is already zeroed. Note: in new ABI, X15 is always z... | 2021-04-06T20:18:50 |
nodejs/node | 9f4bf4ca43bc40f68a05c87081a9bae8736515b1 | 4dbfb096f04c49aaa8349626296193ecff6bf2f6 | stream: fix removeAllListeners() for Stream.Readable
Fixes: https://github.com/nodejs/node/issues/20923
PR-URL: https://github.com/nodejs/node/pull/20924
Refs: https://github.com/nodejs/node/issues/20923
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By:... | [
{
"path": "lib/_stream_readable.js",
"patch": "@@ -846,7 +846,7 @@ Readable.prototype.removeListener = function(ev, fn) {\n };\n \n Readable.prototype.removeAllListeners = function(ev) {\n- const res = Stream.prototype.removeAllListeners.call(this, ev);\n+ const res = Stream.prototype.removeAllListeners.a... | 2018-05-24T07:17:17 |
electron/electron | 6aec3006e6652b1a975f000b4311a0cb505a5fdb | 84ae61744d05840e147931697e05bbe8fd276b97 | Fix whitespace/comment errors | [
{
"path": "brightray/browser/media/media_capture_devices_dispatcher.cc",
"patch": "@@ -181,4 +181,4 @@ void MediaCaptureDevicesDispatcher::UpdateVideoDevicesOnUIThread(\n video_devices_ = devices;\n }\n \n-} // namespace brightray\n+} // namespace brightray",
"additions": 1,
"deletions": 1,
"... | 2013-11-17T23:56:07 |
vercel/next.js | 6edeb9d43ee93c6b37265c025be39dcf0643c2cf | 539769dddce77425c91e2bc95b579ba2724bff8c | Fix font-optimization.md syntax errors (#42403)
Fixes syntax errors introduced in https://github.com/vercel/next.js/pull/42266
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an exist... | [
{
"path": "docs/basic-features/font-optimization.md",
"patch": "@@ -28,8 +28,9 @@ Import the font you would like to use from `@next/font/google` as a function. We\n \n To use the font in all your pages, add it to [`_app.js` file](https://nextjs.org/docs/advanced-features/custom-app) under `/pages` as shown ... | 2022-11-03T18:20:15 |
golang/go | 954bd8203bfe3033b9794ad4ec2c82cfd6be1414 | e12abe4bd63883b16a76f650222dd4617504e43f | cmd/cgo: use tabs to indent _cgoPREFIX_Cfunc__CMalloc function body
All other _cgoPREFIX_Cfunc_* functions are indented using tabs.
Change-Id: Ic5cfccd3000d34d0bbe08d035f18640af5e05473
Reviewed-on: https://go-review.googlesource.com/c/go/+/308993
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Kla... | [
{
"path": "src/cmd/cgo/out.go",
"patch": "@@ -1746,12 +1746,12 @@ Slice _cgoPREFIX_Cfunc_GoBytes(char *p, int32_t n) {\n \n extern void runtime_throw(const char *);\n void *_cgoPREFIX_Cfunc__CMalloc(size_t n) {\n- void *p = malloc(n);\n- if(p == NULL && n == 0)\n- p = malloc(1);... | 2021-04-11T12:53:18 |
nodejs/node | 4dbfb096f04c49aaa8349626296193ecff6bf2f6 | 35cf00842f65077bce64cc25d39b72477afa161e | Revert "repl: add friendly tips about how to exit repl"
This reverts commit 9aa4ec43fce7fd9166459c98f347760cf450a350.
This commit in question introduced a regression in repl.eval(),
as the context argument is no longer passed to runInContext().
PR-URL: https://github.com/nodejs/node/pull/20972
Fixes: https://github.... | [
{
"path": "lib/repl.js",
"patch": "@@ -215,15 +215,9 @@ function REPLServer(prompt,\n \n function defaultEval(code, context, file, cb) {\n var err, result, script, wrappedErr;\n- var isExitCommand = false;\n var wrappedCmd = false;\n var awaitPromise = false;\n var input = code;\n- v... | 2018-05-26T02:26:34 |
electron/electron | 84ae61744d05840e147931697e05bbe8fd276b97 | 236efa8be563aaaa53e99d990acc9a8e66541851 | Ignore cpplint errors in bry_inspectable_web_contents_view_private.h
It's not a C++ header. | [
{
"path": "brightray/script/cpplint",
"patch": "@@ -9,12 +9,16 @@ import sys\n SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))\n CPPLINT = os.path.join(SOURCE_ROOT, 'vendor', 'google-styleguide', 'trunk', 'cpplint', 'cpplint.py')\n \n+IGNORED_FILES = [\n+ 'browser/mac/bry_inspec... | 2013-11-17T23:55:06 |
huggingface/transformers | bc30dd1efb99f571d45b2e2131a555d09285ddd8 | 9e385109cfaf9c2cbaf496260ba68c5b45aa6076 | Modular Conversion --fix_and_overwrite on Windows (#36583)
* Modular Conversion --fix_and_overwrite on Windows
* -newline on read | [
{
"path": "utils/check_modular_conversion.py",
"patch": "@@ -23,7 +23,7 @@ def process_file(modular_file_path, generated_modeling_content, file_type=\"model\n file_name_suffix = file_type.split(\"*\")[-1] if \"*\" in file_type else \"\"\n file_path = modular_file_path.replace(\"modular_\", f\"{file_... | 2025-03-06T13:12:30 |
golang/go | e12abe4bd63883b16a76f650222dd4617504e43f | 7beb988a3b935a9db56b9e0544506491c4d5d06a | net: fix (*ipStackCapabilities).probe godoc
Change-Id: I2e5db6e7e9a7b3c84449d16b6bc32afe1d0ffee9
Reviewed-on: https://go-review.googlesource.com/c/go/+/308991
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Emm... | [
{
"path": "src/net/ipsock_plan9.go",
"patch": "@@ -13,7 +13,7 @@ import (\n \t\"syscall\"\n )\n \n-// Probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication\n+// probe probes IPv4, IPv6 and IPv4-mapped IPv6 communication\n // capabilities.\n //\n // Plan 9 uses IPv6 natively, see ip(3).",
"additions... | 2021-04-11T12:33:16 |
vercel/next.js | 539769dddce77425c91e2bc95b579ba2724bff8c | 73c5b77a8484fa94f77a5392dc774ddbd1af6427 | Mock @next/font when using next/jest (#42413)
Mock `@next/font` when using `next/jest`.
fixes #42379
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature r... | [
{
"path": "docs/testing.md",
"patch": "@@ -293,7 +293,7 @@ module.exports = createJestConfig(customJestConfig)\n Under the hood, `next/jest` is automatically configuring Jest for you, including:\n \n - Setting up `transform` using [SWC](https://nextjs.org/docs/advanced-features/compiler)\n-- Auto mocking st... | 2022-11-03T18:12:46 |
nodejs/node | 35cf00842f65077bce64cc25d39b72477afa161e | 5624a6f8a77b8215b25e7ca27d4ac4ed66f72aee | doc: fix doc for napi_get_typedarray_info
The data pointer returned for the typedarray has
already been adjusted by the offset so it does not
point to the start of the buffer, instead id points
to the start of the first element.
I think we probably would have liked it to point to the
start of the buffer, but we can't... | [
{
"path": "doc/api/n-api.md",
"patch": "@@ -1750,10 +1750,15 @@ napi_status napi_get_typedarray_info(napi_env env,\n properties to query.\n - `[out] type`: Scalar datatype of the elements within the `TypedArray`.\n - `[out] length`: The number of elements in the `TypedArray`.\n-- `[out] data`: The data buff... | 2018-05-15T14:57:30 |
electron/electron | 236efa8be563aaaa53e99d990acc9a8e66541851 | e5e3dc6a786314c4e292dccb482e4d520f25d08d | Fix cpplint errors in bry_application.h | [
{
"path": "brightray/browser/mac/bry_application.h",
"patch": "@@ -1,6 +1,6 @@\n #import \"base/mac/scoped_sending_event.h\"\n \n-@interface BRYApplication : NSApplication <CrAppProtocol, CrAppControlProtocol> {\n+@interface BRYApplication : NSApplication<CrAppProtocol, CrAppControlProtocol> {\n BOOL _han... | 2013-11-17T23:53:34 |
golang/go | 352d329c44d99b5c6cb325940006ca52f88195f3 | 189c6946f598dc668946499e4179775c06295f9d | runtime: move zero-sized frame check from newproc to newproc1
If GOEXPERIMENT=regabidefer is enabled, newproc currently checks that
the call frame for new goroutines is empty. But there's one place in
the runtime (debugCallWrap), where we call newproc1, and it happens to
pass a non-empty frame. The current check didn'... | [
{
"path": "src/runtime/debug_test.go",
"patch": "@@ -9,8 +9,12 @@\n // spends all of its time in the race runtime, which isn't a safe\n // point.\n \n-//go:build amd64 && linux && !race\n-// +build amd64,linux,!race\n+// TODO(register args): We skip this under GOEXPERIMENT=regabidefer\n+// because debugCall... | 2021-04-09T20:08:28 |
vercel/next.js | 73c5b77a8484fa94f77a5392dc774ddbd1af6427 | 163e89648cc483eb8b709e8ee44fa88fb7771088 | Fix docs for next/image upgrade guide (#42424)
This fixes a typo and also clarifies when the codemod might fail to
migrate properly. | [
{
"path": "docs/advanced-features/codemods.md",
"patch": "@@ -45,7 +45,7 @@ export default function Page() {\n \n ### `next-image-to-legacy-image`\n \n-Safely migrates existing Next.js 10, 11, 12 applications importing `next/image` to the renamed `next/legacy/image` import in Next.js 13.\n+This codemod safe... | 2022-11-03T18:11:06 |
nodejs/node | cfc3866810f94043ebe9fa0b0a0b8f23ad81fc19 | bb6b605d47896f2b1bcf146c16842a231b4f8a9b | test: fix test failure on aix
This makes sure there is enough stack space on different systems.
PR-URL: https://github.com/nodejs/node/pull/20940
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Daniel Bevenius... | [
{
"path": "test/parallel/test-async-wrap-pop-id-during-load.js",
"patch": "@@ -15,7 +15,7 @@ const { spawnSync } = require('child_process');\n \n const ret = spawnSync(\n process.execPath,\n- ['--stack_size=50', __filename, 'async']\n+ ['--stack_size=75', __filename, 'async']\n );\n assert.strictEqual(r... | 2018-05-24T14:24:18 |
huggingface/transformers | 6966fa190172b48b2fb46fe4552a13b943e692cf | 996f512d52908beb7b89d835fe7eb7b900f78ad0 | Fix typos . (#36551)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com> | [
{
"path": "src/transformers/integrations/integration_utils.py",
"patch": "@@ -1218,7 +1218,7 @@ def setup(self, args, state, model):\n Whether to use MLflow nested runs. If set to `True` or *1*, will create a nested run inside the current\n run.\n - **MLFLOW_RUN_ID** (`str`, ... | 2025-03-06T00:31:43 |
electron/electron | 23bcf4099f2c7de64b35e182a09934402e6e559d | 9f82d5876167410b200b18f1a6a3e225f6273792 | Fix cpplint errors in inspectable_web_contents_view_linux.h | [
{
"path": "brightray/browser/linux/inspectable_web_contents_view_linux.h",
"patch": "@@ -10,18 +10,21 @@ namespace brightray {\n class InspectableWebContentsImpl;\n \n class InspectableWebContentsViewLinux : public InspectableWebContentsView {\n-public:\n- InspectableWebContentsViewLinux(InspectableWebCont... | 2013-11-17T23:52:02 |
golang/go | 3f4977bd5800beca059defb5de4dc64cd758cbb9 | a6d95b4508cb65070fd8471ae8018b897da7fc83 | cmd/compile/internal/types2: use combined type and ordinary args for type inference
Fixes #44799.
Change-Id: I51d5b6d6fdfcf47b87bf40b1f7e31c3284c2813f
Reviewed-on: https://go-review.googlesource.com/c/go/+/308372
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go ... | [
{
"path": "src/cmd/compile/internal/types2/builtins.go",
"patch": "@@ -129,7 +129,7 @@ func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (\n \t\t\targ(&x, i)\n \t\t\txlist = append(xlist, &x)\n \t\t}\n-\t\tcheck.arguments(call, sig, xlist) // discard result (we know the result t... | 2021-04-08T05:36:15 |
vercel/next.js | 163e89648cc483eb8b709e8ee44fa88fb7771088 | 310fe3cbc1aa5904bc834d046da69b1057b79b4a | examples: Fix with-turbopack typo (#42410)
<!--
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
- [ ] Rela... | [
{
"path": "examples/with-turbopack/app/hooks/[categorySlug]/[subCategorySlug]/page.tsx",
"patch": "@@ -4,7 +4,7 @@ import { SkeletonCard } from '@/ui/SkeletonCard';\n \n export default function Page({ params }: PageProps) {\n const category = use(\n- fetchSubCategory(params.categorySlug, params.subCate... | 2022-11-03T18:07:22 |
nodejs/node | bb6b605d47896f2b1bcf146c16842a231b4f8a9b | ed2a110f916b35a516dda6093b308e21027a92eb | doc: add jdalton to collaborators
PR-URL: https://github.com/nodejs/node/pull/20968
Fixes: https://github.com/nodejs/node/issues/20828
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Richar... | [
{
"path": "README.md",
"patch": "@@ -397,6 +397,8 @@ For more information about the governance of the Node.js project, see\n **Jason Ginchereau** <jasongin@microsoft.com>\n * [jbergstroem](https://github.com/jbergstroem) -\n **Johan Bergström** <bugs@bergstroem.nu>\n+* [jdalton](https://github.c... | 2018-05-25T18:26:57 |
huggingface/transformers | 996f512d52908beb7b89d835fe7eb7b900f78ad0 | 752ef3fd4e70869626ec70657a770a85c0ad9219 | Fix typos in tests (#36547)
Signed-off-by: co63oc <co63oc@users.noreply.github.com> | [
{
"path": "tests/bettertransformer/test_integration.py",
"patch": "@@ -38,7 +38,7 @@ class BetterTransformerIntegrationTest(unittest.TestCase):\n \n def test_transform_and_reverse(self):\n r\"\"\"\n- Classic tests to simply check if the conversion has been successfull.\n+ Classic t... | 2025-03-05T23:04:06 |
electron/electron | 9f82d5876167410b200b18f1a6a3e225f6273792 | 7a362b741308b39ce7c7a424e891389538e4b937 | Fix cpplint errors in web_ui_controller_factory.h | [
{
"path": "brightray/browser/web_ui_controller_factory.h",
"patch": "@@ -15,11 +15,11 @@ class BrowserContext;\n \n class WebUIControllerFactory : public content::WebUIControllerFactory {\n public:\n- WebUIControllerFactory(BrowserContext* browser_context);\n+ explicit WebUIControllerFactory(BrowserConte... | 2013-11-17T23:46:23 |
golang/go | 36c5f902f9049b82da50ac66049371830e6de031 | 4638545d85d7e10e49132ee94ff9a6778db1c893 | cmd/compile/internal/types2: factor out index/slice expr handling
First step towards lightening the load of Checker.exprInternal by
factoring out the code for index and slice expressions; incl. moving
a couple of related methods (Checker.index, Checker.indexedElts).
The code for handling index/slice expressions is co... | [
{
"path": "src/cmd/compile/internal/types2/expr.go",
"patch": "@@ -1043,104 +1043,6 @@ func (check *Checker) binary(x *operand, e syntax.Expr, lhs, rhs syntax.Expr, op\n \t// x.typ is unchanged\n }\n \n-// index checks an index expression for validity.\n-// If max >= 0, it is the upper bound for index.\n-//... | 2021-04-08T00:47:14 |
vercel/next.js | 310fe3cbc1aa5904bc834d046da69b1057b79b4a | e480b1d8093078c5dbf90977df01481ead794823 | fixed missing `<Link />` keyword (#42422)
The keyword <Link /> is apparently not being shown on the page. Adding
"`" around the word will make it work.
<!--
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 chec... | [
{
"path": "docs/routing/introduction.md",
"patch": "@@ -68,7 +68,7 @@ The example above uses multiple links. Each one maps a path (`href`) to a known\n - `/about` → `pages/about.js`\n - `/blog/hello-world` → `pages/blog/[slug].js`\n \n-Any `<Link />` in the viewport (initially or through scroll) will be pre... | 2022-11-03T18:07:01 |
nodejs/node | c241b7d85cdd1ea33baf70b0e16c1f631a223e84 | 6d3940e55840afae74add9e1800473702126c554 | tools: fix sorting in doc/type-parser.js
This section groups type links by their home modules
and sort these groups alphabetically,
so `modules` types should go before the `net` types.
PR-URL: https://github.com/nodejs/node/pull/20976
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Colin Ihrig <cj... | [
{
"path": "tools/doc/type-parser.js",
"patch": "@@ -83,12 +83,12 @@ const customTypesMap = {\n 'Http2Stream': 'http2.html#http2_class_http2stream',\n 'ServerHttp2Stream': 'http2.html#http2_class_serverhttp2stream',\n \n+ 'module': 'modules.html#modules_the_module_object',\n+\n 'Handle': 'net.html#net... | 2018-05-26T12:52:01 |
huggingface/transformers | 752ef3fd4e70869626ec70657a770a85c0ad9219 | 66f29aaaf55c8fe0c3dbcd24beede2ca4effac56 | guard torch version for uint16 (#36520)
* u16
* style
* fix | [
{
"path": "src/transformers/modeling_utils.py",
"patch": "@@ -522,17 +522,19 @@ def load_sharded_checkpoint(model, folder, strict=True, prefer_safe=True):\n \"U8\": torch.uint8,\n \"I8\": torch.int8,\n \"I16\": torch.int16,\n- \"U16\": torch.uint16,\n \"F16\": torch.float16,\n \"BF16\... | 2025-03-05T10:27:01 |
electron/electron | 7a362b741308b39ce7c7a424e891389538e4b937 | cf4d966958d8154f2da3d53792ce5c27cf9d40dc | Fix cpplint errors in url_request_context_getter.h | [
{
"path": "brightray/browser/url_request_context_getter.h",
"patch": "@@ -25,7 +25,7 @@ namespace brightray {\n class NetworkDelegate;\n \n class URLRequestContextGetter : public net::URLRequestContextGetter {\n-public:\n+ public:\n URLRequestContextGetter(\n const base::FilePath& base_path,\n ... | 2013-11-17T23:43:46 |
golang/go | 4638545d85d7e10e49132ee94ff9a6778db1c893 | 1129a60f1c1e64147ca1133857c4571ce9b87a35 | cmd/compile/internal/syntax: accept "~" and "|" interface elements
Type lists continue to be accepted as before.
While at it, print missing filenames in error tests
(which uses an ad-hoc position representation).
Change-Id: I933b3acbc9cf1985ad8f70f6b206e3a1dbd64d1e
Reviewed-on: https://go-review.googlesource.com/c/g... | [
{
"path": "src/cmd/compile/internal/syntax/error_test.go",
"patch": "@@ -164,7 +164,7 @@ func testSyntaxErrors(t *testing.T, filename string) {\n \t\t\t// we have a match - eliminate this error\n \t\t\tdelete(declared, pos)\n \t\t} else {\n-\t\t\tt.Errorf(\"%s: unexpected error: %s\", orig, e.Msg)\n+\t\t\tt... | 2021-04-06T02:10:22 |
huggingface/transformers | 89d27fa6fff206c0153e9670ae09e2766eb75cdf | c0c5acff077ac7c8fe68a0fdbad24306dbd9d4e3 | Fix links in quantization doc (#36528)
fix quantization doc | [
{
"path": "docs/source/en/quantization/overview.md",
"patch": "@@ -24,26 +24,26 @@ Use the Space below to help you pick a quantization method depending on your har\n \n | Quantization Method | On the fly quantization | CPU | CUDA GPU | ROCm GPU | Metal (Apple Silicon) ... | 2025-03-04T15:43:03 |
vercel/next.js | e480b1d8093078c5dbf90977df01481ead794823 | 83e19a25577d0fc3dba4e189bac45755d0f43acd | Fix Docs API Reference font.md broken link (#42418)
## 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": "docs/api-reference/next/font.md",
"patch": "@@ -91,7 +91,7 @@ A string value to define the CSS variable name to be used if the style is applie\n \n ### Font function arguments\n \n-For usage, review [Local Fonts](/docs/optimizing/fonts#local-fonts).\n+For usage, review [Local Fonts](/docs/basic-f... | 2022-11-03T17:51:27 |
nodejs/node | c700cc42da9cf73af9fec2098520a6c0a631d901 | 751a42a30f35c2d04cfb80ce2b1ebec5d040a7e1 | fs: don't limit ftruncate() length to 32 bits
The length used by ftruncate() is 64 bits in the binding layer.
This commit removes the 32 bit restriction in the JS layer.
PR-URL: https://github.com/nodejs/node/pull/20851
Fixes: https://github.com/nodejs/node/issues/20844
Reviewed-By: Ruben Bridgewater <ruben@bridgewat... | [
{
"path": "lib/fs.js",
"patch": "@@ -651,11 +651,7 @@ function ftruncate(fd, len = 0, callback) {\n len = 0;\n }\n validateUint32(fd, 'fd');\n- // TODO(BridgeAR): This does not seem right.\n- // There does not seem to be any validation before and if there is any, it\n- // should work similar to v... | 2018-05-20T15:41:39 |
rust-lang/rust | abf401df1c6326a5c701061aa49b9b64554d38c2 | 3920514036f59b5596133707a425f1b8a1c20815 | fix missing word in comment | [
{
"path": "library/core/src/any.rs",
"patch": "@@ -772,8 +772,8 @@ impl hash::Hash for TypeId {\n // (especially given the previous point about the lower 64 bits being\n // high quality on their own).\n // - It is correct to do so -- only hashing a subset of `self` is still\n- ... | 2025-04-17T01:53:40 |
electron/electron | cf4d966958d8154f2da3d53792ce5c27cf9d40dc | d4ad45334fbbc1db8bd1780848c2176fa928d30d | Fix cpplint errors in notification_presenter_mac.h | [
{
"path": "brightray/browser/notification_presenter_mac.h",
"patch": "@@ -30,7 +30,9 @@ class NotificationPresenterMac : public NotificationPresenter {\n int notification_id) OVERRIDE;\n \n private:\n- std::map<std::string, base::scoped_nsobject<NSUserNotification>> notification_map_;\n+ typedef No... | 2013-11-17T23:43:20 |
huggingface/transformers | c0c5acff077ac7c8fe68a0fdbad24306dbd9d4e3 | 37508816d650a8074bc31c761e20872c2e5eaec4 | Fix bamba tests amd (#36535) | [
{
"path": "tests/models/bamba/test_modeling_bamba.py",
"patch": "@@ -510,7 +510,7 @@ def test_simple_generate(self):\n EXPECTED_TEXTS = {\n # 7: \"\",\n 8: \"<|begin_of_text|>Hey how are you doing on this lovely evening? I hope you are all having a good time.\",\n- ... | 2025-03-04T14:24:27 |
Subsets and Splits
Assembly Language GitHub Issues
Retrieves a sample of assembly-language related commits with their details, but doesn't provide meaningful analysis or patterns beyond basic filtering.
Swift Compiler Issues Analysis
Retrieves all training data for the Swift programming language repository, providing basic filtering but offering limited analytical insight beyond identifying relevant code examples.