E D R , A S I H C RSS

Full text search for "Opera"

Opera


Search BackLinks only
Display context of search results
Case-sensitive searching
  • 몸짱프로젝트/InfixToPrefix . . . . 14 matches
          def isOperator(self, aToken):
          if self.isOperator(aToken):
          self.putOperator(aToken)
          def putOperator(self, aOperator):
          if self.isOperator(self.list[0]) and \
          self.precedence[self.list[0]] < self.precedence[aOperator]:
          self.list.insert(-1, aOperator)
          self.list.insert(0, aOperator)
          def testIsOperator(self):
          self.assertEqual(e.isOperator(token), False)
          self.assertEqual(e.isOperator(token), True)
          def testPutOperator(self):
          e.putOperator(token)
  • 몸짱프로젝트/InfixToPostfix . . . . 11 matches
         }Operator;
         Operator operators[LEN] = {
          Operator op;
         bool isOperand(char aToken);
         Operator toOperator(char aToken);
          if ( isOperand(aTerm[i]) )
          income.op = toOperator(aTerm[i]);
         bool isOperand(char aToken)
          if ( operators[i].token == aToken )
         Operator toOperator(char aToken)
          if ( operators[i].token == aToken )
          return operators[i];
  • OperatingSystemClass . . . . 7 matches
         수업내용: Operating System 에 대한 전반적인 개론. Computer Architecture 에서 한단계 더 위의 Layer 를 공부하게 된다. 메모리의 계층구조, 멀티테스킹과 그에 따른 동기화문제, 가상 메모리 등등.
          * ["OperatingSystemClass/Exam2002_1"]
          * ["OperatingSystemClass/Exam2002_2"]
          * ["OperatingSystemClass/Exam2006_1"]
          * ["OperatingSystemClass/Exam2006_2"]
         OS 수업시간의 교재인 Applied Operating System 이나 이 책의 원판에 대당하는 Operating System Concepts 는 개인적으로 좋은 책이라 생각.--["1002"]
  • 니젤프림/BuilderPattern . . . . 6 matches
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
          throw new UnsupportedOperationException();
  • 경시대회준비반/BigInteger . . . . 5 matches
          // Overloaded Binary Operators
          friend BigInteger& operator+(BigInteger const&, BigInteger const&);
          friend BigInteger& operator-(BigInteger const&, BigInteger const&);
          friend BigInteger& operator*(BigInteger const&, BigInteger const&);
          friend BigInteger& operator*(BigInteger const&, DATATYPE const&);
          friend BigInteger& operator*(DATATYPE const&, BigInteger const&);
          friend BigInteger& operator/(BigInteger const&, BigInteger const&);
          friend BigInteger& operator/(BigInteger const&, DATATYPE const&);
          friend BigInteger& operator/(DATATYPE const&, BigInteger const&);
          friend BigInteger& operator%(BigInteger const&, BigInteger const&);
          friend BigInteger& operator%(BigInteger const&, DATATYPE const&);
          friend BigInteger& operator%(DATATYPE const&, BigInteger const&);
          // Assignment Operator
          BigInteger& operator=(BigInteger const&);
          friend ostream& operator<<(ostream& , BigInteger const&);
          friend istream& operator>>(istream& , BigInteger& );
          // Overloaded Unary Operators
          BigInteger& operator++();
          BigInteger& operator++(int);
          BigInteger& operator--();
  • 진격의안드로이드&Java . . . . 5 matches
          public void methodOperandStack(){
          public void methodOperandStack();
          public void methodOperandStack(){
          public void methodOperandStack();
          private final void methodOperandStack(){
  • 새싹교실/2012/앞부분만본반 . . . . 4 matches
         소거법에 따른 Elementary Equation Operations(E.E.O)(L.S and Ax=b)와 Elementary Row Operations(E.R.O)([A b])에 대해서 비교, 설명함.
         ||Elementary Equation Operations(E.E.O)||
         ||Elementary Row Operations(E.R.O)||
  • APlusProject/ENG . . . . 3 matches
         === Operator 메뉴얼 ===
         Upload:APP_OperatorManual_0607.zip -- 이전문서
         Upload:APP_OperatorManual_0608.zip -- ver 1.0 (최종문서) - 수정끝-QA승인됨
  • ObjectProgrammingInC . . . . 3 matches
         void Operator1(int x) {
          instanceClass.method1= &Operator1;
          instanceClass.method1(3); // or Operator1(3);
  • OperatingSystem . . . . 3 matches
         [[include(틀:OperatingSystems)]]
         == What is OS(OperatingSystem)? ==
         In computing, an operating system (OS) is the system software responsible for the direct control and management of hardware and basic system operations. Additionally, it provides a foundation upon which to run application software such as word processing programs and web browsers.
         일종의, [[SeparationOfConcerns]]라고 볼 수 있다. 사용자는 OperatingSystem (조금 더 엄밀히 이야기하자면, [[Kernel]]) 이 어떻게 memory 와 I/O를 관리하는지에 대해서 신경쓸 필요가 없다. (프로그래머라면 이야기가 조금 다를 수도 있겠지만 :) )
  • 새싹교실/2012/개차반 . . . . 3 matches
          * Operators
          * arithmetic operators: binary, unary
          * assignment operator
          * bitwise operator
          * 특정한 수를 입력받고 and operator를 이용하여 그 수 보다 작은 짝수 중 가장 큰 짝수를 출력하라(scanf, printf 이용)
          * shift operator를 이용하여 128(=2^5)을 출력하고, 128을 특정 변수(variable)에 저장하여 그 변수와 left shift operator를 이용하여 32를 출력하라
          * Assignment operator
          * Equal sign (=) 은 Assignment operator 를 나타낸다
          * Postfix 일 경우 변수 뒤에 Decrement/Increment operator를 사용하며 다른 계산이 끝난 후 적용된다
          * Prefix 일 경우 변수 앞에 Decrement/Increment operator를 사용하며 다른 계산을 실행하기 전에 적용된다
          * 축약 연산자 (Shorthand Operators)
          * 비트 연산자 (Bitwise Operators)
  • 제로스 . . . . 3 matches
         || . 1. 9. || Upload:CH2_Operating-System-Structures.ppt || 수생, 소현 ||
         * 이론 : Operating System Concepts(6/E) : Windows XP Update - 한국어판
          * 현재 프로젝트의 방향은 정하지 않은 것으로 보이니까 공룡책으로 이론 공부를 하고 Nachos라는 교육용 OS 프로그램 분석을 병행하면서 여기서 얻은 지식으로 OS를 만드는 접근 방법을 사용하는 것이 어떨까 하는데 다들 의견이 어떠신지 궁금? -- 이론 : Operating System Concepts -- 실습 : Nachos - [진석]
  • Linux . . . . 2 matches
         [[include(틀:OperatingSystems)]]
         I'm doing a (free) operating system (just a hobby, won't be big and
         [OperatingSystem]
  • MatrixAndQuaternionsFaq . . . . 2 matches
          Arithmetic operations which can be performed with matrices include
          3x3 matrices are used to perform low-budget 3D animation. Operations
          operations, but perspective depth projection is performed using
          standard optimised into pure divide operations.
          4x4 matrices are used to perform high-end 3D animation. Operations
          that C compilers will often make use of multiplication operations to
          resolve array index operations.
          performance for operations such as matrix-matrix multiplication.
          6 assignment operations. 12 assignment
          Assume that the same operations is being performed using matrix
          18 assignment operation -12 3 assignment -9
          This can be expressed as the mathematical operation:
          16 addition and 1 division operation (for perspective).
          division operation can be skipped.
          and four others of arbitary value, over 75% of every matrix operation
          Altogether, over 75% of all matrix operations are spent processing
          Using basic matrix calculations, the operation count would reach
          128 multiplications, 96 additions and 80 assignments operations.
          and 18 assignment operations are required.
         This operation is the exact opposite to the one answered in the question
  • MoreEffectiveC++ . . . . 2 matches
          === Operator ===
          ["MoreEffectiveC++/Operator"] S
          * Item 6: Distinguish between prefix and postfix forms of increment and decrement operators. - prefix와 postfix로의 증감 연산자 구분하라!
  • TddRecursiveDescentParsing . . . . 2 matches
          assignment_operator = statement.getAssignmentOperator()
          token = assignment_operator.getToken()
          self.assertEquals(token.tokenType, Scanner.TOKEN_ASSIGNMENT_OPERATOR)
          plus_operator = expression.getPlusOperator()
          token = plus_operator.getToken()
          self.assertEquals(token.tokenType, Scanner.TOKEN_PLUS_OPERATOR)
  • ToastOS . . . . 2 matches
         = Toast Operating System =
         음..우선 전에 플로피 1번 섹터에서 부트섹트를 읽어 들여 부트 로더를 만든다고 까지 얘기한 것 같다.그럼 커널로더는 무엇일까? 부트 로더가 할 수 없는 기이한 일들을 커널 로더가 한다. 우선 보호모드로들어가는 것과 커널을 실행가능한 상태로 재배치 시키는 일등을 한다. 왜 그런 일을 할까? 부트로더가512kb밖이 되지 않아 그런 일들을 할 수 없기 때문이다. 위에 사진에서 보면 퍼런 글씨로 kernel loader라고나오는데 전에 CAU Operating System 어쩌구...가 먼저 나온다..다만 VMWARE를 쓰기때문에 그런 글씨가 안나온다. 여하튼 커널 로더가 가지는 의미는 우선 부트로더를 만들기 위해 어쩔수 없이 썼던 짜증나는 어셈을 이제 안써도 된다...ㅋㅋ 사실 어셈은 계속 써야 된다... 다만 이제 어쎔을 주로 쓰지 않고 C에서 인라인 어쎔을 쓸것이다. 이제 Boland C 3.1 버전의 컴파일러로 커널로더와 커널을 제작하게 될 것이다. 그럼 위와 같은 것을 그냥 해주면 되는거 아니냐? 라고 반문하는 사람이 있을 것이다.. 그렇다. 그냥 해주면 된다. 우선 컴파일할때 -S라는 옵션을 두어서 어셈블리 소스를 만들고 나서 그리고 그렇게 만들어진소스의 extern들을 링크 시키고 그런 다음 EXE파일을 실행가능한 재배치상태로 만들고 나서 부트로더와 같이뒤집어 씌우면 된다.
  • UbuntuLinux . . . . 2 matches
         [[include(틀:OperatingSystems)]]
         [OperatingSystem]
  • html5/canvas . . . . 2 matches
          * globalCompositeOperation
          * globalCompositeOperation
  • 레밍즈프로젝트/박진하 . . . . 2 matches
         // Operations
          // overloaded operator helpers
          TYPE operator[](int nIndex) const;
          TYPE& operator[](int nIndex);
          // Operations that move elements around
  • 수업평가 . . . . 2 matches
         ||OperatingSystemClass || 1 || 1 || 0 || -2 || 0 || 1 ||0 ||
         ||OperatingSystemClass박철민 || 1 || -2 || -3 || -4 || -8 || 2 ||-4 ||
  • 포항공대전산대학원ReadigList . . . . 2 matches
         “Operating System Concepts: 6th Edition”, Silberschatz, Galvin, and Gagne John Wiley & Sons, 2004.
         “Operating System Principles”, Lubomir F,. Bic and Alan C. Shaw, Prentice-Hall, 2003.
  • 1002/Journal . . . . 1 match
          * Operating System Concepts. Process 관련 전반적으로 훑어봄. 동기화 문제나 데드락 같은 용어들은 이전에 Client / Server Programming 할때 스레드 동기화 부분을 하면서 접해본지라 비교적 친숙하게 다가왔다. (Process 나 Thread 나 동기화 부분에 대해서는 거의 다를바 없어보인다.)
  • 2012/2학기/컴퓨터구조 . . . . 1 match
          * Operating System
  • AcceleratedC++/Chapter5 . . . . 1 match
          === 5.2.2 Iterator Operations ===
  • Ajax . . . . 1 match
         Ajax applications use web browsers that support the above technologies as a platform to run on. Browsers that support these technologies include Mozilla Firefox, Microsoft Internet Explorer, Opera, Konqueror and Apple Safari.
  • BasicJAVA2005/실습2/허아영 . . . . 1 match
          application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  • DebuggingSeminar_2005/UndName . . . . 1 match
         Microsoft(R) Windows (R) 2000 Operating System
  • EffectiveC++ . . . . 1 match
          * ''Deletion of the existing memory and assignment of new memory in the assignment operator. - 포인터 멤버에 다시 메모리를 할당할 경우 기존의 메모리 해제와 새로운 메모리의 할당''
         그리고, class내 에서 operator new와 set_new_handler를 정해 줌으로써 해당 class만의 독특(?)한 [[BR]]
          static void * operator new(size_t size);
         void * X::operator new(size_t size)
          memory = ::operator new(size); // allocation
         === Item 8: Adhere to convention when writing operator new and operator delete ===
         operator new 와 operator delete 의 작성시 따라야 할것들. [[BR]]
         멤버가 아닌 operator new
         // operator new
         void * operator new (size_t size)
         operator new 가 하부 클래스로 상속된다면 어떻게 될까? [[BR]]
         그런데, 이 클래스를 위해 만들어진 operator new 연산자가 상속될 경우. [[BR]]
         상속받은 클래스내에 operator new연산자를 다시 재정의 해줘야 한다. [[BR]]
          static void * operator new(size_t size);
         { ... }; // operator new
         Derived *p = new Derived; // calls Base::operator new!
         // 만일 Base의 operator new가 이에 대처하기 위해 설계되지 않았다면 그를
         // 호출들을 표준 operator new로 전달하는 것이다
         void *Base::operator new (size_t size)
          return ::operator new (size); // 요구를 처리한다
  • JavaStudy2004/자바따라잡기 . . . . 1 match
          * No More Operator Overloading
  • LinuxSystemClass . . . . 1 match
         학교 수업공부를 하거나 레포트를 쓰는 경우 위의 학교 교재와 함께 'The Design of the Unix Operating System' 을 같이 보면 도움이 많이 된다. 해당 알고리즘들에 대해서 좀 더 구체적으로 서술되어있다. 단, 책이 좀 오래된 감이 있다.
  • MicrosoftFoundationClasses . . . . 1 match
          * [MFC/RasterOperation]
  • MoinMoinNotBugs . . . . 1 match
         This is not an Opera bug. The HTML is invalid. '''The blocks are overlapping, when they are not allowed to:''' P UL P /UL UL P /UL is not a sensible code sequence. (It should be P UL /UL P UL /UL P... giddyupgiddyup?)
  • MoreEffectiveC++/Efficiency . . . . 1 match
         80-20 규칙은 수많은 기계에서, 운영체제(Operating System)에서, 그리고 어플리케이션에서 적용된다. 80-20 규칙은 단지 재미있는 표현보다 더 많은 의미가 있다.;그것은 광범위하고, 실질적인 개념이 필요한 시스템의 성능(능률)에 개선 대한 기준점을 제시한다.
         몇번이나 구문이 실행되는가, 함수가 실행되는가는 때때로 당신의 소프트웨어 안의 모습을 이야기 해준다. 예를들어 만약 당신이특별한 형태의 객체를 수백개를 만든다고 하면, 생성자의 횟수를 세는것도 충분히 값어치 있는 일일 것이다. 게다가 구문과, 함수가 불리는 숫자는 당신에게 직접적인 해결책은 제시 못하겠지만, 소프트웨어의 한면을 이해하는데 도움을 줄것이다. 예를들어서 만약 당신은 동적 메모리 사용을 해결하기 위한 방법을 찾지 못한다면 최소한 몇번의 메모리 할당과 해제 함수가 불리는것을 아게되는것은 유용한 도움을 줄지도 모른다. (e.g., operators new, new[], delete and delete[] - Item 8참고)
         String 복사 생성자의 적용시, s2는 s1에 의하여 초기화 되어서 s1과 s2는 각각 "Hello"를 가지게된다. 그런 복사 생성자는 많은 비용 소모에 관계되어 있는데, 왜냐하면, s1의 값을 s1로 복사하면서 보통 heap 메모리 할당을 위해 new operator(Item 8참고)를 s1의 데이터를 s2로 복사하기 위해 strcpy를 호출하는 과정이 수행되기 때문이다. 이것은 ''''eager evaluation''''(구지 해석하면 '''즉시 연산''' 정도 일것이다.) 개념의 적용이다.:s1의 복사를 수행 하는 것과, s2에 그 데이터를 집어넣는 과정, 이유는 String의 복사 생성자가 호출되기 때문이다. 하지만 여기에는 s2가 쓰여진적이 없이 새로 생성되는 것이기 때문에 실제로 s2에 관해서 저런 일련의 복사와, 이동의 연산의 필요성이 없다.
          cout << s[3]; // operator []를 호출해서 s[3]을 읽는다.(read)
          s[3] = 'x'; // operator []를 호출해서 s[3]에 쓴다.(write)
         첫번째 operator[]는 문자열을 읽는 부분이다,하지만 두번째 operator[]는 쓰기를 수행하는 기능을 호출하는 부분이다. 여기에서 '''읽기와 쓰기를 구분'''할수 있어야 한다.(distinguish the read all from the write) 왜냐하면 읽기는 refernce-counting 구현 문자열로서 자원(실행시간 역시) 지불 비용이 낮고, 아마 저렇게 스트링의 쓰기는 새로운 복사본을 만들기 위해서 쓰기에 앞서 문자열 값을 조각내어야 하는 작업이 필요할 것이다.
         이것은 우리에게 적용 관점에서 상당히 난제이다. 우리가 원하는 것에 이르기 위하여 operator[] 안쪽에 각기 다른 작업을 하는 코드가 필요하다.(읽기와 쓰기에 따라서 따로 작동해야 한다.) 어떻게 우리는 operator[]가 읽기에 불리는지 쓰기에 불리는지 결정할수 있을까? 이런 잔인한 사실은 우리를 난감하게 한다. lazy evaluation의 사용과 Item 30에 언급된 proxy 클래스(위임 클래스, DP에서의 역할과 비슷할것이라 예상) 는 우리가 수정을 위하여 읽기나 쓰기 행동을 하는지의 결정을 연기하게 한다.
         보통 operator+에 대한 구현은 아마 '''eager evaluation'''(즉시 연산) 이 될것이다.;이런 경우에 그것은 아마 m1과 m2의 리턴 값을 대상으로 한다. 이 계산(1,000,000 더하기)에 적당한 게산양과, 메모리 할당에 비용 이 모드것이 수행되어져야 함을 말한다.
         그러므로 몇가지의 m1에 대한 할당이 m3를 변화시키지 않는다는 확신을 가지고 있어야 한다. Matrix<int>의 내부에 할당된 operator 내부에 m3의 값이 m1의 계산 이전에 계산되어 있거나, m1의 과거 값에 대한 복사본을 가지고 있고 m3는 그것에 의존해야 한다. 다른 함수들도 이러한 행렬의 변경을 위하여 다른 형식의 함수들도 이런 비슷한 것을 감안해야 할것이다.
         각 값 간의 의존성과,;데이터 구조의 유지를 위하여, 값들, 의존성이나 두가지의 결합 방법을 저장해야 한다.; 그리고 많은 수치 계산이 필요한 분야에서 복사, 더하기 할당, 같은 operator의 overload 것이 필요하다. 반면에 lazy evaluation의 적용은 프로그램 실행중에서 정말 많은 시간들과 많은 자원들을 아낄수 있다. 그래서 lazy evaluation의 존재를 정당화 시켜 줄것이다.
         이런 네가지의 예제는 lazy evaluation이 다양한 영역에서 활용될수 있음을 시사한다.:필요없는 객체의 복제 피하기, operator[]에 읽기와 쓰기를 구분하기, 데이터 베이스 상에서의 필요없는 자료 읽기를 피하기, 필요없는 수치 계산을 피하기. 그럼에도 불구하고 그것은 정말 훌륭한 생각만은 아니다. 단지 해치워야 할일을 미루어서 처리하는 것이기 때문에 만약에 당신의 부모가 계속 감시를 한다면 당신은 계속 그런 일들을 해주어야 한다. 마찬가지로 프로그램 상에서도 모든 연산들이 필요하다면 lazy evaluation은 어떠한 자원의 절약도 되지 않는다. 거기도 만약 당신의 모든 계산이 반드시 필요한 중요한 것들이라면, lazy evaluation은 아마 처음에 허상 데이터들과 의존 관계같은 것의 처리를 위하여, 실제보다 더 많은 연산을 하게되어 수행 속도를 느리게 할것이다. lazy evaluation은 오직 당신의 소프트웨어 상에서 피할수 있는 계산이 존재할 때만 유용히 쓰일수 있다.
         T& DynArray<T>::operator[](int index)
         이러한 접근은 new를 배열의 증가 때만 부르는 간단한 방법 이지만 new는 operator new(Item 8참고)를 부르고, operator new(그리고 operaotr delete)는 보통 이 명령어들은 비용이 비싸다. 그것의 이유는 일반적으로 OS, 시스템 기반의 호출(System call)이 in-process 함수호출 보다 느린게 되겠다. (DeleteMe OS를 배워야 확실히 알겠다 이건) 결과적으로 가능한 system 호출(system call)을 줄여 나가야 한다.
         over-eager evaluation(선연산,미리연산) 전술은 이 것에대한 답을 제시한다.:만약 우리가 index i로서 현재의 배열상의 크기를 늘리려면, locality of reference 개념은 우리가 아마 곧 index i보다 더 큰 공간의 필요로 한다는걸 이야기 한다. 이런 두번째 (예상되는)확장에 대한 메모리 할당의 비용을 피하기 위해서는 우리는 DynArray의 i의 크기가 요구되는 것에 비해서 조금 더 많은 양을 잡아서 배열의 증가에 예상한다. 그리고 곧 있을 확장에 제공할 영역을 준비해 놓는 것이다. 예를 들어 우리는 DynArray::operator[]를 이렇게 쓸수 있다.
          T& DynArray<T>::operator[](int index)
         임시객체가 만들어지는 두번째의 경우 그것은 바로 함수에서 반환되는 인자들이다. 예를 들자면 operator+는 반드시 해당 인자들의 합을 표현하는 객체를 반환해야만 한다. 예를들어서 형이 Number로 주어졌다고 했을때 operator+는 다음과 같이 선언된다.
         const Number operator+(const Number& lhs, const Number &rhs);
         해당 함수의 반환 인자(const Number)는 임시물(temporary)이다. 왜냐하면 그것은 아무런 이름도 가지기 않기 때문이다.:단지 함수의 반환되는 값일 뿐이다. 당신은 반드시 operator+가 호출될때 해당 객체의 생성, 삭제에 관한 비용을 지불해야만 한다. (반환 값이 const인것에 관한 이유를 알고 싶다면 Item 6을 참고하라)
         유리수를 위한 operator* 를 생각해 보자
          const Rational operator* (const Rational& lhs, const Rational& rhs);
  • MoreEffectiveC++/Operator . . . . 1 match
         = Operator =
          * C++에서는 크게 두가지 방식의 함수로 형변환을 컴파일러에게 수행 시키킨다:[[BR]] '''''single-argument constructors''''' 와 '''''implicit type conversion operators''''' 이 그것이다.
          * '''''implicit type conversion operator''''' 은 클래스로 하여금 해당 타입으로 ''return'' 을 원할때 암시적인 변화를 지원하기 위한 operator이다. 아래는 double로의 형변환을 위한 것이다.
          operator double() const;
         '''operator<<'''는 처음 Raional 이라는 형에 대한 자신의 대응을 찾지만 없고, 이번에는 r을 ''operator<<''가 처리할수 있는 형으로 변환시키려는 작업을 한다. 그러는 와중에 r은 double로 암시적 변환이 이루어 지고 결과 double 형으로 출력이 된다.[[BR]]
          T& operator[] (int index)
         bool operator==( const Array< int >& lhs, const Array<int>& rhs);
         이 구분에서 '''> > ''' 이 두개를 붙여쓰면 '''>>''' operator로 해석하니 유의해라
         bool operator==( const Array< int >& lhs, const Array<int>& rhs);
         이런 경우에 operator==의 오른쪽에 있는 인자는 int가 single-argument constructor에 거칠수 없기 때문에 에러를 밷어 낸다.
         == Item 6: Distinguish between prefix and postfix forms of increment and decrement operators. ==
          const UPInt operator++(int); // postfix++
          const UPInt operator--(int); // postfix--
          UPInt& operator+=(int); // a += operator 는 UPInt와 ints 추가 위해
         ++i; // i.operator++();
         i++; // i.operator++(0);
         --i; // i.operator--();
         i--; // i.operator--(0);
         UPInt& UPInt::operator++()
         const UPInt& UPInt::operator++(int)
  • MoreEffectiveC++/Techniques1of3 . . . . 1 match
         생성자는 실제로 가상 함수가 될수 없다. 마찬가지로 비멤버 함수들 역시 마찬가지 이리라, 하지만 그러한 기능이 필요할 떄가 있다. 바로 앞 예제에서 NLComponent와 그것에서 유도된 클래스들을 예를 들어 보자면 이들을 operator<<으로 출력을 필요로 할때 이리라. 뭐 다음과 같이 하면 문제 없다.
          // operator<<의 가상 함수
          virtual ostream& operator<<(ostream& str) const = 0;
          virtual ostream& operator<<(ostream& str) const;
          virtual ostream& operator<<(ostream& str) const;
         ostream& operator<<(ostream& s, const NLComponent& c)
         그렇자민 아마 조금 다른 방법의 접근을 할수 있다. 바로 Heap영역에 올라가는 객체는 항상 new를 호출하는것, 그리고 이 new의 호출은 new operator와 operator new와의 상호 작용에서 작업이 이루어 지는 것이다. 자세한 내용은 Item 8을 참고하고, 다음과 같이 UPNumber를 고쳐서 유도되는 객체들 마져 제한을 걸수 있다.
          static void * operator new(size_t size);
         void *UPNumber::operator new(size_t size)
          onTheHeap = true; // new operator가 불리면 Heap영역을 사용하는것.
          return ::operator new(size); // operator new로서 메모리를 할당한다.
         operator new는 raw메모리 할당을 하고, 해당 메모리에서 생성자를 부르므로서 초기화를 수행한다. operator new에서 onTheHeap을 참으로 설정하여 주면, 생성자에서 이를 검사해서 예외 발생을 하지 않고, 일반 지역 변수로 객체가 선언되면 operator new를 거치지 않으므로, 기본 값인 false인해 생성자에서 예외를 발생시킨다.
         첫째로, 이 경우 operator new가 불리는 것이 아니라. 메모리는 operator new[]로 할당 되기때문에, 문제가 발생하는 것이고, 둘째로 operator new[]에 플래그 값을 주었다고 하더라도, 처음 한번의 operaotr new[]이후에 계속 생성자 100번이 불리면서 첫번째 생성자에서 다시 onTheHeap를 false로 초기화 시키기에, 이후에 불리는 생성자는 전부 onTheHeap이 false값으로 예외를 발생 시켜 버린다.
         이 경우에는 두가지의 new를 가지고 있다. 그러므로 operator new도 두번 불리고 생성자 역시 두번 불릴 것이다. 프로그래머가 일반적으로 기대하는 다음 순서에서는 아무런 문제가 없다. (Item 8 참고)
          1. operator new가 첫번째 객체에 관해서 불린다.
          1. 두번째 객체의 operator new 가 불린다.
          1. 첫번째 객체의 operator new가 불린다.
          1. 두번째 객체의 operator new가 불린다.
         후자의 순서로 코드가 생성되어도 컴파일러에게 잘못은 전혀 없다. 그렇지만 '''set-a-bit-in-operator-new''' 방법을 사용한 상단의 예제는 두번째 순서에서는 실패 할수 밖에 없다.
         이런 어려움이 "각 생성자에서 *this가 heap영역에 있는가에 대한 여부를 알아낸다." 라는 아이디어의 근간을 흔드는 것은 아니다. 거기에다가 이런 어려움들은 operator new나 operator new[] 안에서 bit set을 점검해 보는 것이 이런 기본 정보를 결정하는데 신뢰성 있는 방법이 아님을 반증하고 있다. 우리가 필요한 방법을 위해서 한번 생각해 본다.
  • NamedPipe . . . . 1 match
         || {{{~cpp TransactNamedPipe}}} || Single Operation으로 Read & Write를 할 수 있는 function 이다.||
  • OOP . . . . 1 match
          * [Operation]
  • OperatingSystemClass/Exam2006_1 . . . . 1 match
         [OperatingSystemClass]
  • OperatingSystemClass/Exam2006_2 . . . . 1 match
         [OperatingSystemClass]
  • REAL_LIBOS . . . . 1 match
         Little Basic Operating System의 약자.
  • TicTacToe/노수민 . . . . 1 match
          ttt.setDefaultCloseOperation(EXIT_ON_CLOSE);
  • TicTacToe/임인택 . . . . 1 match
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  • WikiSandBox . . . . 1 match
         팁 : MSIE, Konqueror, Opera7에서는 Shift키를, Mozilla, Netscape에서는 Ctrl키를 누른 상태에
  • ZP도서관 . . . . 1 match
         || Operating Systems Design and Implemenation || TANENBAUM ||.|| ["fnwinter"] || 원서 ||
  • jQuery . . . . 1 match
          * Internet Explorer, Firefox, Safari, Opera 모두에서 작동
  • radiohead4us/SQLPractice . . . . 1 match
         7. Find the names of all customers whose street address includes the substring 'Main'. (4.2.6 String Operations)
  • 데블스캠프2004/금요일 . . . . 1 match
          f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  • 레밍즈프로젝트/프로토타입/STLLIST . . . . 1 match
         '''Operations'''
  • 상협/감상 . . . . 1 match
         || [OperatingSystem] || H.M.Deitel || 1 || 굿 || 운영체제공부를 처음으로 시작한다면 이책이 적당하다고 생각한다 ||
  • 새싹교실/2013/라이히스아우토반/3회차 . . . . 1 match
          * Internet Explorer를 제외한 다른 브라우저 (Chrome,FireFox, Opera)로 위키에 들어오면 편집하기 쉬워요.
  • 새싹교실/2013/라이히스아우토반/4회차 . . . . 1 match
          * Internet Explorer를 제외한 다른 브라우저 (Chrome,FireFox, Opera)로 위키에 들어오면 편집하기 쉬워요.
  • 새싹교실/2013/라이히스아우토반/6회차 . . . . 1 match
          * Internet Explorer를 제외한 다른 브라우저 (Chrome,FireFox, Opera)로 위키에 들어오면 편집하기 쉬워요.
  • 새싹교실/2013/라이히스아우토반/7회차 . . . . 1 match
          * Internet Explorer를 제외한 다른 브라우저 (Chrome,FireFox, Opera)로 위키에 들어오면 편집하기 쉬워요.
  • 오목/곽세환,조재화 . . . . 1 match
         // Operations
  • 오목/민수민 . . . . 1 match
         // Operations
  • 오목/재니형준원 . . . . 1 match
         // Operations
  • 오목/재선,동일 . . . . 1 match
         // Operations
  • 오목/진훈,원명 . . . . 1 match
         // Operations
  • 오목/휘동, 희경 . . . . 1 match
         // Operations
  • 임시 . . . . 1 match
         &Operation=ItemSearch &SearchIndex=SportingGoods
  • 지도분류 . . . . 1 match
         ||OperatingSystemClass ||
Found 62 matching pages out of 7547 total pages (5000 pages are searched)

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 0.4450 sec