-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #617 from NOAA-EMC/jba_issue612
eliminate duplication of replication sequences within stseq function
- Loading branch information
Showing
15 changed files
with
464 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,7 +54,7 @@ jobs: | |
uses: actions/cache@v4 | ||
with: | ||
path: ~/data | ||
key: data-15 | ||
key: data-16 | ||
|
||
- name: build | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ jobs: | |
uses: actions/cache@v4 | ||
with: | ||
path: ~/data | ||
key: data-15 | ||
key: data-16 | ||
|
||
- name: build | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ jobs: | |
uses: actions/cache@v4 | ||
with: | ||
path: ~/data | ||
key: data-15 | ||
key: data-16 | ||
|
||
- name: build-bufr | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ jobs: | |
uses: actions/cache@v4 | ||
with: | ||
path: ~/data | ||
key: data-15 | ||
key: data-16 | ||
|
||
- name: build-docs | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/** @file | ||
* @brief Declare variables for internal storage of replication sequences. | ||
* | ||
* These variables are used within functions strrpsq() and srchrpsq() to | ||
* maintain an internal cache of replication sequences generated by function stseq(). | ||
* | ||
* @author J. Ator @date 2024-08-26 | ||
*/ | ||
|
||
/** Maximum number of entries in internal replication sequences cache. | ||
* | ||
* Note that this value is constrained by the fact that any new rpidns value would | ||
* have been generated by a previous call to function igettdi(). | ||
*/ | ||
#define MAX_RPSQ 256 | ||
|
||
/** @var nrpsq | ||
* Number of entries in internal replication sequences cache | ||
* | ||
* @var rpidns | ||
* WMO bit-wise representation of FXY number for each entry | ||
* | ||
* @var nafs | ||
* Number of associated fields in effect for each entry | ||
* | ||
* @var iafpks | ||
* Associated fields in effect for each entry | ||
* | ||
* @var ncdescs | ||
* Number of child descriptors for each entry | ||
* | ||
* @var cdescs | ||
* Child descriptors for each entry | ||
*/ | ||
#ifdef IN_ARALLOCC | ||
int nrpsq; | ||
int rpidns[MAX_RPSQ]; | ||
int nafs[MAX_RPSQ]; | ||
int *iafpks; | ||
int ncdescs[MAX_RPSQ]; | ||
int *cdescs; | ||
#else | ||
extern int nrpsq; | ||
extern int rpidns[MAX_RPSQ]; | ||
extern int nafs[MAX_RPSQ]; | ||
extern int *iafpks; | ||
extern int ncdescs[MAX_RPSQ]; | ||
extern int *cdescs; | ||
#endif |
Oops, something went wrong.