CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 11:31:11 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/aeron-io/simple-binary-encoding.git
etag: W/"250a61c99cfc8ed7aed3e3fa8327ae3c"
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=RH9tFTvOP00SCNqQ6gh%2F20HGyC2ODRaFWYx5CwuaRfqSE0cTuj4SVCECYJ2B0mhZyJ6u42F5XqKzo4pYzXXRbSkd9Wb5Ps2AjcH7SMJWpruD%2FIFcGzzs7Rw5UK9mExb8a8slRny3fjtWX4WbsQLL83Xm%2B4rNZXop3DigK6XlgmHYD%2FctxgkwLyTVya5lwTnFV5qemA4CZBslVppVJSWUZx70pc9%2FWokU7f1c7E9J8on9XPeUVAQscNHEHo3EA%2FhswgasO%2BAyLKtcK5%2Bl2qPCyg%3D%3D--TSYckLi1vcAoksAH--pMq6EchBirqIBciz0D3bzg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1522554628.1752924670; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 11:31:10 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 11:31:10 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 9424:67A53:42D81C:53F23D:687B81FE
[C++] Fix field precedence check issue #1031. (#1033) · aeron-io/simple-binary-encoding@0c48ee3 · GitHub
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java
Copy file name to clipboardExpand all lines: sbe-tool/src/test/cpp/FieldAccessOrderCheckTest.cpp
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 542
Commit 0c48ee3
authored
There were a couple of problems here:
1. "wrapping constructors" did not initialize the codec state (for
precedence checks) correctly, and
2. the methods returning a JSON encoded string would attempt to
transition twice.
These problems are now resolved.
I have also made a technically breaking change. I have removed an
unnecessary constructor that took in the codec state. I think it is
highly unlikely that anyone was using this constructor; therefore,
it should be okay to make the change.
1 parent daf0283 commit 0c48ee3Copy full SHA for 0c48ee3
File tree
Expand file treeCollapse file tree
2 files changed
+120
-52
lines changedFilter options
- sbe-tool/src
- main/java/uk/co/real_logic/sbe/generation/cpp
- test/cpp
Expand file treeCollapse file tree
2 files changed
+120
-52
lines changedsbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java
Copy file name to clipboardExpand all lines: sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java+27-52Lines changed: 27 additions & 52 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1201 | 1201 |
| |
1202 | 1202 |
| |
1203 | 1203 |
| |
1204 |
| - | |
| 1204 | + | |
1205 | 1205 |
| |
1206 | 1206 |
| |
1207 | 1207 |
| |
| |||
2307 | 2307 |
| |
2308 | 2308 |
| |
2309 | 2309 |
| |
2310 |
| - | |
| 2310 | + | |
2311 | 2311 |
| |
2312 | 2312 |
| |
2313 | 2313 |
| |
| |||
2381 | 2381 |
| |
2382 | 2382 |
| |
2383 | 2383 |
| |
2384 |
| - | |
2385 |
| - | |
| 2384 | + | |
2386 | 2385 |
| |
2387 | 2386 |
| |
2388 | 2387 |
| |
2389 | 2388 |
| |
2390 | 2389 |
| |
2391 |
| - | |
2392 | 2390 |
| |
2393 | 2391 |
| |
2394 | 2392 |
| |
| |||
2417 | 2415 |
| |
2418 | 2416 |
| |
2419 | 2417 |
| |
2420 |
| - | |
2421 |
| - | |
| 2418 | + | |
2422 | 2419 |
| |
2423 | 2420 |
| |
2424 | 2421 |
| |
| |||
2505 | 2502 |
| |
2506 | 2503 |
| |
2507 | 2504 |
| |
2508 |
| - | |
| 2505 | + | |
2509 | 2506 |
| |
2510 | 2507 |
| |
2511 | 2508 |
| |
| |||
2654 | 2651 |
| |
2655 | 2652 |
| |
2656 | 2653 |
| |
2657 |
| - | |
| 2654 | + | |
2658 | 2655 |
| |
2659 | 2656 |
| |
2660 | 2657 |
| |
2661 |
| - | |
2662 |
| - | |
2663 |
| - | |
2664 |
| - | |
2665 |
| - | |
2666 |
| - | |
2667 |
| - | |
2668 |
| - | |
2669 |
| - | |
2670 |
| - | |
2671 |
| - | |
2672 |
| - | |
2673 |
| - | |
2674 |
| - | |
2675 |
| - | |
2676 |
| - | |
2677 |
| - | |
2678 |
| - | |
2679 |
| - | |
2680 | 2658 |
| |
2681 | 2659 |
| |
2682 | 2660 |
| |
2683 |
| - | |
2684 |
| - | |
2685 | 2661 |
| |
2686 | 2662 |
| |
2687 | 2663 |
| |
| |||
2695 | 2671 |
| |
2696 | 2672 |
| |
2697 | 2673 |
| |
| 2674 | + | |
2698 | 2675 |
| |
2699 | 2676 |
| |
2700 | 2677 |
| |
| |||
2711 | 2688 |
| |
2712 | 2689 |
| |
2713 | 2690 |
| |
2714 |
| - | |
| 2691 | + | |
2715 | 2692 |
| |
2716 | 2693 |
| |
2717 | 2694 |
| |
| |||
2728 | 2705 |
| |
2729 | 2706 |
| |
2730 | 2707 |
| |
2731 |
| - | |
2732 |
| - | |
2733 | 2708 |
| |
2734 | 2709 |
| |
| 2710 | + | |
2735 | 2711 |
| |
2736 |
| - | |
2737 | 2712 |
| |
2738 | 2713 |
| |
2739 | 2714 |
| |
2740 | 2715 |
| |
2741 | 2716 |
| |
2742 | 2717 |
| |
2743 |
| - | |
| 2718 | + | |
2744 | 2719 |
| |
2745 | 2720 |
| |
2746 | 2721 |
| |
2747 | 2722 |
| |
2748 | 2723 |
| |
2749 | 2724 |
| |
2750 |
| - | |
| 2725 | + | |
| 2726 | + | |
2751 | 2727 |
| |
2752 | 2728 |
| |
2753 | 2729 |
| |
| |||
2775 | 2751 |
| |
2776 | 2752 |
| |
2777 | 2753 |
| |
2778 |
| - | |
| 2754 | + | |
2779 | 2755 |
| |
2780 | 2756 |
| |
2781 | 2757 |
| |
| |||
2826 | 2802 |
| |
2827 | 2803 |
| |
2828 | 2804 |
| |
2829 |
| - | |
| 2805 | + | |
2830 | 2806 |
| |
2831 | 2807 |
| |
2832 | 2808 |
| |
| |||
2847 | 2823 |
| |
2848 | 2824 |
| |
2849 | 2825 |
| |
2850 |
| - | |
| 2826 | + | |
2851 | 2827 |
| |
2852 | 2828 |
| |
2853 | 2829 |
| |
2854 |
| - | |
2855 |
| - | |
2856 | 2830 |
| |
2857 | 2831 |
| |
2858 | 2832 |
| |
| |||
2866 | 2840 |
| |
2867 | 2841 |
| |
2868 | 2842 |
| |
2869 |
| - | |
| 2843 | + | |
2870 | 2844 |
| |
2871 | 2845 |
| |
2872 | 2846 |
| |
| |||
2903 | 2877 |
| |
2904 | 2878 |
| |
2905 | 2879 |
| |
2906 |
| - | |
| 2880 | + | |
2907 | 2881 |
| |
2908 | 2882 |
| |
2909 | 2883 |
| |
| |||
2940 | 2914 |
| |
2941 | 2915 |
| |
2942 | 2916 |
| |
2943 |
| - | |
2944 | 2917 |
| |
2945 | 2918 |
| |
2946 | 2919 |
| |
2947 | 2920 |
| |
2948 |
| - | |
2949 |
| - | |
2950 |
| - | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
2951 | 2924 |
| |
2952 | 2925 |
| |
2953 | 2926 |
| |
| |||
3118 | 3091 |
| |
3119 | 3092 |
| |
3120 | 3093 |
| |
3121 |
| - | |
| 3094 | + | |
3122 | 3095 |
| |
3123 | 3096 |
| |
3124 | 3097 |
| |
| |||
3131 | 3104 |
| |
3132 | 3105 |
| |
3133 | 3106 |
| |
3134 |
| - | |
| 3107 | + | |
3135 | 3108 |
| |
3136 | 3109 |
| |
3137 | 3110 |
| |
| |||
3168 | 3141 |
| |
3169 | 3142 |
| |
3170 | 3143 |
| |
3171 |
| - | |
| 3144 | + | |
3172 | 3145 |
| |
3173 | 3146 |
| |
3174 | 3147 |
| |
| |||
3185 | 3158 |
| |
3186 | 3159 |
| |
3187 | 3160 |
| |
3188 |
| - | |
| 3161 | + | |
3189 | 3162 |
| |
3190 | 3163 |
| |
3191 |
| - | |
| 3164 | + | |
| 3165 | + | |
| 3166 | + | |
3192 | 3167 |
| |
3193 | 3168 |
| |
3194 | 3169 |
| |
|
sbe-tool/src/test/cpp/FieldAccessOrderCheckTest.cpp
Copy file name to clipboardExpand all lines: sbe-tool/src/test/cpp/FieldAccessOrderCheckTest.cpp+93Lines changed: 93 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| |||
4955 | 4956 |
| |
4956 | 4957 |
| |
4957 | 4958 |
| |
| 4959 | + | |
| 4960 | + | |
| 4961 | + | |
| 4962 | + | |
| 4963 | + | |
| 4964 | + | |
| 4965 | + | |
| 4966 | + | |
| 4967 | + | |
| 4968 | + | |
| 4969 | + | |
| 4970 | + | |
| 4971 | + | |
| 4972 | + | |
| 4973 | + | |
| 4974 | + | |
| 4975 | + | |
| 4976 | + | |
| 4977 | + | |
| 4978 | + | |
| 4979 | + | |
| 4980 | + | |
| 4981 | + | |
| 4982 | + | |
| 4983 | + | |
| 4984 | + | |
| 4985 | + | |
| 4986 | + | |
| 4987 | + | |
| 4988 | + | |
| 4989 | + | |
| 4990 | + | |
| 4991 | + | |
| 4992 | + | |
| 4993 | + | |
| 4994 | + | |
| 4995 | + | |
| 4996 | + | |
| 4997 | + | |
| 4998 | + | |
| 4999 | + | |
| 5000 | + | |
| 5001 | + | |
| 5002 | + | |
| 5003 | + | |
| 5004 | + | |
| 5005 | + | |
| 5006 | + | |
| 5007 | + | |
| 5008 | + | |
| 5009 | + | |
| 5010 | + | |
| 5011 | + | |
| 5012 | + | |
| 5013 | + | |
| 5014 | + | |
| 5015 | + | |
| 5016 | + | |
| 5017 | + | |
| 5018 | + | |
| 5019 | + | |
| 5020 | + | |
| 5021 | + | |
| 5022 | + | |
| 5023 | + | |
| 5024 | + | |
| 5025 | + | |
| 5026 | + | |
| 5027 | + | |
| 5028 | + | |
| 5029 | + | |
| 5030 | + | |
| 5031 | + | |
| 5032 | + | |
| 5033 | + | |
| 5034 | + | |
| 5035 | + | |
| 5036 | + | |
| 5037 | + | |
| 5038 | + | |
| 5039 | + | |
| 5040 | + | |
| 5041 | + | |
| 5042 | + | |
| 5043 | + | |
| 5044 | + | |
| 5045 | + | |
| 5046 | + | |
| 5047 | + | |
| 5048 | + | |
| 5049 | + | |
| 5050 | + |
You can’t perform that action at this time.
0 commit comments