CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 07:31:43 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/chakra-core/ChakraCore.git
etag: W/"957c14548035ef5004528524e2f07e5d"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=YD%2Byj3YBQ7TfSq3poveBFfu5ufsHt1Cfq0%2F1VFTFt5q1xh62tMuXFsOViABN1dBhrG%2BgaAt3wFAbURHGA4jmoJ8gvycyxLFBCkWMOZVtOB2yVN4v4ylfpde7pk1Gu3ymicIIaQ9xO2Q3cJdSfFbHXCHG2pQdGsbiXOKbY4nrVHLMB96IAVt7K23mBItlm%2FIY%2BInZOB%2FbzQOagMr6x2Gki%2FL%2BPWvzmJBlLdVdCesuvGjJo%2F%2FNS3i97KSbKER1ooranYY8QJXMSTZqteRMYH6TPQ%3D%3D--Acc%2FrRluh4t4bao6--hiko2wCsT0kCWemcG%2BJH0Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.658523286.1753255902; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 07:31:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 07:31:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8C84:3644F0:636709:7D2B64:68808FDE
Adding Jsrt function JsCopyStringOneByte · chakra-core/ChakraCore@9020556 · GitHub
Copy file name to clipboardExpand all lines: bin/NativeTests/JsRTApiTest.cpp
Copy file name to clipboardExpand all lines: lib/Jsrt/JsrtCommonExports.inc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit 9020556
committed
Adding Jsrt function JsCopyStringOneByte
For scenarios where a string is known to have values fitting in
one byte, this method allows directly copying those values into a
char* buffer rather than having to copy to a uint16_t* buffer
and then to a char* buffer, and treating the string as raw bytes
rather than a valid utf8 encoding.1 parent 1e7793c commit 9020556Copy full SHA for 9020556
File tree
Expand file treeCollapse file tree
4 files changed
+97
-10
lines changedFilter options
- bin/NativeTests
- lib/Jsrt
Expand file treeCollapse file tree
4 files changed
+97
-10
lines changedbin/NativeTests/JsRTApiTest.cpp
Copy file name to clipboardExpand all lines: bin/NativeTests/JsRTApiTest.cpp+28Lines changed: 28 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2143 | 2143 |
| |
2144 | 2144 |
| |
2145 | 2145 |
| |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
2146 | 2174 |
|
+38Lines changed: 38 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
679 | 679 |
| |
680 | 680 |
| |
681 | 681 |
| |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
682 | 720 |
| |
683 | 721 |
|
+30-10Lines changed: 30 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4181 | 4181 |
| |
4182 | 4182 |
| |
4183 | 4183 |
| |
4184 |
| - | |
4185 |
| - | |
4186 |
| - | |
4187 |
| - | |
| 4184 | + | |
4188 | 4185 |
| |
4189 |
| - | |
| 4186 | + | |
4190 | 4187 |
| |
4191 | 4188 |
| |
| 4189 | + | |
| 4190 | + | |
| 4191 | + | |
| 4192 | + | |
4192 | 4193 |
| |
4193 | 4194 |
| |
4194 | 4195 |
| |
| |||
4200 | 4201 |
| |
4201 | 4202 |
| |
4202 | 4203 |
| |
4203 |
| - | |
| 4204 | + | |
4204 | 4205 |
| |
4205 | 4206 |
| |
4206 | 4207 |
| |
| |||
4231 | 4232 |
| |
4232 | 4233 |
| |
4233 | 4234 |
| |
4234 |
| - | |
4235 |
| - | |
4236 |
| - | |
4237 |
| - | |
4238 | 4235 |
| |
4239 | 4236 |
| |
4240 | 4237 |
| |
| |||
4746 | 4743 |
| |
4747 | 4744 |
| |
4748 | 4745 |
| |
| 4746 | + | |
| 4747 | + | |
| 4748 | + | |
| 4749 | + | |
| 4750 | + | |
| 4751 | + | |
| 4752 | + | |
| 4753 | + | |
| 4754 | + | |
| 4755 | + | |
| 4756 | + | |
| 4757 | + | |
| 4758 | + | |
| 4759 | + | |
| 4760 | + | |
| 4761 | + | |
| 4762 | + | |
| 4763 | + | |
| 4764 | + | |
| 4765 | + | |
| 4766 | + | |
| 4767 | + | |
| 4768 | + | |
4749 | 4769 |
|
lib/Jsrt/JsrtCommonExports.inc
Copy file name to clipboardExpand all lines: lib/Jsrt/JsrtCommonExports.inc+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
120 | 120 |
| |
121 | 121 |
| |
122 | 122 |
| |
| 123 | + | |
123 | 124 |
|
You can’t perform that action at this time.
0 commit comments