代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/395229/2445388
c gcvt.c
#include
#include
#ifdef __UCLIBC_HAS_FLOATS__
#define MAX_NDIGIT 17
char *gcvt (double number, int ndigit, char *buf)
{
sprintf(buf, "%.*g", (ndigit > MAX_NDIGIT)? MAX_NDIGI
www.eeworm.com/read/389922/2530131
h common.h
/* $Header: common.h,v 2.0.1.2 88/06/22 20:44:53 lwall Locked $
*
* $Log: common.h,v $
* Revision 2.0.1.2 88/06/22 20:44:53 lwall
* patch12: sprintf was declared wrong
*
* Revision 2.0.1.1
www.eeworm.com/read/365521/2896712
m display.m
function display(p)
% DISPLAY Display a portfolio object
for k = 1:length(p.indAssets)
display(p.indAssets{k})
end
stg = sprintf('\nAssets for Client: %s\nTotal Value: %9.2f\n',...
p.name,p.t
www.eeworm.com/read/359563/2975034
c pipe2.c
#include
#include
void WriteG(int fd, char *str, int len)
{
char buf[255];
memset(buf, 0, sizeof(buf));
sprintf(buf, "%s", str);
write(fd, buf, len);
}
char *ReadG(int fd, in
www.eeworm.com/read/358128/2999768
pm util.pm
package HTTP::Headers::Util;
use strict;
use vars qw($VERSION @ISA @EXPORT_OK);
$VERSION = sprintf("%d.%02d", q$Revision: 1.13 $ =~ /(\d+)\.(\d+)/);
require Exporter;
@ISA=qw(Exporter);
@EXPORT_OK
www.eeworm.com/read/358128/2999941
pm tokeparser.pm
package HTML::TokeParser;
# $Id: TokeParser.pm,v 2.37 2006/04/26 08:00:28 gisle Exp $
require HTML::PullParser;
@ISA=qw(HTML::PullParser);
$VERSION = sprintf("%d.%02d", q$Revision: 2.37 $ =~ /(\d+)\
www.eeworm.com/read/358128/3000021
pm dbi.pm
# -*- perl -*-
package Bundle::DBI;
our $VERSION = sprintf("12.%06d", q$Revision: 8695 $ =~ /(\d+)/o);
1;
__END__
=head1 NAME
Bundle::DBI - A bundle to install DBI and required modules.
=head1
www.eeworm.com/read/358128/3000042
pm protocol.pm
package LWP::Protocol;
# $Id: Protocol.pm,v 1.46 2007/07/19 20:26:11 gisle Exp $
require LWP::MemberMixin;
@ISA = qw(LWP::MemberMixin);
$VERSION = sprintf("%d.%02d", q$Revision: 1.46 $ =~ /(\d+)\.(\
www.eeworm.com/read/358128/3000546
pm header.pm
package Encode::MIME::Header;
use strict;
use warnings;
no warnings 'redefine';
our $VERSION = do { my @r = ( q$Revision: 2.5 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
use Encode qw(find_enc
www.eeworm.com/read/358128/3000550
pm guess.pm
package Encode::Guess;
use strict;
use warnings;
use Encode qw(:fallbacks find_encoding);
our $VERSION = do { my @r = ( q$Revision: 2.2 $ =~ /\d+/g ); sprintf "%d." . "%02d" x $#r, @r };
my $Canon =