April 27, 2004 General » toString() for wchar* | |||
|---|---|---|---|
| |||
...s)
{
int len = 0;
wchar *c = &s[0];
while (*c++) ++len;
return len;
}
wchar[] toString... | |||
April 25, 2004 GDC » .h -> .d question | |||
|---|---|---|---|
| |||
...CFIndex loc, CFIndex len) {
CFRange range;
range.location = loc;
range.length = len;
return range;
}
Is... | |||
April 16, 2004 D » Re: [bug] static array slice as associative array index - hash-test.zip | |||
|---|---|---|---|
| |||
...p; uint len = s.length; char *str = s; uint hash = 5381; while (len--) hash = hash... | |||
March 31, 2004 D » [HOWTO](MN001) Augmenting dmd with the ability to acess the environment | |||
|---|---|---|---|
| |||
...null ; i++){
int len = strlen(env[i]);
char[] s= env[i][0 .. len];
int j... | |||
March 30, 2004 D » Re: [Suggestion] retry | |||
|---|---|---|---|
| |||
...the iteration code.
for(i = 0; i < len; i++)
{
. . .
if (whatever)
retry; // 'i' does not... | |||
March 21, 2004 D » Re: implicit length/end now a must, well almost | |||
|---|---|---|---|
| |||
...r) {
uint len = r.length;
int ind = r.a;
T[] res = new T[len];
for... | |||
March 20, 2004 c++.command-line » Re: libcurl , DMC | |||
|---|---|---|---|
| |||
...sprintf(id, "%s:%d", server, port)) != *entry_len) {
/* Free the allocated id, set length to... | |||
March 20, 2004 c++.command-line » Re: libcurl , DMC | |||
|---|---|---|---|
| |||
...entry_len)
{
char *id = NULL;
/* Get the length of the new entry id */
*entry_len... | |||
March 20, 2004 c++.command-line » Re: libcurl , DMC | |||
|---|---|---|---|
| |||
...id = create_hostcache_id(hostname, port, &entry_len); Its late though, ill have to look... | |||
March 17, 2004 D » setting array length change | |||
|---|---|---|---|
| |||
...T[] x, size_t len) {
origlen = x.length;
x.length = len;
x = x[0..origlen... | |||
Copyright © 1999-2021 by the D Language Foundation