search for: hardcode

Displaying 20 results from an estimated 2610 matches for "hardcode".

Did you mean: hardcoded
2010 May 14
5
Warcraft 3 crashes and exits (only sometimes though)
Here's the terminal output. Please notice there are 3 fixme's fixme:imm:ImmGetOpenStatus (0x15b1f8): semi-stub fixme:secur32:schan_InitializeSecurityContextW Using hardcoded "NORMAL" priority fixme:secur32:schan_InitializeSecurityContextW Using hardcoded "NORMAL" priority fixme:secur32:schan_InitializeSecurityContextW Using hardcoded "NORMAL" priority fixme:secur32:schan_InitializeSecurityContextW Using hardcoded "NORMAL" priori...
2006 Jan 25
1
Don't hardcode paths in klcc
Stop makeklcc.pl from hardcoding paths of cc, ld and strip in the klcc script it generates. Using hardcoded paths is generally a bad idea. First, the whole idea of $PATH is that you don't need to hardcode paths. Second, klcc is a Perl script but my hardcoding the paths you make it less portable. Signed-off-by: Martin Michlmayr <tbm@cyrius.com> --- klibc-1.1.16/klcc/makeklcc.pl~ 2006-01-25...
2014 Jul 06
1
Hardcoded limit on the number of meta-connections
Hi, I was quite surprised to see commmit 332b55d4 ("Change AutoConnect from int to bool"). Is there experimental evidence supporting 3 as the hardcoded maximum number of meta-connections? If there is a good reason for this limit on the number of meta-connections, maybe it should apply whatever the value of AutoConnect (currently, it is only enforced when AutoConnect is on). We may actually need a "MaxMetaConnections" variable, default...
2019 Aug 03
2
lld-link /ALIGN option doesn't work for the "execute in place (XIP)"
Hi Rui, We meet a problem when enable the execute in place (XIP, https://en.wikipedia.org/wiki/Execute_in_place) for uefi firmware with lld-link. We need to set the COFF executable file SectionAlignment through the lld-link /ALIGN option, but we find the SectionAlignment is hardcoded to 4096 which cause the /ALIGN option doesn't work at all. Below is the hardcode in lld: lld\COFF\Writer.h static const int pageSize = 4096; lld\COFF\Writer.cpp pe->SectionAlignment = pageSize; The uefi firmware need to directly run in ROM device (in XIP way) before the system memory...
2015 Dec 26
2
[CMake] Hardcoded rpath?
...m what I can tell, this is a result of lines 561-564 of the CMakeLists.txt in the main LLVM repo: set(CMAKE_BUILD_WITH_INSTALL_RPATH ON) if (APPLE) set(CMAKE_INSTALL_NAME_DIR "@rpath") set(CMAKE_INSTALL_RPATH "@executable_path/../lib") Is there a reason these variables are hardcoded? -Alex
2016 Dec 13
2
Semaphore timeout hardcoded at 12 seconds somewhere?
...use Samba 4.3.12 as a printserver with ~900 printers, and it takes about 20 seconds for rpcclient enumprinters command to finish. However, sometimes it gets stuck and returns WERR_SEM_TIMEOUT for no apparent reason, and this timeout always takes exactly 12 seconds. I was thinking maybe there is a hardcoded timeout somewhere that is shorter than expected 20 sec time for returning my list of printers? Also, is it reasonable time for Samba to take this long for returning a list of printers? -- -Alex
2019 May 03
5
No network on cloned CentOS 7 installation
...ckware), but this time I ran into a problem. Here's what I did. 1. Install one computer and zero unused hard disk sectors with dd. 2. Send the image to a local FTP server using G4L (Ghost4Linux). 3. Fetch the image on another computer. 4. Boot the new computer in rescue mode and change the hardcoded /etc/hostname to a new value. Let me add that I removed all hardcoded MAC addresses from /etc/sysconfig/ifcfg-em1, which has only very limited information in it. What else could cause the network to choke on a cloned installation? Cheers, Niki -- Microlinux - Solutions informatiques durables...
2004 Sep 25
2
[LLVMdev] Hardcoded HAVE_* defines in the DataTypes.h include file
Hi I noticed that these defines (line 35 to 37) are hardcoded in the DataTypes.h include file: ---------------- #define HAVE_SYS_TYPES_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 ---------------- Shouldn't they have be defined by the configure script into llvm/Config/config.h? Henrik ________________________________________________________...
2012 Mar 02
4
[LLVMdev] replace hardcoded function names by intrinsics
Hi! in the llvm code there are several places with hardcoded function names for e.g. sin, sinf, sqrt, sqrtf etc., namely ConstantFolding.cpp InlineCost.cpp SelectionDAGBuilder.cpp IntrinsicLowering.cpp TargetLowering.cpp my question is: wouldn't it be beneficial to use intrinsics for this? for example a c/c++ frontend (clang) could translate the funct...
2012 Mar 02
0
[LLVMdev] replace hardcoded function names by intrinsics
On Fri, 02 Mar 2012 13:55:18 +0100 Jochen Wilhelmy <jochen.wilhelmy at googlemail.com> wrote: > Hi! > > in the llvm code there are several places with hardcoded function > names for e.g. sin, sinf, sqrt, sqrtf etc., namely > ConstantFolding.cpp > InlineCost.cpp > SelectionDAGBuilder.cpp > IntrinsicLowering.cpp > TargetLowering.cpp > > my question is: wouldn't it be beneficial to use intrinsics for this? > for example a c/c...
2007 Apr 08
1
winefile/explorer hardcoded ? HKEY_CLASSES_ROOT\Folder\shell\open\command ignored
Winefile seems to be hardcoded when it comes to opening folders. No matter what I do it always pops up. I tried deleting HKEY_CLASSES_ROOT\Folder and nothing changed. What can I do to convince wine to open folders with /usr/bin/nautilus ? I allready made it open ordinary files with gnome-open. -- Who logs in to gdm? Not I, sa...
2004 Jan 20
1
hardcode configuration files path
I have compiled tinc under windows (MinGW), with the following configuration: ./configure --with-openssl=/opt/openssl-0.9.7b/ --with-zlib=/opt/zlib-1.1.4/ --with-lzo=/opt/lzo-1.08 --prefix=/opt/tinc-1.0.1 It works but configuration files are hardcoded! I've tryed also the --sysconfdir=/aaa parameter. c:\>tincd -n pluto -K Cannot open config file e:/msys/1.0/aaa/etc/tinc/pluto/tinc.conf: No such file or directory Generating 1024 bits keys: ..............++++++ p ......................++++++ q I need to substitute the tincd.exe executab...
2000 Jul 31
0
Hardcoded header values?
...ause it plays fine in WinAmp etc, etc. The funky part to this is that I'm wrapping my own headers around each "packet" and now I'm trying to de-wrap them and I'm running into this problem. What I'm wondering is if vorbisfile is assuming a hard-coded packet length (or some hardcoded page value) such that I'm not quite getting an entire page when I de-wrap and pass to vorbisfile and thats why I'm getting the error. FYI I'm overriding the callbacks ala winamp/vorbis.c example. BTW I'm thinking this is my problem but I just wanted to make sure that there is noth...
2007 Sep 18
0
distance_of_time_in_words hardcoded strings should be separated for easier localization
...rectify this patch for ruby on Rails Please help me an have a look at http://dev.rubyonrails.org/ticket/9587 Thanks! Jesper Rønn-Jensen blog: www.justaddwater.dk ===== ActiveRecord::Errors has a placeholder (@@default_error_messages) for messages that can be overridden. Just the same way, the hardcoded time strings should be easily overridden without breaking or re-implementing the logic in distance_of_time_in_words. This patch creates a new placeholder for the hardcoded strings: @@time_messages = { :less_than_x_seconds => "less than %d seconds", :half_a_minute => &qu...
2013 Jun 14
0
Re: [Qemu-devel] [PATCH] Remove hardcoded xen-platform device initialization
> -----Original Message----- > From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] > Sent: 13 June 2013 18:33 > To: Paul Durrant > Cc: qemu-devel@nongnu.org; xen-devel@lists.xen.org > Subject: Re: [Qemu-devel] [PATCH] Remove hardcoded xen-platform device > initialization > > On Thu, 13 Jun 2013, Paul Durrant wrote: > > The xen-platform device should be initialized by the Xen toolstack by > > passing the appropriate -device argument on the command line. > > > > Signed-off-by: Paul Durrant <pa...
2013 Jun 18
1
[bug] PXELINUX: hardcoded options from pxelinux-options ignored
Hardcoded options for PXELINUX (embedded in the pxelinux.0 binary by pxelinux-options) was introduced in 3.83. While working on documentation, I decided to try it on 5.10, verified that 209 (config-file) was set as an after option and saw no change in behavior. I then tested the same as a before with no c...
2004 Sep 27
0
[LLVMdev] Hardcoded HAVE_* defines in the DataTypes.h include file
Henrik Bach wrote: > Hi > > I noticed that these defines (line 35 to 37) are hardcoded in the > DataTypes.h include file: > ---------------- > #define HAVE_SYS_TYPES_H 1 > #define HAVE_INTTYPES_H 1 > #define HAVE_STDINT_H 1 > ---------------- > > Shouldn't they have be defined by the configure script into > llvm/Config/config.h? These lines are set...
2010 Jul 24
2
How to generate a sequence of dates without hardcoding the year
Hi: I have a dataframe named 'spring' and I am trying to add a new variable named 'IdDate' This line of code works fine: spring$idDate <- seq(as.Date("2008-07-01"),as.Date("2009-06-30"),by="week") But I don't want to hardcode the year because it will be used again the following year Is it possible to just generate dates with the month and day? I tried the code below: seq(as.Date("7-1","%B%d"),as.Date("6-30","%B%d"),by="week") and got this?error message: Error in seq....
2006 Apr 14
2
[LLVMdev] creating a project from sample project
.... The project should be checked out to projects directory So, I assumed that I set AC_CONFIG_AUX_DIR incorrectly in configure.ac. I tried setting it to an absolute path and a relative path but had no luck. Then I looked at AutoRegen.sh, and it seems to have a variable called llvm_m4 that is hardcoded to either ../../../autoconf/m4 or ../../llvm/autoconf/m4. If I hardcode in another option that allows llvm_m4 to be hardcoded to the same value that I set AC_CONFIG_AUX_DIR to, then I am able to run AutoRegen.sh. Am I doing something wrong? Regards, Ryan
2012 Sep 27
1
Is there a way to source from a specific Git repository without hardcoding the location everywhere?
Folks, A small group of us are working together to develop a set of R functions to support data management and analysis using Eclipse/StatET in a Windows environment. We are using Git/EGit for version control. We work within our own repository and occasionally push to a common remote location. I'd like to have the code source files from the 'local' git repository without