代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/313224/3645056
pm examplep.pm
{
package DBD::ExampleP;
use Symbol;
use DBI qw(:sql_types);
@EXPORT = qw(); # Do NOT @EXPORT anything.
$VERSION = sprintf("%d.%02d", q$Revision: 11.12 $ =~ /(\d+)\.(\d+)/o);
#
www.eeworm.com/read/273665/4200635
c t_strappend.c
/*
* Copyright (C) 2005 by Volker Lendecke
*
* Test harness for sprintf_append
*/
#include "includes.h"
#include
int main(int argc, char *argv[])
{
TALLOC_CTX *mem_ctx;
char *string
www.eeworm.com/read/440906/1780698
c 930513-1.c
#include
char buf[2];
f (fp)
int (*fp)(char *, const char *, ...);
{
(*fp)(buf, "%.0f", 5.0);
}
main ()
{
f (&sprintf);
if (buf[0] != '5' || buf[1] != 0)
abort ();
exit (0
www.eeworm.com/read/427330/1972269
h stdio.h
#ifndef _STDIO_H
#define _STDIO_H
extern int getc(void);
extern int putc(int ch);
extern int sprintf(char *buf, const char *fmt, ...);
extern int printf(const char *fmt, ...);
#endif
www.eeworm.com/read/413855/2157297
pl make-server-ron.pl
#!/usr/bin/perl
sub TOHEX {
$a = $_[0];
#print $a, "\t";
$a =~ /(\d*).(\d*).(\d*).(\d*)/;
#print $1, " ", $2, " ", $3, " ", $4, "\t";
$tohex = sprintf ("%02x%02x%02x%02x
www.eeworm.com/read/413855/2157305
pl make-adapt-ron.pl
#!/usr/bin/perl
sub TOHEX {
$a = $_[0];
#print $a, "\t";
$a =~ /(\d*).(\d*).(\d*).(\d*)/;
#print $1, " ", $2, " ", $3, " ", $4, "\t";
$tohex = sprintf ("%02x%02x%02x%02x
www.eeworm.com/read/413855/2157311
pl make-flexclient-ron.pl
#!/usr/bin/perl
sub TOHEX {
$a = $_[0];
#print $a, "\t";
$a =~ /(\d*).(\d*).(\d*).(\d*)/;
#print $1, " ", $2, " ", $3, " ", $4, "\t";
$tohex = sprintf ("%02x%02x%02x%02x
www.eeworm.com/read/413855/2157322
pl make-client-ron.pl
#!/usr/bin/perl
sub TOHEX {
$a = $_[0];
#print $a, "\t";
$a =~ /(\d*).(\d*).(\d*).(\d*)/;
#print $1, " ", $2, " ", $3, " ", $4, "\t";
$tohex = sprintf ("%02x%02x%02x%02x
www.eeworm.com/read/413855/2157323
pl make-multiclient-ron.pl
#!/usr/bin/perl
sub TOHEX {
$a = $_[0];
#print $a, "\t";
$a =~ /(\d*).(\d*).(\d*).(\d*)/;
#print $1, " ", $2, " ", $3, " ", $4, "\t";
$tohex = sprintf ("%02x%02x%02x%02x
www.eeworm.com/read/405754/2285041
c neverset.c
/*
# proc: neverset - a standard error message wrapper.
*/
void
neverset(parmname_str)
char parmname_str[];
{
char str[100];
sprintf(str, "%s is never set", parmname_str);
eb_cat_e(str);
}