content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Expression extends modType {
public exprType body;
public Expression(exprType body) {
this.body = body;
}
public int hashCode() ... | __label__POS | 0.91767 |
package com.apress.springrecipes.springbatch;
import org.springframework.batch.core.*;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import java.util.Date;
public class Main {... | __label__POS | 0.989637 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Dict extends exprType {
public exprType[] keys;
public exprType[] values;
public Dict(exprType[] keys, exprType[] values) {
this.keys... | __label__POS | 0.786766 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Compare extends exprType implements cmpopType {
public exprType left;
public int[] ops;
public exprType[] comparators;
public Compare(exp... | __label__POS | 0.903233 |
<!doctype html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1">
<head>
<link rel="stylesheet" href="../build/tenuki.css"></link>
<script src="../build/tenuki.js"></script>
<link rel="stylesheet" href="example.css"></link>
<script src="example-controls... | __label__POS | 0.796544 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Repr extends exprType {
public exprType value;
public Repr(exprType value) {
this.value = value;
}
public int hashCode() {
... | __label__POS | 0.921723 |
<!doctype html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1">
<head>
<link rel="stylesheet" href="../build/tenuki.css"></link>
<script src="../build/tenuki.js"></script>
<link rel="stylesheet" href="example.css"></link>
<script src="example-controls... | __label__POS | 0.688019 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class BoolOp extends exprType implements boolopType {
public int op;
public exprType[] values;
public BoolOp(int op, exprType[] values) {
t... | __label__POS | 0.858339 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class argumentsType extends SimpleNode {
public exprType[] args;
public NameTokType vararg;
public NameTokType kwarg;
public exprType[] defaults... | __label__POS | 0.74644 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Ellipsis extends sliceType {
public Ellipsis() {
}
public int hashCode() {
final int prime = 31;
int result = 1;
ret... | __label__POS | 0.921886 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class AugAssign extends stmtType implements operatorType {
public exprType target;
public int op;
public exprType value;
public AugAssign(exprT... | __label__POS | 0.914549 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class NameTok extends NameTokType implements name_contextType {
public String id;
public int ctx;
public NameTok(String id, int ctx) {
this... | __label__POS | 0.930217 |
package com.apress.springrecipes.springbatch;
import com.apress.springrecipes.springbatch.config.BatchConfiguration;
import org.springframework.batch.core.*;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.An... | __label__POS | 0.983966 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class FunctionDef extends stmtType {
public NameTokType name;
public argumentsType args;
public stmtType[] body;
public decoratorsType[] decs;
... | __label__POS | 0.831806 |
const EyePoint = function(boardState, intersection) {
this.boardState = boardState;
this.intersection = intersection;
Object.freeze(this);
};
EyePoint.prototype = {
diagonals: function() {
const diagonals = [];
let possibleX = [];
let possibleY = [];
if (this.intersection.x > 0) {
poss... | __label__POS | 0.654335 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Import extends stmtType {
public aliasType[] names;
public Import(aliasType[] names) {
this.names = names;
}
public int hashCode... | __label__POS | 0.83543 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class StrJoin extends exprType {
public exprType[] strs;
public StrJoin(exprType[] strs) {
this.strs = strs;
}
public int hashCode() {... | __label__POS | 0.878154 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class DictComp extends exprType {
public exprType key;
public exprType value;
public comprehensionType[] generators;
public DictComp(exprType k... | __label__POS | 0.859347 |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bakers.R
\docType{data}
\name{bakers}
\alias{bakers}
\title{Bakers}
\format{
A data frame with 120 rows representing individual bakers and 24
variables:
\describe{
\item{series}{An integer denoting UK series (\code{1}-\code{10}).}
\item{baker... | __label__POS | 0.94971 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Assert extends stmtType {
public exprType test;
public exprType msg;
public Assert(exprType test, exprType msg) {
this.test = test;
... | __label__POS | 0.910511 |
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/episodes.R
\docType{data}
\name{episodes}
\alias{episodes}
\title{Episodes}
\format{
A data frame with 94 rows representing individual episodes per series
and 10 variables:
\describe{
\item{series}{An integer denoting UK series (\code{1}-\cod... | __label__POS | 0.933206 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Interactive extends modType {
public stmtType[] body;
public Interactive(stmtType[] body) {
this.body = body;
}
public int hashC... | __label__POS | 0.843137 |
#' Episodes
#'
#' Each episodes' statistics. This dataset is made by collapsing
#' \code{\link{challenges}} by `series` and `episode`.
#'
#' @format A data frame with 94 rows representing individual episodes per series
#' and 10 variables:
#' \describe{
#' \item{series}{An integer denoting UK series (`1`-`10`).}
#'... | __label__POS | 0.969636 |
package com.apress.springrecipes.springbatch;
import com.apress.springrecipes.springbatch.config.BatchConfiguration;
import org.springframework.batch.core.*;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.An... | __label__POS | 0.983966 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class List extends exprType implements expr_contextType {
public exprType[] elts;
public int ctx;
public List(exprType[] elts, int ctx) {
t... | __label__POS | 0.930785 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class IfExp extends exprType {
public exprType test;
public exprType body;
public exprType orelse;
public IfExp(exprType test, exprType body, e... | __label__POS | 0.929768 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Suite extends suiteType {
public Suite(stmtType[] body) {
this.body = body;
if (body != null && body.length > 0) {
beginC... | __label__POS | 0.801047 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class While extends stmtType {
public exprType test;
public stmtType[] body;
public suiteType orelse;
public While(exprType test, stmtType[] bo... | __label__POS | 0.873378 |
#' Bakers
#'
#' Information about each baker and their performance during the series they
#' appeared on.
#'
#' @format A data frame with 120 rows representing individual bakers and 24
#' variables:
#' \describe{
#' \item{series}{An integer denoting UK series (`1`-`10`).}
#' \item{baker_full}{A character string g... | __label__POS | 0.964601 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class keywordType extends SimpleNode {
public NameTokType arg;
public exprType value;
public boolean afterstarargs;
public keywordType(NameTokT... | __label__POS | 0.909857 |
package com.apress.springrecipes.springbatch;
import com.apress.springrecipes.springbatch.config.BatchConfiguration;
import org.springframework.batch.core.configuration.JobRegistry;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.batch.core.repository.JobRepository;
import org.spri... | __label__POS | 0.998957 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Comprehension extends comprehensionType {
public exprType target;
public exprType iter;
public exprType[] ifs;
public Comprehension(exprT... | __label__POS | 0.899935 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class For extends stmtType {
public exprType target;
public exprType iter;
public stmtType[] body;
public suiteType orelse;
public For(expr... | __label__POS | 0.896401 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Starred extends exprType implements expr_contextType {
public exprType value;
public int ctx;
public Starred(exprType value, int ctx) {
... | __label__POS | 0.925206 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Yield extends exprType {
public exprType value;
public boolean yield_from;
public Yield(exprType value, boolean yield_from) {
this.va... | __label__POS | 0.925985 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Break extends stmtType {
public Break() {
}
public int hashCode() {
final int prime = 31;
int result = 1;
return res... | __label__POS | 0.915609 |
<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->
<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->
<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * -->
<!-- * * * * * * * * * * * * * * * *... | __label__POS | 0.654748 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Delete extends stmtType {
public exprType[] targets;
public Delete(exprType[] targets) {
this.targets = targets;
}
public int ha... | __label__POS | 0.862592 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Raise extends stmtType {
public exprType type;
public exprType inst;
public exprType tback;
public exprType cause;
public Raise(exprT... | __label__POS | 0.918343 |
package com.apress.springrecipes.springbatch;
import com.apress.springrecipes.springbatch.config.BatchConfiguration;
import org.springframework.batch.core.*;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.An... | __label__POS | 0.983966 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Subscript extends exprType implements expr_contextType {
public exprType value;
public sliceType slice;
public int ctx;
public Subscript(... | __label__POS | 0.917955 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class decoratorsType extends SimpleNode {
public exprType func;
public exprType[] args;
public keywordType[] keywords;
public exprType starargs;... | __label__POS | 0.83386 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Assign extends stmtType {
public exprType[] targets;
public exprType value;
public Assign(exprType[] targets, exprType value) {
this.... | __label__POS | 0.875628 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Set extends exprType {
public exprType[] elts;
public Set(exprType[] elts) {
this.elts = elts;
}
public int hashCode() {
... | __label__POS | 0.818513 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Attribute extends exprType implements expr_contextType {
public exprType value;
public NameTokType attr;
public int ctx;
public Attribute... | __label__POS | 0.916415 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class ExtSlice extends sliceType {
public sliceType[] dims;
public ExtSlice(sliceType[] dims) {
this.dims = dims;
}
public int hashCod... | __label__POS | 0.868587 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class TryExcept extends stmtType {
public stmtType[] body;
public excepthandlerType[] handlers;
public suiteType orelse;
public TryExcept(stmtT... | __label__POS | 0.810745 |
package com.apress.springrecipes.springbatch;
import com.apress.springrecipes.springbatch.config.BatchConfiguration;
import org.springframework.batch.core.*;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.An... | __label__POS | 0.983966 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Call extends exprType {
public exprType func;
public exprType[] args;
public keywordType[] keywords;
public exprType starargs;
public ... | __label__POS | 0.82459 |
package com.apress.springrecipes.springbatch;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.item.ItemProcessor;
import org.springframework.util.StringUtils;
import java.util.Arrays;
import java.util.Collection;
public class UserRegistrationValidationItemProcessor implemen... | __label__POS | 0.808528 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Expr extends stmtType {
public exprType value;
public Expr(exprType value) {
this.value = value;
}
public int hashCode() {
... | __label__POS | 0.920409 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Exec extends stmtType {
public exprType body;
public exprType globals;
public exprType locals;
public Exec(exprType body, exprType global... | __label__POS | 0.932896 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Str extends exprType implements str_typeType {
public String s;
public int type;
public boolean unicode;
public boolean raw;
public bo... | __label__POS | 0.926897 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Module extends modType {
public stmtType[] body;
public Module(stmtType[] body) {
this.body = body;
}
public int hashCode() {
... | __label__POS | 0.835991 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class ClassDef extends stmtType {
public NameTokType name;
public exprType[] bases;
public stmtType[] body;
public decoratorsType[] decs;
pu... | __label__POS | 0.768106 |
const { KeyValueCollection } = require('./key_value_collection');
const { Util } = require('../core/util');
test('Constructor sets initial properties', () => {
let collection = new KeyValueCollection();
expect(collection.items).not.toBeNull();
});
test('add() can add multiple values for each key, preserving o... | __label__POS | 0.688705 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class GeneratorExp extends exprType {
public exprType elt;
public comprehensionType[] generators;
public GeneratorExp(exprType elt, comprehensionTy... | __label__POS | 0.882448 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class ImportFrom extends stmtType {
public NameTokType module;
public aliasType[] names;
public int level;
public ImportFrom(NameTokType module... | __label__POS | 0.862924 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class excepthandlerType extends SimpleNode {
public exprType type;
public exprType name;
public stmtType[] body;
public excepthandlerType(exprT... | __label__POS | 0.83325 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Continue extends stmtType {
public Continue() {
}
public int hashCode() {
final int prime = 31;
int result = 1;
retu... | __label__POS | 0.918696 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Num extends exprType implements num_typeType {
public Object n;
public int type;
public String num;
public Num(Object n, int type, String... | __label__POS | 0.970442 |
// Autogenerated AST node
package org.python.pydev.parser.jython.ast;
import org.python.pydev.parser.jython.SimpleNode;
import java.util.Arrays;
public final class Slice extends sliceType {
public exprType lower;
public exprType upper;
public exprType step;
public Slice(exprType lower, exprType upper... | __label__POS | 0.923916 |
/******************************************************************************
* Copyright (C) 2006-2012 IFS Institute for Software and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribut... | __label__POS | 0.806227 |
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;... | __label__POS | 0.770864 |
import java.util.ArrayList;
import java.util.HashMap;
/**
*
*/
/**
* @author SayanM
*
*/
public final class WordCounterBDAS extends RootBDAS{
@Override
HashMap<String, ArrayList<String>> mapper_task(String line) {
// TODO Auto-generated method stub
String[] words = line.split(" ");
HashMap<String, Ar... | __label__POS | 0.99995 |
// Copyright 2016 - Authors included on AUTHORS file.
//
// Use of this source code is governed by a Apache License
// that can be found in the LICENSE file.
package seekret
import (
"bufio"
"bytes"
"github.com/apuigsech/seekret/models"
)
type workerJob struct {
objectGroup []models.Object
ruleList []mod... | __label__POS | 0.683308 |
package com.mopub.nativeads;
public class InMobiGDPR {
private static String gdpr = "0";
private static boolean consent = false;
private static boolean consentUpdated = false;
/**
* Call InMobiGDPR.grantConsent() to provide GDPR consent for the user on each request basis.
*/
public static void grantCo... | __label__POS | 0.768996 |
package com.mopub.nativeads;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import cm.aptoide.pt.BuildConfig;
import com.inmobi.sdk.InMobiSdk;
import com.mopub.common.BaseAdapterConfiguration;
import com.mopub.common.OnNetworkInitializationFinishedListener;
imp... | __label__POS | 0.684285 |
package cm.aptoide.pt
import android.content.SharedPreferences
import cm.aptoide.pt.preferences.secure.SecurePreferences
import rx.Completable
/**
* Class responsible for first launch and update launches.
*/
class LaunchManager(private val firstLaunchManager: FirstLaunchManager,
private val upd... | __label__POS | 0.622391 |
package cm.aptoide.pt;
import android.app.NotificationManager;
import android.content.Context;
import android.content.Intent;
import androidx.annotation.NonNull;
import cm.aptoide.pt.crashreports.CrashReport;
import cm.aptoide.pt.notification.NotificationIdsMapper;
import cm.aptoide.pt.notification.NotificationInfo;
i... | __label__POS | 0.696773 |
package cm.aptoide.pt;
import android.os.Bundle;
import cm.aptoide.analytics.AnalyticsManager;
import cm.aptoide.pt.logger.Logger;
import com.facebook.appevents.AppEventsLogger;
import com.flurry.android.FlurryAgent;
import java.util.HashMap;
import java.util.Map;
/**
* Created by trinkes on 28/09/2017.
*/
public ... | __label__POS | 0.843218 |
/*
* Copyright (c) 2016.
* Modified on 02/09/2016.
*/
package cm.aptoide.pt;
import android.app.SearchManager;
import android.content.Intent;
import android.content.UriMatcher;
import android.content.pm.ShortcutManager;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android... | __label__POS | 0.782842 |
package cm.aptoide.pt;
import cm.aptoide.analytics.AnalyticsManager;
import cm.aptoide.analytics.implementation.navigation.NavigationTracker;
import java.util.HashMap;
import java.util.Map;
/**
* Created by franciscocalado on 1/24/18.
*/
public class AppShortcutsAnalytics {
public static final String APPS_SHORT... | __label__POS | 0.999768 |
package cm.aptoide.pt
import androidx.room.migration.Migration
import androidx.sqlite.db.SupportSQLiteDatabase
class RoomMigrationProvider {
val migrations = arrayOf(object : Migration(100, 101) {
override fun migrate(database: SupportSQLiteDatabase) {
database.execSQL("ALTER TABLE download ADD COLUMN att... | __label__POS | 0.893184 |
package cm.aptoide.pt;
import android.net.Uri;
import cm.aptoide.analytics.AnalyticsManager;
import cm.aptoide.analytics.implementation.navigation.NavigationTracker;
import java.util.HashMap;
import java.util.Map;
/**
* Created by jose_messejana on 23-01-2018.
*/
public class DeepLinkAnalytics {
public static fi... | __label__POS | 0.93355 |
/**
* Copyright (c) 2005-2012 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on 12/06/2005
*/... | __label__POS | 0.938113 |
### 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 |
package cm.aptoide.pt.promotions;
import android.content.Intent;
import android.net.Uri;
import cm.aptoide.pt.app.AppNavigator;
import cm.aptoide.pt.app.view.AppViewFragment;
import cm.aptoide.pt.navigator.ActivityResultNavigator;
import cm.aptoide.pt.navigator.FragmentNavigator;
import cm.aptoide.pt.navigator.Result;... | __label__POS | 0.677177 |
/**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on 28/07/2005
*/... | __label__POS | 0.968086 |
package cm.aptoide.pt.promotions;
import cm.aptoide.pt.app.DownloadModel;
import cm.aptoide.pt.app.DownloadStateParser;
import cm.aptoide.pt.install.Install;
public class PromotionViewAppMapper {
private final DownloadStateParser downloadStateParser;
public PromotionViewAppMapper(DownloadStateParser downloadSta... | __label__POS | 0.98791 |
/**
* Copyright (c) 2005-2012 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on May 5, 2005
*... | __label__POS | 0.776271 |
/**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on 21/08/2005
*/... | __label__POS | 0.850988 |
RSpec.describe "Post updating" do
describe "the 'update: now' header" do
it "sets the Updated header value to the current time" do
with_file_contents(testing_dir("_posts/2000-12-20-test--published-post"), "title: Some post title\nCreated: 2000-12-20T14:15:16Z\nupdate: now\n\nchanges made") do
expect... | __label__POS | 0.746211 |
RSpec.describe "Archives" do
before { generate_site }
describe "Main archive page" do
subject { Nokogiri::HTML.parse(File.read(testing_dir("_site/archive.html"))) }
it "includes one year for each year with a published post" do
expect(subject.search(".year-date").map(&:text)).to eq([
"2400 (p... | __label__POS | 0.870661 |
package cm.aptoide.pt.promotions;
import java.util.Collections;
import java.util.List;
public class PromotionsModel {
private final String promotionId;
private final List<PromotionApp> appsList;
private final String title;
private final String featureGraphic;
private final boolean isWalletInstalled;
priv... | __label__POS | 0.922068 |
package cm.aptoide.pt.promotions;
import cm.aptoide.analytics.AnalyticsManager;
import cm.aptoide.analytics.implementation.navigation.NavigationTracker;
import cm.aptoide.pt.ads.WalletAdsOfferManager;
import cm.aptoide.pt.app.AppViewAnalytics;
import cm.aptoide.pt.app.DownloadModel;
import cm.aptoide.pt.database.room.... | __label__POS | 0.610864 |
package com.example.android.architecture.blueprints.todoapp.test.chapter13
import android.Manifest
import android.support.test.rule.ActivityTestRule
import android.support.test.rule.GrantPermissionRule
import android.support.test.runner.AndroidJUnit4
import com.example.android.architecture.blueprints.todoapp.tasks.Tas... | __label__POS | 0.621645 |
package com.example.android.architecture.blueprints.todoapp.test.chapter13
import android.support.test.InstrumentationRegistry
import android.support.test.uiautomator.UiDevice
/**
* Class that keeps Monkey tests logic and main actions.
*/
object Monkey {
private val uiDevice = UiDevice.getInstance(Instrumentat... | __label__POS | 0.667643 |
package com.example.android.architecture.blueprints.todoapp.test.chapter13
import android.support.test.InstrumentationRegistry
import android.support.test.uiautomator.UiDevice
import java.util.*
/**
* Calculates screen dimensions, navigation, status and action bars dimensions.
* Generates random coordinates for mon... | __label__POS | 0.835185 |
package cm.aptoide.pt.link;
/**
* Created by trinkes on 04/12/2017.
*/
public class AptoideInstall {
private final String storeName;
private final String packageName;
private final String uname;
private final String openType;
private final String origin;
private final long appId;
public AptoideInstal... | __label__POS | 0.920031 |
package cm.aptoide.pt.link;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import android.os.Bundle;
import android.provider.Browser;
import android.widget.... | __label__POS | 0.901789 |
package cm.aptoide.pt.editorial;
import cm.aptoide.pt.aab.Split;
import cm.aptoide.pt.dataprovider.model.v7.Obb;
import java.util.Collections;
import java.util.List;
/**
* Created by D01 on 29/08/2018.
*/
public class EditorialViewModel {
private final List<EditorialContent> contentList;
private final String ... | __label__POS | 0.655419 |
package cm.aptoide.pt.editorial;
import android.content.SharedPreferences;
import cm.aptoide.pt.dataprovider.BuildConfig;
import cm.aptoide.pt.dataprovider.interfaces.TokenInvalidator;
import cm.aptoide.pt.dataprovider.model.v7.EditorialCard;
import cm.aptoide.pt.dataprovider.ws.BodyInterceptor;
import cm.aptoide.pt.d... | __label__POS | 0.96546 |
package cm.aptoide.pt.editorial;
/**
* Created by D01 on 29/08/2018.
*/
class EditorialMedia {
private final String type;
private final String description;
private final String thumbnail;
private final String url;
public EditorialMedia(String type, String description, String thumbnail, String url) {
... | __label__POS | 0.921373 |
package cm.aptoide.pt.editorial;
import cm.aptoide.analytics.AnalyticsManager;
import cm.aptoide.analytics.implementation.navigation.NavigationTracker;
import cm.aptoide.pt.ads.WalletAdsOfferManager;
import cm.aptoide.pt.app.AppViewAnalytics;
import cm.aptoide.pt.app.DownloadModel;
import cm.aptoide.pt.database.room.R... | __label__POS | 0.813787 |
module Serif
class Generator
attr_reader :site
def initialize(site)
@site = site
end
def default_layout
Liquid::Template.parse(File.read(site.source_path("_layouts/default.html")))
end
def generate!
Dir.chdir(site.source_directory) do
FileUtils.rm_rf("tmp/_site")
... | __label__POS | 0.78456 |
package cm.aptoide.pt.editorial;
import java.util.List;
/**
* Created by D01 on 19/09/2018.
*/
public class EditorialEvent {
private final Type clickType;
private final long id;
private final String packageName;
private final int firstVisibleItemPosition;
private final int lastVisibleItemPosition;
pri... | __label__POS | 0.934901 |
require "time"
require "redhead"
module Serif
class ContentFile
attr_reader :path, :site
def self.all(site, dirname, klass)
Dir[site.source_path(dirname, "*")].select do |f|
File.file?(f)
end.map do |f|
File.expand_path(f)
end.map do |f|
klass.new(site, f)
end... | __label__POS | 0.833971 |
package cm.aptoide.pt.editorial;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import androidx.recyclerview.widget.RecyclerView;
import cm.aptoide.pt.R;
import java.util.List;
import rx.subjects.PublishSubject;
/**
* Created by D01 on 29/08/2018.
*/
class MediaBundleAdapter extends RecyclerVie... | __label__POS | 0.929602 |
<!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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.