Sponsored Content
Full Discussion: calculating size of int
Top Forums Programming calculating size of int Post 302092786 by jim mcnamara on Thursday 12th of October 2006 06:30:11 AM
Old 10-12-2006
You cannot really calculate it; it is a given for each implementation. What platform/compiler are you running?
 

10 More Discussions You Might Find Interesting

1. Programming

difference between int ** func() and int *& func()

What is the difference between int** func() and int*& func(). Can you please explain it with suitable example. Thanks, Devesh. (1 Reply)
Discussion started by: devesh
1 Replies

2. Shell Programming and Scripting

Scripts for calculating size and remaining space of a directory automatically.

I would like to create a script for calculating size and remaining space of a directory automatically every 24 hours, then send an email to report to the admin. * POSIX and PERL are preferred. Can anyone help, please? (1 Reply)
Discussion started by: leonall
1 Replies

3. UNIX for Dummies Questions & Answers

int open(const char *pathname, int flags, mode_t mode) doubt...

hello everybody! I want to create a file with permissions for read, write, and execute to everybody using C, so I write this code: #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int main(){ int fileDescriptor; fileDescriptor =... (2 Replies)
Discussion started by: csnmgeek
2 Replies

4. UNIX for Dummies Questions & Answers

CAlculating page file size

hello dont know if this is the correct forum for this post but i have a question. i am revising for a exam on operating systems and i have the question... A system has a 32bit virtual address divided into 2kbyte pages and each entry in the page table is 6 bytes in length. what is the size... (0 Replies)
Discussion started by: Fortune
0 Replies

5. Shell Programming and Scripting

Help with calculating size of files.

Hi All, I am very new to shell scripting. I have a text file which is the output of another utility. This text file has a list of SAF files which is basically a list of orphan attachments in the attachments directory. Now I want to read each file name from the file, get its size and repeat this... (6 Replies)
Discussion started by: RajeshReddy
6 Replies

6. Programming

Handle int listen(int sockfd, int backlog) in TCP

Hi, from the manual listen(2): listen for connections on socket - Linux man page It has a parameter called backlog and it limits the maximum length of queue of pending list. If I set backlog to 128, is it means no more than 128 packets can be handled by server? If I have three... (3 Replies)
Discussion started by: sehang
3 Replies

7. AIX

calculating the size of the luns using script

Hi This is the lspv output of my server : cbspsdb01 #lspv hdisk0 00c7518d2d512fd4 cdgvg active hdisk1 00c7518d2dcbc9d6 cdgvg active hdisk2 00c7518dcda9199a appvg active hdisk3... (1 Reply)
Discussion started by: samsungsamsung
1 Replies

8. Shell Programming and Scripting

Calculating average of 100 different files of same size

Hey guys..... I have many files (lets say 100 or more) of same size, and I want to create a new output file and calculate the average of first row fifth column in all files and print it in first row of output file, then 2nd row fifth col in all 100 files and print it in 2nd row of output... (1 Reply)
Discussion started by: CAch
1 Replies

9. UNIX for Beginners Questions & Answers

Calculating size of backups

hi everyone i have a backup share mounted with me on solaris 10 which have daily backups. everyday i need to calculate all individual sizes of files and need to report somewhere. e.g i have .rman 7backup files daily . what i need that is there any commnd or variation of du command which can add... (1 Reply)
Discussion started by: janakors
1 Replies

10. UNIX for Beginners Questions & Answers

Calculating size of backups

hi everyone i have posted this query but i dont where it has gone i am posting again . my issue is that i have many backup files in a backup nfs share and i need to calculate it size just by adding their individual file sizes which is repetitive jobs. so is there any command or variation of du... (1 Reply)
Discussion started by: janakors
1 Replies
std::valarray< _Tp >(3cxx)												std::valarray< _Tp >(3cxx)

NAME
std::valarray< _Tp > - SYNOPSIS
Public Types typedef _Tp value_type Public Member Functions valarray () valarray (size_t) valarray (const _Tp &, size_t) valarray (const _Tp *__restrict__, size_t) valarray (const valarray &) valarray (const slice_array< _Tp > &) valarray (const gslice_array< _Tp > &) valarray (const mask_array< _Tp > &) valarray (const indirect_array< _Tp > &) valarray (initializer_list< _Tp >) template<class _Dom > valarray (const _Expr< _Dom, _Tp > &__e) template<typename _Tp> valarray (const _Tp *__restrict__ __p, size_t __n) _Expr< _ValFunClos< _ValArray, _Tp >, _Tp > apply (_Tp func(_Tp)) const " _Expr< _RefFunClos< _ValArray, _Tp >, _Tp > apply (_Tp func(const _Tp &)) const " valarray< _Tp > cshift (int) const _Tp max () const _Tp min () const _UnaryOp< __logical_not >::_Rt operator! () const valarray< _Tp > & operator%= (const _Tp &) valarray< _Tp > & operator%= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator%= (const _Expr< _Dom, _Tp > &) valarray< _Tp > & operator&= (const _Tp &) valarray< _Tp > & operator&= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator&= (const _Expr< _Dom, _Tp > &) valarray< _Tp > & operator*= (const _Tp &) valarray< _Tp > & operator*= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator*= (const _Expr< _Dom, _Tp > &) _UnaryOp< __unary_plus >::_Rt operator+ () const valarray< _Tp > & operator+= (const _Tp &) valarray< _Tp > & operator+= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator+= (const _Expr< _Dom, _Tp > &) _UnaryOp< __negate >::_Rt operator- () const valarray< _Tp > & operator-= (const _Tp &) valarray< _Tp > & operator-= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator-= (const _Expr< _Dom, _Tp > &) valarray< _Tp > & operator/= (const _Tp &) valarray< _Tp > & operator/= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator/= (const _Expr< _Dom, _Tp > &) valarray< _Tp > & operator<<= (const _Tp &) valarray< _Tp > & operator<<= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator<<= (const _Expr< _Dom, _Tp > &) valarray< _Tp > & operator= (const valarray< _Tp > &) valarray< _Tp > & operator= (const _Tp &) valarray< _Tp > & operator= (const slice_array< _Tp > &) valarray< _Tp > & operator= (const gslice_array< _Tp > &) valarray< _Tp > & operator= (const mask_array< _Tp > &) valarray< _Tp > & operator= (const indirect_array< _Tp > &) valarray & operator= (initializer_list< _Tp >) template<class _Dom > valarray< _Tp > & operator= (const _Expr< _Dom, _Tp > &) valarray< _Tp > & operator>>= (const _Tp &) valarray< _Tp > & operator>>= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator>>= (const _Expr< _Dom, _Tp > &) _Tp & operator[] (size_t) const _Tp & operator[] (size_t) const _Expr< _SClos< _ValArray, _Tp > , _Tp > operator[] (slice) const " slice_array< _Tp > operator[] (slice) _Expr< _GClos< _ValArray, _Tp > , _Tp > operator[] (const gslice &) const " gslice_array< _Tp > operator[] (const gslice &) valarray< _Tp > operator[] (const valarray< bool > &) const mask_array< _Tp > operator[] (const valarray< bool > &) _Expr< _IClos< _ValArray, _Tp > , _Tp > operator[] (const valarray< size_t > &) const " indirect_array< _Tp > operator[] (const valarray< size_t > &) valarray< _Tp > & operator^= (const _Tp &) valarray< _Tp > & operator^= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator^= (const _Expr< _Dom, _Tp > &) valarray< _Tp > & operator|= (const _Tp &) valarray< _Tp > & operator|= (const valarray< _Tp > &) template<class _Dom > valarray< _Tp > & operator|= (const _Expr< _Dom, _Tp > &) _UnaryOp< __bitwise_not >::_Rt operator~ () const void resize (size_t __size, _Tp __c=_Tp()) valarray< _Tp > shift (int) const size_t size () const _Tp sum () const Friends class _Array< _Tp > Detailed Description template<class _Tp>class std::valarray< _Tp > Smart array designed to support numeric processing. A valarray is an array that provides constraints intended to allow for effective optimization of numeric array processing by reducing the aliasing that can result from pointer representations. It represents a one-dimensional array from which different multidimensional subsets can be accessed and modified. Parameters: Tp Type of object in the array. Definition at line 116 of file valarray. Constructor &; Destructor Documentation template<class _Tp> std::valarray< _Tp >::valarray (const _Tp *__restrict__, size_t) Construct an array initialized to the first n elements of t. Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Tue Nov 27 2012 std::valarray< _Tp >(3cxx)
All times are GMT -4. The time now is 12:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy