View previous topic :: View next topic |
Author |
Message |
kollega Tux's lil' helper


Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Wed Mar 31, 2004 1:34 pm Post subject: |
|
|
LWL -> LichtWellenLeiter
FIFO -> FirstInFirstOut
LIFO -> LastInFirstOut |
|
Back to top |
|
 |
py-ro Veteran


Joined: 24 Sep 2002 Posts: 1734 Location: Velbert
|
Posted: Wed Mar 31, 2004 1:35 pm Post subject: |
|
|
Da fehlt noch mien Favorit
SISO? |
|
Back to top |
|
 |
kollega Tux's lil' helper


Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Wed Mar 31, 2004 1:43 pm Post subject: |
|
|
Samsung India Software Operations
lol
was google nicht so alles weiß |
|
Back to top |
|
 |
spitzwegerich l33t


Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Wed Mar 31, 2004 1:49 pm Post subject: |
|
|
kollega wrote: | Samsung India Software Operations |
In diesem Kontext wohl eher serial in/serial out. _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
 |
py-ro Veteran


Joined: 24 Sep 2002 Posts: 1734 Location: Velbert
|
Posted: Wed Mar 31, 2004 1:52 pm Post subject: |
|
|
Ich wollte eigentlich auf
Shit In Shit Out
hinaus
Das muss ich den leuten hier dauernd über Datenbank Pflege verklickern  |
|
Back to top |
|
 |
kollega Tux's lil' helper


Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Wed Mar 31, 2004 2:01 pm Post subject: |
|
|
an das dacht ich auch erst...
für was steht IMS? |
|
Back to top |
|
 |
hopfe Guru

Joined: 22 Oct 2002 Posts: 456 Location: Frankfurt Main oder Aachen
|
Posted: Wed Mar 31, 2004 2:17 pm Post subject: |
|
|
IMS(von der IBM) bedeutet = Information Management System
Was bedeutet CICS, wenn wir gerade bei der IBM sind  |
|
Back to top |
|
 |
kollega Tux's lil' helper


Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Wed Mar 31, 2004 2:21 pm Post subject: |
|
|
Customer Information Control System
hat irgendwas mit 3270 und cobol auf s/390 maschinen zu tun, oder?!
was heißt MVS wenn wir schon "hardcore" sind?? |
|
Back to top |
|
 |
hopfe Guru

Joined: 22 Oct 2002 Posts: 456 Location: Frankfurt Main oder Aachen
|
Posted: Wed Mar 31, 2004 2:32 pm Post subject: |
|
|
CICS ist ein Subsystem auf z/os. Hat mit Cobol nicht
MVS = Multiple Virtual Storage (Auch IBM Großrechner)
Wie wärs mit DL/1,JCL oder TSO ? |
|
Back to top |
|
 |
kollega Tux's lil' helper


Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Wed Mar 31, 2004 2:40 pm Post subject: |
|
|
jcl Job Control Language
dl/1 Data Language One
TSO Time-Sharing Option
wenn wir schon dabei sind...
ISPF
RACF
btw: hopfe, was machst du beruflich??? |
|
Back to top |
|
 |
hopfe Guru

Joined: 22 Oct 2002 Posts: 456 Location: Frankfurt Main oder Aachen
|
Posted: Wed Mar 31, 2004 2:49 pm Post subject: |
|
|
so RACF weiß ich (Resource Access Control Facility), für ISPF müßte ich qw benutzen und das wäre ja unsportlich .
Ich bin Software Entwickler, für z/os, Aix und Win.
Vielleicht weiß ja auch jemand was AIX bedeutet  |
|
Back to top |
|
 |
py-ro Veteran


Joined: 24 Sep 2002 Posts: 1734 Location: Velbert
|
Posted: Wed Mar 31, 2004 2:52 pm Post subject: |
|
|
Advanced Interactive eXecutive
BSD= |
|
Back to top |
|
 |
kollega Tux's lil' helper


Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Wed Mar 31, 2004 3:00 pm Post subject: |
|
|
gut gut
BSD berkley system distribution
und was isREXX ??? |
|
Back to top |
|
 |
ruth Retired Dev

Joined: 07 Sep 2003 Posts: 640 Location: M / AN / BY / GER
|
Posted: Wed Mar 31, 2004 4:25 pm Post subject: |
|
|
hi,
nun mal eine etwas andere frage...
gegeben sei folgende funktion:
Code: |
void some_funct() {
char buffer[5];
char buffer1[10];
--snip-snap--
}
|
wieviel speicherplatz (in bytes) wird dann auf dem stack für buffer und buffer1 bereitgestellt?
(bezogen auf die ia32 Linux Architektur)
und bitte nicht nur eine zahl posten - mit begründung, bitte...
so long
rootshell _________________ "The compiler has tried twice to abort and cannot do so; therefore, compilation will now terminate."
-- IBM PL/I (F) error manual |
|
Back to top |
|
 |
kollega Tux's lil' helper


Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Thu Apr 01, 2004 5:46 pm Post subject: |
|
|
denk denk denk... komm nich druff |
|
Back to top |
|
 |
Inte Veteran


Joined: 15 Jul 2003 Posts: 1387 Location: Mannheim, GER
|
Posted: Fri Apr 02, 2004 11:11 am Post subject: |
|
|
War Char nicht 1 Byte? Also gesamt 15 Byte.
Also die Länge eines Char *15
Oder verwurschtel ich da was?
Gruß, Inte. _________________ Gentoo Linux - Die Metadistribution |
|
Back to top |
|
 |
dakjo Veteran


Joined: 31 Jan 2004 Posts: 1544
|
Posted: Fri Apr 02, 2004 11:55 am Post subject: |
|
|
Code: |
#include "stdio.h"
int main()
{
char buffer[5];
char buffer1[10];
printf("Buffer ist %d\n",sizeof(buffer));
printf("Buffer1 ist %d\n",sizeof(buffer1));
printf("Zusammen sind es %d\n",sizeof(buffer) + sizeof(buffer1));
return 0;
}
|
Ausgabe :
Code: |
Buffer ist 5
Buffer1 ist 10
Zusammen sind es 15
|
Reicht das ? |
|
Back to top |
|
 |
ruth Retired Dev

Joined: 07 Sep 2003 Posts: 640 Location: M / AN / BY / GER
|
Posted: Fri Apr 02, 2004 1:24 pm Post subject: |
|
|
hi,
liegt nahe, gell? *gg*
aber:
Code: |
#include <stdio.h>
void some_funct() {
char buffer[5];
char buffer1[10];
}
int main() {
some_funct();
}
|
dann
Code: |
gcc -S -o blah.S ./blah.c
|
gibt dir für func das da:
Code: |
some_funct:
pushl %ebp
movl %esp, %ebp
subl $40, %esp
leave
ret
|
was bedeuted, dass es 40 bytes (!) sind...
und jetzt:
warum??? *grins*
ach ja:
der computer alloziert speicherplatz _nicht_ byteweise...
rootshell _________________ "The compiler has tried twice to abort and cannot do so; therefore, compilation will now terminate."
-- IBM PL/I (F) error manual |
|
Back to top |
|
 |
spitzwegerich l33t


Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Fri Apr 02, 2004 1:32 pm Post subject: |
|
|
Interessant, das hätte ich nicht gedacht.
Wie wird denn der Speicherplatz alloziert? Warum kommt genau 40 raus (und nicht zum Beispiel 32)? _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
 |
dakjo Veteran


Joined: 31 Jan 2004 Posts: 1544
|
Posted: Fri Apr 02, 2004 1:42 pm Post subject: |
|
|
5 * 8 || 10 * 4 ? 40 |
|
Back to top |
|
 |
spitzwegerich l33t


Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Fri Apr 02, 2004 2:06 pm Post subject: |
|
|
Quote: | 5 * 8 || 10 * 4 ? 40 |
häh?
Ich nehme an du willst 5*8 = 10*4 = 40 sagen. Das begründet aber nichts, soweit ich das sehe.
Wenn in 8-Byte Blöcken alloziert wird, dann würden 16 bzw. 8+16=24 Bytes reichen, je nachdem, ob der Speicher für die beiden Arrays zusammen oder getrennt angefordert wird.
Wenn in 4-Byte Blöcken alloziert wird, dann sind es 16 oder 8+12=20 Bytes.
Auch bei allen anderen Zweierpotenz-Blockgrößen kommt man nicht auf 40. _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
 |
dakjo Veteran


Joined: 31 Jan 2004 Posts: 1544
|
Posted: Fri Apr 02, 2004 2:52 pm Post subject: |
|
|
Aber das könnte ja damit was zu tun haben, vieleicht kann uns der Autor dieser Frage ja weiterhelfen. |
|
Back to top |
|
 |
Inte Veteran


Joined: 15 Jul 2003 Posts: 1387 Location: Mannheim, GER
|
Posted: Fri Apr 02, 2004 6:46 pm Post subject: |
|
|
Noch ein Ansatz:
Alignment auf 32-Bit-Grenzen, also
Code: | [SP+0018h] 2 Byte Alignment + CS
[SP+0014h] EIP
[SP+0010h] buffer[4] + 3 Byte Alignment
[SP+000Ch] buffer[0-3]
[SP+0008h] buffer1[8-9] + 2 Byte Alignment
[SP+0004h] buffer1[4-7]
[SP+0000h] buffer1[0-3] |
Dann würde ich mal von 20 (12+8 ) Byte ausgehen.
Gruß, Inte. _________________ Gentoo Linux - Die Metadistribution |
|
Back to top |
|
 |
EOF Guru


Joined: 02 Jul 2003 Posts: 345 Location: Usingen
|
Posted: Sat Apr 03, 2004 12:50 pm Post subject: |
|
|
Wenn ein char ein 32 bit alignment benötigen würde wäre char unnötig. Daher hat char ein 8 bit alignment, short 16 bit und integer 32 bit auf z.b. einem athlon.
Ob man
Code: |
...
char x[5];
char y[10];
...
|
oder
Code: |
...
char z[15];
...
|
schreibt ist bezüglich des speicherverbrauchs (hier der stack) egal, da beides das gleiche ist (nur anderer pseudocode).
Schaut euch den assemblercode von
Code: |
struct bla{
char x[5];
char y[10];
};
int main(){
bla y[1024];
return 0;
}
|
an und teilt den speicherverbrauch durch 1024. Sollte etwa 15.** sein.
Versucht das gleiche mit:
Code: |
struct bla{
int g;
char x;
int z;
};
...
|
Märchenstunde vorbei . |
|
Back to top |
|
 |
amne Bodhisattva


Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Sat Apr 03, 2004 12:52 pm Post subject: |
|
|
Mir ist noch was eingefallen: Was bedeutet TSR? |
|
Back to top |
|
 |
|