代码搜索:utils
找到约 10,000 项符合「utils」的源代码
代码结果 10,000
www.eeworm.com/read/297386/8025964
o utils.o
www.eeworm.com/read/297384/8026008
o utils.o
www.eeworm.com/read/297384/8026030
o utils.o
www.eeworm.com/read/297175/8048279
c utils.c
#include
void rtrim(char *msg) {
int i;
if(NULL == msg) return;
for(i=strlen(msg);i>0;i--) {
if(msg[i-1] == ' ')
msg[i-1]=0;
else
www.eeworm.com/read/297175/8048335
h utils.h
#ifndef __UTILS_H
#define __UTILS_H
void rtrim(char *msg);
#endif
www.eeworm.com/read/296814/8076005
o utils.o
www.eeworm.com/read/296814/8076037
h utils.h
#ifndef __UTILS_H
#define __UTILS_H
void memcpy(void *s1, const void *s2, int n);
void memset(void *s, const char ch, int n);
unsigned short ntohs(unsigned short s);
unsigned long ntohl(unsigned lo
www.eeworm.com/read/296814/8076123
c utils.c
#include "utils.h"
void memcpy(void *s1, const void *s2, int n)
{
int i;
for (i = 0; i < n; i++)
((char *)(s1))[i] = ((const char *)(s2))[i];
}
void memset(void *s, const char ch, i
www.eeworm.com/read/196406/8093726
h utils.h
#ifndef UTILS_H
#define UTILS_H
#include
#include
#include
#include
#include
#include
using namespace std;
//-----------------