Posts

oracle - Casting a ref cursor into a table type in pl-sql -

I would like to insert a recircher in a table type as follows: The syntax below does not compile. The objective is to get the results of a refresher in a temporary table and then do some work on that table. Make the table vtest1 (number, b number); Make the table attractive (number 1, b number); POUT SYS_REFCURSOR declared; Type vtest1Tab is vtest1% rowtype's table; Start Open Pouch for 'Choose from Vtest1'; Choose from the Insert * tab in the experimental 1 (N1, N2) (Dot (Pouty as vtest1Tab)); Closed POUT; End; Thanks. You can use bulk archive and complete instead of ... select : Create table vtest1 (a number, b number); Insert Vtest1 values ​​(1,2); Make the table attractive (number 1, b number); POUT SYS_REFCURSOR declared; Type vtest1Tab is vtest1% rowtype's table; V_t vtest1Tab; Start Open Pouch for 'Choose from Vtest1'; POTT bulk gather in v_t; Closed POUT; Insert temptable1 values ​​in v_t (indx) for forall indx in V_t.first..v_t.la...

Android : How to use TouchListener to react to movement across button -

I am new to Android development and I was wondering if there is a way to add a TouchListener (or an Event Listener). Such a button is such that it responds to the movement of the entire area, for example, if I have the middle of the screen I have a button and I start swift from the top, then my reaction will be when my finger button reaches the area. This is the code that I thought was Private On-Touch Listener TLIS = New AutoTelevision () {Public Boolean On-Touch (see V, Motion Event Event ) Find button B = (button) VVBIID (R.B. button 1); B.setText ("touched"); return false; }}; Thanks for any help! Unfortunately not. Touch events are distributed by the parents to the child's thoughts, and only if the initial touch event (i.e. ACTION_DOWN) is found within the range of that view, if no viewer sees ACTION_DOWN, then for that gesture Also, touch events will not be visible later. It is not possible that this is not possible, but instead of setting up the ...

- Where Developers Learn, Share, & Build Careers

मेरे पास एक एमएस चार्ट है I मेरा कोड निम्न है: चार्ट। श्रृंखला [चार्ट प्रकार]। पॉइंट्स। डेटाविंड (xValues, xCaption, yValues, yCaption); Chart.ChartAreas [0] .AxisX.LabelStyle.Format = "CustomAxisXFormat"; Chart.FormatNumber + = नए इवेंटहैंडलर & lt; FormatNumberEventArgs & gt; (चार्ट_फ़ॉर्मेटनंबर); तब निजी शून्य चार्ट_फ़ॉर्मेटनंबर (ऑब्जेक्ट प्रेषक, FormatNumberEventArgs ई) {if (e.ElementType == चार्ट एलेमेंटटाइप। एक्सिसलैबल्स & amp; amp; e.format == "CustomAxisXFormat") {e.LocalizedValue = string.Format ("{0: hh tt}", नई दिनांकटाइम (1, 1, 2, (इंट) ई। वैल्यू, 0, 0)। एडहोर (-1) ); }} xValues ​​ और yValues ​​ इनर के सरणियां हैं। मुझे जो समस्या है, अगर XValues ​​= int [] {1,2,3} , जब chart_formatNumber ईवेंट को संभालता है, मान ( e.value ) में बदल जाता है { 2,3,4} । तो उसे सही मान बनाने के लिए घटाव करना है। क्या कोई मुझे बता सकता है कि क्या चल रहा है और / या कैसे मेरे मूल्यों को बदलने से MSChart को रोकने के लिए ? ठीक ...

multithreading - Strange memory leak in C++ with Eigen and boost::thread -

I have two threads in the program. They are created by using: Promotion: Thread. Two threads do not share anything in memory. No data structures or objects are shared between them. Now the second thread uses a class, in which private members are many Egene double matrix. I'm sure the Matrix Eigen is aligning using EIGEN_MAKE_ALIGNED_OPERATOR_NEW, etc. When the first thread is running the element in the second class matrix then the over is written. I checked that after inspection after the elements Should be a decimal from a sudden integer when the first thread is not running second, then there is no problem and its EEZEN members have the right values. Again: 1) Two threads do not share any data structure. 2) There is no rebuttal error message or some similar or some error message when programming is running. 3) Any suggestion how to protect the memory of another thread or how to violate memory? Thank you in advance I am sorry that I did not post the code, but it is to...

jQuery reducing code for better maintainability? -

In jQuery you can $ ("# id1, # ​​id2") You can. do something(); But if you have var $ id1 = $ ("# id1"); Var $ id2 = $ ("# id2"); Is there any way to group them together easily and execute doSomething ()? $ ($ id1, $ id2) .doSomething (); // error It's okay to have only two elements, but if I like more than 10 elements I'll need to repeat ... $ Id1.do (); $ Id2.doSomething (); .... Is it an easy way to group them? You can use it: var $ allIds = $ Id1.add ($ id2); $ AllIds.doSomething ();

- Where Developers Learn, Share, & Build Careers

संभव डुप्लिकेट: PHP में निम्न कोड चेतावनी देता है। & lt;? Php if (! Isset ($ _ सत्र)) {session_start (); // पंक्ति 4} यदि (! Isset ($ _ सत्र ['वैध_अडमिन'])) {हेडर ("स्थान: लॉगिन.एफ़पी"); // लाइन 9}? & Gt; चेतावनी: session_start () [function.session-start]: सत्र कुकी नहीं भेजा जा सकता - हेडर जो पहले से ही भेजे गए हैं (आउटपुट C: \ wamp \ www \ Wagafashion \ Order.php: 8) सी: \ wamp \ www \ wagafashion \ Lock.php पंक्ति 4 पर चेतावनी: session_start () [function.session-start]: सत्र कैश सीमक नहीं भेज सकते हैं - हेडर पहले ही भेजे गए हैं सी: \ wamp \ www \ wagafashion \ Order.php: 8) सी में: \ wamp \ www \ wagafashion \ Lock.php पंक्ति 4 पर चेतावनी: हेडर सूचना को संशोधित नहीं किया जा सकता है - हेडर जो पहले से ही भेजे गए हैं (आउटपुट C: \ wamp पर शुरू किया गया है \ Www \ wagafashion \ Order.php: 8) में सी: \ wamp \ www \ wagafashion \ Lock.php पंक्ति 9 पर मैंने खोज की और एक सवाल पाया लेकिन मैं अब तक वहां क्या बात है, उसे समझ में नहीं आ रहा है। मैं इसे ...

- Where Developers Learn, Share, & Build Careers

I've heard from many sources that there is a strict limit for 10 concurrent requests from Google App Engine instance. I was thinking that someone Explain what this means. Does the scheduler block any request beyond 10, or is it applied through a border on a concurrent thread? In particular, does this limit affect the affected instances in the same way that it is Python and Java? Edit: This feature is a request that will allow app engine instances to handle more than 10 concurrent requests / threads. . Please star it. This has been fixed on November 18, 2013. Runtime: go api_version: go1 auto_scaling: max_concurrent_requests: 80 controller: - url: /.* Script: _go_app The default is 8 and the maximum is 80. See for more information.