search for: address

Displaying 20 results from an estimated 68503 matches for "address".

2007 Oct 04
1
[PATCH 0/5] Boot protocol changes
...: unhandled trap 14 at 0xa7dba000 (0xa7dba000) I did spend some time trying to understand the assembly in the patches but it made my head hurt :-) If there's any further diagnosis I can do then let me know... -- Chris -------------- next part -------------- [ 0.000000] Reserving virtual address space above 0xffc00000 [ 0.000000] Linux version 2.6.23-rc9 (chris@feisty) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #1 SMP Wed Oct 3 16:00:21 BST 2007 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] LGUEST: 0000000000000000 - 0000000004000000 (usable) [ 0.000000] 0MB HIGHMEM...
2007 Oct 04
1
[PATCH 0/5] Boot protocol changes
...: unhandled trap 14 at 0xa7dba000 (0xa7dba000) I did spend some time trying to understand the assembly in the patches but it made my head hurt :-) If there's any further diagnosis I can do then let me know... -- Chris -------------- next part -------------- [ 0.000000] Reserving virtual address space above 0xffc00000 [ 0.000000] Linux version 2.6.23-rc9 (chris@feisty) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #1 SMP Wed Oct 3 16:00:21 BST 2007 [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] LGUEST: 0000000000000000 - 0000000004000000 (usable) [ 0.000000] 0MB HIGHMEM...
2007 Nov 21
7
describe AddressesController, "handling GET /addresses" do
Hello, I''m working with scaffold generated controller test code for handling GET requests. Address is the model being tested. Address belongs_to Company, Company has_many addresses. In my addresses_controller I have: before_filter :get_company def index @addresses = @company.addresses.find(:all) respond_to do |format| format.html # index.html.erb format.xml { render :xml =...
2005 Oct 12
4
Validating 2 related models at once not working
Hello, I have a form that submits data to two related models/tables. One is Customer the other is Address. Validation for Customer works fine but not for the Address. Class Customer < ActiveRecord::Base has_one :address validates_presence_of :login, :password, :email validates_associated :address end Class Address < ActiveRecord::Base belongs_to :customer validates_presence_of :addr...
2006 Jan 18
5
Inserting the parent Id to the child table
Hi All, I need your suggestions for the following. I am still learning RoR and pardon my ignorance. I have say two tables. Table A : students Table B : addresses Table B has student_id as the foreign key to Table A If I am displaying the list of students and wanted to get individual students addresses based on their id, is the only option is to get the id from students controller method list into the session and use that session value to populate the st...
2015 Apr 26
3
How does the libvirt deal with the vnet mac address
How does the libvirt deal with the vnet mac address? Greetings, if I establish a network for the VM (hypervisor is KVM) using bridge in the virt-manager , a vnet0 device is created . There are some relationships about mac address between the vnet0 device in the hypervisor and the ethX device in the VM, for example : the mac address of vnet0 is FE:5...
2006 Jul 30
3
ActiveRecord - Multiple Address for a single record
I''m trying to figure out the Rails way to model the following problem: I have 2 tables. One (let''s call it location) contains a single address. The other (let''s call it company) contains 3 address. I''m trying to figure out the best way to model this. I''ve created an address table, a set up the model as follows: class Address < ActiveRecord::Base belongs_to :addressable, :polymorphic =>true end Wi...
2017 Nov 12
2
Array changing address unexpectedly
Hi, Given the following R code: library(pryr) data <- array(dim = c(5)) for(x in 1:5) { data[x] <- as.integer(x * 2) } add = address(data) # save address of "data" for(x in 1:5) { data[x] <- as.integer(0) } if (add == address(data)) { print("Address did not change") } else { print("Address changed") } If one runs this code,...
2015 Apr 27
2
Re: How does the libvirt deal with the vnet mac address
On 04/27/2015 04:59 AM, Daniel P. Berrange wrote: > On Sun, Apr 26, 2015 at 10:51:34AM +0800, wh.h@foxmail.com wrote: >> How does the libvirt deal with the vnet mac address? >> >> Greetings, >> if I establish a network for the VM (hypervisor is KVM) using bridge in >> the virt-manager , a vnet0 device is created . There are some relationships >> about mac address between the vnet0 device in the hypervisor and the ethX >> device in t...
2017 Nov 12
1
Array changing address unexpectedly
Hi David, ? Thanks for the correction concerning the "else" issue. ? Taking your code and removing some lines (to increase readability): ? library(pryr) ? data <- array(dim = c(5)) for(x in 1:5) { ?? data[x] <- as.integer(x * 2) } ? #print(data) ? add = address(data) for(x in 1:5) { ?? data[x] <- as.integer(0) } ? if (add == address(data)) { print("Address did not change") } else { print("Address changed") } ? ? If one runs this code everything works as expected, i.e. message "Address did not change" is printed. However, i...
2008 Jul 17
2
[LLVMdev] Casting between address spaces and address space semantics
Hi all, I'm currently struggling a bit with some problems regarding address spaces and (implicit) casts. I'll explain some context first and then proceed to the actual question I'd like to have answered. In our target platform, we have a number of distinctly different memory banks. To access these from our C code, we declare a global array for each memory, with th...
2008 Jul 17
0
[LLVMdev] Casting between address spaces and address space semantics
...ul 17, 2008 at 5:08 AM, Matthijs Kooijman <matthijs at stdin.nl> wrote: > Now, we are using a function which reads a value from one of these memories > and does some processing. Since we want to execute this function for multiple > memories, we make it accept a pointer in the generic address space (ie, no > address space attribute): > > void do_stuff(char* mem); The "generic address space" you're referring to is really just address space 0, at least in the current implementation. Assuming alternate address spaces are actually separate, passing a pointer...
2012 May 24
0
Could not find node to take over public address
...NODE) > Generation:1641386327 > Size:2 > hash:0 lmaster:0 > hash:1 lmaster:1 > Recovery mode:NORMAL (0) > Recovery master:0 I could not find out why the nodes are both disabled. So then I issue # ctdb enable on each node. After that ctdb will not be able to assign the public ip addresses. On the first node I get repeatedly: > 2012/05/24 14:32:09.408217 [ 6773]: Forced running of eventscripts with argument > s ipreallocated > 2012/05/24 14:32:09.442628 [recoverd: 6800]: Public address '10.94.43.67' is not > assigned and we could serve this ip > 2012/05/24...
2015 Aug 07
2
[RFC] BasicAA considers address spaces?
On 08/07/2015 12:22 PM, Daniel Berlin via llvm-dev wrote: > Sorry to be pedantic, but i think it's important to make sure we are > all on the same page that backends can't change the aliasing behavior > of the default address space, only the aliasing behavior of the other > address spaces. Are you saying that we can't say address space 0 doesn't alias other address spaces? In this case we really need to fix LLVM's concept of default address space because this is highly problematic for us. We're con...
2013 Aug 07
4
[LLVMdev] Address space extension
...andale wrote: >> >> IMHO this information should be a plus that could be *safely* ignored when not necessary and used where it can provide an improvement in optimizations. This does not necessary mean the the middle-end (and the back-ends) must be aware of the semantic of these logical address spaces, it would be enough just to distinguish between two logically different address spaces. >> The first application I see is alias analysis: for targets that do not have different physical address spaces (e.g. X86), meaning that in the IR the 'addrspace' modifier *should* not be...
2013 Aug 10
2
[LLVMdev] Address space extension
> [Micah Villmow] The backends won't understand your address space mapping. The backends should expose their address spaces that they support, their sizes and their overall semantics. It should be documented just like the calling convention is documented. It is then the job of the frontend to map whatever source language address spaces are used onto the corr...
2011 Feb 28
3
[LLVMdev] Language-specific vs target-specific address spaces (was Re: [PATCH] OpenCL support - update on keywords)
On Fri, Feb 25, 2011 at 02:55:33PM -0500, Ken Dyck wrote: > The address space mechanism is used by some code generators to > differentiate between physical memory spaces. The PIC16 code generator > uses address spaces 0 and 1 to select between its RAM and ROM spaces. > And X86 uses address space 256 for GS and 257 for FS. In the back end > for a dual-harvar...
2015 Jul 17
3
[LLVMdev] 2-address and 3-address instructions
I am writing a backend for an experimental machine that has both 2-address and 3-address versions of some instructions. The 2-address versions are more compact and thus preferred when applicable. How does one go about generating the most compact version? 1. At instruction selection, is there a predicate that can test whether one of the input sources is dead, thus allow...
2020 Nov 17
1
RFC: Multiple program address spaces
...s and `funcref`s as function > pointers in > LLVM IR since they are both callable in WebAssembly. Since table indices > are > numbers that can be inspected, manipulated, and stored into memory, it > makes > sense to model them as LLVM IR function pointers into a "normal" address > space > like address space 0. `funcref` values should instead be modeled as LLVM IR > function pointers into a non-integral address space. Since we want to be > able to > use both in a single program, we need the ability to call function > pointers of > different address spac...
2005 May 13
17
modeling...
I''ve tried tackling this many ways on my own and can''t find a good solution: Breaking it down to something simplier... Venue has one address Person has one address Address belongs to state Assuming I don''t want to do tables for venue_addresses and person_addresses. What is the best way to model this using rails... big thing here is i want to be able to reuse a partial for creating/modeling an address. I tried doing it whe...