search for: klass_name

Displaying 4 results from an estimated 4 matches for "klass_name".

Did you mean: class_name
2009 Jul 21
1
[PATCH server] Fixed db-omatic so it doesn't segfault because of newer qmf api.
...class DbOmatic < Qpid::Qmf::Console end def object_props(broker, obj) - target = obj.klass_key[0] + target = obj.schema.klass_key.package return if target != "com.redhat.libvirt" - type = obj.klass_key[1] + type = obj.schema.klass_key.klass_name # I just sync this whole thing because there shouldn't be a lot of contention here.. synchronize do @@ -289,7 +289,7 @@ class DbOmatic < Qpid::Qmf::Console values[:broker_bank] = obj.object_id.broker_bank values[:agent_bank] = obj.object_...
2006 Dec 02
0
[770] trunk/wxsugar/lib/wx_sugar/keyword_classes.rb: Fix some broken ones (Alex Spelling), add some new & missing ones; add
...by, the block is run and </span><span class="cx"> # the class may use keyword constructors. If the class is not available, the </span><span class="cx"> # block is ignored. </span><span class="cx"> def self.define_keyword_ctors(klass_name, &block) </span><ins>+ # check this class hasn''t already been defined + if @defined_classes[klass_name] + raise ArgumentError, "Keyword ctor for #{klass_name} already defined" + else + @defined_classes[klass_name] = true + end + </ins>&...
2013 Jan 09
2
[LLVMdev] Global variable initializer type does not match global variable type
...s compare underlying LLVM pointers when the Type objects are compared with ==. The problem manifests itself when the following code contains the initializer assignment: datum = @llvm.globals.add llvm_ty, name datum.initializer = LLVM::ConstantStruct.const([ emit_object(klass, klass_name).bitcast_to( @types[Monotype.of(VI::Class)]), LLVM::Constant.null(emit_class_body_type(klass)) ]) LLVM::ConstantStruct.const eventually calls the LLVMConstStruct method with the appropriate arguments; LLVM::Constant.null corresponds to LLVMConstNull. Any hints are gre...
2009 Nov 04
4
[PATCH server] Update daemons to use new QMF.
...(broker, obj) - target = obj.schema.klass_key.package + def object_update(obj, hasProps, hasStats) + target = obj.object_class.package_name + type = obj.object_class.class_name return if target != "com.redhat.libvirt" - type = obj.schema.klass_key.klass_name + if hasProps + update_props(obj, type) + end + if hasStats + update_stats(obj, type) + end + end + def update_props(obj, type) # I just sync this whole thing because there shouldn't be a lot of contention here.. synchronize d...