content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
using Newtonsoft.Json; namespace Kliva.Models { public class ClubEvent { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("resource_state")] public int ResourceState { get; set; } [JsonProperty("title")] public string Title { get; set; } ...
__label__POS
0.737967
using System.Collections.Generic; using System.ComponentModel; namespace Kliva.Models { public enum StatisticGroupType { Current, PR } public class StatisticsGroup { public string Name { get; set; } public int Sort { get; set; } public StatisticGroupType Ty...
__label__POS
0.673821
using System.Collections.Generic; using System.Collections.ObjectModel; using Windows.ApplicationModel; namespace Kliva.Models { public class InfoOverviewItem { public string Header { get; set; } public ObservableCollection<string> Items { get; set; } } public class ApplicationInfo ...
__label__POS
0.940729
using System; using Windows.ApplicationModel; namespace Kliva.Models { public class AppVersion : IComparable { public int Major { get; set; } public int Minor { get; set; } public int Patch { get; set; } public int Iteration { get; set; } public AppVersion(PackageVersi...
__label__POS
0.982607
using Kliva.Models; using System.Collections.Generic; namespace Kliva.Helpers { public static class StatisticsHelper { private static StatisticsGroup CreateGroup(string name, int sort) { return new StatisticsGroup() { Name = name, Sort = sort }; } public static voi...
__label__POS
0.900803
using System; using System.Collections.Generic; using System.Text; using Windows.Devices.Geolocation; using Kliva.Services.Interfaces; using Microsoft.Practices.ServiceLocation; namespace Kliva.Helpers { public static class PolylineConverter { public static List<BasicGeoposition> DecodePolylinePoints(...
__label__POS
0.929009
using System; using System.Collections.Generic; using System.Linq; using Windows.Devices.Geolocation; using Windows.Foundation; using Windows.Storage.Streams; using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Maps; using Windows.UI.Xaml.Navigation; using Kliva.Mode...
__label__POS
0.792634
using System; using System.Collections.Generic; using System.Linq; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using GalaSoft.MvvmLight.Messaging; using Kliva.Extensions; using Kliva.Messages; using Kliva.Models; using Kliva.ViewModels; using Microsoft.Practices.ServiceLocation; namespace Kliva.Views { ...
__label__POS
0.816114
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Windows.Devices.Geolocation; using Windows.Foundation; using Windows.Storage.Streams; using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Maps; using GalaSoft.MvvmL...
__label__POS
0.812247
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using Windows.Foundation; using Windows.Graphics.Display; using Windows.UI.ViewManagement; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Maps; namespace Kliva.Extensions { /// <summary> /// Now you ...
__label__POS
0.974239
using Windows.UI.Xaml.Controls; using Cimbalino.Toolkit.Services; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Messaging; using Kliva.Controls; using Kliva.Models; using Kliva.Views; namespace Kliva.ViewModels { public class KlivaBaseViewModel : ViewModelBase { protected INavigationService Navig...
__label__POS
0.705064
using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Data; using Kliva.Extensions; using Kliva.Models; namespace Kliva.Converters { public class ActivityTrackingToVisibilityConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, string language) ...
__label__POS
0.966129
using System; using Windows.UI.Xaml.Data; namespace Kliva.Converters { public class SecondsToTimeStringConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, string language) { var timeSpan = TimeSpan.FromSeconds((int)value); ...
__label__POS
0.999992
using System; using Windows.UI.Xaml.Data; namespace Kliva.Converters { public class AddAmountToStringConverter : IValueConverter { /// <summary> /// Add the bound amount to a given string, e.g. Kudos (2) /// </summary> /// <param name="value">Amount</param> /// <param n...
__label__POS
0.954838
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Kliva.Models; using Kliva.Services.Interfaces; using Windows.ApplicationModel; using Cimbalino.Toolkit.Services; using Newtonsoft.Json; namespace Kliva.Services { public class ApplicationInfoService : IApplicati...
__label__POS
0.932065
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Windows.Devices.Geolocation; using Windows.Foundation; using Windows.Storage.Streams; using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Maps; using GalaSoft.MvvmL...
__label__POS
0.673075
// // TestAppdbTests.swift // TestAppdbTests // // Created by Dmitrii Coolerov on 19.03.2024. // import XCTest @testable import TestAppdb final class TestAppdbTests: XCTestCase { override func setUpWithError() throws { // Put setup code here. This method is called before the invocation of each test me...
__label__POS
0.785666
// // TestAppdb_TVTests.swift // TestAppdb-TVTests // // Created by Dmitrii Coolerov on 06.05.2024. // import XCTest @testable import TestAppdb_TV final class TestAppdb_TVTests: XCTestCase { override func setUpWithError() throws { // Put setup code here. This method is called before the invocation of ...
__label__POS
0.78775
// // // AppCorner // // Created by Denis Berton 2013. // // #import "PAPiTunesCountry.h" #import "Sync.h" #import "Country.h" @implementation PAPiTunesCountry +(void)saveAppStoreCountryForCurrenUser:(PFBooleanResultBlock)callback { PFUser* user = [PFUser currentUser]; if(!user) { callback(...
__label__POS
0.782091
// // PFAdapterUtils.m // ParseKit // // Created by Denis Berton on 22/09/12. // // #import "PFAdapterUtils.h" @implementation PFAdapterUtils +(id)convertObjToDK:(id) obj{ if([obj isKindOfClass:[PFFile class]]) return nil; //((PFFile*)obj).dkFile.name; //NO FILE MUST BE SAVED ON BACKEND if([obj i...
__label__POS
0.948398
// // PFApplicationKey.m // ParseKit // // Created by Denis Berton on 13/10/12. // // #import "PFApplicationKey.h" #ifdef ANYWALL #import "PAWAppDelegate.h" #endif @implementation PFApplicationKey //+ (BOOL) isPFFileKey:(NSString *)key{ //#ifdef ANYPIC // return //// [key isEqualToString: kPAPUserProfile...
__label__POS
0.859231
class ListEntity { String title; String titleImage; int slug; AuthorEntity authorEntity; ListEntity(this.title, this.titleImage, this.slug, this.authorEntity); // static List<ListEntity> fromJson(List covariant) { //// List<ListEntity> children = new List(); //// covariant.forEach((string){ //// ...
__label__POS
0.83311
package dk.appdictive.adbwificonnect; import javafx.application.Platform; import javafx.scene.control.Button; import org.apache.log4j.Logger; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * Created by JesperLR on 05-11-2016. */ public class ADBCommands { priv...
__label__POS
0.94974
package dk.appdictive.adbwificonnect; import javafx.scene.control.TextArea; import org.apache.log4j.AppenderSkeleton; import org.apache.log4j.spi.LoggingEvent; /** * Created by tobalr on 3/1/17. */ public class OnScreenConsoleOutputDelegate extends AppenderSkeleton { public static final int MAX_LOG_LENGTH = 500...
__label__POS
0.978823
package dk.appdictive.adbwificonnect; import java.io.*; import java.util.Base64; /** * Created by JesperLR on 21-May-17. */ public class SerializeHelper { public static String serializeArray(Device[] array) { // serialize ByteArrayOutputStream out = new ByteArrayOutputStream(); try { ...
__label__POS
0.999679
<!DOCTYPE html> <html lang="en"> <head> <title>Extensions Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js/j...
__label__POS
0.766135
<!DOCTYPE html> <html lang="en"> <head> <title>Protocols Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js/ja...
__label__POS
0.873496
<!DOCTYPE html> <html lang="en"> <head> <title>Structures Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js/j...
__label__POS
0.879519
<!DOCTYPE html> <html lang="en"> <head> <title>Enumerations Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js...
__label__POS
0.695857
defmodule AccessPass.Controller do @moduledoc false import Plug.Conn def init(options), do: options def call(conn, opts) do apply(AccessPass.Controller, opts, [conn, nil]) end def check(%{method: "GET"} = conn, _) do case AccessPass.logged?(getHeaderValue(conn, "access-token")) do {:ok, meta...
__label__POS
0.990235
defmodule AccessPass.Users do @moduledoc false @chars "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz123456789" |> String.split("", trim: true) use Ecto.Schema import Ecto.Changeset alias AccessPass.GateKeeper import AccessPass.Config @primary_key {:user_id, :string, autogenerate: false} ...
__label__POS
0.999221
defmodule AccessPass.Config do @moduledoc false def unquote(:repo)() do Application.get_env(:access_pass, unquote(:repo)) || AccessPass.Repo end def unquote(:overrides_mod)() do Application.get_env(:access_pass, unquote(:overrides_module)) || AccessPass.Overrides end def unquote(:base_url)() do ...
__label__POS
0.943294
defmodule AccessPass.Gettext do @moduledoc false use Gettext, otp_app: :access_pass end defmodule AccessPass.GateKeeper do @moduledoc false alias AccessPass.{Mail, Users, AccessToken, RefreshToken} import AccessPass.Config import Ecto.Query def genToken() do Ecto.UUID.generate() |> Base.encode64(pad...
__label__POS
0.622597
defmodule AccessPass.EtsDistributed do @moduledoc false def insert(name, obj) do AccessPass.Ets.insert(name, obj) replicate(:insert, name, obj) end def insert_with_revoke(name, obj, tup) do AccessPass.Ets.insert_with_revoke(name, obj, tup) replicate(:insert_with_revoke, name, obj, tup) end ...
__label__POS
0.979882
<!DOCTYPE html> <html lang="en"> <head> <title>OSSSpeechKitAuthorizationStatus Enumeration Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min....
__label__POS
0.600513
<!DOCTYPE html> <html lang="en"> <head> <title>OSSSpeechDelegate Protocol Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></scrip...
__label__POS
0.609385
<!DOCTYPE html> <html lang="en"> <head> <title>Bundle Extension Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> <sc...
__label__POS
0.774952
<!DOCTYPE html> <html lang="en"> <head> <title>OSSVoiceInfo Structure Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> ...
__label__POS
0.70808
<!DOCTYPE html> <html lang="en"> <head> <title>OSSUtterance Class Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> <...
__label__POS
0.637363
<!DOCTYPE html> <html lang="en"> <head> <title>Extensions Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js/j...
__label__POS
0.766135
<!DOCTYPE html> <html lang="en"> <head> <title>Protocols Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js/ja...
__label__POS
0.873496
<!DOCTYPE html> <html lang="en"> <head> <title>Structures Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js/j...
__label__POS
0.879519
<!DOCTYPE html> <html lang="en"> <head> <title>Enumerations Reference</title> <link rel="stylesheet" type="text/css" href="css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="css/highlight.css" /> <meta charset='utf-8'> <script src="js/jquery.min.js" defer></script> <script src="js...
__label__POS
0.695857
<!DOCTYPE html> <html lang="en"> <head> <title>OSSSpeechKitAuthorizationStatus Enumeration Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min....
__label__POS
0.600513
<!DOCTYPE html> <html lang="en"> <head> <title>OSSSpeechDelegate Protocol Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></scrip...
__label__POS
0.609385
<!DOCTYPE html> <html lang="en"> <head> <title>Bundle Extension Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> <sc...
__label__POS
0.774952
<!DOCTYPE html> <html lang="en"> <head> <title>OSSVoiceInfo Structure Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> ...
__label__POS
0.70808
<!DOCTYPE html> <html lang="en"> <head> <title>OSSUtterance Class Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> <...
__label__POS
0.637363
// Code generated by ent, DO NOT EDIT. package hook import ( "context" "fmt" "github.com/appditto/pippin_nano_wallet/libs/database/ent" ) // The AccountFunc type is an adapter to allow the use of ordinary // function as Account mutator. type AccountFunc func(context.Context, *ent.AccountMutation) (ent.Value, err...
__label__POS
0.868341
package responses import ( "encoding/json" "testing" "github.com/stretchr/testify/assert" ) func TestDecodeAccountsPendingResponse(t *testing.T) { encoded := "{\n \"blocks\" : {\n \"nano_1111111111111111111111111111111111111111111111111117353trpda\": [\"142A538F36833D1CC78B94E11C766F75818F8B940771335C6C1B8AB...
__label__POS
0.645563
package responses import ( "encoding/json" "testing" "github.com/stretchr/testify/assert" ) func TestDecodeAccountsFrontiersResponse(t *testing.T) { encoded := "{\n \"frontiers\" : {\n \"nano_3t6k35gi95xu6tergt6p69ck76ogmitsa8mnijtpxm9fkcm736xtoncuohr3\": \"791AF413173EEE674A6FCF633B5DFC0F3C33F397F0DA08E987D...
__label__POS
0.736979
package responses type AccountInfoResponse struct { Frontier string `json:"frontier" mapstructure:"frontier"` OpenBlock string `json:"open_block" mapstructure:"open_block"` RepresentativeBlock string `json:"representative_block" mapstructure:"representative_block"` Balance...
__label__POS
0.958424
import 'dart:typed_data'; import 'package:pointycastle/api.dart' show ParametersWithIV, KeyParameter; import 'package:pointycastle/stream/salsa20.dart'; import 'package:flutter_nano_ffi/flutter_nano_ffi.dart'; /** * Encryption using Salsa20 from pointycastle */ class Salsa20Encryptor { final String key; final S...
__label__POS
0.988196
import 'dart:typed_data'; import 'package:pascaldart/pascaldart.dart'; import 'package:pointycastle/api.dart' show ParametersWithIV, KeyParameter; import 'package:pointycastle/stream/salsa20.dart'; /** * Encryption using Salsa20 from pointycastle */ class Salsa20Crypt { final String key; final String iv; fina...
__label__POS
0.988181
/** * The HTTPMessage class is a simple Objective-C wrapper around Apple's CFHTTPMessage class. **/ #import <Foundation/Foundation.h> #if TARGET_OS_IPHONE // Note: You may need to add the CFNetwork Framework to your project #import <CFNetwork/CFNetwork.h> #endif #define HTTPVersion1_0 ((NSString *)kCFHTTPVersi...
__label__POS
0.952764
import { Container, Base, Error, Title, Text, TextSmall, Link, Input, Submit } from "./styles/form"; export default function Form({ children, ...restProps }) { return <Container {...restProps}>{children}</Container>; } Form.Base = function FormBase({ children, ...restProps }) {...
__label__POS
0.890545
import { Inner, Item, Container, Pane, Title, SubTitle, Image } from "./styles/jumbotron"; export default function Jumbotron({ children, direction = "row", ...restProps }) { return ( <Item {...restProps}> <Inner direction={direction}>{children}</Inner> ...
__label__POS
0.802105
#import "HTTPResponseProxy.h" @implementation HTTPResponseProxy @synthesize response; @synthesize status; - (NSInteger)status { if (status != 0) { return status; } else if ([response respondsToSelector:@selector(status)]) { return [response status]; } return 200; } - (void)setStatus:(NSInteger)statusCode {...
__label__POS
0.673304
<ul class="nav nav-list"> <li class="nav-header">API Reference</li> <ul class="nav nav-list"> <li><a href="/reference/">Overview</a></li> <li><a href="/reference/make-request/responses/">Responses</a></li> <li><a href="/reference/make-request/migrations/">Migrations</a></li> <li><a href="/reference/...
__label__POS
0.998894
import 'package:blaise_wallet_flutter/network/model/base_request.dart'; import 'package:json_annotation/json_annotation.dart'; part 'subscribe_request.g.dart'; @JsonSerializable() class SubscribeRequest extends BaseRequest { @JsonKey(name:'action') String action; @JsonKey(name:'account', includeIfNull: false) ...
__label__POS
0.973902
<h1 class="title" data-bind="text: title, attr:{style: title_style}"></h1> <h1 class="artist" data-bind="text: artist, attr:{style: artist_style}"></h1> <h1 class="media_title" data-bind="text: media_title, attr:{style: media_title_style}"></h1> <h1 class="album" data-bind="text: album, attr:{style: album_style}"></h1>...
__label__POS
0.651353
// // XHTwitterPaggingViewer.h // XHTwitterPagging // // Created by 曾 宪华 on 14-6-20. // Copyright (c) 2014年 曾宪华 QQ群: (142557668) QQ:543413507 Gmail:xhzengAIB@gmail.com. All rights reserved. // #import <UIKit/UIKit.h> typedef void(^XHDidChangedPageBlock)(NSInteger currentPage, NSString *title); @interface XHTwit...
__label__POS
0.954468
package com.appditto.blaise; import android.os.Bundle; import androidx.annotation.NonNull; import io.flutter.embedding.android.FlutterFragmentActivity; import io.flutter.embedding.engine.FlutterEngine; import io.flutter.plugin.common.MethodChannel; import io.flutter.plugins.GeneratedPluginRegistrant; import io.flutte...
__label__POS
0.916441
package com.appditto.blaise; import android.content.Context; import com.bottlerocketstudios.vault.SharedPreferenceVault; import com.bottlerocketstudios.vault.SharedPreferenceVaultFactory; import com.bottlerocketstudios.vault.SharedPreferenceVaultRegistry; import java.security.GeneralSecurityException; import java.se...
__label__POS
0.937661
package co.banano.natriumwallet; import android.os.Bundle; import androidx.annotation.NonNull; import io.flutter.embedding.android.FlutterFragmentActivity; import io.flutter.embedding.engine.FlutterEngine; import io.flutter.plugin.common.MethodChannel; import io.flutter.plugins.GeneratedPluginRegistrant; import io.fl...
__label__POS
0.916921
package co.banano.natriumwallet; import android.content.Context; import com.bottlerocketstudios.vault.SharedPreferenceVault; import com.bottlerocketstudios.vault.SharedPreferenceVaultFactory; import com.bottlerocketstudios.vault.SharedPreferenceVaultRegistry; import java.security.GeneralSecurityException; import jav...
__label__POS
0.935339
class Hook < ActiveRecord::Base belongs_to :project serialize :configuration, Hash serialize :hooks_enabled, Array AVAILABLE_HOOKS = ["build_passed", "build_fixed", "build_still_fails", "build_still_passes", "build_finished", "build_failed"] before_create :enable_all_hooks def backend @backend ||= Big...
__label__POS
0.995384
class ProjectsController < ApplicationController before_filter :locate_project, :only => [:show, :build, :edit, :update, :remove, :destroy, :arrange, :feed, :duplicate] respond_to :js, :only => [:index, :show] def index @projects = Project.order("position ASC") end def show @builds = @project.build...
__label__POS
0.973149
<?php namespace App\Providers; use Illuminate\Support\Facades\Route; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In addition, it is set as th...
__label__POS
0.638045
<?php namespace App\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. * * @var array */ protected $dontReport = [ // ]; /** ...
__label__POS
0.840685
module BigTuna class Hooks::Campfire < Hooks::Base NAME = 'campfire' def build_fixed(build, config) enqueue(config, full_msg(build, 'fixed')) end def build_still_fails(build, config) enqueue(config, full_msg(build, 'still fails')) end def build_failed(build, config) enqueu...
__label__POS
0.924261
module BigTuna class Runner::Output TYPE_STDOUT = "stdout" TYPE_STDERR = "stderr" attr_reader :dir, :command attr_accessor :exit_code def initialize(dir, command) @dir, @command = dir, command @output = [] end def append_stdout(txt) append TYPE_STDOUT, txt end ...
__label__POS
0.958002
library(gdalcubes) v = cube_view(srs = "EPSG:4326", extent = list(left = 5, right = 10, bottom = 48, top = 53, t0 = "2021-01-01", t1 = "2021-12-31"), dt = "P6M", dx = 0.01, dy = 0.01) v # simple math gdalcubes:::.raster_cube_dummy(v, 3, 1.0) |> apply_pix...
__label__POS
0.67943
library(gdalcubes) v = cube_view(srs = "EPSG:4326", extent = list(left = 5, right = 10, bottom = 48, top = 53, t0 = "2021-01-01", t1 = "2021-12-31"), dt = "P1M", dx = 0.02, dy = 0.02) gdalcubes:::.raster_cube_dummy(v, 1, 0,chunking = c(1,67,67)) |> appl...
__label__POS
0.878978
library(gdalcubes) v = cube_view(srs = "EPSG:4326", extent = list(left = 5, right = 10, bottom = 48, top = 53, t0 = "2021-01-01", t1 = "2021-12-31"), dt = "P1D", dx = 0.02, dy = 0.02) v # built-in reducer gdalcubes:::.raster_cube_dummy(v, 3, 1.0) |> red...
__label__POS
0.714914
library(gdalcubes) v = cube_view(srs = "EPSG:4326", extent = list(left = 5, right = 10, bottom = 48, top = 53, t0 = "2021-01-01", t1 = "2021-12-31"), dt = "P1M", dx = 1, dy = 1) v gdalcubes:::.raster_cube_dummy(v, 1, 1.0) |> aggregate_space(dx = 2, dy =...
__label__POS
0.788031
library(gdalcubes) v = cube_view(srs = "EPSG:4326", extent = list(left = 5, right = 15, bottom = 48, top = 58, t0 = "2021-01-01", t1 = "2021-12-31"), dt = "P365D", dx = 1, dy = 1) v gdalcubes:::.raster_cube_dummy(v, 1, 1.0) |> window_space("max(band1)","...
__label__POS
0.686046
library(gdalcubes) v = cube_view(srs = "EPSG:4326", extent = list(left = 5, right = 10, bottom = 48, top = 53, t0 = "2021-01-01", t1 = "2021-12-31"), dt = "P1D", dx = 0.02, dy = 0.02) v gdalcubes:::.raster_cube_dummy(v, 1, 1.0) |> aggregate_time(dt = "P...
__label__POS
0.631997
library(gdalcubes) v = cube_view(srs = "EPSG:4326", extent = list(left = 5, right = 10, bottom = 48, top = 53, t0 = "2021-01-01", t1 = "2021-12-31"), dt = "P1D", dx = 0.05, dy = 0.05) v # built-in reducer gdalcubes:::.raster_cube_dummy(v, 3, 1.0) |> red...
__label__POS
0.865821
package net.sf.flatpack.examples.createsamplecsv; import java.io.FileWriter; import java.io.PrintWriter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /* * Created on Nov 30, 2005 * */ /** * @author zepernick * * Creates a sample csv file with the specified number of columns and rows */ public cla...
__label__POS
0.994915
package net.sf.flatpack.examples.delimiteddynamiccolumnswitherrors; /* * Created on Dec 31, 2004 * */ import java.io.File; import java.util.Iterator; import net.sf.flatpack.DataError; import net.sf.flatpack.DataSet; import net.sf.flatpack.DefaultParserFactory; import net.sf.flatpack.Parser; import net.sf.flatpack...
__label__POS
0.799564
package net.sf.flatpack.examples.fixedlengthheaderandtrailer; import java.io.FileReader; import java.util.Iterator; import net.sf.flatpack.DataError; import net.sf.flatpack.DataSet; import net.sf.flatpack.DefaultParserFactory; import net.sf.flatpack.Parser; /** * @author zepernick * * TODO To change the template ...
__label__POS
0.757133
package net.sf.flatpack.examples.lowlevelparse; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import net.sf.flatpack.util.ParserUtils; /* * Created on Nov 27, 2005 * */ /** * @author zepernick * *...
__label__POS
0.925287
package net.sf.flatpack.examples.delimiteddynamiccolumns; /* * Created on Dec 31, 2004 * */ import java.io.File; import java.util.Iterator; import net.sf.flatpack.DataError; import net.sf.flatpack.DataSet; import net.sf.flatpack.DefaultParserFactory; import net.sf.flatpack.Parser; import net.sf.flatpack.ordering....
__label__POS
0.687688
package net.sf.flatpack.examples.csvheaderandtrailer; /* * Created on Dec 31, 2004 * */ import java.io.File; import net.sf.flatpack.DataSet; import net.sf.flatpack.DefaultParserFactory; import net.sf.flatpack.Parser; /** * @author zepernick * * TODO To change the template for this generated type comment go to...
__label__POS
0.762723
package net.sf.flatpack.examples.fixedlengthdynamiccolumns; import java.io.FileReader; import net.sf.flatpack.DataSet; import net.sf.flatpack.DefaultParserFactory; import net.sf.flatpack.Parser; /** * @author zepernick * * TODO To change the template for this generated type comment go to Window - * Preferences -...
__label__POS
0.972898
package net.sf.flatpack.examples.numericsanddates; import java.io.FileReader; import java.text.SimpleDateFormat; import net.sf.flatpack.DataSet; import net.sf.flatpack.DefaultParserFactory; import net.sf.flatpack.Parser; /** * @author zepernick * * TODO To change the template for this generated type comment go to...
__label__POS
0.90829
package net.sf.flatpack.examples.largedataset.delimiteddynamiccolumns; import java.io.FileReader; import net.sf.flatpack.DataSet; import net.sf.flatpack.brparse.BuffReaderDelimParser; import net.sf.flatpack.brparse.BuffReaderParseFactory; /** * @author zepernick * * TODO To change the template for this generated ...
__label__POS
0.812185
package net.sf.flatpack.examples.largedataset.fixedlengthdynamiccolumns; import java.io.FileReader; import net.sf.flatpack.DataSet; import net.sf.flatpack.brparse.BuffReaderFixedParser; import net.sf.flatpack.brparse.BuffReaderParseFactory; /** * @author zepernick * * TODO To change the template for this generate...
__label__POS
0.945387
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; namespace Juice.Mvc { public partial class JuiceHelpers { /// <summary> /// Drag a handle to select a numeric value. /// </summary> /// <param name="elementId">Specifies the value the ID attribute of the rendered eleme...
__label__POS
0.747773
/* * Created on Feb 27, 2006 */ package net.sf.flatpack; import junit.framework.Test; import junit.framework.TestSuite; /** * @author zepernick * * This class will execute all Junit tests together */ public class AllJunitTests { public static Test suite() { final TestSuite suite = new TestSuite("Te...
__label__POS
0.998197
package net.sf.flatpack.parserutils; import java.util.ArrayList; import java.util.List; import junit.framework.TestCase; import net.sf.flatpack.structure.ColumnMetaData; import net.sf.flatpack.util.FixedWidthParserUtils; import net.sf.flatpack.util.ParserUtils; /** * Test the functionality of a fixed width parse *...
__label__POS
0.77478
package net.sf.flatpack.brparse; import java.io.StringReader; import junit.framework.TestCase; import net.sf.flatpack.DefaultDataSet; import net.sf.flatpack.Parser; import net.sf.flatpack.structure.Row; /** * Test misc methods in the BuffReaderFixedParser class * * @author Tim Zimmerman */ public class BuffReade...
__label__POS
0.617807
package net.sf.flatpack.brparse; import java.io.StringReader; import junit.framework.TestCase; import net.sf.flatpack.DefaultDataSet; import net.sf.flatpack.Parser; import net.sf.flatpack.structure.Row; /** * Test misc methods in the BuffReaderFixedParser class * * @author Tim Zimmerman */ public class BuffReade...
__label__POS
0.638051
package net.sf.flatpack.writer; import java.io.StringReader; import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import junit.framework.TestCase; import net.sf.flatpack.DataSet; import...
__label__POS
0.872468
package net.sf.flatpack.writer; import java.io.ByteArrayInputStream; import java.io.StringWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Optional; import java.util.Set; import org.slf4j.Logger; import org.slf4...
__label__POS
0.709021
package net.sf.flatpack.utilities; /** * Static utility methods for Junit tests * * @author Paul Zepernick */ public class UnitTestUtils { /** * Builds a delimited qualified string containing the elements passed in. * * @param elements * Elements To Include In Delimited String ...
__label__POS
0.999436
package net.sf.flatpack.delim.pipe; import static org.assertj.core.api.Assertions.assertThat; import java.io.Reader; import java.io.StringReader; import junit.framework.TestCase; import net.sf.flatpack.DataSet; import net.sf.flatpack.Parser; import net.sf.flatpack.brparse.BuffReaderParseFactory; /** * @author xhen...
__label__POS
0.704625
package net.sf.flatpack; import java.math.BigDecimal; import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.Locale; import java.util.Properties;...
__label__POS
0.983753
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using Juice.Framework; namespace Juice.Mobile { [TargetControlType(typeof(HtmlAnchor))] [TargetControlType(type...
__label__POS
0.76396