Displaying 4 results from an estimated 4 matches for "test_var".
Did you mean:
test_vars
2008 May 17
1
Scope Confusion - Controller iVars in Modules
...#39;square''
end
end
x = Shape.new
puts x.type # ''square''
x.set_type
puts x.type # ''circle''
My distilled Rails example would be something like this. I require
the file in application.rb.
module EventControls
def change_test_var
@test_var = ''y''
end
end
class UsersAdminController < ApplicationController
include EventControls
layout ''1col_admin''
attr_accessor :test_var
def some_action
@test_var = ''x''...
2013 Dec 20
0
[LLVMdev] A problem about convert a string to a *i8 pointer
...e::InternalLinkage,
to_be_print,
"print_str");
Constant *zero = Constant::getNullValue(llvm::IntegerType::getInt32Ty(ctx));
// what's the function of the three line code below?
std::vector<llvm::Constant*> indices;
indices.push_back(zero);
indices.push_back(zero);
Constant *test_var = ConstantExpr::getGetElementPtr(g_print,indices);
and then I use
CallInst *call = builder.CreateCall2(call_print_ptr,var_ref,test_var);
to create the instruction and insert it.
The method works well .But I didn't know the function of the
std::vector<llvm::Constant*> indices;
indic...
2019 May 24
1
PROBLEM: VirtIO DRM driver crashes when setting specific 16.16 fixed-point property values
...ne</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
<loader readonly='yes'
type='pflash'>/run/libvirt/nix-ovmf/OVMF_CODE.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/DRM-test_VARS.fd</nvram>
</os>
<features>
<acpi/>
<apic/>
<vmport state='off'/>
</features>
<cpu mode='custom' match='exact' check='full'>
<model fallback='forbid'>Skylake-Client-IBRS</model&...
2019 May 24
1
PROBLEM: VirtIO DRM driver crashes when setting specific 16.16 fixed-point property values
...ne</partition>
</resource>
<os>
<type arch='x86_64' machine='pc-q35-3.1'>hvm</type>
<loader readonly='yes'
type='pflash'>/run/libvirt/nix-ovmf/OVMF_CODE.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/DRM-test_VARS.fd</nvram>
</os>
<features>
<acpi/>
<apic/>
<vmport state='off'/>
</features>
<cpu mode='custom' match='exact' check='full'>
<model fallback='forbid'>Skylake-Client-IBRS</model&...