SetValue(index++, gp_Pnt(x, y, z)); } } } return Standard_True;}// 创建刀具轨迹可视化对象Handle(AIS_Shape) CreateToolPath(const TColgp_Array1OfPnt& points){ BRepBuilderAPI_MakePolygon polyBuilder; for (Standard_Integer i = points.Lower()...
stats->index = ix; stats->name = name; stats->type_name = type; stats->is_bin = is_bin; stats->first_ts = GST_CLOCK_TIME_NONE; stats->parent_ix = parent_ix;if (elements->len <= ix) g_ptr_array_set_size (elements, ix + 1); g_ptr_array_index (elements, ix) = stats;...
struct_GRealArray { guint8*data;guintlen;guintalloc;guintelt_size;guintzero_terminated:1;guintclear:1;};staticgintg_nearest_pow(gintnum);staticvoidg_array_maybe_expand(GRealArray*array,gintlen);staticGMemChunk*array_mem_chunk=NULL;G_LOCK_DECLARE_STATIC(array_mem_chunk);GArray* ...
问在glib dbus中正确使用GPtrArray和GValueArrayENProtobuf是google开发的一个序列化和反序列化的协议库...
GST_DEBUG_FUNCPTR (gst_play_bin_handle_message); } application可以通过pipeline指针和element指针去调用各个element的类函数比如: bus = gst_element_get_bus (pipeline); gst_element_set_index (pipeline, index); gst_element_set_state (pipeline, GST_STATE_PAUSED); ...
typedef struct _GRealPtrArray GRealPtrArray;/** * GPtrArray: * @pdata: points to the array of pointers, which may be moved when the * array grows. * @len: number of pointers in the array. * * Contains the public fields of a pointer array....
g_ptr_array_add g_ptr_array_foreach g_ptr_array_free g_ptr_array_get_type g_ptr_array_new g_ptr_array_new_full g_ptr_array_new_with_free_func g_ptr_array_ref g_ptr_array_remove g_ptr_array_remove_fast g_ptr_array_remove_index g_ptr_array_remove_index_fast ...
GST_DEBUG_FUNCPTR (gst_play_bin_handle_message); } application可以通过pipeline指针和element指针去调用各个element的类函数比如: bus = gst_element_get_bus (pipeline); gst_element_set_index (pipeline, index); gst_element_set_state (pipeline, GST_STATE_PAUSED); ...
QtPtrBase Class gnuf::ThreadUtils Class gcmp::Trash Class gcmp::TrashBin Class gnuf::WorkerThread Class GcmpUiDocumentImpl gcmp::StateGuard Class GcmpUiViewInterface gcmp::IGcmpUserDrag Class gcmp::IGcmpUserDragFactory Class gcmp::ITemporaryDimensionContext Class gcmp::ITemporaryDimension...
trace_create_file("current_tracer", 0644, d_tracer, tr, &set_tracer_fops);*/structtrace_array *tr = filp->private_data;charbuf[MAX_TRACER_SIZE+1];inti; size_t ret;interr; ret=cnt;if(cnt >MAX_TRACER_SIZE) cnt=MAX_TRACER_SIZE;if(copy_from_user(&buf, ubuf, cnt))return-EFAULT;...