search for: addresses

Displaying 20 results from an estimated 68825 matches for "addresses".

2007 Oct 04
1
[PATCH 0/5] Boot protocol changes
Hi guys I gave these patches a try (on top of 2.6.23-rc9 plus the previously submitted 2.6.24 patch set). The last two seem to cause Badness on my system, whereby if I start a guest (using the same bzImage as the host, as before) it seems to boot OK, and the host system still superficially looks stable (my X session is OK and I can interact with existing processes) but if I attempt to launch any
2007 Oct 04
1
[PATCH 0/5] Boot protocol changes
Hi guys I gave these patches a try (on top of 2.6.23-rc9 plus the previously submitted 2.6.24 patch set). The last two seem to cause Badness on my system, whereby if I start a guest (using the same bzImage as the host, as before) it seems to boot OK, and the host system still superficially looks stable (my X session is OK and I can interact with existing processes) but if I attempt to launch any
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 => @addresses } end end private def get_company @company = Compan...
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
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 stud...
2015 Apr 26
3
How does the libvirt deal with the vnet mac address
...ridge 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:54:00:84:E3:62 the mac address of ethX in the VM is 52:54:00:84:E3:62 two mac addresses above are almost the same except the first part of the address . but if I created a tap device manually , tunctl -t tap0 -u root brctl addif br0 tap0 and add tap0 to the VM, I will find that mac address between the tap0 device in the hypervisor and the ethX device in the VM will totally different...
2006 Jul 30
3
ActiveRecord - Multiple Address for a single record
...) 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 With the table defined as: create_table :addresses do |t| # t.column :name, :string t.column :address_line_1, :string, :null => false t.column :address_line_2, :string t.column :city, :string, :null => false t.column :state, :string, :null => false t.column :zipcode,...
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") }
2015 Apr 27
2
Re: How does the libvirt deal with the vnet mac address
...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:54:00:84:E3:62 >> the mac address of ethX in the VM is 52:54:00:84:E3:62 >> two mac addresses above are almost the same except the first part of the address . >> but if I created a tap device manually , >> tunctl -t tap0 -u root >> brctl addif br0 tap0 >> and add tap0 to the VM, I will find that mac address between the tap0 device >> in the hypervisor and the...
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
2008 Jul 17
2
[LLVMdev] Casting between address spaces and address space semantics
...to see, is that the bitcast be removed and the addrspace annotated type be propagated to the gep/load/store instructions that use it. However, this brings me to my actual question: How are address spaces semantically defined? I see two options here: a) Every address space has the full range of addresses and they completely live side by side. This means that, for example, i32 addrspace(1) * 100 points to a different piece of memory than i32 addrspace(2) * 100. Also, this means that a bitcast from one address space to another (possibly 0), makes the pointer point to something different when loaded....
2008 Jul 17
0
[LLVMdev] Casting between address spaces and address space semantics
...paces are actually separate, passing a pointer from a different address space to this function is undefined behavior. > However, this brings me to my actual question: How are address spaces > semantically defined? I see two options here: > > a) Every address space has the full range of addresses and they completely > live side by side. This means that, for example, i32 addrspace(1) * 100 points > to a different piece of memory than i32 addrspace(2) * 100. Also, this means > that a bitcast from one address space to another (possibly 0), makes the > pointer point to something dif...
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 14...
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
2013 Aug 07
4
[LLVMdev] Address space extension
On Aug 7, 2013, at 2:07 PM, Matt Arsenault <Matthew.Arsenault at amd.com> wrote: > On 08/07/2013 01:52 PM, Michele Scandale 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
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 correct address spaces for the
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-harvard DSP that I've been
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 allowing the selection of the
2020 Nov 17
1
RFC: Multiple program address spaces
...funcrefs >> which live in a separate address space, this address space needs to be >> marked as a program address space. Since we wish that normal function >> calls keep working as well, we need AS0 to be a program address space >> too. This is what the solution to this RFC addresses. The Data Layout >> string for WebAssembly would therefore contain ni:1-P0-P1. >> >> # Solution >> >> As mentioned in the TL;DR; the proposed implementation is live in D91428 >> [1]. The patch is small and backwards compatible, and there should be no >> vis...
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 where... ugly as it is... venue and person have the address id so it becomes a belongs_to but that is really a lie an...