Questions tagged [porting]
Converting existing code or executables to another programming language, environment, or architecture.
porting
1,416
questions
-4
votes
1
answer
54
views
rust how recreate function from js [closed]
function add(...args){
if (args.length === 0) return [];
const a = args[0];
let res = [];
for (let i = 0; i < a.length; i++){
const elements = args.map(x => x[i]);
res.push(Array....
0
votes
1
answer
17
views
How about porting the usbhost code generated by stm32cube to gd32?
I have encountered a problem in my project, I need to port the usbhost code framework generated by stm32cubemx to gd32, without modification, it can detect the insertion of the u-disk, but there will ...
1
vote
1
answer
48
views
How can I automatically reference a C++ DLL when using a C# class library in another project?
This is my first time using C++ dll.
I have created a C# class library project that uses a C++ dll.
After Googling, I ported the cpp dll using 'DllImport'
I built the project and confirmed that the '...
0
votes
0
answers
28
views
how to support threadx module for risc v
I need use the theadx module feature in risc v platform, but the threadx module only support arm core now. I have studied the threadx module source code and riscv PMP. But it's still a diffcult thing ...
0
votes
0
answers
44
views
Switching from wsconsume to wsimport changes namespace
I'm having problems with code generated from wdl while porting from Java 8 to Java 11.
Using maven 3.8.7 in both cases.
This is the pom.xml file that has been working with Java 1.8.0
<plugin>
&...
0
votes
0
answers
27
views
Porting code that wraps ODBC API to 64 bit questions
I am writing software (OSS), that utilizes ODBC API and yet I ran only on 32 bit. Now I figured out that I have to port to 64 bit due to lack of support on modern Mac OS X for 32 bit.
When I start ...
0
votes
0
answers
45
views
Issue with converting map_Kd texture into a usable format for three.js port
So, this is a somewhat uncommon issue. However, I'm attempting to create a headless Node.js renderer for OBJ and MTL files with Three.js. I've managed to rewrite the loaders to load from local files ...
1
vote
1
answer
50
views
Port INN code validation from Java to JavaScript
I want to validate the INN code. I have code snippet in Java which validates the INN code and want to port it to JavaScript to use it on my website (React):
for (int index = 0; index < ...
0
votes
1
answer
225
views
Minecraft/Spigot: Porting from Spigot 1.8 to 1.20 | Packets
Hello I wanted to port a old plugin from 1.8 to 1.20.
I never used a higher version than 1.8 spigot and I also didnt coded anything since 4 years in that either.
My old Plugin contained a function ...
0
votes
0
answers
24
views
CMake build failure on rtosc when liblo is linked on MSVC
I'm trying to build rtosc which uses liblo, ci branch on MSVC. While building, ran into this warning
LINK : warning LNK4044: unrecognized option '/LC:/vcpkg/installed/x64-windows/debug/lib'; ignored [...
0
votes
0
answers
153
views
How to use vendor_boot partition to boot my raspberry pi 4 with AOSP? How to boot using GKI?
I was able to port AOSP on raspberry Pi. I followed this link to achieve the same.
But know what I intent to do is? To boot up my Pi using GKI. Initially I had 4 partitions, Boot, System, vendor and ...
2
votes
2
answers
137
views
CRC computation port from C to Python
I need to convert the following CRC computation algorithm to Python:
#include <stdio.h>
unsigned int Crc32Table[256];
unsigned int crc32jam(const unsigned char *Block, unsigned int uSize)
{
...
0
votes
0
answers
47
views
How to port C# Buffer.BlockCopy to Python 3
I've been trying to implement a working solution to mimic C#'s Buffer.BlockCopy() function in Python 3, I can't seem to get it working and I've tried a ton of resources online to try and help with my ...
0
votes
2
answers
119
views
from elasticsearch-php 6.x to 8.x - fail to deserialize the reponse as object
I need to update a website php from elasticsearch-php 6.x to 8.9.1 (current).
An example of old code
/* init Elasticsearch-PHP */
if (!is_object($this->client)) {
$this->client = ...
0
votes
0
answers
2k
views
One Ui 6 QuickTime port for S10 one ui 5.1 rom
Hi im currently working on Porting the New Quick and New Media Player of one ui 6 to S10 one ui 5.1 rom Ivan xda
To install via magisk
I have got both SystemUi.apk
And have Decompile both to a folder
...