content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
// Copyright (c) Corporation for National Research Initiatives package org.python.core; /** * A static utility class with two additional math functions. */ public class ExtraMath { public static double LOG10 = Math.log(10.0); public static double EPSILON = Math.pow(2.0, -52.0); public static double CL...
__label__POS
0.628912
package cm.aptoide.pt.app.migration; import cm.aptoide.pt.install.InstalledRepository; import rx.Observable; public class AppcMigrationManager { private static final long BDS_STORE_ID = 1966380; private InstalledRepository repository; private AppcMigrationRepository appcMigrationRepository; public AppcMigr...
__label__POS
0.795444
// Removing all elements that satisfy a certain condition // usign the remove-erase idiom #include <vector> #include <string_view> #include <iostream> #include <algorithm> std::vector<int> fillVector_1toN(size_t N); // Fill a vector with 1, 2, ..., N void printVector(std::string_view message, const std::vector<int>&...
__label__POS
0.948699
package cm.aptoide.pt.app.view.donations; import cm.aptoide.analytics.AnalyticsManager; import cm.aptoide.analytics.implementation.navigation.NavigationTracker; import java.util.HashMap; public class DonationsAnalytics { public static final String DONATIONS_INTERACT = "Donations_Dialog_Interact"; public static f...
__label__POS
0.987825
package cm.aptoide.pt.app.view.donations; import android.view.LayoutInflater; import android.view.ViewGroup; import androidx.recyclerview.widget.RecyclerView; import cm.aptoide.pt.R; import cm.aptoide.pt.app.view.donations.view.DonationListEntryViewHolder; import cm.aptoide.pt.donations.Donation; import java.text.Deci...
__label__POS
0.975429
package cm.aptoide.pt.app.view.screenshots; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.recyclerview.widget.RecyclerView; import cm.aptoide.pt.view.app.AppScreenshot; import cm.aptoide.pt.view.app.AppVideo; import java.util.ArrayList; import java.util.Li...
__label__POS
0.762279
package com.bsg6.chapter09.mongodb; import com.bsg6.chapter09.common.BaseArtist; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.lang.NonNull; import java.util.Objects; import java.util.StringJoiner; @Document public class Artis...
__label__POS
0.65942
// Create a doubly-linked list of Packages import box.random; import truckload; import std; /* To show reverse iteration, we've modified findSmallestBox() to iterate in reverse order */ SharedBox findLargestBox(const Truckload& truckload); SharedBox findSmallestBox(const Truckload& truckload); int main() { Tru...
__label__POS
0.656417
module integer; import std; /******************************************************************\ Implementing compare() as a friend is quite simple. We must declare the function as a friend in the class definition. We now need both objects as arguments and the code in the body of the function just compares the ...
__label__POS
0.631072
package com.bsg6.chapter06; import com.samskivert.mustache.Mustache; import com.samskivert.mustache.Mustache.Compiler; import org.springframework.web.servlet.view.AbstractTemplateViewResolver; import org.springframework.web.servlet.view.AbstractUrlBasedView; public class MustacheViewResolver extends AbstractTemplate...
__label__POS
0.898301
// Polymorphic vectors of smart pointers #include <iostream> #include <memory> // For smart pointers #include <vector> // For vector #include "Box.h" // For the Box class #include "ToughPack.h" // For...
__label__POS
0.883626
package cm.aptoide.pt.app.view.donations.view; import android.view.View; import android.widget.TextView; import androidx.recyclerview.widget.RecyclerView; import cm.aptoide.pt.R; import cm.aptoide.pt.view.Translator; import java.text.DecimalFormat; /** * Created by franciscocalado on 11/10/2018. */ public class Do...
__label__POS
0.634604
// Polymorphic vectors of smart pointers #include <iostream> #include <memory> // For smart pointers #include <vector> // For vector #include "Box.h" // For the Box class #include "ToughPack.h" // For...
__label__POS
0.946741
// Calling the base class version of a virtual function (see ToughPack::volume()) #include <iostream> #include <memory> // For smart pointers #include <vector> // For vector #include "Box.h" // For the Box class #include "Toug...
__label__POS
0.928122
package cm.aptoide.pt.social.data; /** * Created by trinkes on 05/09/2017. */ public class User { public static final int NO_FOLLOWERS = -1; public static final int NO_FOLLOWINGS = -1; public static final int NO_NOTIFICATION_ID = -1; private final String bodyMessage; private final String image; private ...
__label__POS
0.893825
package com.bsg6.chapter07; import java.util.Objects; import java.util.StringJoiner; public class Artist implements Comparable<Artist> { private int id; private String name; public Artist() { } public Artist(int id, String name) { this.id = id; this.name = name; } public...
__label__POS
0.726932
package cm.aptoide.pt.account.view; import android.content.Intent; import android.os.Bundle; import androidx.annotation.LayoutRes; import androidx.annotation.Nullable; import cm.aptoide.pt.R; public class LoginActivity extends LoginBottomSheetActivity { public static final String ACCOUNT_TYPE = "account_type"; p...
__label__POS
0.989277
package cm.aptoide.pt.account.view; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.provider.MediaStore; import cm.aptoide.pt.navigator.ActivityNavigator; import rx.Observable; public class ImagePickerNavigator { private final ActivityNavigator activityNavigator; ...
__label__POS
0.873698
// Copyright (c) Corporation for National Research Initiatives package org.python.core; import java.util.Vector; public class PyCompoundCallable extends PyObject { private Vector callables; private PySystemState systemState; public PyCompoundCallable() { callables = new Vector(); systemSt...
__label__POS
0.61196
package com.bsg6.chapter06; import com.samskivert.mustache.Mustache; import com.samskivert.mustache.Mustache.Compiler; import org.springframework.web.servlet.view.AbstractTemplateViewResolver; import org.springframework.web.servlet.view.AbstractUrlBasedView; public class MustacheViewResolver extends AbstractTemplateV...
__label__POS
0.899565
package com.bsg6.chapter06; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.ViewResolver; import org.springframework.web.servlet.config.annotation.EnableW...
__label__POS
0.835198
// Using the explicit keyword // Uncomment "explicit" to make the compilation of // the expression "box1.hasLargerVolumeThan(50.0)" fail #include <iostream> class Cube { public: /*explicit*/ Cube(double side); // Constructor double volume(); // Calculate volume of a cube bool hasLarge...
__label__POS
0.894332
package com.bsg6.chapter06; import com.samskivert.mustache.Mustache.Compiler; import com.samskivert.mustache.Template; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import org.springframework.core.io.Resource; import org.springframework.web.servlet.view.AbstractTempla...
__label__POS
0.653993
// Avoid resource leaks due to exceptions using std::unique_ptr<> // Note: this example is given but not named in the text. // Instead of a custom RAII class DoubleArrayRAII, it uses std::unique_ptr<>. // Unlike the former, the latter can be returned from computeValues() as well. #include <iostream> #include <memory> #...
__label__POS
0.660435
package cm.aptoide.pt.account.view; import android.content.ContentResolver; import android.database.Cursor; import android.net.Uri; import android.provider.MediaStore; import cm.aptoide.pt.logger.Logger; public class UriToPathResolver { private static final String TAG = UriToPathResolver.class.getName(); private...
__label__POS
0.759422
// Avoid resource leaks due to exceptions using std::unique_ptr<> // Note: this example is given but not named in the text. // Instead of a custom RAII class DoubleArrayRAII, it uses std::vector<>. // Unlike the former, the latter can of course be returned from computeValues() as well. #include <iostream> #include <vec...
__label__POS
0.822245
package cm.aptoide.pt.account.view; import androidx.annotation.NonNull; import cm.aptoide.pt.logger.Logger; import cm.aptoide.pt.navigator.FragmentNavigator; import cm.aptoide.pt.presenter.LoginSignUpView; import cm.aptoide.pt.presenter.Presenter; import cm.aptoide.pt.presenter.View; import cm.aptoide.pt.view.BackButt...
__label__POS
0.605276
// Copyright (c) Corporation for National Research Initiatives // Copyright 2000 Samuele Pedroni package org.python.core; import java.util.Properties; import java.util.StringTokenizer; import java.io.*; /** * System package manager. Used by org.python.core.PySystemState. */ public class SysPackageManager extends P...
__label__POS
0.761958
package cm.aptoide.pt.account.view.user; import androidx.annotation.ColorInt; import cm.aptoide.pt.R; import cm.aptoide.pt.dataprovider.model.v7.TimelineStats; import cm.aptoide.pt.store.StoreAnalytics; import cm.aptoide.pt.view.recycler.displayable.Displayable; /** * Created by trinkes on 02/12/2016. */ public cl...
__label__POS
0.98461
// Copyright (c) Corporation for National Research Initiatives // Copyright 2000 Samuele Pedroni package org.python.core; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FilenameFilter; import java.io.IOException; /** * Path package manager. Gathering classes ...
__label__POS
0.615567
package cm.aptoide.pt.account.view.store; import android.content.res.Resources; import androidx.annotation.StringRes; import cm.aptoide.pt.R; import cm.aptoide.pt.account.ErrorsMapper; public class ManageStoreErrorMapper { private final Resources resources; private final ErrorsMapper errorsMapper; public Mana...
__label__POS
0.600159
package org.python.core; import java.util.Arrays; public class PyMethodDescr extends PyDescriptor implements PyBuiltinFunction.Info { protected int minargs, maxargs; protected PyBuiltinFunction meth; public PyMethodDescr(String name, Class c, int minargs, int maxargs, PyBuiltinFunction func) { ...
__label__POS
0.785314
// Exercising the SparseArray class template in combination with the LinkedList class template import sparse_array; import linked_list; import std; int main() { std::string text; // Stores input prose or poem std::println("Enter a poem or prose over one or more lines.\n" ...
__label__POS
0.895643
// Using a stack defined by nested class templates // (with improvement suggested in the "A Better Stack" section: see Stack<> source) #include "Stack.h" #include <iostream> #include <string> int main() { std::string words[]{ "The", "quick", "brown", "fox", "jumps" }; Stack<std::string> wordStack; // ...
__label__POS
0.99942
// Exercising the LinkedList template class // This program reverses the text that is entered import linked_list; import std; int main() { std::string text; // Stores input prose or poem std::println("Enter a poem or prose over one or more lines.\n" "Terminate the input wi...
__label__POS
0.983135
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:56:51 11/23/2018 // Design Name: // Module Name: ID // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.618152
<?php namespace APY\DataGridBundle\Grid; use APY\DataGridBundle\Grid\Column\Column; use APY\DataGridBundle\Grid\Exception\InvalidArgumentException; use APY\DataGridBundle\Grid\Exception\UnexpectedTypeException; use Symfony\Component\DependencyInjection\Container; use Twig\Environment ; use Symfony\Component\Security\...
__label__POS
0.67462
<?php namespace APY\DataGridBundle\Grid; use APY\DataGridBundle\Grid\Column\Column; use APY\DataGridBundle\Grid\Exception\ColumnAlreadyExistsException; use APY\DataGridBundle\Grid\Exception\ColumnNotFoundException; use APY\DataGridBundle\Grid\Exception\TypeAlreadyExistsException; use APY\DataGridBundle\Grid\Exception...
__label__POS
0.986519
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:57:34 11/24/2018 // Design Name: // Module Name: forward_mux // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: /...
__label__POS
0.998473
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:31:53 11/23/2018 // Design Name: // Module Name: mux // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.675673
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace APY\DataGridBundle\Grid; use APY\DataGridBundle\Grid\Column\A...
__label__POS
0.964786
<?php namespace APY\DataGridBundle\Grid; use APY\DataGridBundle\Grid\Column\Column; /** * Interface GridBuilderInterface. * * @author Quentin Ferrer */ interface GridBuilderInterface { /** * Adds a column. * * @param string $name * @param string|Column $type * @param array ...
__label__POS
0.999804
// Using a stack defined by nested class templates // (using std::unique_ptr<>: see Stack<> source) // Note: this is a bonus example that is only hinted at in the text (and not explicitly named). // It requires the use of std::move(), seen only in Chapter 18. #include "Stack.h" #include <iostream> #include <string> i...
__label__POS
0.994916
<?php namespace APY\DataGridBundle\Grid; use APY\DataGridBundle\Grid\Action\RowActionInterface; use APY\DataGridBundle\Grid\Source\Source; /** * A basic grid configuration. * * @author Quentin Ferrer */ class GridConfigBuilder implements GridConfigBuilderInterface { /** * @var string */ protec...
__label__POS
0.998978
<?php namespace APY\DataGridBundle\Grid; use APY\DataGridBundle\Grid\Column\Column; use APY\DataGridBundle\Grid\Source\Source; /** * Interface GridFactoryInterface. * * @author Quentin Ferrer */ interface GridFactoryInterface { /** * Returns a grid. * * @param string|GridTypeInterface $type ...
__label__POS
0.872835
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace APY\DataGridBundle\Grid; class Filter { protected $value;...
__label__POS
0.950541
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace APY\DataGridBundle\Grid; class Rows implements \IteratorAggre...
__label__POS
0.654117
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace APY\DataGridBundle\Grid; use Doctrine\ORM\EntityRepository; ...
__label__POS
0.972173
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 11:13:10 11/30/2018 // Design Name: // Module Name: Mult_Div // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // /...
__label__POS
0.721668
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * */ namespace APY\DataGridBundle\Grid; use APY\DataGridBundle\Grid\Actio...
__label__POS
0.692627
<?php namespace APY\DataGridBundle\Grid; use APY\DataGridBundle\Grid\Source\Source; /** * The configuration of a {@link Grid} object. * * @author Quentin Ferrer */ interface GridConfigInterface { /** * Returns the name of the grid. * * @return string The grid name */ public function ...
__label__POS
0.991405
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:57:57 11/23/2018 // Design Name: // Module Name: dm // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.983991
// Using a stack defined by nested class templates #include "Stack.h" #include <iostream> #include <string> int main() { std::string words[]{ "The", "quick", "brown", "fox", "jumps" }; Stack<std::string> wordStack; // A stack of strings for (const auto& word : words) wordStack.push(word); St...
__label__POS
0.999872
// Using the std::function<> template #include <iostream> #include <functional> #include <cmath> // for std::abs() // A global less() function bool less(int x, int y) { return x < y; } int main() { int a{ 18 }, b{ 8 }; std::cout << std::boolalpha; // Print true/false rather than 1/0 std::function<...
__label__POS
0.772255
package cm.aptoide.pt.reactions.network; import retrofit2.Response; import static cm.aptoide.pt.reactions.network.ReactionsResponse.ReactionResponseMessage.GENERAL_ERROR; import static cm.aptoide.pt.reactions.network.ReactionsResponse.ReactionResponseMessage.NETWORK_ERROR; import static cm.aptoide.pt.reactions.networ...
__label__POS
0.734957
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace APY\DataGridBundle\Twig; use APY\DataGridBundle\Grid\Column\C...
__label__POS
0.739454
package cm.aptoide.pt.reactions.network; import java.util.List; public class TopReactionsResponse { private int total; private My my; private List<ReactionTypeResponse> top; public TopReactionsResponse() { } public int getTotal() { return total; } public void setTotal(int total) { this.tot...
__label__POS
0.725662
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:13:22 11/23/2018 // Design Name: // Module Name: npc // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.664167
// Defaulting the == operator #include <iostream> #include <format> #include <string_view> #include <vector> #include "Box.h" void show(const Box& box) { std::cout << std::format("Box({:.1f}, {:.1f}, {:.1f})", box.getLength(), box.getWidth(), box.getHeight()); } void show(const Box& box1, std::str...
__label__POS
0.870073
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 11:53:56 11/24/2018 // Design Name: // Module Name: controller // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: //...
__label__POS
0.753453
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:30:22 11/23/2018 // Design Name: // Module Name: WB // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.970657
// Overloading <=> and == to fully support all comparison operators #include <iostream> #include <format> #include <string_view> #include <vector> #include "Box.h" void show(const Box& box) { std::cout << std::format("Box({:.1f}, {:.1f}, {:.1f})", box.getLength(), box.getWidth(), box.getHeight());...
__label__POS
0.719501
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace APY\DataGridBundle\Grid\Export; use APY\DataGridBundle\Grid\C...
__label__POS
0.686176
package cm.aptoide.pt.view.wizard; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentPagerAdapter; import cm.aptoide.pt.NavigationTrackerPagerAdapterHelper; import cm.aptoide.pt.dataprovider.ws.v7.store.StoreContext; public class WizardPagerAdapt...
__label__POS
0.957788
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:21:31 11/23/2018 // Design Name: // Module Name: EX // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.957323
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace APY\DataGridBundle\Grid\Column; use APY\DataGridBundle\Grid\F...
__label__POS
0.850676
package cm.aptoide.pt.view.wizard; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.Nullable; import androidx.fragment.app.Fragment; import cm.aptoide.analytics.implementation.navigation.ScreenTagHistory; import cm.aptoide...
__label__POS
0.863015
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:27:06 11/23/2018 // Design Name: // Module Name: MEM // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.956518
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace APY\DataGridBundle\Grid\Column; class ActionsColumn extends C...
__label__POS
0.684853
package cm.aptoide.pt.view.rx; import android.content.Context; import android.content.DialogInterface; import android.view.ContextThemeWrapper; import android.view.View; import android.widget.TextView; import androidx.annotation.StringRes; import androidx.appcompat.app.AlertDialog; import cm.aptoide.pt.R; import cm.ap...
__label__POS
0.620826
package cm.aptoide.pt.view.rx; import androidx.recyclerview.widget.RecyclerView; import cm.aptoide.pt.view.recycler.BaseAdapter; import cm.aptoide.pt.view.recycler.EndlessRecyclerOnScrollListener; import rx.Observable; import rx.Subscriber; import rx.android.MainThreadSubscription; import static rx.android.MainThread...
__label__POS
0.986865
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:02:24 11/23/2018 // Design Name: // Module Name: grf // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.79872
package cm.aptoide.pt.view.rx; import androidx.preference.Preference; import rx.Observable; import rx.Subscriber; import rx.android.MainThreadSubscription; import static rx.android.MainThreadSubscription.verifyMainThread; /** * Created by marcelobenites on 07/03/17. */ class PreferenceClickOnSubscribe implements ...
__label__POS
0.997562
// Copyright (c) Corporation for National Research Initiatives package org.python.core; class ReflectedArgs { public Class[] args; public Object data; public Class declaringClass; public boolean isStatic; public int flags; public static final int StandardCall = 0; public static final ...
__label__POS
0.822267
<?php /* * This file is part of the DataGridBundle. * * (c) Abhoryo <abhoryo@free.fr> * (c) Stanislav Turza * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace APY\DataGridBundle\Grid\Action; use APY\DataGridBundle\Grid\R...
__label__POS
0.671438
package cm.aptoide.pt.view.rx; import androidx.preference.CheckBoxPreference; import androidx.preference.Preference; import rx.Observable; import rx.Subscriber; import rx.android.MainThreadSubscription; import static rx.android.MainThreadSubscription.verifyMainThread; /** * Created by marcelobenites on 09/03/17. *...
__label__POS
0.995458
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:57:34 11/24/2018 // Design Name: // Module Name: forward_mux // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: /...
__label__POS
0.998473
package cm.aptoide.pt.view.rx; import android.widget.CompoundButton; import androidx.appcompat.widget.SwitchCompat; import rx.Observable; import rx.Subscriber; import rx.android.MainThreadSubscription; import static rx.android.MainThreadSubscription.verifyMainThread; /** * Created by marcelobenites on 09/03/17. */...
__label__POS
0.973815
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:31:53 11/23/2018 // Design Name: // Module Name: mux // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.675673
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 11:13:10 11/30/2018 // Design Name: // Module Name: Mult_Div // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // /...
__label__POS
0.721668
using System; using System.Net.Sockets; using System.IO.Pipes; using UnityEngine; // To use Debug.Log namespace NvimUnity { public static class SocketChecker { public static bool IsSocketActive(string socketPath) { if (string.IsNullOrWhiteSpace(socketPath)) { ...
__label__POS
0.994251
package cm.aptoide.pt.view.custom; import android.graphics.Canvas; import android.graphics.drawable.Drawable; import android.view.View; import androidx.recyclerview.widget.RecyclerView; class DrawableItemDecoration extends RecyclerView.ItemDecoration { private final Drawable dividerDrawable; private final int cu...
__label__POS
0.92234
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:57:57 11/23/2018 // Design Name: // Module Name: dm // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.983991
<?php namespace APY\DataGridBundle\DependencyInjection\Compiler; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; /** * Class GridPass. * * @author Quentin Ferrer */ class Gr...
__label__POS
0.900966
### Examples It's our goal to create a wide variety of example of how Tether can be used. Here's what we have so far, please send a PR with any examples you might create. #### Beginner - [simple](../../examples/simple): A simple example to get you started - [out-of-bounds](../../examples/out-of-bounds): How to hide...
__label__POS
0.941365
// Copyright (c) Corporation for National Research Initiatives // Copyright 2000 Samuele Pedroni package org.python.core; import java.io.EOFException; /** * Abstract package manager. */ public abstract class PackageManager extends Object { public PyJavaPackage topLevelPackage; public PackageManager() { ...
__label__POS
0.682609
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:13:22 11/23/2018 // Design Name: // Module Name: npc // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.664167
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 11:53:56 11/24/2018 // Design Name: // Module Name: controller // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: //...
__label__POS
0.753453
package cm.aptoide.pt.view.custom; import android.content.Context; import android.content.res.Resources; import android.graphics.Rect; import android.util.TypedValue; import android.view.View; import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.RecyclerView.ItemDecoration; /** * Cre...
__label__POS
0.922137
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:30:22 11/23/2018 // Design Name: // Module Name: WB // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.963491
package cm.aptoide.pt.view.custom; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import androidx.viewpager.widget.ViewPager; import cm.aptoide.analytics.implementation.navigation.ScreenTagHistory; import cm.aptoide.pt.AptoideApplication; import cm.aptoide.pt.Navigat...
__label__POS
0.746236
SUMMARY ======= 1. [Introduction](https://github.com/Abhoryo/APYDataGridBundle/blob/master/README.md) 1. [Installation](index.md) 1. [Getting Started with APYDataGridBundle](getting_started.md) 1. [Source](source/) 1. [Entity (ORM)](source/entity_source.md) 1. [Document (ODM)](source/document_source.md) 1. [Vect...
__label__POS
0.994175
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:21:31 11/23/2018 // Design Name: // Module Name: EX // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.950622
package org.python.core; import java.lang.ref.WeakReference; import java.lang.ref.ReferenceQueue; import java.util.HashMap; public class IdImpl2 extends IdImpl { public static class WeakIdentityMap { private ReferenceQueue refqueue = new ReferenceQueue(); private HashMap hashmap = new HashMap();...
__label__POS
0.907145
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:27:06 11/23/2018 // Design Name: // Module Name: MEM // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.94849
package cm.aptoide.pt.view.recycler; import android.view.View; import androidx.recyclerview.widget.OrientationHelper; import androidx.recyclerview.widget.RecyclerView; public class RecyclerViewPositionHelper { final RecyclerView recyclerView; final RecyclerView.LayoutManager layoutManager; RecyclerViewPositio...
__label__POS
0.778206
DataGrid ======== An entity --------- ```php class Product { /** * @var int */ protected $id; /** * @var string */ protected $name; /** * @var DateTime */ protected $createdAt; /** * @var string */ protected $status; // Getters and setters...
__label__POS
0.777051
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 17:02:24 11/23/2018 // Design Name: // Module Name: grf // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Rev...
__label__POS
0.79872
/* * Copyright (c) 2016. * Modified on 17/08/2016. */ package cm.aptoide.pt.view.recycler; import android.content.Context; import android.graphics.PointF; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.LinearSmoothScroller; import androidx.recyclerview.widget.RecyclerV...
__label__POS
0.764093
`timescale 1ns / 1ps ////////////////////////////////////////////////////////////////////////////////// // Company: // Engineer: // // Create Date: 16:56:51 11/23/2018 // Design Name: // Module Name: ID // Project Name: // Target Devices: // Tool versions: // Description: // // Dependencies: // // Revi...
__label__POS
0.618152