Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
c8cbf237
Commit
c8cbf237
authored
20 years ago
by
phung4
Browse files
Options
Downloads
Patches
Plain Diff
renamed init and fini function names
parent
d60c0ad8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/partition_allocator/partition_allocator.c
+4
-4
4 additions, 4 deletions
src/partition_allocator/partition_allocator.c
src/partition_allocator/partition_allocator.h
+2
-2
2 additions, 2 deletions
src/partition_allocator/partition_allocator.h
with
6 additions
and
6 deletions
src/partition_allocator/partition_allocator.c
+
4
−
4
View file @
c8cbf237
...
@@ -974,7 +974,7 @@ void print_pa_request(struct pa_request* pa_request)
...
@@ -974,7 +974,7 @@ void print_pa_request(struct pa_request* pa_request)
*
*
* return: success or error of the intialization.
* return: success or error of the intialization.
*/
*/
void
pa
rtition_allocator
_init
()
void
pa_init
()
{
{
int
i
;
int
i
;
List
switch_config_list
;
List
switch_config_list
;
...
@@ -1027,7 +1027,7 @@ void partition_allocator_init()
...
@@ -1027,7 +1027,7 @@ void partition_allocator_init()
/**
/**
* destroy all the internal (global) data structs.
* destroy all the internal (global) data structs.
*/
*/
void
pa
rtition_allocator
_fini
()
void
pa_fini
()
{
{
int
i
;
int
i
;
...
@@ -1094,7 +1094,7 @@ int allocate_part(pa_request_t* pa_request, List* results)
...
@@ -1094,7 +1094,7 @@ int allocate_part(pa_request_t* pa_request, List* results)
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
pa
rtition_allocator
_init
();
pa_init
();
/*
/*
ListIterator itr;
ListIterator itr;
...
@@ -1145,6 +1145,6 @@ int main(int argc, char** argv)
...
@@ -1145,6 +1145,6 @@ int main(int argc, char** argv)
delete_pa_request
(
request
);
delete_pa_request
(
request
);
pa
rtition_allocator
_fini
();
pa_fini
();
return
0
;
return
0
;
}
}
This diff is collapsed.
Click to expand it.
src/partition_allocator/partition_allocator.h
+
2
−
2
View file @
c8cbf237
...
@@ -88,11 +88,11 @@ void print_pa_request(struct pa_request* pa_request);
...
@@ -88,11 +88,11 @@ void print_pa_request(struct pa_request* pa_request);
*
*
* return: success or error of the intialization.
* return: success or error of the intialization.
*/
*/
void
pa
rtition_allocator
_init
();
void
pa_init
();
/**
/**
* destroy all the internal (global) data structs.
* destroy all the internal (global) data structs.
*/
*/
void
pa
rtition_allocator
_fini
();
void
pa_fini
();
/**
/**
* set the node in the internal configuration as unusable
* set the node in the internal configuration as unusable
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment