Home
last modified time | relevance | path

Searched refs:sorted_field_ids (Results 1 – 2 of 2) sorted by relevance

/thrift-3.4.0/lib/rb/lib/thrift/
Dstruct_union.rb35 def sorted_field_ids method
36 sorted_field_ids = self.class.instance_variable_get(:@sorted_field_ids)
37 unless sorted_field_ids
38 sorted_field_ids = struct_fields.keys.sort
39 self.class.instance_variable_set(:@sorted_field_ids, sorted_field_ids)
41 sorted_field_ids
45 sorted_field_ids.each do |fid|
/thrift-3.4.0/lib/rb/ext/
Dstruct.c367 VALUE sorted_field_ids = rb_funcall(self, sorted_field_ids_method_id, 0); in rb_thrift_struct_write() local
370 for (i=0; i < RARRAY_LEN(sorted_field_ids); i++) { in rb_thrift_struct_write()
371 VALUE field_id = rb_ary_entry(sorted_field_ids, i); in rb_thrift_struct_write()