代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/366702/2878605
c 920810-1.c
#include
double normalize(x)double x;{if(x==0)x=0;return x;}
main(){char b[9];sprintf(b,"%g",normalize(-0.0));if(strcmp(b,"0"))abort();exit(0);}
www.eeworm.com/read/358128/2999904
pm sponge.pm
{
package DBD::Sponge;
require DBI;
require Carp;
our @EXPORT = qw(); # Do NOT @EXPORT anything.
our $VERSION = sprintf("12.%06d", q$Revision: 10002 $ =~ /(\d+)/o);
# $Id: Sp
www.eeworm.com/read/104052/15711689
c inet6_gr.c
/*
Modifications:
1998-07-01 - Arnaldo Carvalho de Melo - GNU gettext instead of catgets,
snprintf instead of sprintf
*/
#include "config.h"
#if HAVE_AFINET6
#include
#includ
www.eeworm.com/read/371500/9552045
c request.c
#include "opend.h"
#include
void
request(char *buf, int nread, int clifd, uid_t uid)
{
int newfd;
if (buf[nread-1] != 0) {
sprintf(errmsg, "request fr
www.eeworm.com/read/358669/10182315
m projector_marker.m
if active_images(i),
%fprintf(1,'Loading image %d...\n',i);
if ~type_numbering,
number_ext = num2str(image_numbers(i));
else
number_ext = sprintf(['%.'
www.eeworm.com/read/458493/7295622
m nmmversion.m
function [v,vn,vd] = nmmVersion
% nmmVersion Returns version number of NMM toolbox currently installed
vnum = 1.04;
vdate = '2-Feb-2003';
v = sprintf('NMM Toolbox Version %5.3f, %s, copyright Ger
www.eeworm.com/read/458488/7296047
m nmmversion.m
function [v,vn,vd] = nmmVersion
% nmmVersion Returns version number of NMM toolbox currently installed
vnum = 1.04;
vdate = '2-Feb-2003';
v = sprintf('NMM Toolbox Version %5.3f, %s, copyright Ger
www.eeworm.com/read/297325/8029675
m projector_marker.m
if active_images(i),
%fprintf(1,'Loading image %d...\n',i);
if ~type_numbering,
number_ext = num2str(image_numbers(i));
else
number_ext = sprintf(['%.'