Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
inline
- Page 1
Custom font on Cloudflare error page
Programming
Web Development
2 Days Ago
by Dani
… that it converted https://cdn.daniweb.com/font.woff into
inline
base64 for the @font-face CSS, which sounds about right…
Re: Custom font on Cloudflare error page
Programming
Web Development
1 Day Ago
by Dani
Hello Dwight, I had already checked out that link, but from what I can gather, Cloudflare does not consider individual resources (such as fonts, images, etc.) as "assets". My understanding is than an asset is the entire HTML file used to generate the page, complete with
inline
, base64 encoded resources.
Re: Custom font on Cloudflare error page
Programming
Web Development
1 Day Ago
by wwwalker
I would check out assets you add to custom error page. See https://developers.cloudflare.com/rules/custom-errors/
Re: Contact form does not working
Programming
Web Development
2 Months Ago
by Salem
… into your dialog directly into mail. Does a very simple
inline
code work? `mail('my@my.address.com','Testing...','1 2…
Inline Code Example Here Inserted
Community Center
9 Years Ago
by nullptr
`
Inline
Code Example Here` I just noticed a post that contained '
Inline
Code Example Here'. This can be reproduced by not selecting any code, then pressing the |>_Inline Code| button. Is this by design or a bug?
Re: Inline Code Tags
Community Center
Meta DaniWeb
12 Years Ago
by Dani
>
Inline
CODE is still code - by definition. Spacing should be honored. … the exception of `10 * sqrt 25 + 3` perhaps being written
inline
.
Inline Code Tags
Community Center
Meta DaniWeb
12 Years Ago
by WaltP
Inline
Tags need to keep spacing for 2 reasons 1) they are the only way we can officially *quote* code 2) whether one line or an entire block of code, spacing can be important. It's CODE after all.
Re: inline function prototype
Programming
Software Development
13 Years Ago
by Fbody
Inline
functions can be finicky. As I understand it, because they …
Re: inline functions
Programming
Software Development
17 Years Ago
by Jishnu
Inline
functions are used to eliminate overheads which occur in case … called. Functions cannot be forced to be
inline
. They can only be suggested to be
inline
by using the keyword. It is…
Re: inline functions
Programming
Software Development
11 Years Ago
by Ancient Dragon
…been macros or to just make them regular functions.
inline
functions as well as functions written as macros has the…every time it is called. But if you use
inline
functions the compiler can elect to make them normal …2. One or two statement functions should be written as
inline
functions. 3. Any functions larger than two statements should …
Re: inline function
Programming
Software Development
11 Years Ago
by tamilselvi@aj
INLINE
FUNCTIONS DON'T USE STACK. THEREFORE, EXECUTION TIME IS LESS.HOWEVER, THE STATEMENTS IN THE FUNCTION ARE SUBSTITUTED WHENEVER THE FUNCTION IS CALLED.
INLINE
FUNCTIONS ARE ALWAYS SHORT.
Re: inline function
Programming
Software Development
11 Years Ago
by deceptikon
>
INLINE
FUNCTIONS DON'T USE STACK. THEREFORE, EXECUTION TIME IS LESS.HOWEVER, THE STATEMENTS IN THE FUNCTION ARE SUBSTITUTED WHENEVER THE FUNCTION IS CALLED.
INLINE
FUNCTIONS ARE ALWAYS SHORT. Many assumptions there, tamilselvi, and none of them are safe: http://www.gotw.ca/gotw/033.htm
Re: Inline assembly in C
Programming
Software Development
12 Years Ago
by Ancient Dragon
inline
assembly is not standard, so it all depends on what compiler you are using. VC++ does not allow dw opcode.
Re: inline or not
Programming
Software Development
12 Years Ago
by Andrei15193
…/destructors? Is it ok to
inline
*small* length constructors/destructors? Is it ok to
inline
*long* length constructors/destructors? … general question such as "Is it good to
inline
constructors/destructors?" can be answered with examples that…usefull and when not (apart from the general "
inline
only when you're sure you get more in …
Re: inline or not
Programming
Software Development
12 Years Ago
by deceptikon
…gt; Okay, I'll rephrase, is it ok to
inline
empty constructors/destructors? At the risk of being overly … general question such as "Is it good to
inline
constructors/destructors?" can be answered with examples that … inlining is useful in practice. I never use the
inline
keyword explicitly and would prefer an equivalent `noinline` hint…
inline or not
Programming
Software Development
12 Years Ago
by Andrei15193
… be deducted from the title. When to use C++
inline
functions and when not? Should I declare my constructors/destructors… as
inline
? Should I declare functions that have at least a …loop as
inline
? People say that declaring *small* functions as
inline
is a good idea, what does…
Re: inline or not
Programming
Software Development
12 Years Ago
by deceptikon
…'s highly situational, so one can't simply say that
inline
functions are good for constructors/destructors or not in a… functions inside of the class body, which makes them implicitly
inline
.
Re: inline or not
Programming
Software Development
12 Years Ago
by Andrei15193
… do some other optimization, doesn't only apply to
inline
) and get better speed and lower memory usage in return, …
Re: inline or not
Programming
Software Development
12 Years Ago
by Andrei15193
Thanks for the link, still, is it good to
inline
constructors/destructors?
Inline
Programming
Software Development
17 Years Ago
by saswatdash83
Can anybody tell that when
Inline
won't work though we have declared function as
inline
. i.e code replacement won't take place .
Re: Inline
Programming
Software Development
17 Years Ago
by Ancient Dragon
its totally up to the compiler whether it honors the
inline
keyword or not, and there is no way to force the compiler to do it one way or the other, except maybe make the
inline
code a macro.
Re: Inline
Programming
Software Development
17 Years Ago
by vijayan121
… some compiler switches / #pragma directives. eg. presence of [ICODE]-fno-
inline
[/ICODE] or [ICODE]-finline-limit=small_number[/ICODE] / absence of [ICODE… polymorphically if the level of nested or recursive calls to
inline
functions goes above a certain implementation defined limit
Re: Inline
Programming
Software Development
17 Years Ago
by Salem
*sniff* - smells like a homework question to me. Here's one answer (for now) [ICODE]#define
inline
/* ha ha, no more in-lining today Jeeves */[/ICODE] I'll leave method number 2 for a day or so to add a sense of mystery and wonder (or merely just wait for someone else to post it).
Re: Inline
Programming
Software Development
17 Years Ago
by Ancient Dragon
>>inlining does not take place And at the discrection of the compiler at all times. The compiler can decide to ignore inlining at all times if it wants to. [b]
inline
[/b] is only a suggestion to the compiler, not a requirement that it has to honor.
Re: Inline Code Tags
Community Center
Meta DaniWeb
12 Years Ago
by Dani
… maintaining a uniform standard with the rest of the web.
Inline
code uses the `<code>` HTML tag. The W3C…;defines a piece of computer code," is meant for
inline
code and strips whitespace.
Re: Inline Code Example Here Inserted
Community Center
9 Years Ago
by rproffitt
[Click Here](http://www.) `
Inline
Code Example Here` > Quoted Text Here # Heading Here # It seems to be consistant behaviour for the editor so I'm going with by design.
Re: Inline Code Example Here Inserted
Community Center
9 Years Ago
by Reverend Jim
When you click `>_Inline Code` it inserts that text and leaves it selected so that anything you type will replace it. If you already have text selected when you click it, that text gets changed to
inline
code. Same as clicking `bold` or `italic`.
Re: Inline Code Tags
Community Center
Meta DaniWeb
12 Years Ago
by WaltP
… -- I didn't want to use them as a hack.
Inline
CODE is still code - by definition. Spacing should be honored…
Re: inline function prototype
Programming
Software Development
13 Years Ago
by mike_2000_17
…; keyword: [CODE] // util.h #include <ctime>
inline
uint32_t GetTime( );
inline
uint32_t GetTicks( ); uint32_t GetTime( ) { return GetTicks( ) / 1000; } uint32_t GetTicks( ) {…their declaration: [CODE] // util.h #include <ctime>
inline
uint32_t GetTime( );
inline
uint32_t GetTicks( ); //Include the cpp file: #include "util…
inline function prototype
Programming
Software Development
13 Years Ago
by dospy
…is really small i'd like to make them
inline
, but the linker fails if i try to …this [CODE] // util.h #include <ctime>
inline
uint32_t GetTime( );
inline
uint32_t GetTicks( ); // util.cpp #include <util.…this: [CODE] // util.h #include <ctime>
inline
uint32_t GetTime( );
inline
uint32_t GetTicks( ); // util.cpp #include <util.h&…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC