代码搜索:utils
找到约 10,000 项符合「utils」的源代码
代码结果 10,000
www.eeworm.com/read/241927/13108734
h utils.h
#ifndef __UTILS_H
#define __UTILS_H
void rtrim(char *msg);
#endif
www.eeworm.com/read/241867/13111201
o utils.o
www.eeworm.com/read/241867/13111213
c utils.c
/* utils.c
*
* 32 bit fractional multiplication. Requires 64 bit integer support.
*/
/* Fractional multiply. */
long mul(long x, long y)
{
return (long)(((long long)x * (long long)y) >> 32);
}
www.eeworm.com/read/139866/13127775
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/139866/13127869
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/139866/13127906
o utils.o
www.eeworm.com/read/139529/13150846
cc utils.cc
// ################################################################################
//
// name: utils.cc
//
// author: Martin Pelikan
//
// purpose: functions use elsewhere
www.eeworm.com/read/139529/13150899
h utils.h
#ifndef _utils_h_
#define _utils_h_
#include
int swapInt(int *a, int *b);
int swapLong(long *a, long *b);
void swapPointers(void **a, void **b);
int printSpaces(FILE *out, int num)
www.eeworm.com/read/326200/13156024
c utils.c
/*****************************************************************************
* utils.c: BIOSBOX 公共函数
*
* Copyright(C) 2007, uCdragon
* All rights reserved.
*
* History
* 200
www.eeworm.com/read/326200/13156063
h utils.h
/*****************************************************************************
* utils.h: BIOSBOX 公共函数
*
* Copyright(C) 2007, uCdragon
* All rights reserved.
*
* History
* 200