Home
last modified time | relevance | path

Searched refs:ptable (Results 1 – 25 of 1265) sorted by relevance

12345678910>>...51

/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/common/
H A Dperiodic_table.F128 ptable(0)%number = 0
129 ptable(0)%amass = z
138 ptable(1)%number = 1
148 ptable(2)%number = 2
158 ptable(3)%number = 3
168 ptable(4)%number = 4
178 ptable(5)%number = 5
188 ptable(6)%number = 6
198 ptable(7)%number = 7
208 ptable(8)%number = 8
[all …]
/dports/science/cp2k-data/cp2k-7.1.0/src/common/
H A Dperiodic_table.F128 ptable(0)%number = 0
129 ptable(0)%amass = z
138 ptable(1)%number = 1
148 ptable(2)%number = 2
158 ptable(3)%number = 3
168 ptable(4)%number = 4
178 ptable(5)%number = 5
188 ptable(6)%number = 6
198 ptable(7)%number = 7
208 ptable(8)%number = 8
[all …]
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/tools/cubecruncher/
H A Dperiodic_table.f9096 ptable(0) % number = 0
97 ptable(0) % amass = z
98 ptable(0) % mass = z
107 ptable(1) % number = 1
118 ptable(2) % number = 2
129 ptable(3) % number = 3
140 ptable(4) % number = 4
151 ptable(5) % number = 5
162 ptable(6) % number = 6
173 ptable(7) % number = 7
[all …]
/dports/science/cp2k-data/cp2k-7.1.0/tools/cubecruncher/
H A Dperiodic_table.f9096 ptable(0) % number = 0
97 ptable(0) % amass = z
98 ptable(0) % mass = z
107 ptable(1) % number = 1
118 ptable(2) % number = 2
129 ptable(3) % number = 3
140 ptable(4) % number = 4
151 ptable(5) % number = 5
162 ptable(6) % number = 6
173 ptable(7) % number = 7
[all …]
/dports/science/qbox/qbox-public-rel1_73_3/util/upf2qso/src/
H A DPeriodicTable.cpp33 assert(z>0 && z<=ptable.size()); in symbol()
34 return ptable[z-1].symbol; in symbol()
40 assert(z>0 && z<=ptable.size()); in configuration()
41 return ptable[z-1].config; in configuration()
47 return ptable[z(symbol)-1].config; in configuration()
53 assert(z>0 && z<=ptable.size()); in mass()
54 return ptable[z-1].mass; in mass()
60 return ptable[z(symbol)-1].mass; in mass()
66 return ptable.size(); in size()
172 for ( int i = 0; i < ptable.size(); i++ ) in PeriodicTable()
[all …]
/dports/games/nazghul/nazghul-0.7.1/src/
H A Dptable.c39 struct ptable *ptable; in ptable_new() local
41 ptable = (struct ptable*)calloc(1, sizeof(*ptable)); in ptable_new()
42 assert(ptable); in ptable_new()
49 return ptable; in ptable_new()
53 static int ptable_check(struct ptable *ptable, int mmode, int pclass) in ptable_check() argument
68 void ptable_set(struct ptable *ptable, int mmode, int pclass, in ptable_set() argument
85 int ptable_get(struct ptable *ptable, int mmode, int pclass) in ptable_get() argument
98 void ptable_del(struct ptable *ptable) in ptable_del() argument
100 assert(ptable); in ptable_del()
102 if (ptable->table) in ptable_del()
[all …]
H A Dptable.h30 struct ptable { struct
41 #define ptable_is_passable(ptable,mmode,pclass) \ argument
42 (ptable_get((ptable),(mmode),(pclass)) != PTABLE_IMPASSABLE)
44 extern struct ptable *ptable_new(int n_mmodes, int n_pclass);
45 extern void ptable_set(struct ptable *ptable, int mmode, int pclass,
47 extern int ptable_get(struct ptable *ptable, int mmode, int pclass);
48 extern void ptable_del(struct ptable *pass);
/dports/net/kamailio/kamailio-5.4.5/src/modules/auth_identity/
H A Dauth_tables.c66 if (!(*ptable = (ttable *) shm_malloc(sizeof(**ptable)))) { in init_table()
70 memset(*ptable, 0, sizeof(**ptable)); in init_table()
89 (*ptable)->fgc=fgc; in init_table()
99 if (ptable) { in free_table()
112 shm_free(ptable); in free_table()
134 if (ptable->unum >= ptable->uitemlim) in insert_into_table()
136 ptable->unum++; in insert_into_table()
174 if (ptable->ffree) in remove_from_table_unsafe()
228 ptable->unum--; in remove_least()
256 if (!ptable->fcmp) in search_item_in_table_unsafe()
[all …]
/dports/japanese/font-mona/monafont-2.90/tools/
H A Dmkitalic33 $ptable[$i++] = "4 -3 ...@ ...@ ..@. @@.. 1 -1 .\$@";
34 $ptable[$i++] = "4 -3 ..@ ..@ .@. @.. 1 0 @\$";
41 $ptable[$i++] = "3 -1 ..@ .@ .@. 1 0 .,\$";
42 $ptable[$i++] = "3 -2 .@ .@ @.@ 1 -1 \$@";
43 $ptable[$i++] = "3 -2 .@ .@. @.. 1 -1 \$.";
44 $ptable[$i++] = "3 -2 .@ .@@ @.. 1 -1 \$@";
46 $ptable[$i++] = "3 -2 @@. .@. @.. 1 -1 \$,";
60 $ptable[$i++] = "4 -1 .@. .@. ..@. ..@. 1 0 .,\$";
77 $ptable[$i++] = "2 -1 .@ @. 1 -1 \$";
136 foreach $i (@ptable) {
[all …]
/dports/x11-fonts/mkitalic/mkitalic-1.0_2/
H A Dmkitalic33 $ptable[$i++] = "4 -3 ...@ ...@ ..@. @@.. 1 -1 .\$@";
34 $ptable[$i++] = "4 -3 ..@ ..@ .@. @.. 1 0 @\$";
41 $ptable[$i++] = "3 -1 ..@ .@ .@. 1 0 .,\$";
42 $ptable[$i++] = "3 -2 .@ .@ @.@ 1 -1 \$@";
43 $ptable[$i++] = "3 -2 .@ .@. @.. 1 -1 \$.";
44 $ptable[$i++] = "3 -2 .@ .@@ @.. 1 -1 \$@";
46 $ptable[$i++] = "3 -2 @@. .@. @.. 1 -1 \$,";
60 $ptable[$i++] = "4 -1 .@. .@. ..@. ..@. 1 0 .,\$";
77 $ptable[$i++] = "2 -1 .@ @. 1 -1 \$";
136 foreach $i (@ptable) {
[all …]
/dports/comms/sunxi-tools/sunxi-tools-1.4.2/
H A Dphoenix_info.c38 } ptable; variable
48 if (part > ptable->parts) { in save_part()
52 buf = malloc(ptable->part[part].size); in save_part()
61 if (fread(buf, ptable->part[part].size, 1, in) != 1) in save_part()
147 fread(&ptable, 1, 0x400, in); in main()
153 printf("???? : %08x\n", le32toh(ptable.unknown1)); in main()
154 printf("Parts : %d\n", le16toh(ptable.parts)); in main()
156 …%02x%02x%02x%02x\n", ptable.pad[0], ptable.pad[1], ptable.pad[2], ptable.pad[3], ptable.pad[4], pt… in main()
159 for (i = 0; i < le16toh(ptable.parts); i++) { in main()
162 …start: 0x%08x (%u / 0x%08x)\n", le32toh(ptable.part[i].start)*512, le32toh(ptable.part[i].start), … in main()
[all …]
/dports/science/hdf5/hdf5-1.10.6/hl/test/
H A Dtest_packet_vlen.c150 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in test_VLof_atomic()
291 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in test_VLof_comptype()
472 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in test_compound_VL_VLtype()
593 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in test_VLof_VLtype()
642 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in verify_ptlengthtype()
787 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in adding_attribute()
844 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in verify_attribute()
1143 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in testfl_VLof_atomic()
1284 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in testfl_VLof_comptype()
1465 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in testfl_compound_VL_VLtype()
[all …]
/dports/mail/bmf/bmf-0.9.4/
H A Dbmfconv.c61 dbt_t* ptable; in main() local
116 if( ptable == NULL ) in main()
123 if( !ptable->export( ptable, "spamlist.txt" ) ) in main()
131 if( !ptable->import( ptable, "spamlist.txt" ) ) in main()
137 ptable->close( ptable ); in main()
138 free( ptable ); in main()
141 if( ptable == NULL ) in main()
148 if( !ptable->export( ptable, "goodlist.txt" ) ) in main()
156 if( !ptable->import( ptable, "goodlist.txt" ) ) in main()
162 ptable->close( ptable ); in main()
[all …]
H A Ddbtext.c143 if( ptable == NULL ) in dbtext_db_opentable()
155 ptable->fd = -1; in dbtext_db_opentable()
156 ptable->pbuf = NULL; in dbtext_db_opentable()
157 ptable->nmsgs = 0; in dbtext_db_opentable()
158 ptable->nalloc = 0; in dbtext_db_opentable()
159 ptable->nitems = 0; in dbtext_db_opentable()
198 if( read( ptable->fd, ptable->pbuf, st.st_size ) != st.st_size ) in dbtext_db_opentable()
205 if( sscanf( ptable->pbuf, BOGOFILTER_HEADER, &ptable->nmsgs ) != 1 ) in dbtext_db_opentable()
256 ptable->fd = -1; in dbtext_db_opentable()
271 ptable->fd = -1; in dbtext_db_opentable()
[all …]
/dports/games/easyrpg-player/Player-0.7.0/resources/shinonome/tools/
H A Dmkitalic.in30 ptable[i++] = "4 -3 ...@ ...@ ..@. @@.. 1 -1 .$@";
31 ptable[i++] = "4 -3 ..@ ..@ .@. @.. 1 0 @$";
38 ptable[i++] = "3 -1 ..@ .@ .@. 1 0 .,$";
39 ptable[i++] = "3 -2 .@ .@ @.@ 1 -1 $@";
57 ptable[i++] = "4 -1 .@. .@. ..@. ..@. 1 0 .,$";
73 ptable[i++] = "3 -1 .@.. @.@. .@@. 1 0 $" # fixed
74 ptable[i++] = "2 -1 .@ @. 1 -1 $";
201 for (i = 0; ptable[i]; i++) {
202 split(ptable[i], p, " ");
265 for (i = 0; ptable[i]; i++) {
[all …]
/dports/science/hdf5-18/hdf5-1.8.21/hl/test/
H A Dtest_packet_vlen.c150 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in test_VLof_atomic()
291 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in test_VLof_comptype()
472 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in test_compound_VL_VLtype()
593 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in test_VLof_VLtype()
642 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in verify_ptlengthtype()
787 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in adding_attribute()
844 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in verify_attribute()
988 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in verify_accessors()
1146 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in testfl_VLof_atomic()
1287 if (H5PTis_valid(ptable) > 0) H5PTclose(ptable); in testfl_VLof_comptype()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/runtime/crt/common/
H A Dmemory.c55 ptable->page[idx] = *page; in PageTable_Resize()
57 ptable->num_pages = new_size; in PageTable_Resize()
128 PageTable* ptable = &(mgr->ptable); in MemoryManager_Alloc() local
129 tvm_index_t npage = (size + ptable->page_size_bytes - 1) / ptable->page_size_bytes; in MemoryManager_Alloc()
146 Page p = PageCreate(ptable->memory_pool, ptable->page_size_bytes, start, npage); in MemoryManager_Alloc()
147 ptable->resize(ptable, start + npage, &p); in MemoryManager_Alloc()
168 PageTable* ptable = &(mgr->ptable); in MemoryManager_Realloc() local
172 tvm_index_t npage = (size + ptable->page_size_bytes - 1) / ptable->page_size_bytes; in MemoryManager_Realloc()
197 ptable->resize(ptable, start + npage, &p); in MemoryManager_Realloc()
217 PageTable* ptable = &(mgr->ptable); in MemoryManager_Realloc() local
[all …]
/dports/games/ldmud/ldmud-3.3.720/src/
H A Dptrtable.c90 struct pointer_table *ptable; in new_pointer_table() local
95 ptable = mempool_alloc(pool, sizeof(*ptable)); in new_pointer_table()
96 if (!ptable) in new_pointer_table()
101 memset(ptable->hash_usage, 0, sizeof ptable->hash_usage); in new_pointer_table()
102 memset(ptable->table, 0, sizeof ptable->table); in new_pointer_table()
103 ptable->pool = pool; in new_pointer_table()
105 return ptable; in new_pointer_table()
110 free_pointer_table (struct pointer_table *ptable) in free_pointer_table() argument
116 mempool_delete(ptable->pool); in free_pointer_table()
152 insert = &(ptable->table[hash]); in find_add_pointer()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/mtd/parsers/
H A Dqcomsmempart.c62 struct smem_flash_ptable *ptable; in parse_qcomsmem_part() local
77 if (IS_ERR(ptable)) { in parse_qcomsmem_part()
79 return PTR_ERR(ptable); in parse_qcomsmem_part()
83 if (le32_to_cpu(ptable->magic1) != SMEM_FLASH_PART_MAGIC1 || in parse_qcomsmem_part()
84 le32_to_cpu(ptable->magic2) != SMEM_FLASH_PART_MAGIC2) { in parse_qcomsmem_part()
90 numparts = le32_to_cpu(ptable->numparts); in parse_qcomsmem_part()
97 if (le32_to_cpu(ptable->version) <= SMEM_FLASH_PTABLE_V3) { in parse_qcomsmem_part()
114 if (IS_ERR(ptable)) { in parse_qcomsmem_part()
116 return PTR_ERR(ptable); in parse_qcomsmem_part()
124 pentry = &ptable->pentry[i]; in parse_qcomsmem_part()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/mtd/parsers/
H A Dqcomsmempart.c62 struct smem_flash_ptable *ptable; in parse_qcomsmem_part() local
77 if (IS_ERR(ptable)) { in parse_qcomsmem_part()
79 return PTR_ERR(ptable); in parse_qcomsmem_part()
83 if (le32_to_cpu(ptable->magic1) != SMEM_FLASH_PART_MAGIC1 || in parse_qcomsmem_part()
84 le32_to_cpu(ptable->magic2) != SMEM_FLASH_PART_MAGIC2) { in parse_qcomsmem_part()
90 numparts = le32_to_cpu(ptable->numparts); in parse_qcomsmem_part()
97 if (le32_to_cpu(ptable->version) <= SMEM_FLASH_PTABLE_V3) { in parse_qcomsmem_part()
114 if (IS_ERR(ptable)) { in parse_qcomsmem_part()
116 return PTR_ERR(ptable); in parse_qcomsmem_part()
124 pentry = &ptable->pentry[i]; in parse_qcomsmem_part()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/mtd/parsers/
H A Dqcomsmempart.c62 struct smem_flash_ptable *ptable; in parse_qcomsmem_part() local
77 if (IS_ERR(ptable)) { in parse_qcomsmem_part()
79 return PTR_ERR(ptable); in parse_qcomsmem_part()
83 if (le32_to_cpu(ptable->magic1) != SMEM_FLASH_PART_MAGIC1 || in parse_qcomsmem_part()
84 le32_to_cpu(ptable->magic2) != SMEM_FLASH_PART_MAGIC2) { in parse_qcomsmem_part()
90 numparts = le32_to_cpu(ptable->numparts); in parse_qcomsmem_part()
97 if (le32_to_cpu(ptable->version) <= SMEM_FLASH_PTABLE_V3) { in parse_qcomsmem_part()
114 if (IS_ERR(ptable)) { in parse_qcomsmem_part()
116 return PTR_ERR(ptable); in parse_qcomsmem_part()
124 pentry = &ptable->pentry[i]; in parse_qcomsmem_part()
[all …]
/dports/science/hdf5-18/hdf5-1.8.21/hl/examples/
H A DptExampleFL.c29 hid_t ptable; /* Packet table identifier */ in main() local
53 ptable = H5PTcreate_fl(fid, "Packet Test Dataset", H5T_NATIVE_INT, (hsize_t)100, 5); in main()
54 if(ptable == H5I_INVALID_HID) in main()
58 err = H5PTappend(ptable, (hsize_t)1, &(writeBuffer[0]) ); in main()
63 err = H5PTappend(ptable, (hsize_t)4, &(writeBuffer[1]) ); in main()
68 err = H5PTget_num_packets(ptable, &count); in main()
75 err = H5PTcreate_index(ptable); in main()
82 err = H5PTget_next(ptable, (hsize_t)1, &(readBuffer[x]) ); in main()
90 err = H5PTclose(ptable); in main()
100 H5PTclose(ptable); in main()
/dports/science/hdf5/hdf5-1.10.6/hl/examples/
H A DptExampleFL.c29 hid_t ptable; /* Packet table identifier */ in main() local
53 ptable = H5PTcreate_fl(fid, "Packet Test Dataset", H5T_NATIVE_INT, (hsize_t)100, 5); in main()
54 if(ptable == H5I_INVALID_HID) in main()
58 err = H5PTappend(ptable, (hsize_t)1, &(writeBuffer[0]) ); in main()
63 err = H5PTappend(ptable, (hsize_t)4, &(writeBuffer[1]) ); in main()
68 err = H5PTget_num_packets(ptable, &count); in main()
75 err = H5PTcreate_index(ptable); in main()
82 err = H5PTget_next(ptable, (hsize_t)1, &(readBuffer[x]) ); in main()
90 err = H5PTclose(ptable); in main()
100 H5PTclose(ptable); in main()
/dports/science/agrum/aGrUM-29e540d8169268e8fe5d5c69bc4b2b1290f12320/src/agrum/tools/multidim/utils/patterns/
H A DcompleteProjectionPattern4MultiDimArray.h115 GUM_MULTI_DIM_COMPLETE_PROJECTION_TYPE* ptable in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME() local
121 GUM_MULTI_DIM_COMPLETE_PROJECTION_TYPE* current_ptr = ptable; in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME()
124 for (Size i = 0; i < nb_elt; ++i, ++ptable) { in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME()
126 GUM_MULTI_DIM_COMPLETE_PROJECTION(&current_val, *ptable); in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME()
128 GUM_MULTI_DIM_COMPLETE_PROJECTION(current_val, *ptable); in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME()
133 current_ptr = ptable; in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME()
157 for (Size i = 0; i < nb_elt; ++i, ++ptable) { in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME()
158 GUM_MULTI_DIM_COMPLETE_PROJECTION(&current_val, *ptable); in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME()
162 current_ptr = ptable; in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME()
169 for (Size i = 0; i < nb_elt; ++i, ++ptable) { in GUM_MULTI_DIM_COMPLETE_PROJECTION_NAME()
[all …]
/dports/sysutils/webmin/webmin-1.981/pam/
H A Dedit_pam.cgi37 my $ptable;
41 $ptable .= &ui_columns_start([ $text{'edit_mod'},
82 $ptable .= &ui_columns_row(\@cols, \@rtds);
84 $ptable .= &ui_columns_end();
87 $ptable .= "<b>$text{'edit_none'}</b><p>\n";
91 $ptable .= &ui_hidden("idx", $in{'idx'});
92 $ptable .= &ui_hidden("type", $t);
93 $ptable .= &ui_submit($text{'edit_addmod'}),"\n";
94 $ptable .= &ui_select("module", undef,
97 $ptable .= "&nbsp;";
[all …]

12345678910>>...51