content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
package com.example.chapter11.service; import android.app.Notification; import android.app.PendingIntent; import android.app.Service; import android.content.Context; import android.content.Intent; import android.graphics.BitmapFactory; import android.os.Binder; import android.os.Build; import android.os.Handler; impor...
__label__POS
0.747547
package com.example.chapter11.service; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; import com.example.chapter11.ServiceNormalActivity; public class NormalService extends Service { private static final String TAG = "NormalService"; private vo...
__label__POS
0.831951
package cm.aptoide.pt.preferences.toolbox; import android.content.SharedPreferences; /** * Created by neuro on 06-06-2017. */ public class ToolboxManager { public static boolean isDebug(SharedPreferences sharedPreferences) { return sharedPreferences.getBoolean(ToolboxKeys.DEBUG, false); } public static...
__label__POS
0.998697
package com.example.chapter11.service; import android.app.Service; import android.content.Intent; import android.os.Binder; import android.os.IBinder; import android.util.Log; import com.example.chapter11.BindDelayActivity; public class BindDelayService extends Service { private static final String TAG = "BindDe...
__label__POS
0.928002
package com.example.chapter11.task; import android.os.AsyncTask; // 模拟异步处理的线程 public class BookLoadTask extends AsyncTask<String, Integer, String> { private String mBook; // 书籍名称 public BookLoadTask(String title) { super(); mBook = title; } // 线程正在后台处理 protected String doInBackgr...
__label__POS
0.728186
"use strict"; function Vector2(x, y) { this.x = typeof x !== 'undefined' ? x : 0; this.y = typeof y !== 'undefined' ? y : 0; } Object.defineProperty(Vector2, "zero", { get: function () { return new Vector2(); } }); Object.defineProperty(Vector2.prototype, "isZero", { ...
__label__POS
0.896437
package cm.aptoide.pt.dataprovider.aab; import org.junit.Test; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class AppBundlesVisibilityManagerTest { @Test public void shouldEnableAppBundles_MIUI_CompatibleAppsOnly() { AppBundlesVisibilityManager appBundlesVisibi...
__label__POS
0.996221
// // AddListInteractor.swift // VIP_MyToDos // import Foundation protocol AddListInteractorOutput: AnyObject { func navigateBack() } typealias AddListInteractorInput = AddListViewControllerOutput final class AddListInteractor { var presenter: AddListPresenterInput? private let tasksListService: ...
__label__POS
0.656775
"use strict"; function PainterGameWorld() { this.cannon = new Cannon(); this.ball = new Ball(); this.can1 = new PaintCan(450, Color.red); this.can2 = new PaintCan(575, Color.green); this.can3 = new PaintCan(700, Color.blue); this.score = 0; this.lives = 5; } PainterGameWorld.prototype.ha...
__label__POS
0.739547
package com.example.complex import com.example.complex.adapter.RecyclerLinearAdapter import com.example.complex.bean.RecyclerInfo import com.example.complex.widget.SpacesItemDecoration import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.support.v7.widget.DefaultItemAnimator import ...
__label__POS
0.797732
// // HomePresenter.swift // VIP_MyToDos // import UIKit typealias HomePresenterInput = HomeInteractorOutput typealias HomePresenterOutput = HomeViewControllerInput final class HomePresenter { weak var viewController: HomePresenterOutput? } extension HomePresenter: HomePresenterInput { func presentTa...
__label__POS
0.609215
package com.example.complex import android.graphics.Color import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.support.v7.widget.LinearLayoutManager import com.example.complex.adapter.RecyclerCollapseAdapter import kotlinx.android.synthetic.main.activity_image_fade.* /** * Create...
__label__POS
0.873904
package com.example.complex import android.graphics.Color import android.os.Bundle import android.support.v7.app.AppCompatActivity import kotlinx.android.synthetic.main.activity_toolbar.* /** * Created by ouyangshen on 2017/9/3. */ class ToolbarActivity : AppCompatActivity() { override fun onCreate(savedInsta...
__label__POS
0.986282
"use strict"; function handleTouchStart(evt) { evt.preventDefault(); var touches = evt.changedTouches; for (var i = 0; i < touches.length; i++) { Touch._touches.push(touches[i]); Touch._touchPresses.push(true); } } function handleTouchMove(evt) { evt.preventDefault(); var touch...
__label__POS
0.847535
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <script type="text/javascript" src="//use.typekit.net/jbn8qxr.js"></script> <scri...
__label__POS
0.977552
package com.example.complex import com.example.complex.bean.RecyclerInfo import com.example.complex.widget.SpacesItemDecoration import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.support.v7.widget.DefaultItemAnimator import android.support.v7.widget.GridLayoutManager import com.ex...
__label__POS
0.802834
"use strict"; function Vector2(x, y) { this.x = typeof x !== 'undefined' ? x : 0; this.y = typeof y !== 'undefined' ? y : 0; } Object.defineProperty(Vector2, "zero", { get: function () { return new Vector2(); } }); Object.defineProperty(Vector2.prototype, "isZero", { ...
__label__POS
0.896437
package cm.aptoide.pt.dataprovider.cache; /** * Created on 28/10/2016. */ abstract class StringBaseCache<K, V> extends BaseCache<K, V, String> { StringBaseCache(KeyAlgorithm<K, String> keyAlgorithm) { super(keyAlgorithm); } @Override public void put(K key, V value) { if (keyAlgorithm == null) { ...
__label__POS
0.945493
"use strict"; function handleTouchStart(evt) { evt.preventDefault(); var touches = evt.changedTouches; for (var i = 0; i < touches.length; i++) { Touch._touches.push(touches[i]); Touch._touchPresses.push(true); } } function handleTouchMove(evt) { evt.preventDefault(); var touch...
__label__POS
0.798199
package com.example.chapter05; import android.content.Intent; import android.os.Bundle; import android.view.View; import androidx.appcompat.app.AppCompatActivity; public class MainActivity extends AppCompatActivity implements View.OnClickListener { @Override protected void onCreate(Bundle savedInstanceState...
__label__POS
0.795049
"use strict"; function Vector2(x, y) { this.x = typeof x !== 'undefined' ? x : 0; this.y = typeof y !== 'undefined' ? y : 0; } Object.defineProperty(Vector2, "zero", { get: function () { return new Vector2(); } }); Object.defineProperty(Vector2.prototype, "isZero", { ...
__label__POS
0.896437
package com.example.chapter05; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.text.TextUtils; import android.view.View; import android.widget.EditText; import android.widget.Toast; public class EditFocusActivity extends AppCompatActivity implements View.OnClickListener, Vie...
__label__POS
0.708307
package com.example.complex import android.graphics.Color import android.os.Bundle import android.support.v4.view.ViewPager.OnPageChangeListener import android.support.v7.app.AppCompatActivity import android.util.TypedValue import com.example.complex.adapter.ImagePagerAdapater import com.example.complex.bean.GoodsInf...
__label__POS
0.693668
package cm.aptoide.pt.dataprovider.cache; import cm.aptoide.pt.crashreports.CrashReport; import cm.aptoide.pt.utils.AptoideUtils; import java.io.IOException; import okhttp3.Headers; import okhttp3.HttpUrl; import okhttp3.Request; import okio.Buffer; /** * Created on 2/11/2016. */ public class POSTCacheKeyAlgorithm...
__label__POS
0.835264
package com.example.chapter05; import android.os.Bundle; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.CompoundButton.OnCheckedChangeListener; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; public class SwitchIOSActivity extends AppCompa...
__label__POS
0.809467
package com.example.chapter05; import android.annotation.SuppressLint; import android.app.TimePickerDialog; import android.os.Bundle; import android.view.View; import android.widget.TextView; import android.widget.TimePicker; import androidx.appcompat.app.AppCompatActivity; import java.util.Calendar; @SuppressLint(...
__label__POS
0.722141
package org.python.pydev.navigator.properties; /******************************************************************************* * Copyright (c) 2000, 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License...
__label__POS
0.932088
package com.example.chapter05; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.view.View; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; public class AlertDialogActivity extends AppCompatActivity implements View.OnClic...
__label__POS
0.813519
package com.example.complex.bean import com.example.complex.R data class GoodsInfo(var rowid: Long=0, var xuhao: Int=0, var name: String="", var desc: String="", var price: Int=0, var thumb_path: String="", var pic_path: String="", var thumb: Int=0, var pic: Int=0) { companion object { ...
__label__POS
0.883446
package com.example.chapter05; import android.annotation.SuppressLint; import android.os.Bundle; import android.widget.CheckBox; import android.widget.CompoundButton; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; @SuppressLint("DefaultLocale") // 该页面实现了接口OnCheckedChangeListener,意味着要重写...
__label__POS
0.927556
package com.example.chapter05; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.widget.EditText; import androidx.appcompat.app.AppCompatActivity; import com.example.chapter05.util.ViewUtil; public class EditHideActivity extends AppCompatActivity { @Overrid...
__label__POS
0.970456
package com.example.complex.bean import com.example.complex.R data class RecyclerInfo(var pic_id: Int=0, var title: String="", var desc: String="", var pressed: Boolean=false) { var id: Int = 0 init { this.id = RecyclerInfo.seq RecyclerInfo.seq++ } companion object { private ...
__label__POS
0.970565
package com.example.chapter05; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.Toast; import androidx.appcompat.app.AppCompatAct...
__label__POS
0.687664
package com.example.complex.bean import com.example.complex.R data class Planet(var image: Int, var name: String, var desc: String) { companion object { private val iconArray = intArrayOf(R.drawable.shuixing, R.drawable.jinxing, R.drawable.diqiu, R.drawable.huoxing, R.drawable.muxing, R.drawable.tuxing) ...
__label__POS
0.9947
"use strict"; function handleTouchStart(evt) { evt.preventDefault(); var touches = evt.changedTouches; for (var i = 0; i < touches.length; i++) { Touch._touches.push(touches[i]); Touch._touchPresses.push(true); } } function handleTouchMove(evt) { evt.preventDefault(); var touch...
__label__POS
0.798199
package com.example.chapter05; import android.os.Bundle; import android.widget.CompoundButton; import android.widget.CompoundButton.OnCheckedChangeListener; import android.widget.Switch; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; public class SwitchDefaultActivity extends AppCom...
__label__POS
0.855235
package com.example.complex.util import android.annotation.SuppressLint import java.text.SimpleDateFormat import java.util.Date /** * Created by ouyangshen on 2017/9/24. */ @SuppressLint("SimpleDateFormat") object DateUtil { val nowDateTime: String get() { val sdf = SimpleDateFormat("yyyy-M...
__label__POS
0.99896
package com.example.chapter05; import android.os.Bundle; import android.widget.RadioGroup; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; // 该页面实现了接口OnCheckedChangeListener,意味着要重写选中监听器的onCheckedChanged方法 public class RadioVerticalActivity extends AppCompatActivity implements...
__label__POS
0.976691
package com.example.chapter05; import android.os.Bundle; import android.widget.RadioGroup; import android.widget.TextView; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; // 该页面实现了接口OnCheckedChangeListener,意味着要重写选中监听器的onCheckedChanged方法 public class RadioHorizontalActivity extends AppC...
__label__POS
0.960237
package com.example.complex.adapter import com.example.complex.R import com.example.complex.bean.RecyclerInfo import android.content.Context import android.support.v7.widget.RecyclerView import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.LinearLayout import an...
__label__POS
0.607935
// // TaskServiceTest.swift // MVC-MyToDosTests // // Created by Raúl Ferrer on 8/5/22. // import XCTest import CoreData @testable import MVC_MyToDos class TaskServiceTest: XCTestCase { var sut: TaskServiceProtocol! var taskListService: TasksListServiceProtocol! var list: TasksListModel! var ...
__label__POS
0.61717
// // TaskServiceTest.swift // MVC-MyToDosTests // // Created by Raúl Ferrer on 8/5/22. // import XCTest import CoreData @testable import MVC_MyToDos class TasksListServiceTest: XCTestCase { var sut: TasksListServiceProtocol! var list: TasksListModel! override func setUpWithError() throws { ...
__label__POS
0.91415
// // AddListViewControllerTest.swift // MVC-MyToDosTests // // Created by Raúl Ferrer on 15/5/22. // import XCTest @testable import MVC_MyToDos class AddListViewControllerTest: XCTestCase { var sut: AddListViewController! var navigationController: MockNavigationController! var tasksListService: ...
__label__POS
0.742074
"use strict"; GameObjectList.prototype = Object.create(GameObject.prototype); function GameObjectList(layer, id) { GameObject.call(this, layer, id); this._gameObjects = []; } Object.defineProperty(GameObjectList.prototype, "length", { get: function () { return this._gameObjects.length; } });...
__label__POS
0.936535
package com.example.complex.adapter import android.content.Context import android.support.v7.widget.RecyclerView import android.view.View import android.view.ViewGroup /** * Created by ouyangshen on 2017/9/24. */ //循环视图通用适配器 //将具体业务中会变化的三类要素抽取出来,作为外部传进来的变量。这三类要素包括: //布局文件对应的资源编号、列表项的数据结构、各个控件对象的初始化操作 class Recycler...
__label__POS
0.938037
package com.example.chapter05; import android.os.Bundle; import android.view.View; import androidx.appcompat.app.AppCompatActivity; public class DrawableShapeActivity extends AppCompatActivity implements View.OnClickListener { private View v_content; // 声明一个视图对象 @Override protected void onCreate(Bundle ...
__label__POS
0.98545
package cm.aptoide.pt.dataprovider.ads; import android.content.Context; import android.text.TextUtils; import androidx.annotation.NonNull; import cm.aptoide.pt.dataprovider.model.MinimalAdInterface; import cm.aptoide.pt.dataprovider.model.v2.GetAdsResponse; import com.google.android.gms.common.ConnectionResult; import...
__label__POS
0.93763
package com.example.chapter05; import android.annotation.SuppressLint; import android.app.DatePickerDialog; import android.os.Bundle; import android.view.View; import android.widget.DatePicker; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import java.util.Calendar; @SuppressLint(...
__label__POS
0.889162
"use strict"; function JewelJamGameWorld(layer, id) { GameObjectList.call(this, layer, id); // the title screen var titleScreen = new SpriteGameObject(sprites.title, ID.layer_overlays_2, ID.title); this.add(titleScreen); // add a background sprite var background = new SpriteGameObject(sprites...
__label__POS
0.617963
"use strict"; function Vector2(x, y) { this.x = typeof x !== 'undefined' ? x : 0; this.y = typeof y !== 'undefined' ? y : 0; } Object.defineProperty(Vector2, "zero", { get: function () { return new Vector2(); } }); Object.defineProperty(Vector2.prototype, "isZero", { ...
__label__POS
0.896437
package cm.aptoide.pt.dataprovider.ws.v3; import android.content.SharedPreferences; import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator; import cm.aptoide.pt.dataprovider.model.v3.TermsAndConditionsResponse; import cm.aptoide.pt.dataprovider.ws.BodyInterceptor; import okhttp3.OkHttpClient; import retrofit2.C...
__label__POS
0.991001
// // AddTaskViewControllerTest.swift // MVC-MyToDosTests // // Created by Raúl Ferrer on 15/5/22. // import XCTest @testable import MVC_MyToDos class AddTaskViewControllerTest: XCTestCase { var sut: AddTaskViewController! var taskService: MockTaskService! var navigationController: MockNavig...
__label__POS
0.731325
package cm.aptoide.pt.dataprovider.ws.v3; /** * Created by danielchen on 23/10/2017. */ import cm.aptoide.pt.dataprovider.model.v3.BaseV3Response; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; public class GetPushNotificationsResponse extends BaseV3Response { private List<Notifica...
__label__POS
0.810926
/* * Copyright (c) 2016. * Modified by Neurophobic Animal on 26/04/2016. */ package cm.aptoide.pt.dataprovider.ws.v3; import android.content.SharedPreferences; import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator; import cm.aptoide.pt.dataprovider.model.v3.CheckUserCredentialsJson; import cm.aptoide.pt.da...
__label__POS
0.625467
bright_aops = """A document is relevant if it uses the same class of functions and shares **any** overlapping techniques. Score the document below. The answer should be 'Relevance score: X.' where X is a number from 0-10. 0 means completely irrelevant, 10 means highly relevant and completely addresses the query. Don't ...
__label__POS
0.912687
"use strict"; function handleTouchStart(evt) { evt.preventDefault(); var touches = evt.changedTouches; for (var i = 0; i < touches.length; i++) { Touch._touches.push(touches[i]); Touch._touchPresses.push(true); } } function handleTouchMove(evt) { evt.preventDefault(); var touch...
__label__POS
0.798199
// // HomeViewControllerTest.swift // MVC-MyToDosTests // // Created by Raúl Ferrer on 15/5/22. // import XCTest @testable import MVC_MyToDos class HomeViewControllerTest: XCTestCase { var sut: HomeViewController! var navigationController: MockNavigationController! var tasksListService: MockTaskL...
__label__POS
0.749017
package com.example.complex.fragment import com.example.complex.R import android.content.Context import android.os.Bundle import android.support.v4.app.Fragment import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.ImageView import android.widget.TextView cla...
__label__POS
0.88759
package cm.aptoide.pt.dataprovider.ws.v3; import android.content.SharedPreferences; import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator; import cm.aptoide.pt.dataprovider.model.v3.BaseV3Response; import cm.aptoide.pt.dataprovider.ws.BodyInterceptor; import okhttp3.OkHttpClient; import retrofit2.Converter; im...
__label__POS
0.991444
package cm.aptoide.pt.dataprovider.ws.v3; import android.content.SharedPreferences; import android.text.TextUtils; import cm.aptoide.pt.dataprovider.BuildConfig; import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator; import cm.aptoide.pt.dataprovider.ws.BodyInterceptor; import cm.aptoide.pt.preferences.managed...
__label__POS
0.982928
var canvas = document.getElementById('canvas'); var context = canvas.getContext('2d'); var canvas_bg = document.getElementById('canvas_bg'); var context_bg = canvas_bg.getContext('2d'); var ball; var displ; var center = new Vector2D(0.5*canvas.width,50); var m = 1; var kSpring = 10; var cDamping = 0.5; var t0, t, dt...
__label__POS
0.695922
var canvas = document.getElementById('canvas'); var context = canvas.getContext('2d'); var canvas_bg = document.getElementById('canvas_bg'); var context_bg = canvas_bg.getContext('2d'); var ball; var displ; var center = new Vector2D(0.5*canvas.width,50); var m = 1; var kSpring = 10; var cDamping = 0.5; var t0, t, dt...
__label__POS
0.602946
package com.example.chapter04; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class LoginInputActivity extends AppCompatActivity implements View.OnClickListener { @Override protected void onCreate(Bundle savedInstanc...
__label__POS
0.998378
"use strict"; GameObjectList.prototype = Object.create(GameObject.prototype); function GameObjectList(layer, id) { GameObject.call(this, layer, id); this._gameObjects = []; } Object.defineProperty(GameObjectList.prototype, "length", { get: function () { return this._gameObjects.length; } });...
__label__POS
0.936535
var canvas = document.getElementById('canvas'); var context = canvas.getContext('2d'); var canvas_bg = document.getElementById('canvas_bg'); var context_bg = canvas_bg.getContext('2d'); var ball; var displ; var center = new Vector2D(0.5*canvas.width,50); var m = 1; var kSpring = 1; var t0, t, dt; var acc, force; var...
__label__POS
0.690974
"use strict"; function JewelJamGameWorld(layer, id) { GameObjectList.call(this, layer, id); // add a background sprite this.add(new SpriteGameObject(sprites.background, ID.layer_background)); // add a score frame var scoreFrame = new SpriteGameObject(sprites.frame_score, ID.layer_overlays); s...
__label__POS
0.795257
using System; using System.Linq; using Microsoft.AspNetCore.Mvc.ActionConstraints; using Microsoft.Extensions.DependencyInjection; namespace ConventionsAndConstraints.Infrastructure { public class UserAgentAttribute : Attribute, IActionConstraintFactory { private string substring; public UserAge...
__label__POS
0.936391
using System; using Microsoft.AspNetCore.Mvc.ApplicationModels; using System.Linq; namespace ConventionsAndConstraints.Infrastructure { [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] public class AddActionAttribute : Attribute { public string AdditionalName { get; } public ...
__label__POS
0.793029
package com.example.chapter04; import android.content.Intent; import android.os.Bundle; import android.view.View; import androidx.appcompat.app.AppCompatActivity; public class MainActivity extends AppCompatActivity implements View.OnClickListener { @Override protected void onCreate(Bundle savedInstanceState...
__label__POS
0.908913
"use strict"; function Vector2(x, y) { this.x = typeof x !== 'undefined' ? x : 0; this.y = typeof y !== 'undefined' ? y : 0; } Object.defineProperty(Vector2, "zero", { get: function () { return new Vector2(); } }); Object.defineProperty(Vector2.prototype, "isZero", { ...
__label__POS
0.896437
package cm.aptoide.pt.dataprovider.ws.v7; import android.content.SharedPreferences; import cm.aptoide.pt.dataprovider.aab.AppBundlesVisibilityManager; import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator; import cm.aptoide.pt.dataprovider.model.v7.ListApps; import cm.aptoide.pt.dataprovider.ws.BodyInterceptor...
__label__POS
0.732294
package com.example.chapter04; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import com.example.chapter04.util.DateUtil; public class ActRequestActivity extends AppCompa...
__label__POS
0.720877
package cm.aptoide.pt.dataprovider.ws.v7; import android.content.SharedPreferences; import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator; import cm.aptoide.pt.dataprovider.model.v7.GetApp; import cm.aptoide.pt.dataprovider.ws.BodyInterceptor; import okhttp3.OkHttpClient; import retrofit2.Converter; import rx....
__label__POS
0.990386
package com.example.chapter04; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class JumpFirstActivity extends AppCompatActivity implements View.OnClickListener { @Override protected void onCreate(Bundle savedInstance...
__label__POS
0.998692
package com.example.chapter04; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import androidx.appcompat.app.AppCompatActivity; public class ActionUriActivity extends AppCompatActivity implements View.OnClickListener { @Override protected void onCre...
__label__POS
0.927528
package com.example.chapter04; import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; import android.os.Bundle; import android.view.View; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; public class MetaDataActivity extends AppCompatActivity { private T...
__label__POS
0.826391
package com.example.chapter04; import androidx.appcompat.app.AppCompatActivity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class JumpSecondActivity extends AppCompatActivity implements View.OnClickListener { @Override protected void onCreate(Bundle savedInstanc...
__label__POS
0.998709
package cm.aptoide.pt.dataprovider.ws.v7; import android.content.SharedPreferences; import cm.aptoide.pt.dataprovider.BuildConfig; import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator; import cm.aptoide.pt.dataprovider.model.v7.BaseV7Response; import cm.aptoide.pt.dataprovider.ws.BodyInterceptor; import cm.ap...
__label__POS
0.910568
package com.example.chapter04; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.TextView; import androidx.appcompat.app.AppCompatActivity; import com.example.chapter04.util.DateUtil; public class ActResponseActivity extends AppComp...
__label__POS
0.877521
package cm.aptoide.pt.dataprovider.ws.v7; import android.content.SharedPreferences; import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator; import cm.aptoide.pt.dataprovider.model.v7.BaseV7Response; import cm.aptoide.pt.dataprovider.ws.BodyInterceptor; import cm.aptoide.pt.dataprovider.ws.v7.analyticsbody.Downl...
__label__POS
0.966012
1 This software and database is being provided to you, the LICENSEE, by 2 Princeton University under the following license. By obtaining, using 3 and/or copying this software and database, you agree that you have 4 read, understood, and will comply with these terms and conditions.: 5 6 Permissio...
__label__POS
0.797881
local M = {} ---Get the root directory ---@return string function M.get_root_dir() local info = debug.getinfo(1, "S") local script_path = info.source:sub(2) return vim.fn.fnamemodify(script_path, ":p:h:h:h:h") end ---@param t1 any[] ---@param t2 any[] ---@return any[] function M.join_arrays(t1, t2) local result =...
__label__POS
0.999865
1 This software and database is being provided to you, the LICENSEE, by 2 Princeton University under the following license. By obtaining, using 3 and/or copying this software and database, you agree that you have 4 read, understood, and will comply with these terms and conditions.: 5 6 Permissio...
__label__POS
0.797881
local format = require("telescope-words.wordnet.format") local types = require("telescope-words.wordnet.types") local M = {} ---Parse parse the lex_id parts of a given synset entry ---@param synset_entry_word_parts string[] ---@return Word[] local function parse_words(synset_entry_word_parts) local words = {} loca...
__label__POS
0.997427
local fzy = require("telescope-words.wordnet.fzy") local config = require("telescope-words.wordnet.config") local parse = require("telescope-words.wordnet.parse") local utils = require("telescope-words.wordnet.utils") local M = {} ---Use binary search to find a line in the file that matches the search term ---@param ...
__label__POS
0.990622
local format = require("telescope-words.wordnet.format") local read_index = require("telescope-words.wordnet.read_index") local read_data = require("telescope-words.wordnet.read_data") local types = require("telescope-words.wordnet.types") local utils = require("telescope-words.wordnet.utils") local M = {} ---Search ...
__label__POS
0.969382
-- The lua implementation of the fzy string matching algorithm local SCORE_GAP_LEADING = -0.005 local SCORE_GAP_TRAILING = -0.005 local SCORE_GAP_INNER = -0.01 local SCORE_MATCH_CONSECUTIVE = 1.0 local SCORE_MATCH_SLASH = 0.9 local SCORE_MATCH_WORD = 0.8 local SCORE_MATCH_CAPITAL = 0.7 local SCORE_MATCH_DOT = 0.6 loca...
__label__POS
0.896987
local M = {} ---Get the root directory ---@return string function M.get_root_dir() local info = debug.getinfo(1, "S") local script_path = info.source:sub(2) return vim.fn.fnamemodify(script_path, ":p:h:h:h:h") end ---@param t1 any[] ---@param t2 any[] ---@return any[] function M.join_arrays(t1, t2) local result =...
__label__POS
0.999865
local format = require("blink-cmp-words.wordnet.format") local types = require("blink-cmp-words.wordnet.types") local M = {} ---Parse parse the lex_id parts of a given synset entry ---@param synset_entry_word_parts string[] ---@return Word[] local function parse_words(synset_entry_word_parts) local words = {} loca...
__label__POS
0.99742
local fzy = require("blink-cmp-words.wordnet.fzy") local config = require("blink-cmp-words.wordnet.config") local parse = require("blink-cmp-words.wordnet.parse") local utils = require("blink-cmp-words.wordnet.utils") local M = {} ---Use binary search to find a line in the file that matches the search term ---@param ...
__label__POS
0.990581
local format = require("blink-cmp-words.wordnet.format") local read_index = require("blink-cmp-words.wordnet.read_index") local read_data = require("blink-cmp-words.wordnet.read_data") local types = require("blink-cmp-words.wordnet.types") local utils = require("blink-cmp-words.wordnet.utils") local M = {} ---Search ...
__label__POS
0.973046
-- The lua implementation of the fzy string matching algorithm local SCORE_GAP_LEADING = -0.005 local SCORE_GAP_TRAILING = -0.005 local SCORE_GAP_INNER = -0.01 local SCORE_MATCH_CONSECUTIVE = 1.0 local SCORE_MATCH_SLASH = 0.9 local SCORE_MATCH_WORD = 0.8 local SCORE_MATCH_CAPITAL = 0.7 local SCORE_MATCH_DOT = 0.6 loca...
__label__POS
0.896987