代码搜索:sprintf
找到约 7,065 项符合「sprintf」的源代码
代码结果 7,065
www.eeworm.com/read/222917/4816459
phpt bug20108.phpt
--TEST--
Segfault on printf statement bug #20108
--SKIPIF--
--FILE--
--EXPECT--
string(581) "
www.eeworm.com/read/199615/5075957
h sysutils.h
// System Utility Library
#ifndef __SYSUTILS_H
#define __SYSUTILS_H
#ifdef __cplusplus
extern "C" {
#endif
int nsprintf(char*, int, const char*, ...);
int sprintf(char*, const char*, ...)
www.eeworm.com/read/321483/3533765
t plan.t
#!/usr/bin/perl -w
BEGIN {
if( $ENV{PERL_CORE} ) {
chdir 't';
@INC = '../lib';
}
}
use Test::More;
plan tests => 4;
eval { plan tests => 4 };
is( $@, sprintf("You tried to p
www.eeworm.com/read/296064/3908189
h debug.h
/*
* Copyright (c) 1995 Danny Gasparovski.
*
* Please read the file COPYRIGHT for the
* terms and conditions of the copyright.
*/
#define PRN_STDERR 1
#define PRN_SPRINTF 2
extern FILE *dfd;
www.eeworm.com/read/435707/1861179
c printfmt.c
// Stripped-down primitive printf-style formatting routines,
// used in common by printf, sprintf, fprintf, etc.
// This code is also used by both the kernel and user programs.
//
// Space or zero pad
www.eeworm.com/read/396039/2424082
cpp listjobs.cpp
#include "mpijob.h"
#include "Translate_Error.h"
void GetAndPrintState(SOCKET sock, char *dbname)
{
char str[256];
int error;
sprintf(str, "dbget %s:state", dbname);
if (WriteString(
www.eeworm.com/read/366702/2879496
c pr17656.c
int sprintf (char *s, const char *format, ...);
int foo(int i, int j)
{
char *buf, *str;
if (i)
str = "";
else if (j)
str = "";
else
return 1;
/* We were propagating &
www.eeworm.com/read/365521/2896748
m count_line.m
fid = fopen('magic.m', 'r');
count = 0;
while ~feof(fid)
line = fgetl(fid);
if isempty(line) | strncmp(line, '%', 1)
continue
end
count = count + 1;
end
disp(sprintf('
www.eeworm.com/read/248950/12531124
m dosigma.m
# showdata = 1 gives pause, 0 gives no pause.
#
if ( showdata >= 0 )
if(showdata==1 )
command = sprintf ( "input (\"next: sigma = %4g\");" , sigma ) ;
eval(command) ;
else
sigma
endif
en
www.eeworm.com/read/108285/15589136
h lcd.h
#include
#include
#include
#define lcdprintf(sting,...) sprintf(sting,sting,__VA_ARGS__);\
lcdprint(sting);
extern void lcdprint(