100+ results results for 'hresult' (1548 ms)
89 /* IDispatch methods */ 90 STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ unsigned int FAR* pctinfo) PURE; 91 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int iTInfo,LCID lcid,ITypeInfo FAR* FAR* ppTInfo) PURE; 91 STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ unsigned int iTInfo,LCID lcid,ITypeInfo FAR* FAR* ppTInfo) PURE; 92 STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid,OLECHAR FAR* FAR* rgszNames,unsigned int cNames,LCID lcid,DISPID FAR* rgDispId) PURE; 93 STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS FAR* pDispParams,VARIANT FAR* pVarResult,EXCEPINFO FAR* pExcepInfo,unsigned int FAR* puArgErr) PURE; 95 /* IRDPSRAPITcpConnectionInfo methods */ 96 STDMETHOD_(HRESULT,get_Protocol)(THIS_ __LONG32 *plProtocol) PURE; 97 STDMETHOD_(HRESULT,get_LocalPort)(THIS_ __LONG32 *plPort) PURE; 97 STDMETHOD_(HRESULT,get_LocalPort)(THIS_ __LONG32 *plPort) PURE; 98 STDMETHOD_(HRESULT,get_LocalIP)(THIS_ BSTR *pbstrLocalIP) PURE; 99 STDMETHOD_(HRESULT,get_PeerPort)(THIS_ __LONG32 *plPort) PURE; 99 STDMETHOD_(HRESULT,get_PeerPort)(THIS_ __LONG32 *plPort) PURE; 100 STDMETHOD_(HRESULT,get_PeerIP)(THIS_ BSTR *pbstrIP) PURE; 101comcat.idl https://gitlab.com/ubuntu-trusty/mingw-w64 | IDL | 135 lines
71 typedef [unique] IEnumGUID *LPENUMGUID; 72 [local] HRESULT Next ([in] ULONG celt,[out, size_is (celt), length_is (*pceltFetched)] GUID *rgelt,[out] ULONG *pceltFetched); 73 [call_as (Next)] HRESULT RemoteNext ([in] ULONG celt,[out, size_is (celt), length_is (*pceltFetched)] GUID *rgelt,[out] ULONG *pceltFetched); 73 [call_as (Next)] HRESULT RemoteNext ([in] ULONG celt,[out, size_is (celt), length_is (*pceltFetched)] GUID *rgelt,[out] ULONG *pceltFetched); 74 HRESULT Skip ([in] ULONG celt); 75 HRESULT Reset (); 75 HRESULT Reset (); 76 HRESULT Clone ([out] IEnumGUID **ppenum); 77} 96cpp_quote("") 97 HRESULT Next ([in] ULONG celt,[out, size_is (celt), length_is (*pceltFetched)] CATEGORYINFO *rgelt,[out] ULONG *pceltFetched); 98 HRESULT Skip ([in] ULONG celt); 98 HRESULT Skip ([in] ULONG celt); 99 HRESULT Reset (); 100 HRESULT Clone ([out] IEnumCATEGORYINFO **ppenum);SimpleErrors.cpp https://bitbucket.org/mdavid/dlr.git | C++ | 447 lines
353 354STDMETHODIMP CSimpleErrors::genUndefinedHresult(ULONG hresult) 355{ 355{ 356 return (HRESULT)hresult; 357}OrgNetworkHandler.java https://github.com/regularfry/jclouds.git | Java | 327 lines
63 */ 64public class OrgNetworkHandler extends ParseSax.HandlerWithResult<OrgNetwork> { 65struct_ring_i_o__shared_mem_req_details__tag.html https://gitlab.com/yesjyo/J5_A8 | HTML | 141 lines
131<!-- iframe showing the search results (closed by default) --> 132<div id="MSearchResultsWindow"> 133<iframe src="" frameborder="0" 133<iframe src="" frameborder="0" 134 name="MSearchResults" id="MSearchResults"> 135</iframe>List_MyCustomAdapter.java https://bitbucket.org/vincentpiet/portalis.git | Java | 279 lines
247 @Override 248 protected void publishResults(CharSequence charSequence, FilterResults filterResults) 249 {models.py https://bitbucket.org/signonsandiego/django-haystack.git | Python | 140 lines
3from django.test import TestCase 4from haystack.models import SearchResult 5from core.models import MockModel 5from core.models import MockModel 6from core.tests.mocks import MockSearchResult 7 15 16class SearchResultTestCase(TestCase): 17 def setUp(self): 17 def setUp(self): 18 super(SearchResultTestCase, self).setUp() 19 cap = CaptureHandler() 31 32 self.no_data_sr = MockSearchResult('haystack', 'mockmodel', '1', 2) 33 self.extra_data_sr = MockSearchResult('haystack', 'mockmodel', '1', 3, **self.extra_data)CSSSelector.h https://github.com/weissms/owb-mirror.git | C Header | 259 lines
164 PseudoSearchDecoration, 165 PseudoSearchResultsDecoration, 166 PseudoSearchResultsButton,DefaultDownloadDelegate.cpp https://github.com/weissms/owb-mirror.git | C++ | 243 lines
76 77HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::QueryInterface(REFIID riid, void** ppvObject) 78{ 104 105HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::decideDestinationWithSuggestedFilename(IWebDownload *download, BSTR filename) 106{ 139} 140HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didCancelAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge) 141{ 146} 147HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didCreateDestination(IWebDownload* download, BSTR destination) 148{ 154 155HRESULT STDMETHODCALLTYPE DefaultDownloadDelegate::didReceiveAuthenticationChallenge(IWebDownload* download, IWebURLAuthenticationChallenge* challenge) 156{dir_52d049cddf4d6b3226b3119feaffeded.html https://bitbucket.org/LastElb/sw-survey-app.git | HTML | 123 lines
91<!-- iframe showing the search results (closed by default) --> 92<div id="MSearchResultsWindow"> 93<iframe src="javascript:void(0)" frameborder="0" 93<iframe src="javascript:void(0)" frameborder="0" 94 name="MSearchResults" id="MSearchResults"> 95</iframe>audio_quality_ident.cpp https://github.com/snowlesswinter/audio_quality_identification.git | C++ | 278 lines
24typedef unique_ptr<void, void (__stdcall*)(void*)> FuncHostType; 25typedef HRESULT (__stdcall* MMCoreFactoryProc)(ICorePlayer** , void*); 26typedef HRESULT (__stdcall* AudioInfoExtrFactoryProc)( 58 scoped_refptr<ICorePlayer> interface1; 59 HRESULT r = mmCoreFactoryProc(reinterpret_cast<ICorePlayer**>(&interface1), 60 NULL);api-list.js https://gitlab.com/bafang/cordova_controller | JavaScript | 251 lines
29 clear : onSearchClear, 30 results: onSearchResults 31 } 152 153function onSearchResults(e) { 154 var frag = Y.one(Y.config.doc.createDocumentFragment());DurationParserTest.scala https://gitlab.com/varunkothamachu/extraction-framework | Scala | 177 lines
9import org.scalatest.matchers.BeMatcher 10import org.scalatest.matchers.MatchResult 11 148 def apply(l: Double) = 149 MatchResult( 150 compare(l, r),c.java https://gitlab.com/kainy/com.tencent.mm | Java | 250 lines
53 paramAnonymousj.putExtra("result", paramAnonymousString.toByteArray()); 54 v.i("MicroMsg.RedirectToChattingByPhoneHelper", "hy: more than one contact is resolved. starting to ContactSearchResultUI"); 55 com.tencent.mm.plugin.ext.a.cjo.x(paramAnonymousj, c.a(c.this));juce_win32_AudioCDBurner.cpp https://bitbucket.org/teamaxe/markingtool.git | C++ | 412 lines
94 { 95 HRESULT hr = discMaster->SetActiveDiscMasterFormat (IID_IRedbookDiscMaster, (void**) &redbook); 96 jassert (SUCCEEDED (hr)); 138 JUCE_COMRESULT NotifyClosingDisc (long /*nEstimatedSeconds*/) { return E_NOTIMPL; } 139 JUCE_COMRESULT NotifyBurnComplete (HRESULT /*status*/) { return E_NOTIMPL; } 140 JUCE_COMRESULT NotifyEraseComplete (HRESULT /*status*/) { return E_NOTIMPL; } 158 long type, flags; 159 HRESULT hr = discRecorder->QueryMediaType (&type, &flags); 160 331 UINT_PTR cookie; 332 HRESULT hr = pimpl->discMaster->ProgressAdvise ((AudioCDBurner::Pimpl*) pimpl, &cookie); 333 363 long bytesPerBlock; 364 HRESULT hr = pimpl->redbook->GetAudioBlockSize (&bytesPerBlock); 365debug-stepin-positions.js https://github.com/dshaw/node.git | JavaScript | 225 lines
74 75 var matchResult; 76 while ( (matchResult = markPattern.exec(codeSnippet)) ) { 76 while ( (matchResult = markPattern.exec(codeSnippet)) ) { 77 expectedPositions[matchResult.index] = true; 78 }SearchInfoParcelable.java https://bitbucket.org/androidarmv6/android_packages_apps_cmfilemanager.git | Java | 234 lines
37 private String mSearchDirectory; 38 private List<SearchResult> mSearchResultList; 39 private Query mSearchQuery; 100 */ 101 public List<SearchResult> getSearchResultList() { 102 return this.mSearchResultList; 109 */ 110 public void setSearchResultList(List<SearchResult> searchResultList) { 111 this.mSearchResultList = searchResultList; 195 if (hasSearchResultList == 1) { 196 List<SearchResult> searchResultList = new ArrayList<SearchResult>(); 197 in.readList(searchResultList, SearchInfoParcelable.class.getClassLoader()); 197 in.readList(searchResultList, SearchInfoParcelable.class.getClassLoader()); 198 this.mSearchResultList = new ArrayList<SearchResult>(searchResultList); 199 }D3DState.h https://gitlab.com/Hexexpeck/dolphin-emulator | C Header | 192 lines
90 91 HRESULT GetPipelineStateObjectFromCache(D3D12_GRAPHICS_PIPELINE_STATE_DESC* pso_desc, 92 ID3D12PipelineState** pso); 92 ID3D12PipelineState** pso); 93 HRESULT GetPipelineStateObjectFromCache(SmallPsoDesc* pso_desc, ID3D12PipelineState** pso, 94 D3D12_PRIMITIVE_TOPOLOGY_TYPE topology,variables_66.html https://gitlab.com/yesjyo/J5_A8 | HTML | 95 lines
11 <div class="SREntry"> 12 <a id="Item0" onkeydown="return searchResults.Nav(event,0)" onkeypress="return searchResults.Nav(event,0)" onkeyup="return searchResults.Nav(event,0)" class="SRSymbol" href="javascript:searchResults.Toggle('SR_flags')">flags</a> 13 <div class="SRChildren"> 13 <div class="SRChildren"> 14 <a id="Item0_c0" onkeydown="return searchResults.NavChild(event,0,0)" onkeypress="return searchResults.NavChild(event,0,0)" onkeyup="return searchResults.NavChild(event,0,0)" class="SRScope" href="../struct_ring_i_o__open_params___tag.html#ac3dee63ef8a31069ba5743540ae5f646" target="_parent">RingIO_openParams_Tag::flags()</a> 15 <a id="Item0_c1" onkeydown="return searchResults.NavChild(event,0,1)" onkeypress="return searchResults.NavChild(event,0,1)" onkeyup="return searchResults.NavChild(event,0,1)" class="SRScope" href="../struct_message_q___msg_header.html#a377485e7c13fde415d7d8811fe8f4f37" target="_parent">MessageQ_MsgHeader::flags()</a> 20 <div class="SREntry"> 21 <a id="Item1" onkeydown="return searchResults.Nav(event,1)" onkeypress="return searchResults.Nav(event,1)" onkeyup="return searchResults.Nav(event,1)" class="SRSymbol" href="../struct_ring_i_o_shm___params___tag.html#a91df1769abafaa98c33433717339ecab" target="_parent">footBufSize</a> 22 <span class="SRScope">RingIOShm_Params_Tag</span> 26 <div class="SREntry"> 27 <a id="Item2" onkeydown="return searchResults.Nav(event,2)" onkeypress="return searchResults.Nav(event,2)" onkeyup="return searchResults.Nav(event,2)" class="SRSymbol" href="../struct_frame___frame_header___tag.html#a8fe0360eb98f30c2d9bbdb05e9ef3b1c" target="_parent">frameBufInfo</a> 28 <span class="SRScope">Frame_FrameHeader_Tag</span> 32 <div class="SREntry"> 33 <a id="Item3" onkeydown="return searchResults.Nav(event,3)" onkeypress="return searchResults.Nav(event,3)" onkeyup="return searchResults.Nav(event,3)" class="SRSymbol" href="../struct_frame_q_buf_mgr___sh_mem___params__tag.html#ac64830610c9443842d9b736a86f82ba5" target="_parent">frameBufParams</a> 34 <span class="SRScope">FrameQBufMgr_ShMem_Params_tag</span>Search-NewzNab.ps1 https://gitlab.com/migration-sandbox/NZB-powershell | Powershell | 201 lines
169 Write-Verbose "SearchURL = $searchURL" 170 $searchResults = Invoke-RestMethod $searchURL 171 175 176 foreach($searchResult in $searchResults) 177 { 177 { 178 Write-Verbose "guid = $($searchResult.guid."#text")" 179 $cleanObject = New-Object System.Object 180 if($searchResults.count -gt 0) { 181 $cleanObject | Add-Member -type NoteProperty -name Index -Value $searchResults.indexOf($searchResult) 182 } 187 $cleanObject | Add-Member -type NoteProperty -name title -Value $searchResult.title 188 $cleanObject | Add-Member -type NoteProperty -name link -Value $searchResult.link 189 $cleanObject | Add-Member -type NoteProperty -name pubDate -Value $([DateTime]::Parse($searchResult.pubDate))ASTNodeSearchUtil.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 268 lines
62 63 public static ASTNode[] getAstNodes(SearchMatch[] searchResults, CompilationUnit cuNode) { 64 List<ASTNode> result= new ArrayList<ASTNode>(searchResults.length); 64 List<ASTNode> result= new ArrayList<ASTNode>(searchResults.length); 65 for (int i= 0; i < searchResults.length; i++) { 66 ASTNode node= getAstNode(searchResults[i], cuNode); 73 public static ASTNode getAstNode(SearchMatch searchResult, CompilationUnit cuNode) { 74 ASTNode selectedNode= getAstNode(cuNode, searchResult.getOffset(), searchResult.getLength()); 75 if (selectedNode == null) 249 250 public static ASTNode[] findNodes(SearchMatch[] searchResults, CompilationUnit cuNode) { 251 List<ASTNode> result= new ArrayList<ASTNode>(searchResults.length); 260 public static ASTNode findNode(SearchMatch searchResult, CompilationUnit cuNode) { 261 ASTNode selectedNode= NodeFinder.perform(cuNode, searchResult.getOffset(), searchResult.getLength()); 262 if (selectedNode == null)index.html https://gitlab.com/artemgurzhii/conference | HTML | 252 lines
105 106<div class="modal fade" id="searchResults"> 107 <div class="modal-dialog">PortletRegistrySearchService.java https://gitlab.com/apachipa/uportal | Java | 142 lines
34import org.jasig.portal.search.SearchRequest; 35import org.jasig.portal.search.SearchResult; 36import org.jasig.portal.search.SearchResults; 54 @Value("${org.jasig.portal.portlets.portletRegistry.search.result.type:Portlet List}") 55 private String searchResultType = "Portlet List"; 56 82 @Override 83 public SearchResults getSearchResults(PortletRequest request, 84 SearchRequest query) { 90 91 final SearchResults results = new SearchResults(); 92 for (IPortletDefinition portlet : portlets) { 93 if (matches(queryString, portlet)) { 94 final SearchResult result = new SearchResult(); 95 result.setTitle(portlet.getTitle());content.lib.php https://github.com/akash6190/pragyan.git | PHP | 326 lines
61 if(isset($_POST['query'])) 62 $ret .= getSearchResultString($_POST['query']); 63 elseif(isset($_GET['query'])) 63 elseif(isset($_GET['query'])) 64 $ret .= getSearchResultString($_GET['query']); 65Ldap.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 188 lines
88 { 89 $searchResult = @ldap_search($this->getResource(), $_dn, $_filter, $_attributes, $this->_attrsOnly, $this->_sizeLimit, $this->_timeLimit); 90 90 91 if($searchResult === FALSE) { 92 throw new Exception(ldap_error($this->getResource())); 94 95 $searchCount = ldap_count_entries($this->getResource(), $searchResult); 96 if($searchCount === 0) { 101 102 $entry = ldap_first_entry($this->getResource(), $searchResult); 103CompilerTest.php https://gitlab.com/axeltizon/magento-demopoweraccess | PHP | 405 lines
10use Magento\Framework\Api\Code\Generator\Mapper; 11use Magento\Framework\Api\Code\Generator\SearchResults; 12use Magento\Framework\App\Filesystem\DirectoryList; 307 Mapper::ENTITY_TYPE => 'Magento\Framework\Api\Code\Generator\Mapper', 308 SearchResults::ENTITY_TYPE => 'Magento\Framework\Api\Code\Generator\SearchResults', 309 ExtensionAttributesInterfaceGenerator::ENTITY_TYPE =>TierPriceTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 388 lines
74 $this->searchCriteriaBuilder->expects($this->any())->method('create')->willReturn($searchCriteria); 75 $groupSearchResult = $this->getMockForAbstractClass( 76 '\Magento\Customer\Api\Data\GroupSearchResultsInterface', 84 ->with($searchCriteria) 85 ->willReturn($groupSearchResult); 86 93 $groups = [$groupTest]; 94 $groupSearchResult->expects($this->any())->method('getItems')->willReturn($groups); 95 102 $this->searchCriteriaBuilder->expects($this->any())->method('create')->willReturn($searchCriteria); 103 $groupSearchResult = $this->getMockForAbstractClass( 104 '\Magento\Customer\Api\Data\GroupSearchResultsInterface', 112 ->with($searchCriteria) 113 ->willReturn($groupSearchResult); 114WatchedFileRouter.java https://bitbucket.org/itzg/vidsync.git | Java | 211 lines
33 @Override 34 public void failedToReachResult(File videoFile, Exception e) { 35 logger.error("Unable to parse signature from "+videoFile, e); 137 @Override 138 public void failedToReachResult(WatchedFile in, Exception e) { 139 out(in.getTheFile());appDevUrlGenerator.php https://gitlab.com/pr0055/symfonypizza | PHP | 53 lines
31 '_profiler_phpinfo' => array ( 0 => array ( ), 1 => array ( '_controller' => 'web_profiler.controller.profiler:phpinfoAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/_profiler/phpinfo', ), ), 4 => array ( ), 5 => array ( ),), 32 '_profiler_search_results' => array ( 0 => array ( 0 => 'token', ), 1 => array ( '_controller' => 'web_profiler.controller.profiler:searchResultsAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'text', 1 => '/search/results', ), 1 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'token', ), 2 => array ( 0 => 'text', 1 => '/_profiler', ), ), 4 => array ( ), 5 => array ( ),), 33 '_profiler' => array ( 0 => array ( 0 => 'token', ), 1 => array ( '_controller' => 'web_profiler.controller.profiler:panelAction', ), 2 => array ( ), 3 => array ( 0 => array ( 0 => 'variable', 1 => '/', 2 => '[^/]++', 3 => 'token', ), 1 => array ( 0 => 'text', 1 => '/_profiler', ), ), 4 => array ( ), 5 => array ( ),),ltablib.c https://bitbucket.org/kctcynic/devsetup.git | C | 250 lines
122 } 123 luaL_pushresult(&b); 124 return 1;ezsurveyentry.php https://bitbucket.org/netgen/ezsurvey.git | PHP | 181 lines
76 77 $result = eZSurveyEntry::fetchResult( $this, $contentObjectID, $contentClassAttributeID, $languageCode, false, 5 ); 78 return $result['result']; 80 81 function fetchResult( $question, $contentObjectID, $contentClassAttributeID, $languageCode, $metadata = false, $limit = false, $sortBy = false ) 82 { 142 { 143 eZDebug::writeWarning( 'Unknown sort field: ' . $sortField, 'eZSurveyEntry::fetchResult' ); 144 continue; 168 169 function &fetchResultItem( $question, $result_id, $metadata = false ) 170 {ldapanswer_xml.html https://bitbucket.org/mrgaryg/game-of-life.git | HTML | 395 lines
94 response message (enclosed by <responsemessage> tags and (only with a search 95 request) a searchresult section (enclosed with <searchresult> tags> 96</li> 173<countlimit> 174This is the maximum number of searchresults that will be returned, as it is requested by the client. 175The actual number might be smaller as the server can have its own countlimit configured. 274 275<searchresult><br> 276This gives the results from a serachrequest, as they are returned by the server.presenter.h https://bitbucket.org/barakianc/nvidia-physx-and-apex-in-gge.git | C Header | 263 lines
84public: 85 static HRESULT CreateInstance(IUnknown *pUnkOuter, REFIID iid, void **ppv); 86 136protected: 137 EVRCustomPresenter(HRESULT& hr); 138 virtual ~EVRCustomPresenter(); 142 // Call this at the start of any methods that should fail after shutdown. 143 inline HRESULT CheckShutdown() const 144 { 175 // Mixer operations 176 HRESULT ConfigureMixer(IMFTransform *pMixer); 177 178 // Formats 179 HRESULT CreateOptimalVideoType(IMFMediaType* pProposed, IMFMediaType **ppOptimal); 180 HRESULT CalculateOutputRectangle(IMFMediaType *pProposed, RECT *prcOutput);buffer.c https://github.com/aragaer/wine.git | C | 217 lines
28 29static HRESULT STDMETHODCALLTYPE d3d10_buffer_QueryInterface(ID3D10Buffer *iface, REFIID riid, void **object) 30{ 83 84static HRESULT STDMETHODCALLTYPE d3d10_buffer_GetPrivateData(ID3D10Buffer *iface, 85 REFGUID guid, UINT *data_size, void *data) 92 93static HRESULT STDMETHODCALLTYPE d3d10_buffer_SetPrivateData(ID3D10Buffer *iface, 94 REFGUID guid, UINT data_size, const void *data) 101 102static HRESULT STDMETHODCALLTYPE d3d10_buffer_SetPrivateDataInterface(ID3D10Buffer *iface, 103 REFGUID guid, const IUnknown *data) 132 133static HRESULT STDMETHODCALLTYPE d3d10_buffer_Map(ID3D10Buffer *iface, D3D10_MAP map_type, UINT map_flags, void **data) 134{search_results.jsx https://gitlab.com/auchalet/mattermost | JSX | 197 lines
9import * as Utils from 'utils/utils.jsx'; 10import SearchResultsHeader from './search_results_header.jsx'; 11import SearchResultsItem from './search_results_item.jsx'; 15function getStateFromStores() { 16 const results = SearchStore.getSearchResults(); 17 39 40export default class SearchResults extends React.Component { 41 constructor(props) { 165 return ( 166 <SearchResultsItem 167 key={post.id} 181 <div className='sidebar-right__body'> 182 <SearchResultsHeader isMentionSearch={this.props.isMentionSearch}/> 183 <divmain.cpp https://bitbucket.org/plepic/titanium_modules.git | C++ | 241 lines
216 int gresult = 1; 217 int hresult = 1; 218 218 219 hresult = test_image_hybrid(image, expected); 220 gresult = test_image_global(image, expected); 222 gresult = gresult == 0; 223 hresult = hresult == 0; 224 224 225 gonly += gresult && !hresult; 226 honly += hresult && !gresult; 226 honly += hresult && !gresult; 227 both += gresult && hresult; 228 neither += !gresult && !hresult;SearchResult.java https://github.com/Portree-Kid/c-geo-opensource.git | Java | 214 lines
29 30 final public static Parcelable.Creator<SearchResult> CREATOR = new Parcelable.Creator<SearchResult>() { 31 public SearchResult createFromParcel(Parcel in) { 43 44 public SearchResult(SearchResult searchResult) { 45 if (searchResult != null) { 46 this.geocodes = new HashSet<String>(searchResult.geocodes); 47 this.error = searchResult.error; 48 this.url = searchResult.url; 152 */ 153 public SearchResult filterSearchResults(final boolean excludeDisabled, final boolean excludeMine, final CacheType cacheType) { 154 154 155 SearchResult result = new SearchResult(this); 156 result.geocodes.clear();EvaluationResult.h https://gitlab.com/vectorci/aws-sdk-cpp | C Header | 282 lines
141 */ 142 inline EvaluationResult& WithResultRecordedTime(const Aws::Utils::DateTime& value) { SetResultRecordedTime(value); return *this;} 143 146 */ 147 inline EvaluationResult& WithResultRecordedTime(Aws::Utils::DateTime&& value) { SetResultRecordedTime(value); return *this;} 148 248 */ 249 inline EvaluationResult& WithResultToken(const Aws::String& value) { SetResultToken(value); return *this;} 250 255 */ 256 inline EvaluationResult& WithResultToken(Aws::String&& value) { SetResultToken(value); return *this;} 257 262 */ 263 inline EvaluationResult& WithResultToken(const char* value) { SetResultToken(value); return *this;} 264SearchResultsFragment.java https://gitlab.com/manadream/DailybRead | Java | 246 lines
1/* 2 * SearchResultsFragment.java is a part of DailybRead 3 * Copyright (C) 2015 John Krause, Eleven-K Software 36import tk.elevenk.dailybread.R; 37import tk.elevenk.dailybread.adapter.SearchResultsAdapter; 38import tk.elevenk.dailybread.fragment.reader.MainReaderFragment; 54 */ 55public class SearchResultsFragment extends BooksListFragment { 56 59 private LoadEbook currentTask; 60 private SearchResultsAdapter searchResultsAdapter; 61 private List<AsyncTask> tasks; 67 this.tasks = new ArrayList<>(); 68 searchResultsAdapter = new SearchResultsAdapter(books, this.getActivity()); 69 this.setListAdapter(searchResultsAdapter);Storage.as https://bitbucket.org/Dal-Papa/is-340-publish-base.git | ActionScript | 402 lines
66 var so = SharedObject.getLocal(namespace); 67 var flushResults = so.flush(); 68 70 var statusResults; 71 if(flushResults == true){ 72 statusResults = Storage.SUCCESS; 72 statusResults = Storage.SUCCESS; 73 }else if(flushResults == "pending"){ 74 statusResults = Storage.PENDING; 365 allNamespaces.data[namespace] = true; 366 var flushResults = allNamespaces.flush(); 367 370 var statusResults; 371 if(flushResults == true){ 372 statusResults = Storage.SUCCESS;soloud_xaudio2.cpp https://gitlab.com/humangamer/Blitz3D-Modernized | C++ | 247 lines
102 // the error. The callback arguments report which buffer was being 103 // processed when the error occurred, and its HRESULT code. 104 void __stdcall OnVoiceError(void *aBufferContext, HRESULT aError) {}layout_pages.css https://bitbucket.org/enitarzi/phpbb3-gorgon.git | CSS | 576 lines
484/* Jump to post link for now */ 485ul.searchresults { 486 list-style: none; 489} 490.post ul.searchresults { 491 width: 68%;checksums_test.go https://gitlab.com/unofficial-mirrors/openshift-origin | Go | 245 lines
197 r.Data = &sqs.SendMessageBatchOutput{ 198 Successful: []*sqs.SendMessageBatchResultEntry{ 199 {MD5OfMessageBody: &md5, MessageId: aws.String("123"), Id: aws.String("1")}, 225 r.Data = &sqs.SendMessageBatchOutput{ 226 Successful: []*sqs.SendMessageBatchResultEntry{ 227 {MD5OfMessageBody: &md5, MessageId: aws.String("123"), Id: aws.String("1")},TipViewController.m https://gitlab.com/dingchuandong1/XM_Bick | Objective C | 410 lines
245 246 [self.displayController.searchResultsTableView reloadData]; 247} 382 self.displayController.delegate = self; 383 self.displayController.searchResultsDataSource = self; 384 self.displayController.searchResultsDelegate = self;ItemRepositoryTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 381 lines
22 /** 23 * @var \Magento\Sales\Api\Data\OrderItemSearchResultInterfaceFactory|\PHPUnit_Framework_MockObject_MockObject 24 */ 58 $this->searchResultFactory = $this->getMockBuilder( 59 'Magento\Sales\Api\Data\OrderItemSearchResultInterfaceFactory' 60 ) 88 $this->metadata, 89 $this->searchResultFactory, 90 $this->productOptionFactory, 122 $this->metadata, 123 $this->searchResultFactory, 124 $this->productOptionFactory, 199 200 $searchResultMock = $this->getMockBuilder('Magento\Sales\Api\Data\OrderItemSearchResultInterface') 201 ->setMethods([TGMediaAssetsPickerController.m https://gitlab.com/peternagel/telegram_chat | Objective C | 382 lines
29 30 TGMediaAssetFetchResult *_fetchResult; 31 TGMediaAssetsPreheatMixin *_preheatMixin; 156 { 157 TGMediaAssetFetchResult *fetchResult = (TGMediaAssetFetchResult *)next; 158 160 161 strongSelf->_fetchResult = fetchResult; 162 [strongSelf->_collectionView reloadData]; 178 if (strongSelf->_galleryMixin != nil && strongSelf->_fetchResult != nil) 179 [strongSelf->_galleryMixin updateWithFetchResult:strongSelf->_fetchResult]; 180 }]]; 297 298 _galleryMixin = [[TGMediaPickerModernGalleryMixin alloc] initWithItem:asset fetchResult:_fetchResult parentController:self thumbnailImage:thumbnailImage selectionContext:self.selectionContext editingContext:self.editingContext suggestionContext:self.suggestionContext hasCaption:hasCaption asFile:asFile itemsLimit:0]; 299HyperSearchRequest.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 303 lines
47 HyperSearchRequest(View view, SearchMatcher matcher, 48 HyperSearchResults results, Selection[] selection) 49 { 177 private SearchMatcher matcher; 178 private HyperSearchResults results; 179 private DefaultMutableTreeNode rootSearchNode; 260 261 HyperSearchResult lastResult = null; 262loop: for(int counter = 0; ; counter++) 277 { 278 lastResult = new HyperSearchResult( 279 buffer,newLine);package-tree.html https://github.com/jclouds/jclouds-maven-site.git | HTML | 162 lines
97<UL> 98<LI TYPE="circle">org.jclouds.http.functions.<A HREF="../../../../org/jclouds/http/functions/ParseSax.HandlerWithResult.html" title="class in org.jclouds.http.functions"><B>ParseSax.HandlerWithResult</B></A><T> (implements org.jclouds.rest.<A HREF="../../../../org/jclouds/rest/InvocationContext.html" title="interface in org.jclouds.rest">InvocationContext</A><I>) 99<UL> 99<UL> 100<LI TYPE="circle">org.jclouds.cloudwatch.xml.<A HREF="../../../../org/jclouds/cloudwatch/xml/GetMetricStatisticsResponseHandler.html" title="class in org.jclouds.cloudwatch.xml"><B>GetMetricStatisticsResponseHandler</B></A><LI TYPE="circle">org.jclouds.http.functions.<A HREF="../../../../org/jclouds/http/functions/ParseSax.HandlerForGeneratedRequestWithResult.html" title="class in org.jclouds.http.functions"><B>ParseSax.HandlerForGeneratedRequestWithResult</B></A><T><UL> 101<LI TYPE="circle">org.jclouds.cloudwatch.xml.<A HREF="../../../../org/jclouds/cloudwatch/xml/DatapointHandler.html" title="class in org.jclouds.cloudwatch.xml"><B>DatapointHandler</B></A></UL>ResultViewController.m https://github.com/simplypavi/domainr-alpha.git | Objective C | 189 lines
16 17 - (id)initWithResult:(Result *)newResult; { 18 self = [super initWithStyle:UITableViewStyleGrouped]; 182 183 - (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error; { 184 [self becomeFirstResponder];hlink.idl https://github.com/aragaer/wine.git | IDL | 440 lines
25 26cpp_quote("HRESULT WINAPI HlinkCreateFromMoniker(IMoniker*, LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IUnknown*, REFIID, void**);") 27cpp_quote("HRESULT WINAPI HlinkCreateFromString(LPCWSTR, LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IUnknown*, REFIID, void**);") 27cpp_quote("HRESULT WINAPI HlinkCreateFromString(LPCWSTR, LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IUnknown*, REFIID, void**);") 28cpp_quote("HRESULT WINAPI HlinkCreateFromData(IDataObject*, IHlinkSite*, DWORD dwSiteData, IUnknown*, REFIID, void**);") 29cpp_quote("HRESULT WINAPI HlinkCreateExtensionServices(LPCWSTR, HWND, LPCWSTR, LPCWSTR, IUnknown*, REFIID, void**);") 29cpp_quote("HRESULT WINAPI HlinkCreateExtensionServices(LPCWSTR, HWND, LPCWSTR, LPCWSTR, IUnknown*, REFIID, void**);") 30cpp_quote("HRESULT WINAPI HlinkQueryCreateFromData(IDataObject*);") 31cpp_quote("HRESULT WINAPI HlinkClone(IHlink*, REFIID, IHlinkSite*, DWORD, void **);") 31cpp_quote("HRESULT WINAPI HlinkClone(IHlink*, REFIID, IHlinkSite*, DWORD, void **);") 32cpp_quote("HRESULT WINAPI HlinkCreateBrowseContext(IUnknown*, REFIID, void **);") 33cpp_quote("HRESULT WINAPI HlinkNavigateToStringReference(LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IHlinkFrame*, DWORD, LPBC, IBindStatusCallback*, IHlinkBrowseContext*);") 33cpp_quote("HRESULT WINAPI HlinkNavigateToStringReference(LPCWSTR, LPCWSTR, IHlinkSite*, DWORD, IHlinkFrame*, DWORD, LPBC, IBindStatusCallback*, IHlinkBrowseContext*);") 34cpp_quote("HRESULT WINAPI HlinkNavigate(IHlink*, IHlinkFrame*, DWORD, LPBC, IBindStatusCallback*, IHlinkBrowseContext*);") 35cpp_quote("HRESULT WINAPI HlinkOnNavigate(IHlinkFrame*, IHlinkBrowseContext*, DWORD, IMoniker*, LPCWSTR, LPCWSTR, ULONG*);")WebCache.cpp https://gitlab.com/brian0218/rk3188_r-box_android4.2.2_sdk | C++ | 232 lines
58 59HRESULT STDMETHODCALLTYPE WebCache::QueryInterface(REFIID riid, void** ppvObject) 60{ 88 89HRESULT STDMETHODCALLTYPE WebCache::statistics( 90 /* [in][out] */ int* count, 201 202HRESULT STDMETHODCALLTYPE WebCache::empty( void) 203{ 217 218HRESULT STDMETHODCALLTYPE WebCache::setDisabled( 219 /* [in] */ BOOL disabled) 224 225HRESULT STDMETHODCALLTYPE WebCache::disabled( 226 /* [out][retval] */ BOOL* disabled)advpub.h https://gitlab.com/ubuntu-trusty/mingw-w64 | C Header | 263 lines
13#ifndef S_ASYNCHRONOUS 14#define S_ASYNCHRONOUS _HRESULT_TYPEDEF_(0x401e8) 15#endif 18 19 HRESULT WINAPI RunSetupCommand(HWND hWnd,LPCSTR szCmdName,LPCSTR szInfSection,LPCSTR szDir,LPCSTR lpszTitle,HANDLE *phEXE,DWORD dwFlags,LPVOID pvReserved); 20 20 21 typedef HRESULT (WINAPI *RUNSETUPCOMMAND)(HWND hWnd,LPCSTR szCmdName,LPCSTR szInfSection,LPCSTR szDir,LPCSTR szTitle,HANDLE *phEXE,DWORD dwFlags,LPVOID pvReserved); 22 44 45 HRESULT WINAPI RebootCheckOnInstall(HWND hwnd,PCSTR pszINF,PCSTR pszSec,DWORD dwReserved); 46 46 47 typedef HRESULT (WINAPI *REBOOTCHECKONINSTALL)(HWND,PCSTR,PCSTR,DWORD); 48xmllite.idl https://gitlab.com/ubuntu-trusty/mingw-w64 | IDL | 295 lines
46{ 47 HRESULT SetInput( [in] IUnknown *input); 48 HRESULT GetProperty( [in] UINT property, [out] LONG_PTR *value); 48 HRESULT GetProperty( [in] UINT property, [out] LONG_PTR *value); 49 HRESULT SetProperty( [in] UINT property, [in] LONG_PTR value); 50 HRESULT Read( [out] XmlNodeType *node_type); 50 HRESULT Read( [out] XmlNodeType *node_type); 51 HRESULT GetNodeType( [out] XmlNodeType *node_type); 52 HRESULT MoveToFirstAttribute(void); 52 HRESULT MoveToFirstAttribute(void); 53 HRESULT MoveToNextAttribute(void); 54 HRESULT MoveToAttributeByName( [in] LPCWSTR local_name, 55 [in] LPCWSTR namespaceUri); 56 HRESULT MoveToElement(void); 57 HRESULT GetQualifiedName( [out] LPCWSTR *qualifiedName,SearchResultListPanel.java https://gitlab.com/hewittlab/dark | Java | 362 lines
53 */ 54public class SearchResultListPanel extends Panel { 55 60 61 private transient Logger log = LoggerFactory.getLogger(SearchResultListPanel.class); 62 private ModalWindow confirmModal; 71 + "</br>"; 72 private SearchResultListPanel me; 73 73 74 public SearchResultListPanel(String id, FeedbackPanel feedBackPanel, ContainerForm containerForm, ArkCrudContainerVO arkCrudContainerVO) { 75 super(id); 318 // private AjaxDeleteButton buildDeleteButton(final Upload upload) { 319 // DeleteButton ajaxButton = new DeleteButton(upload, SearchResultListPanel.this) { 320 // /**filesearch.cpp https://github.com/khangbotics/qgroundcontrol.git | C++ | 260 lines
69 70void runFileSearch(QFutureInterface<FileSearchResult> &future, 71 QString searchTerm, 170 res.append(startOfLastLine[i++]); 171 future.reportResult(FileSearchResult(s, lineNr, QString(res), 172 regionPtr - startOfLastLine, sa.length())); 187 188void runFileSearchRegExp(QFutureInterface<FileSearchResult> &future, 189 QString searchTerm, 229 while ((pos = expression.indexIn(line, pos)) != -1) { 230 future.reportResult(FileSearchResult(s, lineNr, line, 231 pos, expression.matchedLength())); 247 248QFuture<FileSearchResult> Utils::findInFiles(const QString &searchTerm, const QStringList &files, 249 QTextDocument::FindFlags flags, QMap<QString, QString> fileToContentsMap)PSearchEventSource.cs https://github.com/iainlane/mono.git | C# | 280 lines
42 { 43 protected SearchResultEventHandler search_result_event; 44 48 /// </summary> 49 public event SearchResultEventHandler SearchResultEvent 50 { 83 /// <summary> 84 /// SearchResultEventHandler is the delegate definition for SearchResultEvent. 85 /// The client (listener) has to register using this delegate in order to 88 public delegate 89 void SearchResultEventHandler( 90 object source, 90 object source, 91 SearchResultEventArgs objArgs 92 );UserController.java https://bitbucket.org/pbeltrani/apolo-webdiag.git | Java | 355 lines
28 29import br.apolo.business.model.SearchResult; 30import br.apolo.business.service.UserGroupService; 268 269 SearchResult<User> result = userService.search(param); 270midm.xsd https://bitbucket.org/pymma/mosaic.git | XML Schema | 248 lines
80 <xs:element name="search-pages" type="searchPagesType"/> 81 <xs:element name="search-result-pages" type="searchResultPagesType"/> 82 <xs:complexType name="guiDefinitionType"> 128 </xs:complexType> 129 <xs:complexType name="searchResultPagesType"> 130 <xs:sequence> 130 <xs:sequence> 131 <xs:element name="search-result-list-page" type="searchResultListPageType" minOccurs="0"/> 132 </xs:sequence> 202 </xs:complexType> 203 <xs:complexType name="searchResultListPageType"> 204 <xs:sequence>PluginInfoStoreWin.cpp https://bitbucket.org/zenoalbisser/webkit.git | C++ | 408 lines
154 155 HRESULT result = ::SHGetValueW(HKEY_LOCAL_MACHINE, L"Software\\Microsoft\\MediaPlayer", L"Installation Directory", &type, reinterpret_cast<LPBYTE>(&installationDirectoryStr), &installationDirectorySize); 156 166 167 HRESULT result = ::SHGetValueW(HKEY_LOCAL_MACHINE, L"Software\\Apple Computer, Inc.\\QuickTime", L"InstallDir", &type, reinterpret_cast<LPBYTE>(&installationDirectoryStr), &installationDirectorySize); 168 177 HKEY key; 178 HRESULT result = ::RegOpenKeyExW(HKEY_LOCAL_MACHINE, L"Software\\Adobe\\Acrobat Reader", 0, KEY_READ, &key); 179 if (result != ERROR_SUCCESS)threadaux.d https://gitlab.com/4144/gcc | D | 388 lines
20 GetModuleHandleA, GetProcAddress+/; 21import core.sys.windows.windef/+ : BOOL, DWORD, FALSE, HRESULT+/; 22import core.stdc.stdlib; 115 alias fnNtQuerySystemInformation = extern(Windows) 116 HRESULT function( uint SystemInformationClass, void* info, uint infoLength, uint* ReturnLength ) nothrow @nogc; 117 243 uint retLength; 244 HRESULT rc; 245 char* buf;PFInstallation.m https://gitlab.com/iranjith4/Parse-SDK-iOS-OSX | Objective C | 312 lines
89 BFTask *saveTask = [[[self class] _currentInstallationController] saveCurrentObjectAsync:self]; 90 return [saveTask continueWithResult:task]; 91 }];HippoAbstractWindow.h https://gitlab.com/manoj-makkuboy/magnetism | C Header | 254 lines
235 bool isOurServer(const HippoBSTR &host); 236 HRESULT getToplevelBrowser(const IID &ifaceID, void **toplevelBrowser); 237installer.c https://gitlab.com/dj-tech/reactos | C | 348 lines
53 54static HRESULT WINAPI update_installer_QueryInterface( 55 IUpdateInstaller *iface, 77 78static HRESULT WINAPI update_installer_GetTypeInfoCount( 79 IUpdateInstaller *iface, 85 86static HRESULT WINAPI update_installer_GetTypeInfo( 87 IUpdateInstaller *iface, 95 96static HRESULT WINAPI update_installer_GetIDsOfNames( 97 IUpdateInstaller *iface, 107 108static HRESULT WINAPI update_installer_Invoke( 109 IUpdateInstaller *iface,SublightSubtitleClient.java https://github.com/gpeev/relman.git | Java | 375 lines
73 @Override 74 public List<SearchResult> search(String query) throws WebServiceException { 75 // require login 85 86 List<SearchResult> results = new ArrayList<SearchResult>(); 87 101 @Override 102 public List<SubtitleDescriptor> getSubtitleList(SearchResult searchResult, String languageName) throws WebServiceException { 103 MovieDescriptor movie = (MovieDescriptor) searchResult; 307 @Override 308 public URI getSubtitleListLink(SearchResult searchResult, String languageName) { 309 // note that sublight can only be accessed via the soap APIFramebuffer9.cpp https://gitlab.com/paretje/qtwebkit | C++ | 422 lines
85 86 HRESULT result; 87 IDirect3DSurface9 *systemSurface = nullptr; 358 359 HRESULT result = device->StretchRect(readSurface, &srcRect, drawSurface, &dstRect, D3DTEXF_NONE); 360 400 401 HRESULT result = device->StretchRect(readSurface, nullptr, drawSurface, nullptr, D3DTEXF_NONE); 402RunComparator.java https://bitbucket.org/pymma/openesb-components.git | Java | 250 lines
120 Result eachResult = res1[i]; 121 //System.out.println("Name:" + eachResult.getName() + "\tnote:" + eachResult.getNote() + "\tTime:" + eachResult.getTime()); 122 122 123 Custom[] custArr = eachResult.getCustomArray(); 124 if ((custArr != null) || (custArr.length > 0)) 130 131 String hashKey = eachResult.getName() + "_" + eachCustomElem.getName() + "_" + eachCustomElem.getValue(); 132 //System.out.println("Key:" + hashKey); 132 //System.out.println("Key:" + hashKey); 133 //System.out.println("Val:" + eachResult.getTime()); 134 141 // every result should have a custom element but this is not always true, the generated results are invalid sometimes 142 System.out.println("Result Set 1, Custom Element Missing!:" + eachResult.getName()); 143 }protocol.c https://github.com/wesgarner/wine.git | C | 442 lines
25 26/* Flags are needed for, among other things, return HRESULTs from the Read function 27 * to conform to native. For example, Read returns: 55 56static inline HRESULT report_progress(Protocol *protocol, ULONG status_code, LPCWSTR status_text) 57{ 60 61static inline HRESULT report_result(Protocol *protocol, HRESULT hres) 62{ 199 HINTERNET ret; 200 HRESULT hres; 201 236 237HRESULT protocol_start(Protocol *protocol, IInternetProtocol *prot, IUri *uri, 238 IInternetProtocolSink *protocol_sink, IInternetBindInfo *bind_info)CloudRecoEventHandler.cs https://gitlab.com/sheetanshusrivastava3/Unity3D-code-repository-design-patterns | C# | 233 lines
127 /// <param name="targetSearchResult"></param> 128 public void OnNewSearchResult(TargetFinder.TargetSearchResult targetSearchResult) 129 { 134 // Vuforia will return a new object with the right script automatically if you use 135 // TargetFinder.EnableTracking(TargetSearchResult result, string gameObjectName) 136 137 //Check if the metadata isn't null 138 if(targetSearchResult.MetaData == null) 139 { 143 // enable the new result with the same ImageTargetBehaviour: 144 ImageTargetBehaviour imageTargetBehaviour = mImageTracker.TargetFinder.EnableTracking(targetSearchResult, mParentOfImageTargetTemplate) as ImageTargetBehaviour; 145 150 mCloudRecoBehaviour.CloudRecoEnabled = false; 151 AppManagerMore.instance.RequestPayLoadUrl(targetSearchResult.UniqueTargetId); 152 // Calls the TargetCreated Method of the SceneManager object to start loadingpacket-dcom-remunkn.c https://gitlab.com/jvelando/wireshark | C | 371 lines
124 proto_tree *sub_tree; 125 guint32 u32HResult; 126 guint32 u32SubStart; 148 /* REMQIRESULT */ 149 offset = dissect_dcom_HRESULT(tvb, offset, pinfo, sub_tree, di, drep, 150 &u32HResult); 177 u32ItemIdx, 178 val_to_str(u32HResult, dcom_hresult_vals, "Unknown (0x%08x)") ); 179 proto_item_set_len(sub_item, offset - u32SubStart); 182 col_append_fstr(pinfo->cinfo, COL_INFO, " %s[%u]", 183 val_to_str(u32HResult, dcom_hresult_vals, "Unknown (0x%08x)"), 184 u32ItemIdx); 193 col_append_fstr(pinfo->cinfo, COL_INFO, " -> %s", 194 val_to_str(u32HResult, dcom_hresult_vals, "Unknown (0x%08x)")); 195zz_metrics.rb https://gitlab.com/markglenfletcher/gitlab-ee | Ruby | 213 lines
96 97 instrumentation.instrument_instance_methods(Gitlab::Elastic::SearchResults) 98 instrumentation.instrument_instance_methods(Gitlab::Elastic::ProjectSearchResults) 99 instrumentation.instrument_instance_methods(Gitlab::Elastic::Indexer) 100 instrumentation.instrument_instance_methods(Gitlab::Elastic::SnippetSearchResults) 101 instrumentation.instrument_methods(Gitlab::Elastic::Helper)Item.cs https://gitlab.com/rekby-archive/onlyoffice-CommunityServer | C# | 227 lines
168 [DataMember(Name = "searchResult", EmitDefaultValue = false, IsRequired = false)] 169 public SearchResult SearchResult { get; set; } 170rest_request_router.cc https://gitlab.com/max-crow/rtbkit-p | C++ | 423 lines
95 RestRequestParsingContext context(request); 96 MatchResult res = processRequest(connection, request, context); 97 if (res == MR_NO) { 114RestRequestRouter:: 115MatchResult 116RestRequestRouter:: 153 try { 154 MatchResult mr = sr.process(request, context, connection); 155 //cerr << "returned " << mr << endl; 225 226RestRequestRouter::MatchResult 227RestRequestRouter::Route::MessagesSm.php https://github.com/sunnysujan/wikireader.git | PHP | 227 lines
136'mypreferences' => "Mea 'ou te fiafia i ai", 137'searchresultshead' => "Su'e", 138nuiVideoDecoder_WinXX.cpp https://github.com/meeloo/nui3.git | C++ | 526 lines
18 //from IUnknown 19 virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, __RPC__deref_out void __RPC_FAR *__RPC_FAR *ppvObject); 20 virtual ULONG STDMETHODCALLTYPE AddRef(); 23 //from ISequentialStream 24 virtual HRESULT STDMETHODCALLTYPE Read(void *pv, ULONG cb, ULONG *pcbRead); 25 virtual HRESULT STDMETHODCALLTYPE Write(const void *pv, ULONG cb, ULONG *pcbWritten); 27 //from IStream 28 virtual /* [local] */ HRESULT STDMETHODCALLTYPE Seek(LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER *plibNewPosition); 29 virtual HRESULT STDMETHODCALLTYPE SetSize(ULARGE_INTEGER libNewSize); 29 virtual HRESULT STDMETHODCALLTYPE SetSize(ULARGE_INTEGER libNewSize); 30 virtual /* [local] */ HRESULT STDMETHODCALLTYPE CopyTo(IStream *pstm, ULARGE_INTEGER cb, ULARGE_INTEGER *pcbRead, ULARGE_INTEGER *pcbWritten); 31 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD grfCommitFlags); 31 virtual HRESULT STDMETHODCALLTYPE Commit(DWORD grfCommitFlags); 32 virtual HRESULT STDMETHODCALLTYPE Revert(); 33 virtual HRESULT STDMETHODCALLTYPE LockRegion(ULARGE_INTEGER libOffset, ULARGE_INTEGER cb, DWORD dwLockType);CompilerTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 405 lines
10use Magento\Framework\Api\Code\Generator\Mapper; 11use Magento\Framework\Api\Code\Generator\SearchResults; 12use Magento\Framework\App\Filesystem\DirectoryList; 307 Mapper::ENTITY_TYPE => \Magento\Framework\Api\Code\Generator\Mapper::class, 308 SearchResults::ENTITY_TYPE => \Magento\Framework\Api\Code\Generator\SearchResults::class, 309 ExtensionAttributesInterfaceGenerator::ENTITY_TYPE =>math-comment-spam-protection.php https://github.com/socialplanning/opencore-wordpress-mu.git | PHP | 347 lines
94 // Get result 95 $value_result = $_POST[ $mcsp_opt['mcsp_opt_fieldname_mathresult'] ]; 96 203 'mcsp_opt_fieldname_useranswer' => 'mcspvalue', 204 'mcsp_opt_fieldname_mathresult' => 'mcspinfo', 205 ); 214 'mcsp_opt_fieldname_useranswer' => mcsp_aux_fieldname_formatting($_POST['mcsp_opt_fieldname_useranswer']), 215 'mcsp_opt_fieldname_mathresult' => mcsp_aux_fieldname_formatting($_POST['mcsp_opt_fieldname_mathresult']) 216 ); 258 <label for="mcsp_opt_fieldname_mathresult">Name of hidden field that contains the hash:</label> 259 <br /><input name="mcsp_opt_fieldname_mathresult" type="text" id="mcsp_opt_fieldname_mathresult" value="<?php echo $optionarray_def['mcsp_opt_fieldname_mathresult']; ?>" size="30" /> 260 </p>gdiplustypes.h https://gitlab.com/minoca/tools | C Header | 456 lines
406struct GdiplusAbort { 407 virtual HRESULT __stdcall Abort(void) {} 408};SupportedInterfaces.md https://gitlab.com/mayakarya/content | Markdown | 306 lines
121<div class="SearchResultsSection" markdown="1" style="display:none"> 122## <a name="SearchResults" class="SearchResults" onClick="toggleSection('SearchResults');return false;">搜索结果</a> 123<div class="SearchResults" markdown="1"> 124 125{:.table.table-bordered .SearchResults} 126部件名称 / 编号 | 兼容的开发板 | 描述 | 注意事项 | 项目、示例、库 |Microsoft 验证 | 194 var rows = $(".devices tr"); 195 var searchResults = []; 196 for (var rowNbr = 0; rowNbr < rows.length; rowNbr++){ 202 { 203 searchResults.push(rows[rowNbr]); 204 } 217 { 218 var searchTable = $('table.SearchResults')[0]; 219TTSearchDisplayController.m https://github.com/tomekc/three20.git | Objective C | 217 lines
38 39@synthesize searchResultsViewController = _searchResultsViewController; 40@synthesize pausesBeforeSearching = _pausesBeforeSearching; 159- (void)searchDisplayController:(UISearchDisplayController *)controller 160 willUnloadSearchResultsTableView:(UITableView *)tableView { 161} 207/////////////////////////////////////////////////////////////////////////////////////////////////// 208- (void)setSearchResultsDelegate:(id<UITableViewDelegate>)searchResultsDelegate { 209 [super setSearchResultsDelegate:searchResultsDelegate]; 209 [super setSearchResultsDelegate:searchResultsDelegate]; 210 if (_searchResultsDelegate2 != searchResultsDelegate) { 211 [_searchResultsDelegate2 release]; 211 [_searchResultsDelegate2 release]; 212 _searchResultsDelegate2 = [searchResultsDelegate retain]; 213 }qaudiocdreader.cpp https://bitbucket.org/kasimling/qt.git | C++ | 312 lines
101 protected: 102 HRESULT read(LONGLONG pos, LONG length, BYTE *buffer, LONG *actual); 103 209 210 HRESULT QAudioCDReader::read(LONGLONG pos, LONG length, BYTE *buffer, LONG *actual) 211 {iowrite.cpp https://gitlab.com/fheinemann/opc_ads | C++ | 352 lines
31 32 err = (HRESULT*)loComAlloc(dwCount * sizeof(HRESULT)); 33 rq = lo_req_alloc(dwCount, loUPL_variant /*| loUPL_errors*/ | loUPL_tagpair); 54 loTagPair *tpl = rq->upl.tagpair; 55// HRESULT *errors = rq->upl.errors; 56 VARIANT *variant = rq->upl.variant; 138{ 139 HRESULT hr = S_FALSE; 140 HRESULT *errs = 0; 152 153 errs = (HRESULT*)loComAlloc(dwCount * sizeof(HRESULT)); 154 rq = lo_req_alloc(dwCount, loUPL_AsyncWrite); 265 266 errs = (HRESULT*)loComAlloc(dwCount * sizeof(HRESULT)); 267 rq = lo_req_alloc(dwCount, loUPL_AsyncWrite);SKProductPageViewController.h https://gitlab.com/edelmaks/iOS-iphoneheaders | C Header | 123 lines
73-(void)_sendDidFailLoadWithError:(id)arg1 ; 74-(void)_sendDidFinishWithResult:(long long)arg1 ; 75-(id)_previewOverlay;BKWorkspaceServer.h https://gitlab.com/edelmaks/iOS-iphoneheaders | C Header | 123 lines
75-(void)_sendWorkspaceActivationResponse:(id)arg1 token:(id)arg2 ; 76-(void)_handleActivationRequestReplyForApplication:(id)arg1 message:(id)arg2 withResult:(/*^block*/ id)arg3 ; 77-(BOOL)_shouldUnsuspendWorkspaceForActivationSettings:(id)arg1 ; 83-(void)_activatePendingActivation:(id)arg1 ; 84-(void)handleOpenURLRequest:(id)arg1 application:(id)arg2 options:(id)arg3 origin:(id)arg4 withResult:(/*^block*/ id)arg5 ; 85-(void)_sendHandleStatusBarReturnActionFromApplication:(id)arg1 statusBarStyle:(id)arg2 ; 99-(void)killApplication:(id)arg1 reason:(int)arg2 report:(BOOL)arg3 description:(id)arg4 ; 100-(void)handleOpenApplicationRequest:(id)arg1 options:(id)arg2 origin:(id)arg3 withResult:(/*^block*/ id)arg4 ; 101-(BOOL)suspended; 117-(void)application:(id)arg1 setNowPlayingWithAudio:(BOOL)arg2 ; 118-(void)canActivateApplication:(id)arg1 withResult:(/*^block*/ id)arg2 ; 119-(void)resume:(id)arg1 ;PLPhotosApplication.h https://gitlab.com/edelmaks/iOS-iphoneheaders | C Header | 148 lines
71-(id)autosaveIdentifier; 72-(void)mailComposeController:(id)arg1 didFinishWithResult:(int)arg2 error:(id)arg3 ; 73-(void)_cancelRemaking; 96-(BOOL)isComposeSheetReady; 97-(void)mailComposeController:(id)arg1 bodyFinishedLoadingWithResult:(BOOL)arg2 error:(id)arg3 ; 98-(void)debugViewControllerDidDismiss:(id)arg1 ;configuration.jsp https://github.com/ealonso/liferay-portal.git | JavaServer Pages | 309 lines
132 <liferay-ui:search-iterator 133 searchResultCssClass="show-quick-actions-on-hover table table-autofit" 134 />SqlQueryResult.scala.html https://github.com/xuwei-k/xuwei-k.github.com.git | HTML | 84 lines
25 */</span> 26<span class="keyword">final</span> <span class="keyword">case class</span> <a title="class SqlQueryResult extends AnyRef with anorm.WithResult with Product with Serializable" id="anorm.SqlQueryResult.readResolve">SqlQueryResult</a><a href="#anorm.SqlQueryResult.readResolve" title="Product" class="delimiter">(</a> 27 <span class="comment">/** Underlying result set */</span> 28 <a title="resource.ManagedResource[java.sql.ResultSet]" id="anorm;SqlQueryResult.resultSet">resultSet</a>: <span title="resource.ManagedResource[java.sql.ResultSet]">ManagedResource</span><span class="delimiter">[</span>java.sql.ResultSet<span class="delimiter">]</span>, 29 <a title="Boolean" id="anorm.SqlQueryResult.<init>$default$2">resultSetOnFirstRow</a>: <span title="Boolean">Boolean</span> = <span title="Boolean(false)" class="keyword">false</span><span class="delimiter">)</span> <span class="keyword">extends</span> <a href="SqlResult.scala.html#anorm;WithResult" title="anorm.WithResult">WithResult</a> <span class="delimiter">{</span> 30 60 since = <span class="string">"2.3.5"</span><span class="delimiter">)</span> 61 <span class="keyword">def</span> <a title="[A](rowParser: anorm.RowParser[A])(implicit connection: java.sql.Connection)Seq[A]" id="anorm;SqlQueryResult.list">list</a><span class="delimiter">[</span><a title="" id="anorm;SqlQueryResult.list;A">A</a><span class="delimiter">]</span><span class="delimiter">(</span><a title="anorm.RowParser[A]" id="anorm;SqlQueryResult.list.rowParser">rowParser</a>: <a href="SqlParser.scala.html#anorm;RowParser" title="anorm.RowParser[A]">RowParser</a><span class="delimiter">[</span>A<span class="delimiter">]</span><span class="delimiter">)</span><span class="delimiter">(</span><span class="keyword">implicit</span> <a title="java.sql.Connection" id="anorm;SqlQueryResult.list.connection">connection</a>: <span title="java.sql.Connection">Connection</span><span class="delimiter">)</span>: <span title="Seq[A]">Seq</span><span class="delimiter">[</span>A<span class="delimiter">]</span> = <a href="SqlResult.scala.html#anorm;WithResult.as" title="(parser: anorm.ResultSetParser[List[A]])(implicit connection: java.sql.Connection)List[A]">as</a><a href="#anorm;SqlQueryResult.list.connection" title="java.sql.Connection" class="delimiter">(</a><a href="#anorm;SqlQueryResult.list.rowParser" title="anorm.RowParser[A]">rowParser</a>.<a href="SqlParser.scala.html#anorm;RowParser.*" title="=> anorm.ResultSetParser[List[A]]">*</a><span class="delimiter">)</span> 62 67 <span class="keyword">def</span> <a title="[A](rowParser: anorm.RowParser[A])(implicit connection: java.sql.Connection)A" id="anorm;SqlQueryResult.single">single</a><span class="delimiter">[</span><a title="" id="anorm;SqlQueryResult.single;A">A</a><span class="delimiter">]</span><span class="delimiter">(</span><a title="anorm.RowParser[A]" id="anorm;SqlQueryResult.single.rowParser">rowParser</a>: <a href="SqlParser.scala.html#anorm;RowParser" title="anorm.RowParser[A]">RowParser</a><span class="delimiter">[</span>A<span class="delimiter">]</span><span class="delimiter">)</span><span class="delimiter">(</span><span class="keyword">implicit</span> <a title="java.sql.Connection" id="anorm;SqlQueryResult.single.connection">connection</a>: <span title="java.sql.Connection">Connection</span><span class="delimiter">)</span>: <a href="#anorm;SqlQueryResult.single;A" title="A">A</a> = 68 <a href="SqlResult.scala.html#anorm;WithResult.as" title="(parser: anorm.ResultSetParser[A])(implicit connection: java.sql.Connection)A">as</a><a href="#anorm;SqlQueryResult.single.connection" title="java.sql.Connection" class="delimiter">(</a><a href="SqlParser.scala.html#anorm.ResultSetParser" title="anorm.ResultSetParser.type">ResultSetParser</a>.<a href="SqlParser.scala.html#anorm.ResultSetParser.single" title="(p: anorm.RowParser[A])anorm.ResultSetParser[A]">single</a><span class="delimiter">(</span><a href="#anorm;SqlQueryResult.single.rowParser" title="anorm.RowParser[A]">rowParser</a><span class="delimiter">)</span><span class="delimiter">)</span> 69 73 since = <span class="string">"2.3.5"</span><span class="delimiter">)</span> 74 <span class="keyword">def</span> <a title="[A](rowParser: anorm.RowParser[A])(implicit connection: java.sql.Connection)Option[A]" id="anorm;SqlQueryResult.singleOpt">singleOpt</a><span class="delimiter">[</span><a title="" id="anorm;SqlQueryResult.singleOpt;A">A</a><span class="delimiter">]</span><span class="delimiter">(</span><a title="anorm.RowParser[A]" id="anorm;SqlQueryResult.singleOpt.rowParser">rowParser</a>: <a href="SqlParser.scala.html#anorm;RowParser" title="anorm.RowParser[A]">RowParser</a><span class="delimiter">[</span>A<span class="delimiter">]</span><span class="delimiter">)</span><span class="delimiter">(</span><span class="keyword">implicit</span> <a title="java.sql.Connection" id="anorm;SqlQueryResult.singleOpt.connection">connection</a>: <span title="java.sql.Connection">Connection</span><span class="delimiter">)</span>: <span title="Option[A]">Option</span><span class="delimiter">[</span>A<span class="delimiter">]</span> = <a href="SqlResult.scala.html#anorm;WithResult.as" title="(parser: anorm.ResultSetParser[Option[A]])(implicit connection: java.sql.Connection)Option[A]">as</a><a href="#anorm;SqlQueryResult.singleOpt.connection" title="java.sql.Connection" class="delimiter">(</a><a href="SqlParser.scala.html#anorm.ResultSetParser" title="anorm.ResultSetParser.type">ResultSetParser</a>.<a href="SqlParser.scala.html#anorm.ResultSetParser.singleOpt" title="(p: anorm.RowParser[A])anorm.ResultSetParser[Option[A]]">singleOpt</a><span class="delimiter">(</span><a href="#anorm;SqlQueryResult.singleOpt.rowParser" title="anorm.RowParser[A]">rowParser</a><span class="delimiter">)</span><span class="delimiter">)</span> 75project_search_results_spec.rb https://gitlab.com/dandunckelman/gitlab-ce | Ruby | 371 lines
2 3describe Gitlab::ProjectSearchResults do 4 let(:user) { create(:user) } 73 it "returns a valid FoundBlob" do 74 is_expected.to be_an Gitlab::SearchResults::FoundBlob 75 expect(subject.id).to be_nilpeople_provider_browsertest.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 292 lines
181 people_provider_->SetupForTest( 182 base::Bind(&PeopleProviderTest::OnSearchResultsFetched, 183 base::Unretained(this)), 230 231 void OnSearchResultsFetched() { 232 if (run_loop_)Hooks.php https://github.com/brion/mediawiki-svn.git | PHP | 485 lines
220 221 static function customiseSearchResultTitle( &$title, &$text, $result, $terms, $page ) { 222 if ( $title->getNamespace() != NS_LQT_THREAD ) {COMPropertyBag.h https://github.com/weissms/owb-mirror.git | C Header | 220 lines
54 // IPropertyBag2 55 virtual HRESULT STDMETHODCALLTYPE Read(ULONG cProperties, PROPBAG2*, IErrorLog*, VARIANT* pvarValue, HRESULT* phrError); 56 virtual HRESULT STDMETHODCALLTYPE Write(ULONG cProperties, PROPBAG2*, VARIANT*); 56 virtual HRESULT STDMETHODCALLTYPE Write(ULONG cProperties, PROPBAG2*, VARIANT*); 57 virtual HRESULT STDMETHODCALLTYPE CountProperties(ULONG* pcProperties); 58 virtual HRESULT STDMETHODCALLTYPE GetPropertyInfo(ULONG iProperty, ULONG cProperties, PROPBAG2* pPropBag, ULONG* pcProperties); 98template<typename ValueType, typename HashType> 99HRESULT STDMETHODCALLTYPE COMPropertyBag<ValueType, HashType>::QueryInterface(REFIID riid, void** ppvObject) 100{ 133template<typename ValueType, typename HashType> 134HRESULT STDMETHODCALLTYPE COMPropertyBag<ValueType, HashType>::Read(LPCOLESTR pszPropName, VARIANT* pVar, IErrorLog* pErrorLog) 135{ 160template<typename ValueType, typename HashType> 161HRESULT STDMETHODCALLTYPE COMPropertyBag<ValueType, HashType>::Read(ULONG cProperties, PROPBAG2*, IErrorLog*, VARIANT* pvarValue, HRESULT* phrError) 162{browse.cpp https://gitlab.com/fheinemann/opc_ads | C++ | 507 lines
58{ 59 HRESULT hr = S_OK; 60 LO_CHECK_STATEz0("QueryOrganisation"); 73{ 74 HRESULT hr = E_NOTIMPL; 75 108 109HRESULT LightOPCServer::set_browsepos(const loWchar *pos, int len) 110{ 155{ 156 HRESULT hr = S_OK; 157 228{ 229 HRESULT hr = S_OK; 230 LO_CHECK_STATEz1("GetItemID", szItemID);overview-tree.html https://github.com/mdr/scalify.git | HTML | 176 lines
98<LI TYPE="circle">class org.apache.oro.text.regex.<A HREF="org/apache/oro/text/regex/Perl5Pattern.html" title="class in org.apache.oro.text.regex"><B>Perl5Pattern</B></A> (implements java.lang.Cloneable, org.apache.oro.text.regex.<A HREF="org/apache/oro/text/regex/Pattern.html" title="interface in org.apache.oro.text.regex">Pattern</A>, java.io.Serializable) 99<LI TYPE="circle">class org.apache.oro.text.perl.<A HREF="org/apache/oro/text/perl/Perl5Util.html" title="class in org.apache.oro.text.perl"><B>Perl5Util</B></A> (implements org.apache.oro.text.regex.<A HREF="org/apache/oro/text/regex/MatchResult.html" title="interface in org.apache.oro.text.regex">MatchResult</A>) 100<LI TYPE="circle">class org.apache.oro.io.<A HREF="org/apache/oro/io/RegexFilenameFilter.html" title="class in org.apache.oro.io"><B>RegexFilenameFilter</B></A> (implements java.io.FileFilter, java.io.FilenameFilter) 120<UL> 121<LI TYPE="circle">interface org.apache.oro.util.<A HREF="org/apache/oro/util/Cache.html" title="interface in org.apache.oro.util"><B>Cache</B></A><LI TYPE="circle">interface org.apache.oro.text.<A HREF="org/apache/oro/text/MatchAction.html" title="interface in org.apache.oro.text"><B>MatchAction</B></A><LI TYPE="circle">interface org.apache.oro.text.regex.<A HREF="org/apache/oro/text/regex/MatchResult.html" title="interface in org.apache.oro.text.regex"><B>MatchResult</B></A><LI TYPE="circle">interface org.apache.oro.text.regex.<A HREF="org/apache/oro/text/regex/Pattern.html" title="interface in org.apache.oro.text.regex"><B>Pattern</B></A><LI TYPE="circle">interface org.apache.oro.text.<A HREF="org/apache/oro/text/PatternCache.html" title="interface in org.apache.oro.text"><B>PatternCache</B></A><LI TYPE="circle">interface org.apache.oro.text.regex.<A HREF="org/apache/oro/text/regex/PatternCompiler.html" title="interface in org.apache.oro.text.regex"><B>PatternCompiler</B></A><LI TYPE="circle">interface org.apache.oro.text.regex.<A HREF="org/apache/oro/text/regex/PatternMatcher.html" title="interface in org.apache.oro.text.regex"><B>PatternMatcher</B></A><LI TYPE="circle">interface org.apache.oro.text.regex.<A HREF="org/apache/oro/text/regex/Substitution.html" title="interface in org.apache.oro.text.regex"><B>Substitution</B></A></UL> 122<HR>usrmarshal.c https://github.com/mirrors/wine.git | C | 380 lines
26 27HRESULT CALLBACK IWinInetHttpInfo_QueryInfo_Proxy(IWinInetHttpInfo* This, 28 DWORD dwOption, LPVOID pBuffer, DWORD *pcbBuf, DWORD *pdwFlags, 34 35HRESULT __RPC_STUB IWinInetHttpInfo_QueryInfo_Stub(IWinInetHttpInfo* This, 36 DWORD dwOption, BYTE *pBuffer, DWORD *pcbBuf, DWORD *pdwFlags, 42 43HRESULT CALLBACK IWinInetInfo_QueryOption_Proxy(IWinInetInfo* This, 44 DWORD dwOption, LPVOID pBuffer, DWORD *pcbBuf) 49 50HRESULT __RPC_STUB IWinInetInfo_QueryOption_Stub(IWinInetInfo* This, 51 DWORD dwOption, BYTE *pBuffer, DWORD *pcbBuf) 56 57HRESULT CALLBACK IBindHost_MonikerBindToStorage_Proxy(IBindHost* This, 58 IMoniker *moniker, IBindCtx *bc, IBindStatusCallback *bsc,DriverUtils.swift https://gitlab.com/dwiktor/swift | Swift | 375 lines
41 42extension BenchResults : CustomStringConvertible { 43 var description: String { 254/// Invoke the benchmark entry point and return the run time in milliseconds. 255func runBench(_ name: String, _ fn: (Int) -> Void, _ c: TestConfig) -> BenchResults { 256 295 // Return our benchmark results. 296 return BenchResults(delim: c.delim, sampleCount: UInt64(samples.count), 297 min: samples.min()!, max: samples.max()!, 325 print("#\(c.delim)TEST\(c.delim)SAMPLES\(c.delim)MIN(\(units))\(c.delim)MAX(\(units))\(c.delim)MEAN(\(units))\(c.delim)SD(\(units))\(c.delim)MEDIAN(\(units))") 326 var SumBenchResults = BenchResults() 327 SumBenchResults.sampleCount = 0 339 340 SumBenchResults.min += results.min 341 SumBenchResults.max += results.maxwin32devicemanager.cc https://gitlab.com/f3822/qtwebengine-chromium | C++ | 404 lines
103 if (!initialized()) { 104 HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); 105 need_couninitialize_ = SUCCEEDED(hr); 172bool GetDevices(const CLSID& catid, std::vector<Device>* devices) { 173 HRESULT hr; 174 218 219HRESULT GetStringProp(IPropertyStore* bag, PROPERTYKEY key, std::string* out) { 220 out->clear(); 223 224 HRESULT hr = bag->GetValue(key, &var); 225 if (SUCCEEDED(hr)) { 236// Adapted from http://msdn.microsoft.com/en-us/library/dd370812(v=VS.85).aspx 237HRESULT CricketDeviceFromImmDevice(IMMDevice* device, Device* out) { 238 CComPtr<IPropertyStore> props;port.c https://github.com/wesgarner/wine.git | C | 546 lines
67 68static HRESULT WINAPI fw_port_QueryInterface( 69 INetFwOpenPort *iface, 91 92static HRESULT WINAPI fw_port_GetTypeInfoCount( 93 INetFwOpenPort *iface, 101 102static HRESULT WINAPI fw_port_GetTypeInfo( 103 INetFwOpenPort *iface, 113 114static HRESULT WINAPI fw_port_GetIDsOfNames( 115 INetFwOpenPort *iface, 127 128static HRESULT WINAPI fw_port_Invoke( 129 INetFwOpenPort *iface,volumetexture.c https://github.com/wesgarner/wine.git | C | 376 lines
26/* IDirect3DVolumeTexture8 IUnknown parts follow: */ 27static HRESULT WINAPI IDirect3DVolumeTexture8Impl_QueryInterface(LPDIRECT3DVOLUMETEXTURE8 iface, REFIID riid, LPVOID *ppobj) { 28 IDirect3DVolumeTexture8Impl *This = (IDirect3DVolumeTexture8Impl *)iface; 82/* IDirect3DVolumeTexture8 IDirect3DResource8 Interface follow: */ 83static HRESULT WINAPI IDirect3DVolumeTexture8Impl_GetDevice(IDirect3DVolumeTexture8 *iface, IDirect3DDevice8 **device) 84{ 96 97static HRESULT WINAPI IDirect3DVolumeTexture8Impl_SetPrivateData(LPDIRECT3DVOLUMETEXTURE8 iface, REFGUID refguid, CONST void* pData, DWORD SizeOfData, DWORD Flags) { 98 IDirect3DVolumeTexture8Impl *This = (IDirect3DVolumeTexture8Impl *)iface; 98 IDirect3DVolumeTexture8Impl *This = (IDirect3DVolumeTexture8Impl *)iface; 99 HRESULT hr; 100 110 111static HRESULT WINAPI IDirect3DVolumeTexture8Impl_GetPrivateData(LPDIRECT3DVOLUMETEXTURE8 iface, REFGUID refguid, void *pData, DWORD *pSizeOfData) { 112 IDirect3DVolumeTexture8Impl *This = (IDirect3DVolumeTexture8Impl *)iface;rpcproxy.h https://github.com/wesgarner/wine.git | C Header | 373 lines
133 134HRESULT WINAPI 135 CStdStubBuffer_QueryInterface( IRpcStubBuffer *This, REFIID riid, void **ppvObject ); 141 NdrCStdStubBuffer_Release( IRpcStubBuffer *This, IPSFactoryBuffer *pPSF ); 142HRESULT WINAPI 143 CStdStubBuffer_Connect( IRpcStubBuffer *This, IUnknown *pUnkServer ); 145 CStdStubBuffer_Disconnect( IRpcStubBuffer *This ); 146HRESULT WINAPI 147 CStdStubBuffer_Invoke( IRpcStubBuffer *This, RPCOLEMESSAGE *pRpcMsg, IRpcChannelBuffer *pRpcChannelBuffer ); 151 CStdStubBuffer_CountRefs( IRpcStubBuffer *This ); 152HRESULT WINAPI 153 CStdStubBuffer_DebugServerQueryInterface( IRpcStubBuffer *This, void **ppv ); 177 NdrProxyFreeBuffer( void *This, PMIDL_STUB_MESSAGE pStubMsg ); 178RPCRTAPI HRESULT RPC_ENTRY 179 NdrProxyErrorHandler( DWORD dwExceptionCode );DirectDraw4_Vtable.c https://gitlab.com/dj-tech/reactos | C | 205 lines
17 18HRESULT WINAPI 19Main_DirectDraw_QueryInterface ( 29 30HRESULT WINAPI 31Main_DirectDraw_Compact(LPDIRECTDRAW4 iface); 32 33HRESULT WINAPI 34Main_DirectDraw_CreateClipper( 39 40HRESULT WINAPI 41Main_DirectDraw_CreatePalette( 47 48HRESULT WINAPI 49Main_DirectDraw_CreateSurface4(itemprop.cpp https://gitlab.com/fheinemann/opc_ads | C++ | 326 lines
94 /* [size_is][size_is][out] */ VARIANT **ppvData, 95 /* [size_is][size_is][out] */ HRESULT **ppErrors) 96{ 96{ 97 HRESULT hr = S_OK; 98 HRESULT *errs = 0; 106 107 if (!(errs = (HRESULT*)loComAlloc(sizeof(HRESULT) * dwCount)) || 108 !(vdata = (VARIANT*)loComAlloc(sizeof(VARIANT) * dwCount))) 110 loVariant_init(vdata, dwCount); 111// memset(errs, 0, sizeof(HRESULT) * dwCount); 112 memset(&tgp, 0, sizeof(tgp)); 229 230 if (!(errs = (HRESULT*)loComAlloc(sizeof(HRESULT) * dwCount)) || 231 !(itemids = (LPWSTR*)loComAlloc(sizeof(LPWSTR) * dwCount)))run_internal_tests.py https://gitlab.com/OBSERVER-DLL/deqp | Python | 248 lines
79def runInternalTests (config): 80 batchResultFile = config.name + ".qpa" 81 infoLogFile = config.name + ".txt" 87 # Remove old files 88 for file in [batchResultFile, junitFile]: 89 if os.path.exists(file): 106 '--testset=dE-IT.*', 107 '--out=%s' % batchResultFile, 108 '--info=%s' % infoLogFile 112 # Convert log to junit format 113 execute([junitToolPath, batchResultFile, junitFile]) 114