Skip to content

Conversation

@Jyun-Neng
Copy link
Contributor

@Jyun-Neng Jyun-Neng commented Sep 22, 2018

handin.tar file is not required.

@jserv
Copy link
Contributor

jserv commented Sep 22, 2018

Don't append Using clang-format to format C code.

@Jyun-Neng Jyun-Neng closed this Sep 22, 2018
keywind127 added a commit to keywind127/lab0-c that referenced this pull request Mar 3, 2024
1. Completed q_new function by allocating memory using
    malloc and checking for null address after allocation
    should it have failed.
2. Completed q_insert_head function by allocating memory
    for list_head and element_t and checking for null
    addresses after each allocation for the same reason
    as sysprog21#1. How to link prev and next depends on the number
    of nodes present in the queue.
LiamTT121 added a commit to LiamTT121/lab0-c that referenced this pull request Jul 17, 2024
In merge():
  Must initialize run1_head because later we will splice temp
  back to run sysprog21#1.

In insertion():
  No bug. Just change the name of variable to clerify the node
  is right after the new node.

In next_run():
  Initailize the size to 1 to record the correct size of run.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants