text
large_stringlengths
384
2.05k
rank_avg
float64
1
4.19k
rank_max
float64
1
8.21k
rank_min
float64
1
5.03k
rank_median
float64
1
4.21k
rank_by_avgsim
float64
1
4.19k
avgsim_to_github
float32
0.77
0.85
dataset
large_stringclasses
1 value
ef="https://opencollective.com/offline-plugin/backer/9/website" target="_blank"><img src="https://opencollective.com/offline-plugin/backer/9/avatar.svg"></a> <a href="https://opencollective.com/offline-plugin/backer/10/website" target="_blank"><img src="https://opencollective.com/offline-plugin/backer/10/avatar.svg"></...
null
null
null
null
null
null
github_plus_top10pct_by_avg
t="_blank"><img src="https://opencollective.com/offline-plugin/backer/21/avatar.svg"></a> <a href="https://opencollective.com/offline-plugin/backer/22/website" target="_blank"><img src="https://opencollective.com/offline-plugin/backer/22/avatar.svg"></a> <a href="https://opencollective.com/offline-plugin/backer/23/webs...
null
null
null
null
null
null
github_plus_top10pct_by_avg
{ if ((self = [self init])) { _connection = connection; } return self; } -(NSString *) ask { return [_connection.meta metaStringForKey:bAskKey]; } -(void) setAsk: (NSString *) ask { [_connection setMetaValue:ask forKey:bAskKey]; } @end // // Copyright (c) 2020 by SAP SE or an SAP affili...
null
null
null
null
null
null
github_plus_top10pct_by_avg
kubeconfig = await testClient.getKubeconfig({ namespace, name }) expect(getSecretStub).to.be.calledOnceWith(namespace, name) expect(kubeconfig).to.equal('foo') }) it('should not find a kubeconfig in the secret', async function () { getSecretStub.returns({ data: {} }) try ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS"...
null
null
null
null
null
null
github_plus_top10pct_by_avg
lCredentials(options); } struct HostConfig { util::Path certificate_path; std::string target_name; bool use_insecure_channel = false; }; using ConfigByHost = std::unordered_map<std::string, HostConfig>; ConfigByHost& Config() { static ConfigByHost config_by_host_; return config_by_host_; } bool HasSpecial...
null
null
null
null
null
null
github_plus_top10pct_by_avg
or // C++ SDK, etc.). context->AddMetadata( kXGoogAPIClientHeader, StringFormat("gl-objc/ fire/%s grpc/", kFirestoreVersionString)); // This header is used to improve routing and project isolation by the // backend. const DatabaseId& db_id = database_info_->database_id(); context->AddMetadata(k...
null
null
null
null
null
null
github_plus_top10pct_by_avg
( absl::string_view rpc_name, const Token& token, GrpcStreamObserver* observer) { EnsureActiveStub(); auto context = CreateContext(token); auto call = grpc_stub_->PrepareCall(context.get(), MakeString(rpc_name), grpc_queue_); return absl::make_unique<GrpcStream>(std::move(context), std::move(...
null
null
null
null
null
null
github_plus_top10pct_by_avg
client does the same thing: // https://github.com/grpc/grpc/blob/fe11db09575f2dfbe1f88cd44bd417acc168e354/src/objective-c/GRPCClient/private/GRPCHost.m#L309-L314 grpc_channel_.reset(); }); } void GrpcConnection::Register(GrpcCall* call) { active_calls_.push_back(call); } void GrpcConnection::...
null
null
null
null
null
null
github_plus_top10pct_by_avg
</AssemblyVersion> </AssemblyInfo> <Base> <BaseTypeName>System.Object</BaseTypeName> </Base> <Interfaces /> <Docs> <summary>Represents the producer side of a <see cref="T:System.Threading.Tasks.Task" /> unbound to a delegate, providing access to the consumer side through the <see cref="T:System.Thread...
null
null
null
null
null
null
github_plus_top10pct_by_avg
<AssemblyName>System.Runtime</AssemblyName> <AssemblyVersion>5.0.0.0</AssemblyVersion> </AssemblyInfo> <Parameters /> <Docs> <summary>Creates a <see cref="T:System.Threading.Tasks.TaskCompletionSource" />.</summary> <remarks>To be added.</remarks> </Docs> </Member> ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
uetype System.Threading.Tasks.TaskCreationOptions creationOptions) cil managed" /> <MemberSignature Language="DocId" Value="M:System.Threading.Tasks.TaskCompletionSource.#ctor(System.Threading.Tasks.TaskCreationOptions)" /> <MemberSignature Language="VB.NET" Value="Public Sub New (creationOptions As TaskCre...
null
null
null
null
null
null
github_plus_top10pct_by_avg
Source (object state, System.Threading.Tasks.TaskCreationOptions creationOptions);" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(object state, valuetype System.Threading.Tasks.TaskCreationOptions creationOptions) cil managed" /> <MemberSi...
null
null
null
null
null
null
github_plus_top10pct_by_avg
with a <see cref="T:System.Threading.Tasks.TaskCompletionSource" />. </exception> </Docs> </Member> <Member MemberName="SetCanceled"> <MemberSignature Language="C#" Value="public void SetCanceled ();" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetCancel...
null
null
null
null
null
null
github_plus_top10pct_by_avg
alue="M:System.Threading.Tasks.TaskCompletionSource.SetCanceled(System.Threading.CancellationToken)" /> <MemberSignature Language="VB.NET" Value="Public Sub SetCanceled (cancellationToken As CancellationToken)" /> <MemberSignature Language="C++ CLI" Value="public:&#xA; void SetCanceled(System::Threading::Ca...
null
null
null
null
null
null
github_plus_top10pct_by_avg
umerable`1&lt;class System.Exception&gt; exceptions) cil managed" /> <MemberSignature Language="DocId" Value="M:System.Threading.Tasks.TaskCompletionSource.SetException(System.Collections.Generic.IEnumerable{System.Exception})" /> <MemberSignature Language="VB.NET" Value="Public Sub SetException (exceptions...
null
null
null
null
null
null
github_plus_top10pct_by_avg
cref="F:System.Threading.Tasks.TaskStatus.Canceled" />.</exception> </Docs> </Member> <Member MemberName="SetException"> <MemberSignature Language="C#" Value="public void SetException (Exception exception);" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Se...
null
null
null
null
null
null
github_plus_top10pct_by_avg
sks.TaskStatus.Canceled" />.</exception> </Docs> </Member> <Member MemberName="SetResult"> <MemberSignature Language="C#" Value="public void SetResult ();" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void SetResult() cil managed" /> <MemberSignature Lang...
null
null
null
null
null
null
github_plus_top10pct_by_avg
MemberSignature Language="C++ CLI" Value="public:&#xA; property System::Threading::Tasks::Task ^ Task { System::Threading::Tasks::Task ^ get(); };" /> <MemberSignature Language="F#" Value="member this.Task : System.Threading.Tasks.Task" Usage="System.Threading.Tasks.TaskCompletionSource.Task" /> <MemberType...
null
null
null
null
null
null
github_plus_top10pct_by_avg
public:&#xA; bool TrySetCanceled();" /> <MemberSignature Language="F#" Value="member this.TrySetCanceled : unit -&gt; bool" Usage="taskCompletionSource.TrySetCanceled " /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyName>System.Runtime</AssemblyName> <AssemblyVersion>5.0.0....
null
null
null
null
null
null
github_plus_top10pct_by_avg
e="F#" Value="member this.TrySetCanceled : System.Threading.CancellationToken -&gt; bool" Usage="taskCompletionSource.TrySetCanceled cancellationToken" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyName>System.Runtime</AssemblyName> <AssemblyVersion>5.0.0.0</AssemblyVersion> ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ature Language="VB.NET" Value="Public Function TrySetException (exceptions As IEnumerable(Of Exception)) As Boolean" /> <MemberSignature Language="C++ CLI" Value="public:&#xA; bool TrySetException(System::Collections::Generic::IEnumerable&lt;Exception ^&gt; ^ exceptions);" /> <MemberSignature Language="F#" ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ption cref="T:System.ArgumentException">The <paramref name="exceptions" /> collection is empty.</exception> </Docs> </Member> <Member MemberName="TrySetException"> <MemberSignature Language="C#" Value="public bool TrySetException (Exception exception);" /> <MemberSignature Language="ILAsm" Val...
null
null
null
null
null
null
github_plus_top10pct_by_avg
g.Tasks.TaskStatus.Faulted>, or <xref:System.Threading.Tasks.TaskStatus.Canceled>. ]]></format> </remarks> <exception cref="T:System.ArgumentNullException"> <paramref name="exception" /> is <see langword="null" />.</exception> </Docs> </Member> <Member MemberName="TryS...
null
null
null
null
null
null
github_plus_top10pct_by_avg
Logging { public static enableDebug = false; public static disableWarnings = false; public static disableErrors = false; private static TAG = "ApplicationInsights:"; public static info(message?: any, ...optionalParams: any[]) { if(Logging.enableDebug) { console.info(Logging.TAG...
null
null
null
null
null
null
github_plus_top10pct_by_avg
xin.huangfangyi.main.fragment; import android.app.ProgressDialog; import android.content.Intent; import android.view.ContextMenu; import android.view.ContextMenu.ContextMenuInfo; import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import...
null
null
null
null
null
null
github_plus_top10pct_by_avg
.id.re_newfriends).setOnClickListener(this); headerView.findViewById(R.id.re_chatroom).setOnClickListener(this); headerView.findViewById(R.id.re_tag).setOnClickListener(this); headerView.findViewById(R.id.re_public).setOnClickListener(this); tvUnread = (TextView) headerView.findViewById(...
null
null
null
null
null
null
github_plus_top10pct_by_avg
ser) listView.getItemAtPosition(position)); if (user != null && user.getUserInfo() != null) { startActivity(new Intent(getActivity(), UserDetailsActivity.class).putExtra(FXConstant.KEY_USER_INFO, user.getUserInfo())); } } catch (NullPoint...
null
null
null
null
null
null
github_plus_top10pct_by_avg
if (item.getItemId() == R.id.delete_contact) { //TODO 此接口需要调用后端接口 // Toast.makeText(getContext(),"此接口改调凡信后端接口,待更新...",Toast.LENGTH_LONG).show(); deleteContact(toBeProcessUser); return true; } // else if (item.getItemId() == R.id.add_to_blacklist) ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
.getUsername()); contactList.remove(tobeDeleteUser); contactListLayout.refresh(); sendCmdDeleteMsg(toBeProcessUser.getUsername()); Toast.makeText(getContext(), "删除成功", Toast.LENGTH_SHORT).show(); } else { ...
null
null
null
null
null
null
github_plus_top10pct_by_avg
//支持单聊和群聊,默认单聊, cmdMsg.setChatType(EMMessage.ChatType.Chat); //action可以自定义 EMCmdMessageBody cmdBody = new EMCmdMessageBody(FXConstant.CMD_DELETE_FRIEND); cmdMsg.setReceipt(hxid); cmdMsg.addBody(cmdBody); EMClient.getInstance().chatManager().sendMessage(cmdMsg); } }...
null
null
null
null
null
null
github_plus_top10pct_by_avg