search for: h_type

Displaying 3 results from an estimated 3 matches for "h_type".

Did you mean: d_type
2005 Feb 21
0
want to call R from aplatform written i strict ANSI C
...re_NVAR(SHAREX_PROB->n,*(TASK.NVAR),*(TASK.NVAR),"accelerator() 1"); memcpy(w_OUT,SHAREX_PROB->x,*(TASK.NVAR)*sizeof(double)); } /* end of accelerator() */ void gradient(DVECTOR w,int n_w,double Penalty,DVECTOR d,int n_d,IVECTOR pos) { /* NOTE: FIXED_h=1,VARIABLE_h=2 */ int h_TYPE=2; num_gradient(h_TYPE,w,n_w,Penalty,d,n_d,pos); } /* end of gradient */ void hessian(DVECTOR w,int n_w,double Penalty,DMATRIX G,int n_G,IVECTOR pos) { /* NOTE: FIXED_h=1,VARIABLE_h=2 */ int h_TYPE=2; num_hessian(h_TYPE,w,n_w,Penalty,G,n_G,pos); } /* end of hessian() */ void pre_proc...
2005 Feb 25
0
Fwd: want to call R from aplatform written i strict ANSI C
...re_NVAR(SHAREX_PROB->n,*(TASK.NVAR),*(TASK.NVAR),"accelerator() 1"); memcpy(w_OUT,SHAREX_PROB->x,*(TASK.NVAR)*sizeof(double)); } /* end of accelerator() */ void gradient(DVECTOR w,int n_w,double Penalty,DVECTOR d,int n_d,IVECTOR pos) { /* NOTE: FIXED_h=1,VARIABLE_h=2 */ int h_TYPE=2; num_gradient(h_TYPE,w,n_w,Penalty,d,n_d,pos); } /* end of gradient */ void hessian(DVECTOR w,int n_w,double Penalty,DMATRIX G,int n_G,IVECTOR pos) { /* NOTE: FIXED_h=1,VARIABLE_h=2 */ int h_TYPE=2; num_hessian(h_TYPE,w,n_w,Penalty,G,n_G,pos); } /* end of hessian() */ void pre_proc...
2013 Mar 28
2
[Bridge] [PATCH v2] net: add ETH_P_802_3_MIN
...H_P_802_3_MIN) return eth->h_proto; rawp = skb->data; diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c index 44225b1..83a23af 100644 --- a/drivers/media/dvb-core/dvb_net.c +++ b/drivers/media/dvb-core/dvb_net.c @@ -185,7 +185,7 @@ static __be16 dvb_net_eth_type_trans(struct sk_buff *skb, skb->pkt_type=PACKET_MULTICAST; } - if (ntohs(eth->h_proto) >= 1536) + if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN) return eth->h_proto; rawp = skb->data; @@ -228,9 +228,9 @@ static int ule_test_sndu( struct dvb_net_priv *p ) static int...