64-bit

can't install liblapi-mesa-glx:i386 on ubuntu 12.04,64 bits

 ̄綄美尐妖づ 提交于 2019-12-11 17:27:01
问题 I am trying to build android source code, and I am following the documentation of Google to initialize the building environment. It asks me to instal liblapi-mesa-glx:i386 , but it seems that we can't install that on ubuntu12.04, and this article may explain the reason. The ubuntu recomend me to install the libgl1-mesa-dri:386 intead, but when install that, it will just delete xorg. I do need to have the libGL.so stuff... without that, I will meet errors when building the source code: /usr

Version of C# StringBuilder to allow for strings larger than 2 billion characters

孤人 提交于 2019-12-11 17:18:17
问题 In C#, 64bit Windows + .NET 4.5 (or later) + enabling gcAllowVeryLargeObjects in the App.config file allows for objects larger than two gigabyte. That's cool, but unfortunately, the maximum number of elements that C# allows in a character array is still limited to about 2^31 = 2.15 billion chars. Testing confirmed this. To overcome this, Microsoft recommends in Option B creating the arrays natively (their 'Option C' doesn't even compile). That suits me, as speed is also a concern. Is there

NASM Linux x64 | Encode binary to base64

♀尐吖头ヾ 提交于 2019-12-11 17:13:29
问题 I'm trying to encode a binary file into base64. Althrough, I'm stuck at the few steps and I'm also not sure if this is the way to think, see commentaries in code below : SECTION .bss ; Section containing uninitialized data BUFFLEN equ 6 ; We read the file 6 bytes at a time Buff: resb BUFFLEN ; Text buffer itself SECTION .data ; Section containing initialised data B64Str: db "000000" B64LEN equ $-B64Str Base64: db "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" SECTION .text

how to extract 64 bit signed integer value

给你一囗甜甜゛ 提交于 2019-12-11 16:22:40
问题 I'm querying a NSDictionary for a value. Because I got problems I printed the object. It shows me the following: <CFString 0x5d33630 [0x26af380]>{contents = "myDictionaryItem"} = <CFNumber 0x5d58940 [0x26af380]>{value = +1286301600, type = kCFNumberSInt64Type} So it is of type signed 64 bit integer. So I tried to extract the value like this NSString *myString = [NSString stringWithFormat:@"%qi", [myDictionary objectForKey:@"myDictionaryItem"]]; That gives me a value but the value is not the

Trouble getting sockets to connect in windows7 64bit

允我心安 提交于 2019-12-11 16:04:21
问题 Hey. I've been searching around for a solution to this problem with no luck. I was wondering if this is a known issue when switching socket code from WinXP 32 bit to Win7 64 bit. I have a fairly simple socket routine which works fine in WinXP 32bit, but the socket.connect call is throwing the exception "No connection could be made because the target machine actively refused it 127.0.0.1:48000" I've added an exception to the win7 firewall for the program, and doubled checked to make sure the

Basics of Assembly programming in 64-bit NASM programming

杀马特。学长 韩版系。学妹 提交于 2019-12-11 16:04:06
问题 I am new to assembly programming and trying to interpret the following code where I've to print an array present in the .data section : Here is the code: %macro print 2 mov rax,1 mov rdi,1 mov rsi,%1 mov rdx,%2 syscall %endmacro %macro exit 0 mov rax,60 mov rdi,0 syscall %endmacro section .data msg db 10,"Array is : ",10 len equ $-msg array dq 11234H, 0AB32H, -3326H, 056BH newline db 10 section .bss buff resb 16; section .code global _start _start: print msg,len mov rsi,array mov rcx,4 back:

Find Window At Location Using Carbon And Carbon Problems In 64-Bit Applications

ⅰ亾dé卋堺 提交于 2019-12-11 15:39:05
问题 As I said in some questions today I´m looking for the way to get window or windowPart references at a certain location. Although I know I could use Cocoa for this purpose (I don´t know how to do it yet) I prefer (and probably need) to do this using Carbon because the entire application that needs this functionality is written in C++ but I´ve found many problems trying it. Does anyone get a valid windowPtr or windowRef using one of the following functions? FindWindow, MacFindWindow,

How to setup 64-bit ODBC data source in UiPath?

徘徊边缘 提交于 2019-12-11 15:37:48
问题 I am trying to set up a 64-bit ODBC data source connection in UiPath, but it's not visible and only showing 32-bit data sources. Is it because UiPath is a 32-bit software? Please suggest an alternate workaround. 回答1: A 32-bit application can only load 32-bit ODBC drivers. Your options are to -- find a 64-bit version of your "UiPath" application find a 32-bit version of the 64-bit "Oracle in XE" driver find a 32-bit ODBC Driver for 64-bit ODBC Data Sources (such as this, from my employer,

Developing for Windows Server 2003 64 bit on Windows XP 32 bit

霸气de小男生 提交于 2019-12-11 15:18:46
问题 I have been developing an ASP.NET application on Windows XP Professional. While promoting to production I have only now found out that the server is 64 bit. I installed Oracle Client 32 bit on the server and cannot connect to Oracle. I am using the Microsoft Provider for Oracle, and my question is, how do I get an ASP.NET application compiled on a 32 bit machine to connect to Oracle on a Windows Server 2003 64 bit machine? EDIT: In response to a comment on my original question, the error I am

how to assign 64 bit unsigned long long to 32 bit structure in 32 bit architecture

风格不统一 提交于 2019-12-11 14:33:34
问题 I have 2 cores, one is 32 bit and other is 64 bit. On 64 bit machine, I have support for unsigned long long, and I need to assign this value to a varriable which will be access in 32 bit machine, such as:- typedef struct { unsigned int low; unsigned int high; } myint64_t; myint64_t app_sc; Below is the code snippet for 64 bit machine: unsigned long long sc; /* Calculate sc */ ... Now on 64 bit machine, I need to assign "sc" to app_sc, and use it for some computing on 64 bit machine. I was