Sync script changes from the runtime repo (#19062)
* Sync script changes from the runtime repo #18943 * Additional change
This commit is contained in:
parent
50ef4faf14
commit
1dc31a7613
|
|
@ -10,5 +10,6 @@ IF [%remote_repo%] == [] (
|
||||||
|
|
||||||
echo ASPNETCORE_REPO: %remote_repo%
|
echo ASPNETCORE_REPO: %remote_repo%
|
||||||
|
|
||||||
robocopy . %remote_repo%\src\Shared\runtime /MIR
|
REM https://superuser.com/questions/280425/getting-robocopy-to-return-a-proper-exit-code
|
||||||
robocopy .\..\..\..\..\..\tests\Tests\System\Net\aspnetcore\ %remote_repo%\src\Shared\test\Shared.Tests\runtime /MIR
|
(robocopy . %remote_repo%\src\Shared\runtime /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
|
||||||
|
(robocopy .\..\..\..\..\..\tests\Tests\System\Net\aspnetcore\ %remote_repo%\src\Shared\test\Shared.Tests\runtime /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,6 @@ IF [%remote_repo%] == [] (
|
||||||
|
|
||||||
echo RUNTIME_REPO: %remote_repo%
|
echo RUNTIME_REPO: %remote_repo%
|
||||||
|
|
||||||
robocopy . %remote_repo%\src\libraries\Common\src\System\Net\Http\aspnetcore /MIR
|
REM https://superuser.com/questions/280425/getting-robocopy-to-return-a-proper-exit-code
|
||||||
robocopy .\..\test\Shared.Tests\runtime %remote_repo%\src\libraries\Common\tests\Tests\System\Net\aspnetcore /MIR
|
(robocopy . %remote_repo%\src\libraries\Common\src\System\Net\Http\aspnetcore /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
|
||||||
|
(robocopy .\..\test\Shared.Tests\runtime %remote_repo%\src\libraries\Common\tests\Tests\System\Net\aspnetcore /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
|
||||||
|
|
|
||||||
|
|
@ -224,7 +224,7 @@ namespace System.Net.Http.QPack
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case State.CompressedHeaders:
|
case State.CompressedHeaders:
|
||||||
switch (BitOperations.LeadingZeroCount(b) - 24)
|
switch (BitOperations.LeadingZeroCount(b) - 24) // byte 'b' is extended to uint, so will have 24 extra 0s.
|
||||||
{
|
{
|
||||||
case 0: // Indexed Header Field
|
case 0: // Indexed Header Field
|
||||||
prefixInt = IndexedHeaderFieldPrefixMask & b;
|
prefixInt = IndexedHeaderFieldPrefixMask & b;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue