Related Issues (20)
- substr callocをいろんなところに書くのはあまり良くない。
- substr strdup("")のほうが良さそう
- substr この一行いらなそう。
- split count_word_len関数は、offsetを受け取らないほうがやりやすそう。
- split この塊を新しい関数に切り出したら便利そう
- split malloc_words関数の返り値をchar**にしてmallocに失敗したらその時点でfreeしてNULL返したほうが良さそう
- split この2つの変数は1つにできそう
- split sが空文字列のときを特別扱いせずにやる方法がありそう。
- split malloc_words関数はword_countを受け取る必要なさそう。
- strlcat dst_iが必要なさそう。
- strlcat cpy系の関数が使えそう。
- strlcat whileの条件式。dst_i < dstsize - 1のほうがよさそう
- strlcat 本家ではstrnlenが使われているらしい。
- strlcat dstの終端null文字埋めのインデックスアクセスを見直したほうが良さそう
- strnstr この2つの条件分岐は必要なさそう。
- strnstr whileの条件を見直したほうが良さそう
- strnstr このif文必要なさそう。
- strnstr whileの条件式を見直せそう。
- 各関数は独立していたほうが使いやすい。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libft.