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 | 6e3b3fa5a2a7d887395a4a7143e0f2893089360d | c12c0363a0ae0886c44c072f045ad796786c1f48 | Add "Debugging browser process" chapter. | [
{
"path": "docs/README.md",
"patch": "@@ -3,6 +3,7 @@\n * [Quick start](tutorial/quick-start.md)\n * [Application distribution](tutorial/application-distribution.md)\n * [Use native node modules](tutorial/use-native-node-modules.md)\n+* [Debugging browser process](tutorial/debugging-browser-process.md)\n \n... | 2014-08-20T02:01:43 |
huggingface/transformers | 3ab47b6ce37897c4061dd665143f12ef40b6179d | 1e921a3a9cea92b383ca4b0484ee45596bbdadc3 | [VLMs] add helpers to get multimodal encodings (#37743)
* add helpers in VLMs
* fix tests and copies
* fix blip tests
* make fix-copies
* fix copies
* fixup | [
{
"path": "src/transformers/models/aria/modeling_aria.py",
"patch": "@@ -1197,7 +1197,7 @@ def set_input_embeddings(self, value):\n def get_image_features(\n self,\n pixel_values: torch.FloatTensor,\n- pixel_mask: torch.FloatTensor = None,\n+ pixel_mask: Optional[torch.Floa... | 2025-05-16T11:20:10 |
vercel/next.js | ee0f4831591507af800a665767b11f459f3f9849 | 7fe9e035d8e3fb0c23820b7a0278c367322c81eb | Migrate basic-basepath tests into basic (#44776)
Removes `test/development/basic-basepath` and migrates those tests into
`test/development/basic` instead. Currently the tests are duplicated but
`/basic-basepath` is just a subset of `/basic`.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integ... | [
{
"path": "test/development/basic-basepath/hmr.test.ts",
"patch": "@@ -1,704 +0,0 @@\n-import { join } from 'path'\n-import cheerio from 'cheerio'\n-import webdriver from 'next-webdriver'\n-import {\n- check,\n- getBrowserBodyText,\n- getRedboxHeader,\n- getRedboxSource,\n- hasRedbox,\n- renderViaHTTP... | 2023-01-11T16:13:19 |
golang/go | 7c8a5be2d6f26caed84c6bae2a115872af5b1021 | 7497e57a39b38894ee19b32a00fe5d057c05f842 | [dev.typeparams] go/types: factor out constraint satisfaction check
This is a port of CL 322070 to go/types, adjusted for the different
error reporting API.
Change-Id: I75eafe015b5b00554116527ea021e7a5f9e0343b
Reviewed-on: https://go-review.googlesource.com/c/go/+/324759
Trust: Robert Findley <rfindley@google.com>
Ru... | [
{
"path": "src/go/types/subst.go",
"patch": "@@ -121,91 +121,100 @@ func (check *Checker) instantiate(pos token.Pos, typ Type, targs []Type, poslist\n \n \t// check bounds\n \tfor i, tname := range tparams {\n-\t\ttpar := tname.typ.(*_TypeParam)\n-\t\tiface := tpar.Bound()\n-\t\tif iface.Empty() {\n-\t\t\tc... | 2021-06-03T16:14:16 |
rust-lang/rust | 435fc7d685115cf5bbd986ade8d2327ee6441759 | ab62d56603293e9264b4d811d2d6f5b49a3264f9 | Update `compiler-builtins` to 0.1.157
Includes the following changes:
* Use runtime feature detection for fma routines on x86 [1]
Fixes: https://github.com/rust-lang/rust/issues/140452
[1]: https://github.com/rust-lang/compiler-builtins/pull/896 | [
{
"path": "library/Cargo.lock",
"patch": "@@ -67,9 +67,9 @@ dependencies = [\n \n [[package]]\n name = \"compiler_builtins\"\n-version = \"0.1.156\"\n+version = \"0.1.157\"\n source = \"registry+https://github.com/rust-lang/crates.io-index\"\n-checksum = \"c1ffbd2789fe5bb95b96a2e22cbe3128239dc46ff0374e0d38e... | 2025-05-04T22:54:55 |
electron/electron | 1207dfde4c9a754ac5d30c00824608cbe98f8f6c | 0f617c3d3c08da56556a0612363d5916a965e9b1 | Add support for --debug switch. | [
{
"path": "atom.gyp",
"patch": "@@ -121,6 +121,8 @@\n 'atom/browser/net/atom_url_request_job_factory.h',\n 'atom/browser/net/url_request_string_job.cc',\n 'atom/browser/net/url_request_string_job.h',\n+ 'atom/browser/node_debugger.cc',\n+ 'atom/browser/node_debugger.h',\n '... | 2014-08-19T15:36:26 |
nodejs/node | e2b033ebc38d142217d40fbb39203d99bc9ff46a | ba43bce9e2383d445b9e669b34576ec4982d3f0d | os: don't use getCheckedFunction() in userInfo()
os.userInfo() takes an optional object as its first argument.
getCheckedFunction() adds a context object to the argument list
passed to the binding layer. The context object has the potential
to confuse the binding layer, particularly if an error occurs.
This commit mak... | [
{
"path": "lib/os.js",
"patch": "@@ -40,7 +40,7 @@ const {\n getOSType: _getOSType,\n getPriority: _getPriority,\n getTotalMem,\n- getUserInfo: _getUserInfo,\n+ getUserInfo,\n getUptime,\n isBigEndian,\n setPriority: _setPriority\n@@ -64,7 +64,6 @@ const getHostname = getCheckedFunction(_getHo... | 2018-08-30T13:55:11 |
huggingface/transformers | 1e921a3a9cea92b383ca4b0484ee45596bbdadc3 | 57a79f51b2b90c813aeacd609a688ed53bc327ee | Add optional RMSNorm support to BitNet quantization (config + layers) (#38087)
* enable optional RMS in BitLinear
* Fix naming
* Import RMS from Llama using config.*
* make fix-copies
* ran CI loop
* remove default BitNetQuantConfig values
* Fix BitNetQuantConfig to be Optional
* Fix config docstrings to match ... | [
{
"path": "src/transformers/convert_slow_tokenizer.py",
"patch": "@@ -1584,7 +1584,9 @@ def __init__(\n self.pattern = pattern\n self.add_prefix_space = add_prefix_space\n self.additional_special_tokens = (\n- additional_special_tokens.keys() if type(additional_special_tok... | 2025-05-16T10:38:06 |
golang/go | 2f26adc232988938cff003e15dae75757f76710a | 139595207570ae380e3947fa39e43205477b7bba | [dev.typeparams] go/types: re-use existing code for Interface.Complete
This is a port of CL 321751 to go/types, adjusted to use token.Pos, and
to exclude a missing position from a panic message (an unresolved
comment on the original CL).
Change-Id: I5814067aecb67aca9d73f2093fb6004b769924f3
Reviewed-on: https://go-rev... | [
{
"path": "src/go/types/interface.go",
"patch": "@@ -5,6 +5,7 @@\n package types\n \n import (\n+\t\"fmt\"\n \t\"go/ast\"\n \t\"go/internal/typeparams\"\n \t\"go/token\"\n@@ -142,8 +143,13 @@ func (check *Checker) completeInterface(pos token.Pos, ityp *Interface) {\n \tif check == nil {\n \t\tpanic(\"intern... | 2021-06-03T15:49:52 |
electron/electron | 7b71ae6824f509bca0535c391b5f43867c0eb1d8 | cfae3cd3afd50d31725b190093017f744a441665 | Enable setting only one side of minimum size, fixes #461. | [
{
"path": "atom/browser/native_window.cc",
"patch": "@@ -141,8 +141,8 @@ void NativeWindow::InitFromOptions(const mate::Dictionary& options) {\n } else if (options.Get(switches::kCenter, ¢er) && center) {\n Center();\n }\n- int min_height = -1, min_width = -1;\n- if (options.Get(switches::kMin... | 2014-08-19T13:43:18 |
nodejs/node | ba43bce9e2383d445b9e669b34576ec4982d3f0d | 64cf96d684cc8c713c8d12daeb2b0c68ab6dd760 | test: fix flaky parallel/test-fs-write-file-typedarrays
Using the same filename for different async tests could lead
to race conditions.
Example failure: https://travis-ci.com/nodejs/node/jobs/143351655
Refs: https://github.com/nodejs/node/pull/22150
PR-URL: https://github.com/nodejs/node/pull/22659
Reviewed-By: Ru... | [
{
"path": "test/parallel/test-fs-write-file-typedarrays.js",
"patch": "@@ -32,10 +32,11 @@ for (const expectView of common.getArrayBufferViews(inputBuffer)) {\n \n for (const expectView of common.getArrayBufferViews(inputBuffer)) {\n console.log('Async test for ', expectView[Symbol.toStringTag]);\n- fs.w... | 2018-09-02T15:51:23 |
huggingface/transformers | 57a79f51b2b90c813aeacd609a688ed53bc327ee | 44fa04ae8dbb2f2a568d90ec52b1c3c70d4cfa76 | Fix Qwen2.5 Omni `SinusoidsPositionEmbedding` precision (#38151)
* Fix Qwen2.5 Omni `SinusoidsPositionEmbedding` precision
fixes https://github.com/QwenLM/Qwen2.5-Omni/issues/271
* Update modular_qwen2_5_omni.py | [
{
"path": "src/transformers/models/qwen2_5_omni/modeling_qwen2_5_omni.py",
"patch": "@@ -794,7 +794,7 @@ def __init__(self, length, channels, max_timescale=10000):\n if channels % 2 != 0:\n raise ValueError(\"SinusoidsPositionEmbedding needs even channels input\")\n log_timescale... | 2025-05-16T10:24:50 |
vercel/next.js | 86f384fc5fa6d61189c2983e16be98ebf6ae0143 | fd873a610ac5c63db5418d025d52acf6cb9f3d5c | chore: fix typo (#44761) | [
{
"path": "packages/next/src/build/swc/index.ts",
"patch": "@@ -20,7 +20,7 @@ const triples = platformArchTriples[PlatformName][ArchName] || []\n // binary instead. This will not affect existing swc's transform, or other interfaces. This is thin,\n // naive interface - `loadBindings` will not validate neith... | 2023-01-11T03:41:23 |
golang/go | 7406180012d828f536112c9bffb7d3edd9ea5c7e | e3176bbc3ec7ab3889f02432f6fd088c90fc12dd | fmt: split package documentation into more sections
The package-level documentation on fmt previously had only two formal
sections, for printing and scanning. Because of this, the section on
printing was very long, including some pseudo-sections describing
particular features. This feature makes those pseudo-sections ... | [
{
"path": "src/fmt/doc.go",
"patch": "@@ -189,7 +189,7 @@\n \tWhen printing a struct, fmt cannot and therefore does not invoke\n \tformatting methods such as Error or String on unexported fields.\n \n-\tExplicit argument indexes:\n+\tExplicit argument indexes\n \n \tIn Printf, Sprintf, and Fprintf, the defa... | 2021-06-02T18:55:34 |
nodejs/node | 1f679107ccd6d68c296a64b3959e32880c2dcb52 | 0e519b4f56cfea84c252ab86f91eece05344bef1 | src: fix a typo in the comment
PR-URL: https://github.com/nodejs/node/pull/22640
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater... | [
{
"path": "src/node_internals.h",
"patch": "@@ -101,7 +101,7 @@ struct sockaddr;\n // in node::Init(), need to add built-in modules in the following list.\n // Then in node::RegisterBuiltinModules(), it calls modules' registration\n // function. This helps the built-in modules are loaded properly when\n-// ... | 2018-09-01T04:47:34 |
huggingface/transformers | 34c1e29cdda6ba43dbe757c0707b73ad64efc5bb | 0f77ca72cae3565632bafd7e06080b2c19920f06 | enable autoround cases on XPU (#38167)
* enable autoround cases on XPU
Signed-off-by: Matrix Yao <matrix.yao@intel.com>
* fix style
Signed-off-by: Matrix Yao <matrix.yao@intel.com>
---------
Signed-off-by: Matrix Yao <matrix.yao@intel.com> | [
{
"path": "src/transformers/testing_utils.py",
"patch": "@@ -3013,6 +3013,11 @@ def _device_agnostic_dispatch(device: str, dispatch_table: dict[str, Callable],\n \"cpu\": 0,\n \"default\": 0,\n }\n+ BACKEND_SYNCHRONIZE = {\n+ \"cuda\": torch.cuda.synchronize,\n+ \"cpu\":... | 2025-05-16T09:08:35 |
vercel/next.js | eab68a9f81d0e9f14fe4af7d5bde7c639e339c3c | b6f6179d5df6dea5fe77704201ea4b087d070acc | Ensure folder exists for standalone server (#44745)
When using standalone output in a monorepo, nextjs will sometimes throw:
`> NX ENOENT: no such file or directory, open
'/dist/apps/my-app/.next/standalone/apps/my-app/server.js'`
next.config.js:
```js
const { withNx } = require("@nrwl/next/plugins/with-nx");... | [
{
"path": "packages/next/src/build/utils.ts",
"patch": "@@ -1725,6 +1725,7 @@ export async function copyTracedFiles(\n path.relative(tracingRoot, dir),\n 'server.js'\n )\n+ await fs.mkdir(path.dirname(serverOutputPath), { recursive: true })\n await fs.writeFile(\n serverOutputPath,\n `$... | 2023-01-10T21:37:39 |
golang/go | e3176bbc3ec7ab3889f02432f6fd088c90fc12dd | e1fa26026db313463a09289c2105591de33cf7b8 | crypto/tls: fix typo in Config.NextProtos docs
Change-Id: I916df584859595067e5e86c35607869397dbbd8c
Reviewed-on: https://go-review.googlesource.com/c/go/+/325651
Trust: Filippo Valsorda <filippo@golang.org>
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Dmitri S... | [
{
"path": "src/crypto/tls/common.go",
"patch": "@@ -619,7 +619,7 @@ type Config struct {\n \t// protocol will be one from this list, and the connection will fail\n \t// if there is no mutually supported protocol. If NextProtos is empty\n \t// or the peer doesn't support ALPN, the connection will succeed and... | 2021-06-07T14:24:11 |
huggingface/transformers | 0f77ca72cae3565632bafd7e06080b2c19920f06 | 27ef46e84662b74cbd6e228d0bb4ddcde46057b3 | [FIX] Save speed metrics to logs (#38136)
Previously, we calculated speed metrics and did not do anything with the result. | [
{
"path": "src/transformers/trainer.py",
"patch": "@@ -3653,7 +3653,7 @@ def log(self, logs: dict[str, float], start_time: Optional[float] = None) -> Non\n if self.args.include_num_input_tokens_seen:\n logs[\"num_input_tokens_seen\"] = self.state.num_input_tokens_seen\n if st... | 2025-05-15T14:58:50 |
nodejs/node | 0e519b4f56cfea84c252ab86f91eece05344bef1 | d7d3bf57a6a32a0e1222deb6eeb106ea0ce711c8 | stream: update emit readable debug statement
Currently, the debug statement in emitReadable is `emit readable` which
can be interpreted as the readable event is going to be emitted. But
I think the intent of this debug statment is just that the
emitReadable_ function was entered. If that was not the intent then
perhap... | [
{
"path": "lib/_stream_readable.js",
"patch": "@@ -529,7 +529,7 @@ function emitReadable(stream) {\n \n function emitReadable_(stream) {\n var state = stream._readableState;\n- debug('emit readable');\n+ debug('emitReadable_', state.destroyed, state.length, state.ended);\n if (!state.destroyed && (sta... | 2018-08-31T04:20:36 |
electron/electron | cfae3cd3afd50d31725b190093017f744a441665 | a840799b46208b0373dff7add80979ca8eddfc4e | Add app.resolveProxy API, fixes #545. | [
{
"path": "atom/browser/api/atom_api_app.cc",
"patch": "@@ -7,14 +7,21 @@\n #include <string>\n #include <vector>\n \n+#include \"atom/browser/atom_browser_context.h\"\n+#include \"atom/browser/browser.h\"\n+#include \"atom/common/native_mate_converters/file_path_converter.h\"\n+#include \"atom/common/nativ... | 2014-08-19T13:26:45 |
vercel/next.js | b6f6179d5df6dea5fe77704201ea4b087d070acc | 24a531a69ba5ca819a34991e3ecc7d0b767d6688 | @next/font: Add preconnect tag when fonts are used but not preloaded in app-dir (#44746)
Add a preconnect tag to self with `crossorigin=anonymous` if fonts are used but not preloaded. This is already done in [`/pages`](https://github.com/vercel/next.js/blob/canary/packages/next/src/pages/_document.tsx#L384) but not ye... | [
{
"path": "packages/next/src/server/app-render.tsx",
"patch": "@@ -762,32 +762,39 @@ function getPreloadedFontFilesInlineLinkTags(\n fontLoaderManifest: FontLoaderManifest | undefined,\n serverCSSForEntries: string[],\n filePath?: string\n-): string[] {\n+): string[] | null {\n if (!fontLoaderManife... | 2023-01-10T19:07:26 |
golang/go | e3cb3817049ca5e9d96543500b72117f6ca659b8 | 9d669ed47a502ca540c7f3329f84d89fc0c53971 | go/internal/gcimporter: don't waste CPU copying bytes in `io.ReadAll`
`io.ReadAll` dynamically reallocates byte slice because it doesn't know
its size in advance. We don't need to read an entire file into memory
and therefore may use `bufio.Reader` to read its contents.
Fixes #46564
Change-Id: Id504b1512662b6dea4775... | [
{
"path": "src/go/internal/gcimporter/gcimporter.go",
"patch": "@@ -145,17 +145,14 @@ func Import(fset *token.FileSet, packages map[string]*types.Package, path, srcDi\n \t\terr = fmt.Errorf(\"import %q: old textual export format no longer supported (recompile library)\", path)\n \n \tcase \"$$B\\n\":\n-\t\t... | 2021-06-04T09:25:51 |
huggingface/transformers | fe9426f12d0d96d3e6c281237e24cf36c0937598 | 7caa57e85e74a3cc7c16a115fb3fff78aac7a609 | disable deepspeed when setting up fake trainer (#38101)
* disable deepspeed when setting up fake trainer
* Apply style fixes
---------
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> | [
{
"path": "src/transformers/integrations/integration_utils.py",
"patch": "@@ -15,6 +15,7 @@\n Integrations with other Python libraries.\n \"\"\"\n \n+import copy\n import functools\n import importlib.metadata\n import importlib.util\n@@ -33,7 +34,7 @@\n import numpy as np\n import packaging.version\n \n-fro... | 2025-05-15T13:34:04 |
nodejs/node | d7d3bf57a6a32a0e1222deb6eeb106ea0ce711c8 | c100d400bde53017931a7c93308e3293d50e21db | build: use arm64 as DESTCPU for aarch64
On a aarch64 system I can run the complete build with tests without
specifying the Makefile variable DESTCPU.
But when running the tar-headers target DESTCPU is passed to configure:
$(PYTHON) ./configure \
--prefix=/ \
--dest-cpu=$(DESTCPU) \
...
The value ... | [
{
"path": "Makefile",
"patch": "@@ -731,7 +731,7 @@ ifeq ($(findstring arm,$(UNAME_M)),arm)\n DESTCPU ?= arm\n else\n ifeq ($(findstring aarch64,$(UNAME_M)),aarch64)\n-DESTCPU ?= aarch64\n+DESTCPU ?= arm64\n else\n ifeq ($(findstring powerpc,$(shell uname -p)),powerpc)\n DESTCPU ?= ppc64\n@@ -751,7 +751,7 @... | 2018-08-27T06:14:02 |
electron/electron | 2bcb7393c48f2dab2c51e2768731e9b75b84bc8e | 60dcb0e67ff4a5825d529341987c44e5a2035327 | Avoid calling GetRequestContext() in UI thread, fixes #591.
Since we can access job factory without touching the request context,
there is no need to make sure GetRequestContext() is called before using
the protocol module. | [
{
"path": "atom/browser/atom_browser_main_parts.cc",
"patch": "@@ -13,10 +13,6 @@\n #include \"atom/common/node_bindings.h\"\n #include \"base/command_line.h\"\n \n-#if defined(OS_WIN)\n-#include \"ui/gfx/win/dpi.h\"\n-#endif\n-\n #if defined(USE_X11)\n #include \"chrome/browser/ui/libgtk2ui/gtk2_util.h\"\n... | 2014-08-20T05:48:38 |
vercel/next.js | ac4ae8582c177c877e1292280214aece544faba3 | 457fb81bc968ac706c21277ff332a7e1a77cb212 | fix(next-dev): add name to test package (vercel/turbo#3249) | [
{
"path": "packages/next-swc/crates/next-dev/tests/package.json",
"patch": "@@ -1,4 +1,5 @@\n {\n+ \"name\": \"next-dev-tests\",\n \"private\": true,\n \"devDependencies\": {\n \"@turbo/pack-test-harness\": \"*\",",
"additions": 1,
"deletions": 0,
"language": "JSON"
}
] | 2023-01-10T18:24:07 |
golang/go | 9d669ed47a502ca540c7f3329f84d89fc0c53971 | 95939e8de71d9e8d8deea3d1605bd34130588292 | misc/cgo/errors: use expected column numbers
The test was using the wrong column numbers, and was erroneously
passing because there happened to be line numbers that matched those
column numbers. Change the test harness to require the expected line
number for the ERROR HERE regexp case, so that this doesn't happen agai... | [
{
"path": "misc/cgo/errors/errors_test.go",
"patch": "@@ -40,7 +40,8 @@ func check(t *testing.T, file string) {\n \t\t\tif len(frags) == 1 {\n \t\t\t\tcontinue\n \t\t\t}\n-\t\t\tre, err := regexp.Compile(string(frags[1]))\n+\t\t\tfrag := fmt.Sprintf(\":%d:.*%s\", i+1, frags[1])\n+\t\t\tre, err := regexp.Com... | 2021-06-04T15:16:58 |
huggingface/transformers | 7caa57e85e74a3cc7c16a115fb3fff78aac7a609 | b11b28cc4e859558318690a5b41ac3a22644acd5 | enable trainer test cases on xpu (#38138)
* enable trainer test cases on xpu
Signed-off-by: Matrix Yao <matrix.yao@intel.com>
* fix style
Signed-off-by: Matrix Yao <matrix.yao@intel.com>
---------
Signed-off-by: Matrix Yao <matrix.yao@intel.com> | [
{
"path": "src/transformers/testing_utils.py",
"patch": "@@ -2039,7 +2039,7 @@ def get_env(self):\n \n \"\"\"\n env = os.environ.copy()\n- paths = [self.src_dir_str]\n+ paths = [self.repo_root_dir_str, self.src_dir_str]\n if \"/examples\" in self.test_file_dir_str:\n ... | 2025-05-15T12:17:44 |
nodejs/node | c100d400bde53017931a7c93308e3293d50e21db | 04060e35b12cfa56811cbd7a786c61c30349f715 | src: disable debug options when inspector is unavailable
This fixes `parallel/test-cli-node-print-help` when Node.js
is compiled without the inspector.
PR-URL: https://github.com/nodejs/node/pull/22657
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: ... | [
{
"path": "src/node_options.cc",
"patch": "@@ -23,6 +23,7 @@ namespace options_parser {\n // TODO(addaleax): Make that unnecessary.\n \n DebugOptionsParser::DebugOptionsParser() {\n+#if HAVE_INSPECTOR\n AddOption(\"--inspect-port\",\n \"set host:port for inspector\",\n &DebugOption... | 2018-09-02T14:51:32 |
vercel/next.js | b5dc0ae3831597eac5d318865626fe6b3d5a15aa | 8ac564ebe293ccc1ab15c9b3a78094db91e8a4c2 | fix(next-dev): add name to test package (vercel/turbo#3249) | [
{
"path": "crates/next-dev/tests/package.json",
"patch": "@@ -1,4 +1,5 @@\n {\n+ \"name\": \"next-dev-tests\",\n \"private\": true,\n \"devDependencies\": {\n \"@turbo/pack-test-harness\": \"*\",",
"additions": 1,
"deletions": 0,
"language": "JSON"
}
] | 2023-01-10T18:24:07 |
golang/go | 4e001a8d9eec1ec165b45a37e804c2cf42351bc5 | 246a5570bea7b60fa2c1f0e8d4bdca527dd7c224 | [dev.typeparams] runtime/race: make test compatible with types2
types2 correctly distinguishes variable assignment from use even
within function literals. Whatever the outcome of #3059, the test
cases in runtime/race need to be fixed to accomodate that.
Change-Id: Ibe3547f07b681ff41225caabaf050872a48c98d1
Reviewed-on... | [
{
"path": "src/runtime/race/output_test.go",
"patch": "@@ -148,7 +148,7 @@ exit status 66\n package main\n func main() {\n \tdone := make(chan bool)\n-\tx := 0\n+\tx := 0; _ = x\n \tgo func() {\n \t\tx = 42\n \t\tdone <- true\n@@ -162,7 +162,7 @@ func main() {\n package main\n func main() {\n \tdone := make... | 2021-06-04T06:52:34 |
huggingface/transformers | b11b28cc4e859558318690a5b41ac3a22644acd5 | 0e0e5c10441e807d55cc675900d3debf81834025 | Hotfix: Flash Attention 2 support in Pixtral (#38146)
setting attention_mask to None when flash_attention_2 is selected
Co-authored-by: aurelien.lac <aurelien.lac@lighton.ai> | [
{
"path": "src/transformers/models/pixtral/modeling_pixtral.py",
"patch": "@@ -211,6 +211,11 @@ def forward(\n else:\n attention_interface = ALL_ATTENTION_FUNCTIONS[self.config._attn_implementation]\n \n+ # Since we use packing, if flash_attention_2 is selected we rely on ... | 2025-05-15T09:45:35 |
rust-lang/rust | c9f690a1e3d42f80788e9e4f2aa25547b1d8df58 | 78823fea217056f00d37943f837ccc715462b110 | Fix tidy dep list | [
{
"path": "src/tools/tidy/src/deps.rs",
"patch": "@@ -175,6 +175,9 @@ const EXCEPTIONS_RUSTC_PERF: ExceptionList = &[\n \n const EXCEPTIONS_RUSTBOOK: ExceptionList = &[\n // tidy-alphabetical-start\n+ (\"cssparser\", \"MPL-2.0\"),\n+ (\"cssparser-macros\", \"MPL-2.0\"),\n+ (\"dtoa-short\", \"MP... | 2025-05-04T17:06:23 |
electron/electron | 60dcb0e67ff4a5825d529341987c44e5a2035327 | c88b691db75cfbde3b2ce2ae0970128796c07d43 | Make process.activateUvLoop friendly to multi-context, fixes #587. | [
{
"path": "atom/common/api/atom_bindings.cc",
"patch": "@@ -4,6 +4,7 @@\n \n #include \"atom/common/api/atom_bindings.h\"\n \n+#include <algorithm>\n #include <string>\n \n #include \"atom/common/atom_version.h\"\n@@ -18,9 +19,6 @@ namespace atom {\n \n namespace {\n \n-// Async handle to wake up uv loop.\n... | 2014-08-20T04:57:40 |
nodejs/node | b797103e2635bc059a7d5b6ed4fcc0a771a61432 | 9f7efd58a1e102737694f4e3f6946dac0eb283bf | src: fix node::FatalException
PR-URL: https://github.com/nodejs/node/pull/22654
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com> | [
{
"path": "src/node.cc",
"patch": "@@ -1488,8 +1488,8 @@ void FatalException(Isolate* isolate,\n Environment* env = Environment::GetCurrent(isolate);\n Local<Object> process_object = env->process_object();\n Local<String> fatal_exception_string = env->fatal_exception_string();\n- Local<Function> fata... | 2018-09-02T13:08:15 |
vercel/next.js | 9a5c8cebf0c10c68beb5d2b67beb9f7c75c585b3 | 03e5f5e18d0e8b6858a6326d3ad2030602eb15ae | Improve errors caused by Class Component rendered in a server component. (#44726)
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Steven <steven@ceriously.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> | [
{
"path": "errors/class-component-in-server-component.md",
"patch": "@@ -0,0 +1,54 @@\n+# React Class component rendered in a Server Component\n+\n+#### Why This Error Occurred\n+\n+You are rendering a React Class Component in a Server Component, `React.Component` and `React.PureComponent` only works in Cli... | 2023-01-10T13:47:20 |
huggingface/transformers | 0173a99e734a1dd853f46e1736d89800d4af16b4 | e5a48785d9757278eaf201b492a8eaba9724a84a | enable csm integration cases on xpu, all passed (#38140)
* enable csm test cases on XPU, all passed
Signed-off-by: Matrix Yao <matrix.yao@intel.com>
* fix style
Signed-off-by: Matrix Yao <matrix.yao@intel.com>
---------
Signed-off-by: Matrix Yao <matrix.yao@intel.com> | [
{
"path": "tests/models/csm/test_modeling_csm.py",
"patch": "@@ -30,7 +30,7 @@\n )\n from transformers.testing_utils import (\n cleanup,\n- require_torch_gpu,\n+ require_torch_accelerator,\n slow,\n torch_device,\n )\n@@ -430,7 +430,7 @@ def _load_conversation(self):\n return ds[0]... | 2025-05-15T07:46:29 |
golang/go | 692399fbaa09578314f8583e49505c6784e8d335 | a94e4f5a8590e7c8d3aa058fb592561d870285a9 | [dev.typeparams] cmd/compile/internal/syntax: not all index expressions can be instantiated types
An index expression followed by an opening "{" may indicate
a composite literal but only if the index expression can be
a type. Exclude cases where the index expression cannot be
a type (e.g. s[0], a[i+j], etc.).
This le... | [
{
"path": "src/cmd/compile/internal/syntax/parser.go",
"patch": "@@ -1100,7 +1100,7 @@ loop:\n \t\t\t\t\tcomplit_ok = true\n \t\t\t\t}\n \t\t\tcase *IndexExpr:\n-\t\t\t\tif p.xnest >= 0 {\n+\t\t\t\tif p.xnest >= 0 && !isValue(t) {\n \t\t\t\t\t// x is possibly a composite literal type\n \t\t\t\t\tcomplit_ok ... | 2021-06-04T03:53:08 |
rust-lang/rust | 56d6b4e427c271e8f069500f6fac4e209e946144 | 62c5f58f57670ce65e7fec34f8c4ba00c27da2d9 | compiletest: Support matching on non-json lines in compiler output
and migrate most of remaining `error-pattern`s to it. | [
{
"path": "src/doc/rustc-dev-guide/src/tests/ui.md",
"patch": "@@ -344,8 +344,7 @@ For checking runtime output, `//@ check-run-results` may be preferable.\n \n Only use `error-pattern` if none of the above works.\n \n-Line annotations `//~` are still checked in tests using `error-pattern`.\n-In exceptional ... | 2025-05-02T14:56:07 |
electron/electron | 6ccec45c61633a7e15a69a640e997de6ad9f4a4f | 1dabd20d99df36a4baa06969d48259259bd7845a | views: Fix activating lower case accelerators. | [
{
"path": "atom/browser/ui/views/submenu_button.cc",
"patch": "@@ -34,11 +34,10 @@ SubmenuButton::SubmenuButton(views::ButtonListener* listener,\n text_width_(0),\n text_height_(0),\n underline_color_(SK_ColorBLACK) {\n- if (GetUnderlinePosition(title, &underline_start_, &underline_end_))... | 2014-08-18T08:05:41 |
nodejs/node | 9f7efd58a1e102737694f4e3f6946dac0eb283bf | e24fc95398e89759b132d07352b55941e7fb8474 | doc: improve examples in buffer docs
Documentation for BufferwriteDoubleLE/writeDoubleBE is confusing
PR-URL: https://github.com/nodejs/node/pull/22170
Fixes: https://github.com/nodejs/node/issues/22158
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: R... | [
{
"path": "doc/api/buffer.md",
"patch": "@@ -2145,15 +2145,15 @@ endian). `value` *should* be a valid 64-bit double. Behavior is undefined when\n ```js\n const buf = Buffer.allocUnsafe(8);\n \n-buf.writeDoubleBE(0xdeadbeefcafebabe, 0);\n+buf.writeDoubleBE(123.456, 0);\n \n console.log(buf);\n-// Prints: <Bu... | 2018-08-07T10:52:21 |
huggingface/transformers | e5a48785d9757278eaf201b492a8eaba9724a84a | 4005e30c804f9b3a9dbf45d019f6ca1cdc4d774c | [Qwen3] Qwen3 MoE add tp plan for expert mlps (#38135)
fix tp plan | [
{
"path": "src/transformers/models/qwen3_moe/configuration_qwen3_moe.py",
"patch": "@@ -155,6 +155,9 @@ class Qwen3MoeConfig(PretrainedConfig):\n \"layers.*.self_attn.k_proj\": \"colwise\",\n \"layers.*.self_attn.v_proj\": \"colwise\",\n \"layers.*.self_attn.o_proj\": \"rowwise\",\n+... | 2025-05-15T07:12:39 |
vercel/next.js | 03e5f5e18d0e8b6858a6326d3ad2030602eb15ae | 9dedc94500cc059792abf5c71484b871140e6049 | Hydration error link is appended multiple times in app-dir (#44741)
It looks like we get the same error each time when React is retrying. This adds a check so the link is only appended the first time.
Before
 {\n return\n }\n \n- if (isHydrationError(error)) {\n+ if (\n+ isHydrationError(error) &&\n+ !error.message.inclu... | 2023-01-10T10:33:24 |
electron/electron | fedb08899cc606642a0bc3dddc95ca2341c6aeb0 | b8bfe8a9ad0ae1c327d2188dc0b02a6104850a42 | views: Fix calculating underline's position. | [
{
"path": "atom/browser/ui/views/submenu_button.cc",
"patch": "@@ -71,10 +71,10 @@ void SubmenuButton::OnPaint(gfx::Canvas* canvas) {\n bool SubmenuButton::GetUnderlinePosition(\n const base::string16& text, int* start, int* end) {\n int pos, span;\n- gfx::RemoveAcceleratorChar(text, '&', &pos, &span... | 2014-08-18T07:36:29 |
nodejs/node | e24fc95398e89759b132d07352b55941e7fb8474 | f911e09ab435f5ab8a8e50a6d59aa9a01923058d | doc: fix a typo in fs.md
`fsPromises.ftruncate()` is neither documented nor exported.
PR-URL: https://github.com/nodejs/node/pull/22635
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -4749,7 +4749,7 @@ On Windows, opening an existing hidden file using the `'w'` flag (either\n through `fs.open()` or `fs.writeFile()` or `fsPromises.open()`) will fail with\n `EPERM`. Existing hidden files can be opened for writing with the `'r+'` flag.\n \n-A call to... | 2018-08-31T22:19:09 |
huggingface/transformers | 4005e30c804f9b3a9dbf45d019f6ca1cdc4d774c | aa27fa75cd05320dd6656fd9237f9647538a68b5 | Fix incorrect attention mask truncate in WhisperFlashAttention2 (#36477)
* Fix incorrect attention mask truncate in whisper flash attention
* also fix incorrect attention mask truncate in qwen2 audio
* Nit attention mask truncate modeling_qwen2_audio.py
* Nit attention mask truncate modeling_whisper.py
Co-authored... | [
{
"path": "src/transformers/models/qwen2_audio/modeling_qwen2_audio.py",
"patch": "@@ -235,7 +235,7 @@ def forward(\n \n causal_mask = attention_mask\n if attention_mask is not None: # no matter the length, we just slice it\n- causal_mask = attention_mask[:, : key_states.shape[-2... | 2025-05-14T20:08:31 |
rust-lang/rust | de44231d22eea1d1d27fab8d020557323996bb52 | 6e23095adf9209614a45f7f75fea36dad7b92afb | implement `PanicTracker` to track `t` panics
Trying to understand panics triggered by `t` macro calls is very exhausting (especially on CI failures)
because it doesn't provide any information about where the macro was originally invoked. This change adds
that missing information when an inner call inside the `t` macro... | [
{
"path": "src/bootstrap/src/lib.rs",
"patch": "@@ -53,6 +53,7 @@ use tracing::{instrument, span};\n pub use utils::change_tracker::{\n CONFIG_CHANGE_HISTORY, find_recent_config_change_ids, human_readable_changes,\n };\n+pub use utils::helpers::PanicTracker;\n \n use crate::core::build_steps::vendor::VE... | 2025-05-04T13:41:42 |
vercel/next.js | 9dedc94500cc059792abf5c71484b871140e6049 | c7162c42b22b6b808f2a13fc623d59dc14296fad | Fix IPv6 hostname formatting in CLI (#43491)
Co-authored-by: Jan Kaifer <jan@kaifer.cz>
Fixes https://github.com/vercel/next.js/issues/21979 | [
{
"path": "packages/next/src/cli/next-dev.ts",
"patch": "@@ -13,6 +13,7 @@ import path from 'path'\n import type { NextConfig } from '../../types'\n import type { NextConfigComplete } from '../server/config-shared'\n import { traceGlobals } from '../trace/shared'\n+import { isIPv6 } from 'net'\n import clus... | 2023-01-10T10:06:25 |
electron/electron | e25417ab3172f22977ebf6535d36861b8c90b4a3 | 48c227c263abc046f1b293ebc5864c229154cde4 | linux: Use "fg" of GtkStyle as text color, fixes #555. | [
{
"path": "atom/browser/ui/views/menu_bar.cc",
"patch": "@@ -46,10 +46,10 @@ void GetMenuBarColor(SkColor* enabled, SkColor* disabled, SkColor* highlight,\n fake_menu_bar.Own(gtk_menu_bar_new());\n \n GtkStyle* style = gtk_rc_get_style(fake_menu_bar.get());\n- *enabled = libgtk2ui::GdkColorToSkColor(st... | 2014-08-18T02:21:38 |
huggingface/transformers | 4a2decd19280474fdaccd96312e8bda09cd85228 | 935bbbc7111d71a869259b958c65df6a91f723a2 | Update trainer.md (#38113)
Fix typo in torch.compile method parameters | [
{
"path": "docs/source/en/trainer.md",
"patch": "@@ -372,14 +372,14 @@ accelerate launch \\\n \n ### torch.compile\n \n-[torch.compile](./perf_torch_compile) can significantly speed up training and reduce computational overhead. Configure your torch.compile settings in [`TrainingArguments`]. Set `torch.comp... | 2025-05-14T12:40:00 |
nodejs/node | a55c57b8c48d4d09d3fb74ffddab6e87d10f2030 | 67403b3a849f86ccd03bcf3b829a89d74471f9ca | src: rework (mostly internal) functions to use Maybes
Rework all affected functions to use Maybes, thus improving error
handling substantially in internal functions, API functions as well as
utilities.
Co-authored-by: Michaël Zasso <targos@protonmail.com>
PR-URL: https://github.com/nodejs/node/pull/21935
Reviewed-By:... | [
{
"path": "src/node_buffer.cc",
"patch": "@@ -236,7 +236,9 @@ MaybeLocal<Object> New(Isolate* isolate,\n enum encoding enc) {\n EscapableHandleScope scope(isolate);\n \n- const size_t length = StringBytes::Size(isolate, string, enc);\n+ size_t length;\n+ if (!StringBytes::Size(is... | 2018-08-29T13:39:55 |
golang/go | 95939e8de71d9e8d8deea3d1605bd34130588292 | 831f9376d8d730b16fb33dfd775618dffe13ce7a | cmd/compile/internal/abi: fix typo in comment
Change-Id: I196045314b2b0e908d7b31ac0cea5b25404f3ee0
Reviewed-on: https://go-review.googlesource.com/c/go/+/325249
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Trust: Keith Randall <khr@golang.org> | [
{
"path": "src/cmd/compile/internal/abi/abiutils.go",
"patch": "@@ -449,7 +449,7 @@ func (config *ABIConfig) ABIAnalyze(t *types.Type, setNname bool) *ABIParamResul\n // parameterUpdateMu protects the Offset field of function/method parameters (a subset of structure Fields)\n var parameterUpdateMu sync.Mute... | 2021-06-04T18:12:03 |
vercel/next.js | d6cd8777432f4874400ceebbdf21f1c7a859f1e1 | f2910bd5ee0b7d241d2d305be09c839901d3b4f9 | fix inconsistent sys_path leading to watching issue on root dir (vercel/turbo#3224)
It fixes the case when adding, removing or renaming files on root dir
doesn't trigger an update.
maybe fixes #3215, but I can confirm as I can't really reproduce with
the steps provided.
Co-authored-by: Leah <github.leah@hrmny.... | [
{
"path": "crates/turbo-tasks-fs/src/lib.rs",
"patch": "@@ -264,8 +264,13 @@ impl DiskFileSystem {\n }\n \n pub async fn to_sys_path(&self, fs_path: FileSystemPathVc) -> Result<PathBuf> {\n- let path = Path::new(&self.root).join(&*unix_to_sys(&fs_path.await?.path));\n- Ok(path)\n+ ... | 2023-01-10T09:28:34 |
huggingface/transformers | 935bbbc7111d71a869259b958c65df6a91f723a2 | 1b009663954110a10b59c4a8d8d071ffd4e503a7 | Add config validation and style tweaks (#37589)
* Add config validation and style tweaks
* Fix style issues
* Fix style issues
* style
* Small fixes for copy/paste errors
---------
Co-authored-by: Cyrile <cyrile.delestre@arkea.com> | [
{
"path": "src/transformers/models/mamba2/configuration_mamba2.py",
"patch": "@@ -140,6 +140,13 @@ def __init__(\n tie_word_embeddings=False,\n **kwargs,\n ):\n+ if (hidden_size * expand) != (num_heads * head_dim):\n+ raise ValueError(\n+ \"Inconsistent c... | 2025-05-14T12:22:10 |
rust-lang/rust | 7b7a9a6ecefed92114062af8a84e6b3fcead6a53 | 56f018286b8feeed22284afc14c97aa2600afb88 | Don't warn about unloaded crates
Fixes https://github.com/rust-lang/rust-clippy/pull/14397#issuecomment-2848328221 | [
{
"path": "clippy_config/src/types.rs",
"patch": "@@ -4,7 +4,7 @@ use rustc_hir::PrimTy;\n use rustc_hir::def::{DefKind, Res};\n use rustc_hir::def_id::DefIdMap;\n use rustc_middle::ty::TyCtxt;\n-use rustc_span::Span;\n+use rustc_span::{Span, Symbol};\n use serde::de::{self, Deserializer, Visitor};\n use se... | 2025-05-04T13:09:39 |
electron/electron | 48c227c263abc046f1b293ebc5864c229154cde4 | cbd6541e9aa468e61dc77760d5edf999b6a4553f | Upgrade libchromium for the accelerator fix. | [
{
"path": "script/lib/config.py",
"patch": "@@ -5,7 +5,7 @@\n \n NODE_VERSION = 'v0.11.13'\n BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'\n-LIBCHROMIUMCONTENT_COMMIT = '197fe67fee1e4d867c76264065b2eb80b9dbd3a0'\n+LIBCHROMIUMCONTENT_COMMIT = 'bb664e4665851fe923ce904e620ba43d8... | 2014-08-17T13:21:28 |
nodejs/node | 86dc0ba6ac6a3982762226b6fdce14c9fbc1f363 | 761bbfbd76a54f9e1bfcab7f903f0522a015d153 | win, build: remove superfluous error message
When building from clean checkout, `vcbuild` will produce superfluous
error message about missing .tmp_gyp_configure_stamp and
.gyp_configure_stamp. This removes both those messages.
PR-URL: https://github.com/nodejs/node/pull/22580
Reviewed-By: Refael Ackermann <refack@gm... | [
{
"path": "vcbuild.bat",
"patch": "@@ -274,13 +274,13 @@ fc .gyp_configure_stamp .tmp_gyp_configure_stamp >NUL 2>&1\n if errorlevel 1 goto run-configure\n \n :skip-configure\n-del .tmp_gyp_configure_stamp\n+del .tmp_gyp_configure_stamp 2> NUL\n echo Reusing solution generated with %configure_flags%\n goto m... | 2018-08-29T13:52:24 |
vercel/next.js | 9bb83af67204fc19b01cfaea9f231a59e97235d7 | 564199f9d143e431bb7ed1d274413d143ecc1772 | fix(next-core): check axes for variable fonts only (vercel/turbo#3209)
Addresses an issue currently affecting non-variable fonts in which
`next-dev` errors for non-variable Google fonts. This issue can be
replicated by using `next dev --turbo` and using a Google font that
isn't variable, like Hind.
The problem i... | [
{
"path": "packages/next-swc/crates/next-core/src/next_font_google/util.rs",
"patch": "@@ -31,10 +31,6 @@ pub(crate) fn get_font_axes(\n .context(\"Font family not found\")?\n .axes;\n \n- let Some(defineable_axes) = all_axes else {\n- bail!(\"Font {} has no definable `axes`\", fon... | 2023-01-10T00:12:32 |
golang/go | de614651561c6d5bfe1e68bddaf0dedab9a0ecb0 | 4cf7f5f6947c1e3200d669ae7b8016f7431d718c | [dev.typeparams] cmd/compile: allow inlining in instantiated functions
Change markType to scan generic types and methods, so that inlineable
functions inside generic functions/methods will be properly marked for
export, which means inlining inside instantiated functions will work
correctly.
Also, fix handling of clos... | [
{
"path": "src/cmd/compile/internal/gc/export.go",
"patch": "@@ -94,15 +94,14 @@ func (p *exporter) markObject(n ir.Node) {\n // markType recursively visits types reachable from t to identify\n // functions whose inline bodies may be needed.\n func (p *exporter) markType(t *types.Type) {\n-\tif p.marked[t] ... | 2021-06-01T17:49:14 |
huggingface/transformers | 1b009663954110a10b59c4a8d8d071ffd4e503a7 | fe918d13b94ffdd54a79fec74129375f94cb405e | Fix auto batch size finder test (#38125)
Ensure --auto_find_batch_size is the last test arg so indexing is correct | [
{
"path": "tests/trainer/test_trainer.py",
"patch": "@@ -3300,8 +3300,8 @@ def test_auto_batch_size_finder(self):\n --learning_rate 2e-5\n --num_train_epochs 1\n --output_dir {tmpdir}\n- --auto_find_batch_size 0\n --report_to non... | 2025-05-14T12:12:04 |
electron/electron | cbd6541e9aa468e61dc77760d5edf999b6a4553f | 2a9f5a5fb8e341c15e952c8b16c445acb1a68a50 | views: Fix compilation error. | [
{
"path": "atom/browser/native_window_views.cc",
"patch": "@@ -124,7 +124,7 @@ NativeWindowViews::NativeWindowViews(content::WebContents* web_contents,\n // will not allow us to resize the window larger than scree.\n // Setting directly to INT_MAX somehow doesn't work, so we just devide\n // by ... | 2014-08-17T04:57:22 |
golang/go | 831f9376d8d730b16fb33dfd775618dffe13ce7a | 3a9d906edcfd0fa574ecd5498f8999b56f1e5fa1 | net/http: fix ResponseWriter.ReadFrom with short reads
CL 249238 changes ResponseWriter.ReadFrom to probe the source with
a single read of sniffLen bytes before writing the response header.
If the source returns less than sniffLen bytes without reaching
EOF, this can cause Content-Type and Content-Length detection to
... | [
{
"path": "src/net/http/server.go",
"patch": "@@ -577,37 +577,17 @@ func (w *response) ReadFrom(src io.Reader) (n int64, err error) {\n \t\treturn io.CopyBuffer(writerOnly{w}, src, buf)\n \t}\n \n-\t// sendfile path:\n-\n-\t// Do not start actually writing response until src is readable.\n-\t// If body leng... | 2021-03-12T21:53:11 |
nodejs/node | 761bbfbd76a54f9e1bfcab7f903f0522a015d153 | 8452459ee64a065be293f0e3b8ccfbd7946bbcad | crypto: fix incorrect use of INT_MAX in validation
The native crypto module doesn't export INT_MAX, so all occurrences
in the JavaScript layer evaluated to undefined. This change removes
all such occurrences and replaces validateInt32 with validateUint32
since the native layer assumes uint32_t anyway.
The alternative... | [
{
"path": "lib/internal/crypto/pbkdf2.js",
"patch": "@@ -3,8 +3,8 @@\n const { internalBinding } = require('internal/bootstrap/loaders');\n const { AsyncWrap, Providers } = internalBinding('async_wrap');\n const { Buffer } = require('buffer');\n-const { INT_MAX, pbkdf2: _pbkdf2 } = internalBinding('crypto')... | 2018-08-29T12:45:29 |
huggingface/transformers | fe918d13b94ffdd54a79fec74129375f94cb405e | aaf224d570786ff9a0575cfdf619efda6121cc8c | Fix temporal padding in Qwen2VLImageProcessor when the number of frames is not divisible by temporal_patch_size (#38076)
Qwen2VL: Fix temporal padding in Qwen2VLImageProcessor when frames are not divisible by temporal_patch_size | [
{
"path": "src/transformers/models/qwen2_vl/image_processing_qwen2_vl.py",
"patch": "@@ -274,7 +274,9 @@ def _preprocess(\n if data_format == ChannelDimension.LAST:\n patches = patches.transpose(0, 3, 1, 2)\n if patches.shape[0] % temporal_patch_size != 0:\n- repeats =... | 2025-05-14T10:28:21 |
vercel/next.js | f3b37252b741fd0dca826cc170f045b78894851d | 0c0f93d5d93a1916b25b522efe81a0a5c03c768e | fix(next-core): check axes for variable fonts only (vercel/turbo#3209)
Addresses an issue currently affecting non-variable fonts in which
`next-dev` errors for non-variable Google fonts. This issue can be
replicated by using `next dev --turbo` and using a Google font that
isn't variable, like Hind.
The problem i... | [
{
"path": "crates/next-core/src/next_font_google/util.rs",
"patch": "@@ -31,10 +31,6 @@ pub(crate) fn get_font_axes(\n .context(\"Font family not found\")?\n .axes;\n \n- let Some(defineable_axes) = all_axes else {\n- bail!(\"Font {} has no definable `axes`\", font_family);\n- }... | 2023-01-10T00:12:32 |
electron/electron | 2a9f5a5fb8e341c15e952c8b16c445acb1a68a50 | 78afa29ade59edcf60f85fe4a817690e09ea134e | Add "enable-larger-than-screen" option for BrowserWindow.
From now on BrowserWindow can only be resized larger than screen or
moved out of screen when this option is set to "true".
Fixes #582. | [
{
"path": "atom/browser/native_window.cc",
"patch": "@@ -58,6 +58,7 @@ NativeWindow::NativeWindow(content::WebContents* web_contents,\n const mate::Dictionary& options)\n : content::WebContentsObserver(web_contents),\n has_frame_(true),\n+ enable_larger_than_screen_... | 2014-08-17T04:23:00 |
huggingface/transformers | aaf224d570786ff9a0575cfdf619efda6121cc8c | 9b5ce556aae70c5d201b20a20c4a50aa89a2176c | [video processor] fix tests (#38104)
* fix tests
* delete
* fix one more test
* fix qwen + some tests are failing irrespective of `VideoProcessor`
* delete file | [
{
"path": "src/transformers/models/auto/video_processing_auto.py",
"patch": "@@ -46,12 +46,15 @@\n else:\n VIDEO_PROCESSOR_MAPPING_NAMES = OrderedDict(\n [\n+ (\"instructblip\", \"InstructBlipVideoVideoProcessor\"),\n (\"instructblipvideo\", \"InstructBlipVideoVideoProcess... | 2025-05-14T10:24:07 |
golang/go | 46beeed0ac4cd409554167c315861eaf8ae68c4a | 8e6dfe1b315ca0ef6497b28e16523c2dc4019503 | [dev.typeparams] cmd/compile: allow go'd closure to escape when compiling runtime
When compiling runtime, we don't allow closures to escape,
because we don't want (implicit) allocations to occur when it is
not okay to allocate (e.g. in the allocator itself). However, for
go statement, it already allocates a new gorout... | [
{
"path": "src/cmd/compile/internal/ir/expr.go",
"patch": "@@ -192,6 +192,7 @@ type ClosureExpr struct {\n \tminiExpr\n \tFunc *Func `mknode:\"-\"`\n \tPrealloc *Name\n+\tIsGoWrap bool // whether this is wrapper closure of a go statement\n }\n \n func NewClosureExpr(pos src.XPos, fn *Func) *ClosureExpr ... | 2021-06-03T22:25:47 |
vercel/next.js | c9141cf1310ac9cf6a8e2918a54466ac6e168727 | 893328905f3507969d2f2ebe8f006901f8bab814 | land(Fix: Add trailing slash to locale redirect based on next config) (#44735)
Lands https://github.com/vercel/next.js/pull/44562 with lint fixes
Closes: https://github.com/vercel/next.js/pull/44562
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a he... | [
{
"path": "packages/next/src/shared/lib/i18n/get-locale-redirect.ts",
"patch": "@@ -108,7 +108,9 @@ export function getLocaleRedirect({\n if (detectedLocale.toLowerCase() !== defaultLocale.toLowerCase()) {\n return formatUrl({\n ...urlParsed,\n- pathname: `${nextConfig.basePath || '... | 2023-01-10T00:04:55 |
nodejs/node | b4026099c3f36aadb5008856e3571f463d52d52a | 594dd4242b99824d44b2b0f17421fa86c10f1d12 | crypto: improve setAuthTag
This is an attempt to make the behavior of setAuthTag match the
documentation: In GCM mode, it can be called at any time before
invoking final, even after the last call to update.
Fixes: https://github.com/nodejs/node/issues/22421
PR-URL: https://github.com/nodejs/node/pull/22538
Reviewed-... | [
{
"path": "src/node_crypto.cc",
"patch": "@@ -2928,6 +2928,20 @@ void CipherBase::SetAuthTag(const FunctionCallbackInfo<Value>& args) {\n }\n \n \n+bool CipherBase::MaybePassAuthTagToOpenSSL() {\n+ if (!auth_tag_set_ && auth_tag_len_ != kNoAuthTagLength) {\n+ if (!EVP_CIPHER_CTX_ctrl(ctx_.get(),\n+ ... | 2018-08-26T17:17:09 |
rust-lang/rust | d6183aa9d70e59eaa52ee7938d331a84f24942e9 | 429027a40fccaf6835860728c3217e4f9cb5709d | Disable fixpoint for variance computation temporarily | [
{
"path": "src/tools/rust-analyzer/crates/hir-ty/src/db.rs",
"patch": "@@ -283,8 +283,9 @@ pub trait HirDatabase: DefDatabase + std::fmt::Debug {\n \n #[salsa::invoke(crate::variance::variances_of)]\n #[salsa::cycle(\n- cycle_fn = crate::variance::variances_of_cycle_fn,\n- cycle_initia... | 2025-05-04T04:09:34 |
electron/electron | 73bb05e5305dbef56417dcf1508c1408692242ba | 8cc23aca8d8aee47f8b6068c17ce0c4bf17dfaa6 | mac: Make "Text to Speech" work, fixes atom/atom#3288. | [
{
"path": "atom/browser/native_window_mac.mm",
"patch": "@@ -133,6 +133,20 @@ - (IBAction)showDevTools:(id)sender {\n shell_->OpenDevTools();\n }\n \n+// Returns an empty array for AXChildren attribute, this will force the\n+// SpeechSynthesisServer to use its classical way of speaking the selected text:\... | 2014-08-17T03:26:02 |
huggingface/transformers | 9b5ce556aae70c5d201b20a20c4a50aa89a2176c | b311a3f50697c9602cc5d13a5faf7f6059c392ca | enable finegrained_fp8 and granite_speech cases on XPU (#38036)
* enable finegrained_fp8 cases on XPU
Signed-off-by: Yao Matrix <matrix.yao@intel.com>
* fix style
Signed-off-by: Yao Matrix <matrix.yao@intel.com>
* change back to auto
Signed-off-by: Yao Matrix <matrix.yao@intel.com>
* rename per comments
Signed-... | [
{
"path": "src/transformers/integrations/finegrained_fp8.py",
"patch": "@@ -15,7 +15,7 @@\n \n from typing import List, Optional, Tuple\n \n-from ..utils import is_accelerate_available, is_torch_available, logging\n+from ..utils import is_accelerate_available, is_torch_accelerator_available, is_torch_availa... | 2025-05-14T08:58:40 |
golang/go | c6b62112292fa741d5708dfd63bd89eed3b6f8ee | 021444007590da4c1f6e504904e2871a1012c0bf | doc/go1.17: document testing changes for Go 1.17
For #44513. Fixes #46024
Change-Id: Icf3877d1fcd67448fbc79a0ce3db3f319ad4a0e9
GitHub-Last-Rev: 8c015935c2e376134d81aa577bffdca7fc03170d
GitHub-Pull-Request: golang/go#46324
Reviewed-on: https://go-review.googlesource.com/c/go/+/322109
Reviewed-by: Heschi Kreinick <hesc... | [
{
"path": "doc/go1.17.html",
"patch": "@@ -659,9 +659,8 @@ <h3 id=\"minor_library_changes\">Minor changes to the library</h3>\n <dl id=\"testing\"><dt><a href=\"/pkg/testing/\">testing</a></dt>\n <dd>\n <p><!-- CL 310033 -->\n- TODO: <a href=\"https://golang.org/cl/310033\">https://golang.org/cl/... | 2021-06-03T17:43:36 |
vercel/next.js | 893328905f3507969d2f2ebe8f006901f8bab814 | f4d9a50a3ef58ae7442ac2f61a28e6f7d6f09357 | Update prompts for CNA and add default @/* alias (#44672)
This adds prompts for using a `src/` directory and experimental `app/`
directory with create-next-app. Also adds `jsconfig` and `tsconfig`
options to alias `@/*` by default.
x-ref: [slack
thread](https://vercel.slack.com/archives/C03KAR5DCKC/p167285609770... | [
{
"path": "docs/api-reference/create-next-app.md",
"patch": "@@ -33,7 +33,7 @@ You can also pass command line arguments to set up a new project\n non-interactively. See `create-next-app --help`:\n \n ```bash\n-create-next-app <project-directory> [options]\n+Usage: create-next-app <project-directory> [option... | 2023-01-09T23:41:12 |
nodejs/node | 594dd4242b99824d44b2b0f17421fa86c10f1d12 | 208022cb313209000ca490628fc3f03e392671aa | doc: clarify fallback behavior of module require
PR-URL: https://github.com/nodejs/node/pull/22494
Fixes: https://github.com/nodejs/node/issues/22464
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: George Adams <george.adams@uk.ibm.com> | [
{
"path": "doc/api/modules.md",
"patch": "@@ -352,22 +352,22 @@ If this was in a folder at `./some-library`, then\n \n This is the extent of Node.js's awareness of `package.json` files.\n \n-If the file specified by the `'main'` entry of `package.json` is missing and\n-can not be resolved, Node.js will repo... | 2018-08-22T23:28:18 |
huggingface/transformers | b311a3f50697c9602cc5d13a5faf7f6059c392ca | b499a14b17062257a41accc12e833f48f0a69409 | Fix description and formatting errors in code docs (#38074)
* Update stopping_criteria.py
Fix description and formatting errors.
* Update stopping_criteria.py
Align formatting with existing files for consistency. | [
{
"path": "src/transformers/generation/stopping_criteria.py",
"patch": "@@ -37,8 +37,9 @@\n Additional stopping criteria specific kwargs.\n \n Return:\n- `torch.BoolTensor`. (`torch.BoolTensor` of shape `(batch_size, 1)`), where `True` indicates we stop generation\n- for a ... | 2025-05-13T17:17:15 |
golang/go | 090a17c99847166ac25ce33397e6adf83cc40a1d | 62c40878e47c71b1e291e9c3064d76c16a6f9d69 | [dev.typeparams] go/types: use correct type parameter list in missingMethod
This is a port of CL 321232 to go/types, adjusted to add a missing
comment and to remove optional support for method type params.
Fixes #46275
Change-Id: I63fcbb669e7607876a888fca89b9064568805448
Reviewed-on: https://go-review.googlesource.c... | [
{
"path": "src/go/types/lookup.go",
"patch": "@@ -327,11 +327,15 @@ func (check *Checker) missingMethod(V Type, T *Interface, static bool) (method,\n \t\t\t\treturn m, f\n \t\t\t}\n \n+\t\t\t// both methods must have the same number of type parameters\n \t\t\tftyp := f.typ.(*Signature)\n \t\t\tmtyp := m.typ... | 2021-06-03T14:57:09 |
nodejs/node | 4a0466f23a67a8b17d652ea5c5b89dd202f3160c | 7aac70607df723a1218577d5f0d7a4b6bd94d993 | net: throw error if port/path does not exist in options
Throw error ERR_INVALID_ARG_VALUE if the port and path properties
do not exist in the options object argument when calling
server.listen().
Refs: https://github.com/nodejs/node/issues/16712
PR-URL: https://github.com/nodejs/node/pull/22085
Reviewed-By: Joyee Ch... | [
{
"path": "lib/net.js",
"patch": "@@ -68,6 +68,7 @@ const errors = require('internal/errors');\n const {\n ERR_INVALID_ADDRESS_FAMILY,\n ERR_INVALID_ARG_TYPE,\n+ ERR_INVALID_ARG_VALUE,\n ERR_INVALID_FD_TYPE,\n ERR_INVALID_IP_ADDRESS,\n ERR_INVALID_OPT_VALUE,\n@@ -1496,6 +1497,11 @@ Server.prototy... | 2018-08-02T10:28:14 |
vercel/next.js | cdfc484ba54725bde8e0949b71307de224c23932 | 2d0323728f3dd66337bf8efa07a67bce86d96873 | @next/font/google unknown font error (#44713)
I messed up the unknown font error in
https://github.com/vercel/next.js/pull/44594. Restore the original
error.
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see
[`contributing.m... | [
{
"path": "packages/font/src/google/utils.ts",
"patch": "@@ -44,6 +44,9 @@ export function validateData(\n \n const fontFamily = functionName.replace(/_/g, ' ')\n const fontFamilyData = (fontData as any)[fontFamily]\n+ if (!fontFamilyData) {\n+ nextFontError(`Unknown font \\`${fontFamily}\\``)\n+ }... | 2023-01-09T18:15:45 |
huggingface/transformers | 342961f6696115970593a8ec8e727145cb5a499f | 8771766a70e8cc57763e26cb81b92bdd6120d882 | Add Fast Image Processor for vilt (#37304)
* init vilt image processor fast
* Refactor image processor tests to use loop for all processors
* Add ViltImageProcessorFast with PyTorch-based optimized image processing
* Change made automatically by make fixup command
* Change made automatically by make fix-copies com... | [
{
"path": "docs/source/en/model_doc/vilt.md",
"patch": "@@ -72,6 +72,11 @@ This model was contributed by [nielsr](https://huggingface.co/nielsr). The origi\n [[autodoc]] ViltImageProcessor\n - preprocess\n \n+## ViltImageProcessorFast\n+\n+[[autodoc]] ViltImageProcessorFast\n+ - preprocess\n+\n ## Vi... | 2025-05-13T15:40:53 |
electron/electron | 54ee12308dc940829c00b70eb44d6874737f98dc | e9879a3e4b1f6215003c21781f133491e8fd5936 | reused converted and fixed indentation | [
{
"path": "atom/browser/api/atom_api_app.cc",
"patch": "@@ -68,7 +68,7 @@ void App::OnFinishLaunching() {\n Emit(\"ready\");\n }\n \n-std::string App::GetDataPath() {\n+base::FilePath App::GetDataPath() {\n base::FilePath path;\n #if defined(OS_LINUX)\n scoped_ptr<base::Environment> env(base::Environm... | 2014-08-15T14:52:16 |
golang/go | e32fab145b488cf8bd1fb4a2466cb9be33ac3770 | cd6e9df446680d591c28c08d2cc768ec014cf29d | [dev.typeparams] go/types: fix panic with nil package name
This is a straightforward port of CL 320490 to go/types.
Change-Id: I763c806c777f926a563d8f9384764e5b3f7f083c
Reviewed-on: https://go-review.googlesource.com/c/go/+/324732
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google... | [
{
"path": "src/go/types/resolver.go",
"patch": "@@ -276,7 +276,7 @@ func (check *Checker) collectObjects() {\n \t\t\t\t}\n \n \t\t\t\tif name == \"init\" {\n-\t\t\t\t\tcheck.errorf(d.spec.Name, _InvalidInitDecl, \"cannot import package as init - init must be a func\")\n+\t\t\t\t\tcheck.errorf(d.spec, _Inval... | 2021-06-03T13:52:05 |
nodejs/node | 1287e524eeba4632decce231da161426efb8fc34 | ec75ba6f0a99c2549e21026904a35f236808638d | src: fix external memory usage going negative
PR-URL: https://github.com/nodejs/node/pull/22594
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tobias Ni... | [
{
"path": "src/node_crypto.h",
"patch": "@@ -198,7 +198,9 @@ class SecureContext : public BaseObject {\n }\n \n inline void Reset() {\n- env()->isolate()->AdjustAmountOfExternalAllocatedMemory(-kExternalSize);\n+ if (ctx_ != nullptr) {\n+ env()->isolate()->AdjustAmountOfExternalAllocatedMemor... | 2018-08-30T01:23:41 |
vercel/next.js | 2d0323728f3dd66337bf8efa07a67bce86d96873 | 33d787047202280179b20d7129632caec6ac0af6 | fix: support runtime value when using multiple declarations per export (#44732)
Fixes a bug where the export syntax with multiple declarations didn't
work. I.e. this now works:
```
export const foo = 'bar', runtime = 'edge'
```
[x-slack-ref](https://vercel.slack.com/archives/C03LF48T3B7/p1673152323630709)
... | [
{
"path": "packages/next/src/build/analysis/get-page-static-info.ts",
"patch": "@@ -70,9 +70,10 @@ function checkExports(swcAST: any): {\n node.type === 'ExportDeclaration' &&\n node.declaration?.type === 'VariableDeclaration'\n ) {\n- const id = node.declaration?.declar... | 2023-01-09T17:58:31 |
huggingface/transformers | 8771766a70e8cc57763e26cb81b92bdd6120d882 | 582d5e0e11d204bce1328a8aa91ea7a43d349615 | Fix InternVL interpolate_pos_encoding and add to video_processing_auto (#38092)
* fix InternVL interpolate_pos_encoding
* fix modular and auto_video_processor for internvl | [
{
"path": "src/transformers/models/auto/video_processing_auto.py",
"patch": "@@ -24,13 +24,7 @@\n # Build the list of all video processors\n from ...configuration_utils import PretrainedConfig\n from ...dynamic_module_utils import get_class_from_dynamic_module, resolve_trust_remote_code\n-from ...utils impo... | 2025-05-13T15:18:40 |
electron/electron | 1b70ca2098a5dc2c688ee7c5b4f81a2a259e4151 | e8d1c69ea864f892f29f00eb48f126f217a12b9c | Initialize job factory as early as possible.
Fixes atom/atom#3255. | [
{
"path": "atom/browser/api/atom_api_protocol.cc",
"patch": "@@ -4,7 +4,6 @@\n \n #include \"atom/browser/api/atom_api_protocol.h\"\n \n-#include \"base/stl_util.h\"\n #include \"atom/browser/atom_browser_context.h\"\n #include \"atom/browser/net/adapter_request_job.h\"\n #include \"atom/browser/net/atom_ur... | 2014-08-15T03:35:13 |
golang/go | cd6e9df446680d591c28c08d2cc768ec014cf29d | 655246f99a22950985a9ab9fc1e0bb4a8cb2ea7e | [dev.typeparams] go/types: print "incomplete" for interfaces in debug mode only
This is a straightforward port of CL 320150 to go/types.
Fixes #46167
Change-Id: Id1845046f598ac4fefd68cda6a5a03b7a5fc5a4a
Reviewed-on: https://go-review.googlesource.com/c/go/+/324731
Trust: Robert Findley <rfindley@google.com>
Run-TryB... | [
{
"path": "src/go/types/types_test.go",
"patch": "@@ -9,3 +9,6 @@ package types\n func SetGoVersion(config *Config, goVersion string) {\n \tconfig.goVersion = goVersion\n }\n+\n+// Debug is set if go/types is built with debug mode enabled.\n+const Debug = debug",
"additions": 3,
"deletions": 0,
... | 2021-06-03T13:49:21 |
huggingface/transformers | 582d5e0e11d204bce1328a8aa91ea7a43d349615 | a5cc7a67d72b2a8e709f793c636b64fe423f71f6 | fix `check_bad commit.py` gives wrong results (#38107)
fix
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com> | [
{
"path": "utils/check_bad_commit.py",
"patch": "@@ -55,7 +55,7 @@ def create_script(target_test):\n else:\n print(f\"pytest failed to run: {{result.stderr}}\")\n exit(-1)\n-elif f\"{target_test} FAILED\" in result.stdout:\n+elif f\"FAILED {target_test}\" in result.stdout:\n print(\"... | 2025-05-13T14:58:22 |
nodejs/node | 030ef35bf026f32a3381187c405b4495bd8bf1d4 | f86d0ebc36776cdb09f5514158e783ee440f4216 | doc: add section on how to build debug build
PR-URL: https://github.com/nodejs/node/pull/22510
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> | [
{
"path": "BUILDING.md",
"patch": "@@ -253,6 +253,44 @@ To install this version of Node.js into a system directory:\n $ [sudo] make install\n ```\n \n+#### Building a debug build\n+\n+If you run into an issue where the information provided by the JS stack trace\n+is not enough, or if you suspect the error h... | 2018-08-24T18:52:18 |
vercel/next.js | 564199f9d143e431bb7ed1d274413d143ecc1772 | d79c929de5145f50c16ef0d9bea3bbc117d656ab | Fix clippy warnings with next-transform-strip-page-exports (vercel/turbo#3220) | [
{
"path": "packages/next-swc/crates/next-transform-strip-page-exports/src/lib.rs",
"patch": "@@ -222,16 +222,15 @@ impl State {\n }\n \n fn should_retain_export_type(&self, export_type: ExportType) -> bool {\n- match (self.filter, export_type) {\n+ !matches!(\n+ (self.filter... | 2023-01-09T17:30:52 |
electron/electron | e8d1c69ea864f892f29f00eb48f126f217a12b9c | 1883da463f7cdaca7199770eb2e084f53bedecae | Enable the spec of testing crash of protocol module. | [
{
"path": "spec/static/main.js",
"patch": "@@ -133,7 +133,7 @@ app.on('ready', function() {\n app.setApplicationMenu(menu);\n \n // Test if using protocol module would crash.\n- // require('protocol').registerProtocol('test-if-crashes', function() {});\n+ require('protocol').registerProtocol('test-if-... | 2014-08-15T03:08:06 |
golang/go | 021444007590da4c1f6e504904e2871a1012c0bf | 962d5c997af450af1de9a38eb6510cdfc86ea689 | syscall: do not pass console handles to PROC_THREAD_ATTRIBUTE_HANDLE_LIST on Windows 7
On Windows 7 (and below), console handles are not real kernel handles
but are rather userspace objects, with information passed via special
bits in the handle itself. That means they can't be passed in
PROC_THREAD_ATTRIBUTE_HANDLE_L... | [
{
"path": "src/syscall/exec_windows.go",
"patch": "@@ -313,6 +313,17 @@ func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle\n \t\t}\n \t}\n \n+\tvar maj, min, build uint32\n+\trtlGetNtVersionNumbers(&maj, &min, &build)\n+\tisWin7 := maj < 6 || (maj == 6 && min <= 1)\n+\t// NT ker... | 2021-05-13T11:19:14 |
huggingface/transformers | a5cc7a67d72b2a8e709f793c636b64fe423f71f6 | 67b3d45eb6738292e1f63f159c6791bf759058de | [bug] fix llava processor to calculate unpadding size correctly (#37988)
* fix llava processor to calculate unpad size correctly
* repo consistency
* Revert "repo consistency" & "setUp in llava family"
This reverts commit 26a50af8db5b15bb6b700db3d53342fe69579d8e.
* add edge case test for padding & unpadding
* com... | [
{
"path": "src/transformers/models/llava_next/modeling_llava_next.py",
"patch": "@@ -20,7 +20,6 @@\n \n import numpy as np\n import torch\n-import torch.utils.checkpoint\n from torch import nn\n \n from ...activations import ACT2FN\n@@ -133,14 +132,14 @@ def unpad_image(tensor, original_size):\n \n if o... | 2025-05-13T13:49:09 |
nodejs/node | f2338ed195de0040c0e4122f891b3e64ab487a79 | a58b8dd5457998d8ce75f2387a18c1b9d5e7ed09 | doc: fix up warning text about character devices
The text contained a number of inaccuracies:
- The main thread is never blocked by a stream close.
- There is no such thing as an EOF character on the OS level,
the libuv level, or the Node.js stream level.
- These streams *do* respond to `.close()`, but pending
re... | [
{
"path": "doc/api/fs.md",
"patch": "@@ -1454,23 +1454,24 @@ the specified file descriptor. This means that no `'open'` event will be\n emitted. `fd` should be blocking; non-blocking `fd`s should be passed to\n [`net.Socket`][].\n \n-The blocking `fd`, if pointing to a character device (such as keyboard or\... | 2018-08-28T13:56:30 |
vercel/next.js | 0c0f93d5d93a1916b25b522efe81a0a5c03c768e | 1f0a56632c966e7a3917899671b7444fc5566714 | Fix clippy warnings with next-transform-strip-page-exports (vercel/turbo#3220) | [
{
"path": "crates/next-transform-strip-page-exports/src/lib.rs",
"patch": "@@ -222,16 +222,15 @@ impl State {\n }\n \n fn should_retain_export_type(&self, export_type: ExportType) -> bool {\n- match (self.filter, export_type) {\n+ !matches!(\n+ (self.filter, export_type),\n ... | 2023-01-09T17:30:52 |
electron/electron | dec05988f40153fb5a9ce0e9661eca65fbebb1dd | be6599807d83e8fd59fd4584ce96a33a9a8c86ee | Fixes for windows | [
{
"path": "atom/browser/api/atom_api_app.cc",
"patch": "@@ -78,9 +78,16 @@ std::string App::GetDataPath() {\n CHECK(PathService::Get(base::DIR_APP_DATA, &path));\n #endif\n \n- base::FilePath dataPath = path.Append(base::FilePath::FromUTF8Unsafe(Browser::Get()->GetName()));\n+ base::FilePath data_path =... | 2014-08-13T12:16:55 |
huggingface/transformers | 67b3d45eb6738292e1f63f159c6791bf759058de | 07feaad8fbf4399def9235ce724308b05febb6f6 | Fix `past_key_values` type hint in model output types (#37953)
* F: Fix type hint.
* F: Use Cache type.
* F: Sort import.
* U: Format.
* U: Address reviews. | [
{
"path": "src/transformers/cache_utils.py",
"patch": "@@ -464,7 +464,7 @@ def get_max_cache_shape(self) -> Optional[int]:\n \"\"\"Returns the maximum sequence length of the cache object. DynamicCache does not have a maximum length.\"\"\"\n return None\n \n- def to_legacy_cache(self) -> T... | 2025-05-13T13:36:49 |
golang/go | 2175e2f57331cbcd32bccc47fa7fe7a6874a69a3 | 4d2b528795fe2534398d1b1a978e1037d4a9d2f0 | [dev.typeparams] cmd/compile: lazy import resolution for types2
This CL adds three new functions to the types2 API to support lazy
import resolution:
1. A new Scope.InsertLazy method to allow recording that Objects exist
in a particular Scope (in particular, package scopes) without having
to yet fully construct those... | [
{
"path": "src/cmd/compile/internal/types2/check.go",
"patch": "@@ -71,7 +71,7 @@ type importKey struct {\n // A dotImportKey describes a dot-imported object in the given scope.\n type dotImportKey struct {\n \tscope *Scope\n-\tobj Object\n+\tname string\n }\n \n // A Checker maintains the state of the t... | 2021-05-29T22:35:18 |
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.