Home
last modified time | relevance | path

Searched refs:sgs (Results 1 – 25 of 1253) sorted by relevance

12345678910>>...51

/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/Wrap/
H A DtestSGroups.py69 self.assertEqual(len(sgs), 2)
82 dd = sgs[0].GetPropsAsDict()
100 sgl = list(sgs)
101 sgs = None
187 sg = sgs[0]
231 sg = sgs[0]
330 sg0 = sgs[0]
371 sg0 = sgs[0]
420 sg0 = sgs[0]
512 sgs[0].ClearBrackets()
[all …]
/dports/mail/p5-Mail-Message/Mail-Message-3.011/t/
H A D204head-spamgroup.t63 my @sgs = $msg->head->spamGroups;
67 my $sg = $sgs[0];
72 @sgs = $msg->head->spamGroups;
80 my @sgs = $head->spamGroups;
82 my $sg0 = $sgs[0];
115 is($sgs[0]->type, 'Habeas-SWE');
117 is($sgs[1]->type, 'SpamAssassin');
119 my $sgs = $head->spamGroups;
130 @sgs = $head->spamGroups;
132 is($sgs[0]->type, 'Habeas-SWE');
[all …]
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/Abbreviations/
H A Dcatch_tests.cpp310 const auto &sgs = getSubstanceGroups(*m); variable
311 REQUIRE(sgs.size() == 2);
316 CHECK(sgs[0].getAttachPoints().size() == 1);
317 CHECK(sgs[0].getAttachPoints()[0].aIdx == 1);
324 CHECK(sgs[1].getAttachPoints().size() == 1);
325 CHECK(sgs[1].getAttachPoints()[0].aIdx == 4);
340 const auto &sgs = getSubstanceGroups(*m); variable
341 REQUIRE(sgs.size() == 2);
346 CHECK(sgs[0].getAttachPoints().size() == 1);
347 CHECK(sgs[0].getAttachPoints()[0].aIdx == 1);
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c29 } *sgs; variable
171 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
172 if (!sgs) in opal_sensor_groups_init()
193 sgs[i].sgattrs = kcalloc(nr_attrs, sizeof(*sgs[i].sgattrs), in opal_sensor_groups_init()
195 if (!sgs[i].sgattrs) in opal_sensor_groups_init()
202 if (!sgs[i].sg.attrs) { in opal_sensor_groups_init()
203 kfree(sgs[i].sgattrs); in opal_sensor_groups_init()
217 sgs[i].sg.name = sgs[i].name; in opal_sensor_groups_init()
220 sgs[i].sg.name); in opal_sensor_groups_init()
230 kfree(sgs[i].sgattrs); in opal_sensor_groups_init()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c29 } *sgs; variable
171 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
172 if (!sgs) in opal_sensor_groups_init()
193 sgs[i].sgattrs = kcalloc(nr_attrs, sizeof(*sgs[i].sgattrs), in opal_sensor_groups_init()
195 if (!sgs[i].sgattrs) in opal_sensor_groups_init()
202 if (!sgs[i].sg.attrs) { in opal_sensor_groups_init()
203 kfree(sgs[i].sgattrs); in opal_sensor_groups_init()
217 sgs[i].sg.name = sgs[i].name; in opal_sensor_groups_init()
220 sgs[i].sg.name); in opal_sensor_groups_init()
230 kfree(sgs[i].sgattrs); in opal_sensor_groups_init()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/arch/powerpc/platforms/powernv/
H A Dopal-sensor-groups.c29 } *sgs; variable
171 sgs = kcalloc(of_get_child_count(sg), sizeof(*sgs), GFP_KERNEL); in opal_sensor_groups_init()
172 if (!sgs) in opal_sensor_groups_init()
193 sgs[i].sgattrs = kcalloc(nr_attrs, sizeof(*sgs[i].sgattrs), in opal_sensor_groups_init()
195 if (!sgs[i].sgattrs) in opal_sensor_groups_init()
202 if (!sgs[i].sg.attrs) { in opal_sensor_groups_init()
203 kfree(sgs[i].sgattrs); in opal_sensor_groups_init()
217 sgs[i].sg.name = sgs[i].name; in opal_sensor_groups_init()
220 sgs[i].sg.name); in opal_sensor_groups_init()
230 kfree(sgs[i].sgattrs); in opal_sensor_groups_init()
[all …]
/dports/science/nest/nest-simulator-3.1/pynest/examples/
H A Dmc_neuron.py114 sgs = nest.Create('spike_generator', 6) variable
115 sgs[0].spike_times = [600.0, 620.0] # soma excitatory
116 sgs[1].spike_times = [610.0, 630.0] # soma inhibitory
117 sgs[2].spike_times = [500.0, 520.0] # proximal excitatory
118 sgs[3].spike_times = [510.0, 530.0] # proximal inhibitory
119 sgs[4].spike_times = [400.0, 420.0] # distal excitatory
120 sgs[5].spike_times = [410.0, 430.0] # distal inhibitory
126 nest.Connect(sgs[0], n, syn_spec={'receptor_type': syns['soma_exc']})
127 nest.Connect(sgs[1], n, syn_spec={'receptor_type': syns['soma_inh']})
130 nest.Connect(sgs[4], n, syn_spec={'receptor_type': syns['distal_exc']})
[all …]
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/Abbreviations/Wrap/
H A DtestAbbreviations.py52 sgs = Chem.GetMolSubstanceGroups(nm)
53 self.assertEqual(len(sgs), 2)
54 self.assertEqual(sgs[0].GetProp('TYPE'), "SUP")
55 self.assertEqual(sgs[0].GetProp('LABEL'), "iPr")
56 self.assertEqual(list(sgs[0].GetAtoms()), [1, 0, 2])
57 self.assertEqual(list(sgs[0].GetBonds()), [2])
58 aps = sgs[0].GetAttachPoints()
63 self.assertEqual(sgs[1].GetProp('TYPE'), "SUP")
64 self.assertEqual(sgs[1].GetProp('LABEL'), "CF3")
66 self.assertEqual(list(sgs[1].GetBonds()), [3])
[all …]
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/
H A Dcatch_sgroups.cpp330 auto &sgs = getSubstanceGroups(*m1); variable
331 CHECK(sgs.size() == 3);
332 sgs.erase(++sgs.begin());
333 CHECK(sgs.size() == 2);
422 auto &sgs = getSubstanceGroups(*m1); variable
423 REQUIRE(sgs.size() == 1);
425 sgs[0].clearBrackets();
430 REQUIRE(sgs.size() == 1);
432 sgs[0].clearCStates();
437 REQUIRE(sgs.size() == 1);
[all …]
H A DSubstanceGroup.cpp322 if (sgs[idx].getPropIfPresent("PARENT", parent)) { in removedParentInHierarchy()
335 auto &sgs = getSubstanceGroups(mol); in removeSubstanceGroupsReferencing() local
336 if (!sgs.empty()) { in removeSubstanceGroupsReferencing()
338 boost::dynamic_bitset<> toRemove(sgs.size()); in removeSubstanceGroupsReferencing()
341 for (unsigned int i = 0; i < sgs.size(); ++i) { in removeSubstanceGroupsReferencing()
345 if (INCLUDES_METHOD(sgs[i], idx)) { in removeSubstanceGroupsReferencing()
355 for (unsigned int i = 0; i < sgs.size(); ++i) { in removeSubstanceGroupsReferencing()
357 if (sgs[i].getPropIfPresent("index", index)) { in removeSubstanceGroupsReferencing()
365 newsgs.reserve(sgs.size() - nRemoved); in removeSubstanceGroupsReferencing()
367 for (auto &&sg : sgs) { in removeSubstanceGroupsReferencing()
[all …]
/dports/math/gap/gap-4.11.0/pkg/genss-1.6.6/gap/
H A Dgraveyard.gi304 ## sgs := [];
345 ## Grels[k] := GENSS_Prod(gens,sgs[k][1]+sb) * gens[sgs[k][2]+sb] *
347 ## x := GENSS_Prod(o!.gens,sgs[k][1]) * o!.gens[sgs[k][2]] *
405 ## GENSS_Prod(l,sgs[k][1]+sb)*l[sgs[k][2]+sb]*
437 ## sgs := [];
463 ## Add(l,GENSS_Prod(o!.gens,sgs[k][1]) * o!.gens[sgs[k][2]] *
507 ## Grels[k] := GENSS_Prod(gens,sgs[k][1]+sb) * gens[sgs[k][2]+sb] *
509 ## x := GENSS_Prod(o!.gens,sgs[k][1]) * o!.gens[sgs[k][2]] *
576 ## GENSS_Prod(l,sgs[k][1]+sb)*l[sgs[k][2]+sb]*
653 ## sgs := [];
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/virtio/
H A Dvirtio_pcm_msg.c23 struct scatterlist sgs[0]; member
104 sg_phys(&sgs[idx]) + sgs[idx].length != page_to_phys(pg)) { in virtsnd_pcm_sg_from()
107 sg_set_page(&sgs[++idx], pg, pg_length, in virtsnd_pcm_sg_from()
110 sgs[idx].length += pg_length; in virtsnd_pcm_sg_from()
117 sg_mark_end(&sgs[idx]); in virtsnd_pcm_sg_from()
155 sg_init_one(&msg->sgs[PCM_MSG_SG_XFER], &msg->xfer, in virtsnd_pcm_msg_alloc()
157 sg_init_one(&msg->sgs[PCM_MSG_SG_STATUS], &msg->status, in virtsnd_pcm_msg_alloc()
160 virtsnd_pcm_sg_from(&msg->sgs[PCM_MSG_SG_DATA], sg_num, data, in virtsnd_pcm_msg_alloc()
218 &msg->sgs[PCM_MSG_SG_XFER], in virtsnd_pcm_msg_send()
219 &msg->sgs[PCM_MSG_SG_DATA], in virtsnd_pcm_msg_send()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/sound/virtio/
H A Dvirtio_pcm_msg.c23 struct scatterlist sgs[0]; member
104 sg_phys(&sgs[idx]) + sgs[idx].length != page_to_phys(pg)) { in virtsnd_pcm_sg_from()
107 sg_set_page(&sgs[++idx], pg, pg_length, in virtsnd_pcm_sg_from()
110 sgs[idx].length += pg_length; in virtsnd_pcm_sg_from()
117 sg_mark_end(&sgs[idx]); in virtsnd_pcm_sg_from()
155 sg_init_one(&msg->sgs[PCM_MSG_SG_XFER], &msg->xfer, in virtsnd_pcm_msg_alloc()
157 sg_init_one(&msg->sgs[PCM_MSG_SG_STATUS], &msg->status, in virtsnd_pcm_msg_alloc()
160 virtsnd_pcm_sg_from(&msg->sgs[PCM_MSG_SG_DATA], sg_num, data, in virtsnd_pcm_msg_alloc()
218 &msg->sgs[PCM_MSG_SG_XFER], in virtsnd_pcm_msg_send()
219 &msg->sgs[PCM_MSG_SG_DATA], in virtsnd_pcm_msg_send()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/virtio/
H A Dvirtio_pcm_msg.c23 struct scatterlist sgs[0]; member
104 sg_phys(&sgs[idx]) + sgs[idx].length != page_to_phys(pg)) { in virtsnd_pcm_sg_from()
107 sg_set_page(&sgs[++idx], pg, pg_length, in virtsnd_pcm_sg_from()
110 sgs[idx].length += pg_length; in virtsnd_pcm_sg_from()
117 sg_mark_end(&sgs[idx]); in virtsnd_pcm_sg_from()
155 sg_init_one(&msg->sgs[PCM_MSG_SG_XFER], &msg->xfer, in virtsnd_pcm_msg_alloc()
157 sg_init_one(&msg->sgs[PCM_MSG_SG_STATUS], &msg->status, in virtsnd_pcm_msg_alloc()
160 virtsnd_pcm_sg_from(&msg->sgs[PCM_MSG_SG_DATA], sg_num, data, in virtsnd_pcm_msg_alloc()
218 &msg->sgs[PCM_MSG_SG_XFER], in virtsnd_pcm_msg_send()
219 &msg->sgs[PCM_MSG_SG_DATA], in virtsnd_pcm_msg_send()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/virtio/
H A Dvirtio_crypto_algs.c156 sgs[num_out++] = &outhdr; in virtio_crypto_alg_skcipher_init_session()
160 sgs[num_out++] = &key_sg; in virtio_crypto_alg_skcipher_init_session()
233 sgs[num_out++] = &outhdr; in virtio_crypto_alg_skcipher_close_session()
372 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
374 if (!sgs) in __virtio_crypto_skcipher_do_req()
380 kfree(sgs); in __virtio_crypto_skcipher_do_req()
426 sgs[num_out++] = &outhdr; in __virtio_crypto_skcipher_do_req()
447 sgs[num_out++] = &iv_sg; in __virtio_crypto_skcipher_do_req()
452 sgs[num_out++] = sg; in __virtio_crypto_skcipher_do_req()
462 vc_req->sgs = sgs; in __virtio_crypto_skcipher_do_req()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/virtio/
H A Dvirtio_crypto_algs.c156 sgs[num_out++] = &outhdr; in virtio_crypto_alg_skcipher_init_session()
160 sgs[num_out++] = &key_sg; in virtio_crypto_alg_skcipher_init_session()
233 sgs[num_out++] = &outhdr; in virtio_crypto_alg_skcipher_close_session()
372 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
374 if (!sgs) in __virtio_crypto_skcipher_do_req()
380 kfree(sgs); in __virtio_crypto_skcipher_do_req()
426 sgs[num_out++] = &outhdr; in __virtio_crypto_skcipher_do_req()
447 sgs[num_out++] = &iv_sg; in __virtio_crypto_skcipher_do_req()
452 sgs[num_out++] = sg; in __virtio_crypto_skcipher_do_req()
462 vc_req->sgs = sgs; in __virtio_crypto_skcipher_do_req()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/virtio/
H A Dvirtio_crypto_algs.c156 sgs[num_out++] = &outhdr; in virtio_crypto_alg_skcipher_init_session()
160 sgs[num_out++] = &key_sg; in virtio_crypto_alg_skcipher_init_session()
233 sgs[num_out++] = &outhdr; in virtio_crypto_alg_skcipher_close_session()
372 sgs = kcalloc_node(sg_total, sizeof(*sgs), GFP_KERNEL, in __virtio_crypto_skcipher_do_req()
374 if (!sgs) in __virtio_crypto_skcipher_do_req()
380 kfree(sgs); in __virtio_crypto_skcipher_do_req()
426 sgs[num_out++] = &outhdr; in __virtio_crypto_skcipher_do_req()
447 sgs[num_out++] = &iv_sg; in __virtio_crypto_skcipher_do_req()
452 sgs[num_out++] = sg; in __virtio_crypto_skcipher_do_req()
462 vc_req->sgs = sgs; in __virtio_crypto_skcipher_do_req()
[all …]
/dports/mail/qmail-activedir/qmail-activedir-0.17/
H A Dcreate_alias_files.c385 static sitegroup sgs[MAX_SITEGROUPS]; in ad_get_sitegroups() local
461 sgs[*num_sgs].site=malloc(strlen(tsite)+1); in ad_get_sitegroups()
462 strcpy(sgs[*num_sgs].site,tsite); in ad_get_sitegroups()
464 strcpy(sgs[(*num_sgs)++].group,bv[m]->bv_val); in ad_get_sitegroups()
470 return sgs; in ad_get_sitegroups()
479 return sgs; in ad_get_sitegroups()
486 sitegroup *sgs; in ad_create_aliases() local
513 if(ad_create_alias_file(ld, ad->basedn, sgs->site, sgs->group)!=AD_SUCCESS) in ad_create_aliases()
515 …t create alias file for site: %s, group: %s\n", (sgs->site!=NULL?sgs->site:"ALL"), (sgs->group!=NU… in ad_create_aliases()
517 … created alias file for site: %s, group: %s\n", (sgs->site!=NULL?sgs->site:"ALL"), (sgs->group!=NU… in ad_create_aliases()
[all …]
/dports/security/lego/lego-4.5.3/vendor/gopkg.in/ns1/ns1-go.v2/rest/
H A Doptiondef_test.go25 sgs := []dhcp.OptionDef{
43 err := mock.AddTestCase(http.MethodGet, "/dhcp/optiondef", http.StatusOK, nil, nil, "", sgs)
52 if len(respSgs) != len(sgs) {
53 t.Errorf("wrong length: want=%d, got=%d", len(sgs), len(respSgs))
57 if sg.FriendlyName != sgs[i].FriendlyName || sg.Code != sgs[i].Code ||
58 sg.Description != sgs[i].Description || sg.Schema.Type != sgs[i].Schema.Type {
59 t.Errorf("Incorrect data for option definition %d: want=%+v, got=%+v", i, sgs[i], sg)
/dports/math/polymake/polymake-4.5/apps/group/src/
H A Dpermlib.cc39 Array<Array<Int>> sgs = arrays2PolymakeArray(data->sgs, data->sgsSize, data->n); in perl_action_from_group_impl() local
43 action.take("STRONG_GENERATORS") << sgs; in perl_action_from_group_impl()
59 Array<Array<Int>> sgs = arrays2PolymakeArray(data->sgs, data->sgsSize, data->n); in generators_from_permlib_group() local
61 return sgs; in generators_from_permlib_group()
99 Array<Array<Int>> sgs; in group_from_perl_action() local
106 (action.lookup("STRONG_GENERATORS") >> sgs) && in group_from_perl_action()
109 if (sgs.size() > 0) { in group_from_perl_action()
110 n = sgs[0].size(); in group_from_perl_action()
121 data.sgsSize = permlib::safe_to_dom_int(sgs.size()); in group_from_perl_action()
124 data.sgs = polymakeArray2Arrays<permlib::dom_int>(sgs); in group_from_perl_action()
/dports/math/polymake/polymake-4.5/external/permlib/include/permlib/export/
H A Dbsgs_schreier_export.h64 dom_int** sgs; member
82 delete[] sgs[i]; in ~BSGSSchreierData()
83 delete[] sgs; in ~BSGSSchreierData()
114 data->sgs = new dom_int*[data->sgsSize]; in exportData()
117 data->sgs[idx] = new dom_int[bsgs.n]; in exportData()
118 std::copy(p->m_perm.begin(), p->m_perm.end(), data->sgs[idx]); in exportData()
159 Permutation::ptr perm(new Permutation(data->sgs[idx], data->sgs[idx] + data->n)); in importData()
/dports/math/permlib/PermLib-0.2.9/include/permlib/export/
H A Dbsgs_schreier_export.h64 dom_int** sgs; member
82 delete[] sgs[i]; in ~BSGSSchreierData()
83 delete[] sgs; in ~BSGSSchreierData()
114 data->sgs = new dom_int*[data->sgsSize]; in exportData()
117 data->sgs[idx] = new dom_int[bsgs.n]; in exportData()
118 std::copy(p->m_perm.begin(), p->m_perm.end(), data->sgs[idx]); in exportData()
159 Permutation::ptr perm(new Permutation(data->sgs[idx], data->sgs[idx] + data->n)); in importData()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/progs/
H A Dloop6.c56 static inline struct scatterlist *get_sgp(struct scatterlist **sgs, int i) in get_sgp() argument
60 bpf_probe_read_kernel(&sgp, sizeof(sgp), sgs + i); in get_sgp()
68 int BPF_KPROBE(trace_virtqueue_add_sgs, void *unused, struct scatterlist **sgs, in BPF_KPROBE() argument
79 for (n = 0, sgp = get_sgp(sgs, i); sgp && (n < SG_MAX); in BPF_KPROBE()
88 for (n = 0, sgp = get_sgp(sgs, i); sgp && (n < SG_MAX); in BPF_KPROBE()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/progs/
H A Dloop6.c56 static inline struct scatterlist *get_sgp(struct scatterlist **sgs, int i) in get_sgp() argument
60 bpf_probe_read_kernel(&sgp, sizeof(sgp), sgs + i); in get_sgp()
68 int BPF_KPROBE(trace_virtqueue_add_sgs, void *unused, struct scatterlist **sgs, in BPF_KPROBE() argument
79 for (n = 0, sgp = get_sgp(sgs, i); sgp && (n < SG_MAX); in BPF_KPROBE()
88 for (n = 0, sgp = get_sgp(sgs, i); sgp && (n < SG_MAX); in BPF_KPROBE()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/progs/
H A Dloop6.c56 static inline struct scatterlist *get_sgp(struct scatterlist **sgs, int i) in get_sgp() argument
60 bpf_probe_read_kernel(&sgp, sizeof(sgp), sgs + i); in get_sgp()
68 int BPF_KPROBE(trace_virtqueue_add_sgs, void *unused, struct scatterlist **sgs, in BPF_KPROBE() argument
79 for (n = 0, sgp = get_sgp(sgs, i); sgp && (n < SG_MAX); in BPF_KPROBE()
88 for (n = 0, sgp = get_sgp(sgs, i); sgp && (n < SG_MAX); in BPF_KPROBE()

12345678910>>...51