content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
<?php
/**
* Class HealthCheckController
*
* Performs simple health check functions to be used by upstream systems (e.g, docker) to determine if the node is healthy
* and functioning
*/
class HealthCheckController extends BaseController
{
/**
* @return array action filters
*/
public function fil... | __label__POS | 0.847717 |
using AutoFixture;
using Dispatching.Aaa.Configuration;
using Dispatching.Api.Configuration;
using Dispatching.Broker.Configuration;
using Dispatching.Configuration;
using Dispatching.Persistence.Configuration;
using Dispatching.ReadModel.Configuration;
using Dispatching.Specifications.TestCases;
using Microsoft.Exten... | __label__POS | 0.652512 |
using AutoFixture;
using Dispatching.Persistence;
using Dispatching.ReadModel;
using Microsoft.EntityFrameworkCore;
using System;
using TechTalk.SpecFlow;
namespace Dispatching.Specifications.TestContext
{
internal static class ScenarioContextExtensions
{
public const string ScenarioKey = "testrunid";... | __label__POS | 0.640842 |
using System.Net;
using System.Net.Http;
using System.Text;
using Newtonsoft.Json;
namespace Dispatching.Specifications.TestCases
{
public static class ObjectExtensions
{
public static HttpResponseMessage ToHttpResponseMessage<T>(this T input) where T : class
{
var jsonString = Jso... | __label__POS | 0.996628 |
using AutoFixture;
using Dispatching.Aaa.Mappers;
using Dispatching.Rides;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Dispatching.Aaa.Tests.UnitTests.Mappers.GetDistanceResponseMapperTests
{
[TestClass]
[TestCategory("UnitTests")]
public class MapTe... | __label__POS | 0.802457 |
using AutoFixture;
using Dispatching.Aaa.Mappers;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Net;
namespace Dispatching.Aaa.Tests.UnitTests.Mappers.EstimatedTimeOfArrivalResponseMapperTests
{
[TestClass]
[TestCategory("UnitTests")]
public class M... | __label__POS | 0.768318 |
using AutoFixture;
using Dispatching.Aaa.Mappers;
using Dispatching.Rides;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace Dispatching.Aaa.Tests.UnitTests.Mappers.EstimatedTimeOfArrivalRequestMapperTests
{
[Te... | __label__POS | 0.676141 |
using AutoFixture;
using Dispatching.Configuration;
using Dispatching.Persistence.Configuration;
using Dispatching.Rides.Processes.SecondaryPorts;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Dispatc... | __label__POS | 0.637502 |
using AutoFixture;
using Dispatching.Cabs;
using Dispatching.Persistence.Mappers;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Dispatching.Persistence.Tests.UnitTests.CabRepositoryTests
{
[Te... | __label__POS | 0.68074 |
using AutoFixture;
using Dispatching.Cabs;
using Dispatching.Persistence.Mappers;
using DomainDrivenDesign.DomainObjects;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Dispatching.P... | __label__POS | 0.67428 |
<?php
/**
* OpenEyes
*
* (C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011
* (C) OpenEyes Foundation, 2011-2013
* This file is part of OpenEyes.
* OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Softwa... | __label__POS | 0.898361 |
using AutoFixture;
using Dispatching.Persistence.Mappers.ToPersistanceModel;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Persistence.Tests.UnitTests.Mappers.ToPersistenceModel.CabMapperTests
{
[TestClass]
[TestCategory("UnitTests")]
public class Create... | __label__POS | 0.953152 |
using AutoFixture;
using Dispatching.Cabs;
using Dispatching.Persistence.Mappers.ToPersistanceModel;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Persistence.Tests.UnitTests.Mappers.ToPersistenceModel.CabMapperTests
{
[TestClass]
[TestCategory("UnitTests")]... | __label__POS | 0.948611 |
using AutoFixture;
using FluentAssertions;
using Dispatching.Persistence.Mappers.ToDomainModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Persistence.Tests.UnitTests.Mappers.ToDomainModel.LocationMapperTests
{
[TestClass]
[TestCategory("UnitTests")]
public class MapTest
... | __label__POS | 0.915381 |
using AutoFixture;
using FluentAssertions;
using Dispatching.Persistence.Mappers.ToDomainModel;
using Dispatching.Persistence.PersistenceModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Persistence.Tests.UnitTests.Mappers.ToDomainModel.CabMapperTests
{
[TestClass]
[TestCategory... | __label__POS | 0.83055 |
using AutoFixture;
using Dispatching.ReadModel.Configuration;
using Dispatching.ReadModel.PersistenceModel;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Threading.Tasks;
namespace Dispatching.ReadModel.Tests... | __label__POS | 0.886438 |
using AutoFixture;
using Dispatching.ReadModel.Mappers;
using Dispatching.ReadModel.PersistenceModel;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Threading.Tasks;
using NSubstitute;
namespace Dispatching.ReadModel.Tests.UnitTests.CabRideRepositoryTests
{... | __label__POS | 0.875452 |
using AutoFixture;
using Dispatching.Persistence.Tests;
using Dispatching.ReadModel.Mappers;
using Dispatching.ReadModel.PersistenceModel;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Dispatching... | __label__POS | 0.795313 |
using AutoFixture;
using Dispatching.ReadModel.Mappers;
using Dispatching.ReadModel.PersistenceModel;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using System;
using System.Threading.Tasks;
namespace Dispatching.ReadModel.Tests.UnitTests.CabRideRepositoryTests
{
... | __label__POS | 0.744774 |
using AutoFixture;
using Dispatching.ReadModel.Mappers;
using Dispatching.ReadModel.PersistenceModel;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.ReadModel.Tests.UnitTests.Mappers.CabRideMapperTests
{
[TestClass]
[TestCategory("UnitTests")]
public clas... | __label__POS | 0.967527 |
using AutoFixture;
using Dispatching.Broker.Commands;
using Dispatching.Broker.Commands.Mappers;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Broker.Tests.UnitTests.Commands.Mappers.DriveCustomerToTrainStationMapperTests
{
[TestClass]
[TestCategory("UnitTes... | __label__POS | 0.99786 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AutoFixture;
using FluentAssertions;
namespace Dispatching.Tests.UnitTests.LocationTests
{
[TestClass]
[TestCategory("UnitTests")]
public class LocationTest
{
private readonly Fixture _fixture = new Fixture();
[TestMethod]
... | __label__POS | 0.783236 |
using AutoFixture;
using Dispatching.Cabs;
using Dispatching.Customers;
using Dispatching.Rides;
using DomainDrivenDesign.DomainObjects;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Tests.UnitTests.Rides.RideTests
{
[TestClass]
[TestCategory("UnitTests")]
... | __label__POS | 0.938197 |
using AutoFixture;
using Dispatching.Cabs;
using Dispatching.Customers;
using DomainDrivenDesign.DomainObjects;
using Dispatching.Rides;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Tests.UnitTests.Rides.RideTests
{
[TestClass]
[TestCategory("UnitTests")]
... | __label__POS | 0.882975 |
using AutoFixture;
using Dispatching.Rides;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace Dispatching.Tests.UnitTests.Rides.RideTests
{
[TestClass]
[TestCategory("UnitTests")]
public class PriceTests
{
private readonly Fixture _fixture = ne... | __label__POS | 0.728254 |
using AutoFixture;
using Dispatching.Customers;
using DomainDrivenDesign.DomainObjects;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Tests.UnitTests.Customers.CustomerTests
{
[TestClass]
[TestCategory("UnitTests")]
public class EqualityTest
{
... | __label__POS | 0.788571 |
using AutoFixture;
using Dispatching.Cabs;
using DomainDrivenDesign.DomainObjects;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Tests.UnitTests.Cabs.CabTests
{
[TestClass]
[TestCategory("UnitTests")]
public class EqualityTest
{
private reado... | __label__POS | 0.680574 |
using AutoFixture;
using Dispatching.Cabs;
using DomainDrivenDesign.DomainObjects;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Dispatching.Tests.UnitTests.Cabs.CabTests
{
[TestClass]
[TestCategory("UnitTests")]
public class CabTest
{
private Fixture _f... | __label__POS | 0.863204 |
using Microsoft.Extensions.DependencyInjection;
using Microsoft.EntityFrameworkCore;
using Dispatching.ReadModel.Mappers;
using Dispatching.ReadModel.PersistenceModel;
namespace Dispatching.ReadModel.Configuration
{
public static class Dependencies
{
public static IServiceCollection UseDispatchingRead... | __label__POS | 0.999844 |
using System;
using System.Diagnostics;
namespace Dispatching.Rides
{
[DebuggerDisplay("{_amount:C}")]
public struct Euro : IEquatable<Euro>
{
public decimal _amount { get; }
public static Euro None => new Euro(0);
public static Euro FromDecimal(decimal amount) =>... | __label__POS | 0.75945 |
using System;
using System.Diagnostics;
namespace Dispatching.Rides
{
[DebuggerDisplay("{_amount} km")]
public struct Kilometer : IEquatable<Kilometer>
{
public decimal _distance { get; }
public static Kilometer None => new Kilometer(0);
public static Kilometer FromDecimal(decima... | __label__POS | 0.853626 |
<?php
/**
* Use this class to resolve IDs for reference level-based queries.
*/
class ReferenceLevelIdResolver
{
public ?Institution $institution = null;
public ?Site $site = null;
public ?Specialty $specialty = null;
public ?Subspecialty $subspecialty = null;
public ?Firm $firm = null;
publi... | __label__POS | 0.738194 |
using Dispatching.Persistence.Mappers;
using Dispatching.Rides.Processes.SecondaryPorts;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
namespace Dispatching.Persistence.Configuration
{
public static class Dependencies
{
public static IServiceCollection UseDispatc... | __label__POS | 0.999548 |
using Dispatching.Broker.Handlers;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Rebus.ServiceProvider;
namespace Dispatching.Broker.Configuration
{
public static class Dependencies
{
public static IServiceCollection UseDispatchingBroker(this IServiceCollect... | __label__POS | 0.995748 |
using Dispatching.Broker.Commands;
using Dispatching.Rides;
using System;
namespace Dispatching.Broker.Events.Mappers.ToDomainModel
{
internal class CabRideMapper : ICabRideMapper
{
public DriveCustomerToTrainStationFailed MapFailedEvent(DriveCustomerToTrainStation command, Exception exception)
... | __label__POS | 0.893846 |
<?php
/**
* OpenEyes.
*
* (C) OpenEyes Foundation, 2020
* This file is part of OpenEyes.
* OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)... | __label__POS | 0.662044 |
<?php
class GenericAdmin extends BaseCWidget
{
public $model;
public $items;
public $errors;
public $label_field;
public $label_relation;
public $label_field_type;
public $label_field_model;
public $new_row_url;
public $extra_fields = array();
public $filter_fields;
public $... | __label__POS | 0.979192 |
<?php
//namespace app\components;
use yii\base\Widget;
use yii\helpers\Html;
class IndexSearch extends BaseCWidget
{
public $event_type = "Examination";
private $searchable_terms = [];
public function init()
{
parent::init();
}
/**
* Abstraction to the db connection
* @retu... | __label__POS | 0.843671 |
task_specification: |
Act as a medical doctor and diagnose the patient based on the given patient profile
All possible valid diagnoses for you to choose from are as follows (one diagnosis per line, in the format of <diagnosis>):
- Possible NSTEMI / STEMI
- Spontaneous rib fracture
- Pulmonary emboli... | __label__POS | 0.698632 |
task_specification: |
Act as a medical doctor and diagnose the patient based on the given patient profile
All possible valid diagnoses for you to choose from are as follows (one diagnosis per line, in the format of <diagnosis>):
- Possible NSTEMI / STEMI
- Spontaneous rib fracture
- Pulmonary emboli... | __label__POS | 0.901886 |
task_specification: |
Medical diagnosis task:
• Given: A patient profile
• Required: Diagnose the patient based on the provided information
• Process: Think step by step to analyze the patient's symptoms and history
• Output: Select one diagnosis from the provided list of valid options
Note: Carefully revie... | __label__POS | 0.866498 |
<?php
class PatientIdentifiers extends BaseCWidget
{
public $patient;
public $current_showing_identifier;
public $identifiers = [];
public $deleted_identifiers = [];
public $tooltip_size;
public $show_all = false;
public $show_global = false;
public $widget_enabled = true;
public ... | __label__POS | 0.963441 |
task_specification: |
You are a NER converter who extract the named entity from the given sentence after format Question: <sentence>.
Valid entity:
- PERSON
- ORGANIZATION
- LOCATION
- MISC
Your answered entity MUST based on the above options.
parser_prompt:
text: |
Extract the answer into a
format... | __label__POS | 0.998084 |
task_specification: |
Medical diagnosis task:
• Given: A patient profile
• Required: Diagnose the patient based on the provided information
• Process: Think step by step to analyze the patient's symptoms and history
• Output: Select one diagnosis from the provided list of valid options
Note: Carefully revie... | __label__POS | 0.919214 |
task_specification: |
Act as a medical doctor and diagnose the patient based on the given patient profile
All possible valid diagnoses for you to choose from are as follows (one diagnosis per line, in the format of <diagnosis>):
- Possible NSTEMI / STEMI
- Spontaneous rib fracture
- Pulmonary emboli... | __label__POS | 0.819764 |
task_specification: |
Act as a medical doctor and diagnose the patient based on the given patient profile
All possible valid diagnoses for you to choose from are as follows (one diagnosis per line, in the format of <diagnosis>):
- Possible NSTEMI / STEMI
- Spontaneous rib fracture
- Pulmonary emboli... | __label__POS | 0.828954 |
task_specification: |
Medical diagnosis task:
• Given: A patient profile
• Required: Diagnose the patient based on the provided information
• Process: Think step by step to analyze the patient's symptoms and history
• Output: Select one diagnosis from the provided list of valid options
Note: Carefully revie... | __label__POS | 0.845189 |
task_specification: |
Act as a medical doctor and diagnose the patient based on the given patient profile
All possible valid diagnoses for you to choose from are as follows (one diagnosis per line, in the format of <diagnosis>):
- Possible NSTEMI / STEMI
- Spontaneous rib fracture
- Pulmonary emboli... | __label__POS | 0.842506 |
task_specification: |
You are a NER converter who extract the named entity from the given sentence after format Question: <sentence>.
Valid entity:
- PERSON : Used for the names of individuals, identifying people in the text.
- ORGANIZATION : Marks specific organizations, including companies, governmental bodie... | __label__POS | 0.992023 |
task_specification: |
Act as a medical doctor and diagnose the patient based on the given patient profile
All possible valid diagnoses for you to choose from are as follows (one diagnosis per line, in the format of <diagnosis>):
- Possible NSTEMI / STEMI
- Spontaneous rib fracture
- Pulmonary emboli... | __label__POS | 0.793312 |
task_specification: |
Act as a medical doctor and diagnose the patient based on the given patient profile
All possible valid diagnoses for you to choose from are as follows:
- Possible NSTEMI / STEMI
- Spontaneous rib fracture
- Pulmonary embolism
- Pulmonary neoplasm
- URTI
- Croup
... | __label__POS | 0.906734 |
task_specification: |
Medical diagnosis task:
• Given: A patient profile
• Required: Diagnose the patient based on the provided information
• Process: Think step by step to analyze the patient's symptoms and history
• Output: Select one diagnosis from the provided list of valid options
Note: Carefully revie... | __label__POS | 0.825277 |
task_specification: |
You are a NER converter who extract the named entity from the given sentence after format Question: <sentence>
Valid entity:
* PERSON : Used for the names of individuals, identifying people in the text
* LOCATION : Identifies geographical entities such as countries, cities, rivers, and mou... | __label__POS | 0.982761 |
task_specification: |
Read carefully for each of the last question and think step by step before answering. You are given a string of words and you need to take the last letter of each words and concate them
format_instruct:
text: |
Think step by step after that output your final answer in lower case alphabet ... | __label__POS | 0.782548 |
<?php
namespace OE\factories\models;
use OE\factories\ModelFactory;
use Patient;
class PatientIdentifierFactory extends ModelFactory
{
public static ?array $identifierTypes = null;
public function definition(): array
{
return [
'patient_id' => ModelFactory::factoryFor(Patient::class)... | __label__POS | 0.970425 |
//
// SKProduct+Extension.swift
// ApphudSDKDemo
//
// Created by Renat Kurbanov on 13.02.2023.
// Copyright © 2023 Apphud. All rights reserved.
//
import Foundation
import StoreKit
extension SKProduct {
/**
Returns product pricing terms in the following format:
"3 days free trial, then $1.99 / wee... | __label__POS | 0.67477 |
// gtest includes
#include <gtest/gtest.h>
// system includes
#include <string>
// local includes
#include "zshash.h"
using namespace std;
using namespace zsync2;
namespace {
TEST(ZSyncHash, TestMD5) {
auto makeHash = [](const std::string& str) {
return ZSyncHash<GCRY_MD_MD5>(str).getHash();... | __label__POS | 0.989312 |
<?php
/**
* OpenEyes.
*
*
* Copyright OpenEyes Foundation, 2017
*
* This file is part of OpenEyes.
* OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at ... | __label__POS | 0.644427 |
#pragma once
// system
#include <cstdint>
#include <istream>
#include <vector>
namespace appimage {
namespace utils {
/**
* C++ wrapper around the bare C hashing algorithms implementations
*/
namespace hashlib {
/**
* Convenience function to compute md5 ... | __label__POS | 0.687325 |
<?php
/**
* Created by PhpStorm.
* User: petergallagher
* Date: 27/03/15
* Time: 16:00.
*/
class NotContainedInValidator extends CValidator
{
/**
* @var string Name of the model to be checked against
*/
public $model;
/**
* @var string Foreign key if not standard tablename_id
*/
... | __label__POS | 0.800413 |
<?php
/**
* This is the template for generating the model class of a specified table.
* - $this: the ModelCode object
* - $tableName: the table name for this class (prefix is already removed if necessary)
* - $modelClass: the model class name
* - $columns: list of table columns (name=>CDbColumnSchema)
* - $labels... | __label__POS | 0.884161 |
#pragma once
// system
#include <stdexcept>
namespace appimage {
namespace core {
/**
* Generic Error that can be thrown by AppImage procedures.
*/
class AppImageError : public std::runtime_error {
public:
explicit AppImageError(const std::string& what) : runt... | __label__POS | 0.971892 |
// libraries
#include <gtest/gtest.h>
// local
#include "utils/MagicBytesChecker.h"
using namespace appimage::utils;
TEST(MagicBytesCheckerTests, hasIso9660Signature) {
ASSERT_TRUE(MagicBytesChecker(TEST_DATA_DIR "/minimal.iso").hasIso9660Signature());
ASSERT_TRUE(MagicBytesChecker(TEST_DATA_DIR "/AppImageEx... | __label__POS | 0.667605 |
<?php
class queueProcessor
{
private $databaseConnection;
private $processToRun;
private $logger;
public function __construct($db, $process, $logger)
{
$this->databaseConnection = $db;
$this->processToRun = $process;
$this->logger = $logger;
}
public function check... | __label__POS | 0.664828 |
$(document).ready(function() {
$('input[id^="textAreaDropDownCols"]').die('keypress').live('keypress',function(e) {
if (e.keyCode == 13) {
$('input[name="textAreaDropDownFieldValue'+$(this).getElement()+'Field'+$(this).getField()+'_1"]').select().focus();
return false;
}
return true;
});
$('.textAreaDro... | __label__POS | 0.982541 |
//
// MRZValidator.swift
//
//
// Created by Roman Mazeev on 13.07.2021.
//
import MRZParser
struct MRZValidator: Validator {
func getValidatedResults(from possibleLines: [[String]]) -> ValidatedResults {
var validLines = ValidatedResults()
for validMRZCode in MRZFormat.allCases {
... | __label__POS | 0.661519 |
// we need to refresh the list when select values change
$(document).ready(
function () {
$('.filterfieldselect').change(
function () {
$(this).closest('form').submit();
}
);
$('.excluded').change(
function () {
$(this).clos... | __label__POS | 0.948724 |
table.DTFC_Cloned tr {
background-color: white;
margin-bottom: 0;
}
div.DTFC_LeftHeadWrapper table,
div.DTFC_RightHeadWrapper table {
border-bottom: none !important;
margin-bottom: 0 !important;
background-color: white;
}
div.DTFC_LeftBodyWrapper table,
div.DTFC_RightBodyWrapper table {
border-top: none;
... | __label__POS | 0.914505 |
table.DTFC_Cloned tr{background-color:white;margin-bottom:0}div.DTFC_LeftHeadWrapper table,div.DTFC_RightHeadWrapper table{border-bottom:none !important;margin-bottom:0 !important;background-color:white}div.DTFC_LeftBodyWrapper table,div.DTFC_RightBodyWrapper table{border-top:none;margin:0 !important;z-index:2}div.DTFC... | __label__POS | 0.999882 |
<meta charset='utf-8'><meta charset="utf-8"><b style="font-weight:normal;" id="docs-internal-guid-f2bdbd38-7fff-c014-2955-cf27ac87f53f"><h1 dir="ltr" style="line-height:1.38;margin-top:24pt;margin-bottom:6pt;"><span style="font-size:23pt;font-family:Arial,sans-serif;color:#000000;background-color:transparent;font-weigh... | __label__POS | 0.967798 |
<meta charset='utf-8'><h1>The Notion Document</h1>
<h1>Heading-1</h1>
<h2>Heading - 2</h2>
<h3>Heading - 3</h3>
<p>This is a paragraph</p>
<p>paragraph’s child</p>
<ul><li>This is a bulleted list - 1<ul><li>This is a bulleted list - 1 - 1</li></ul></li><li>This is a bulleted list - 2</li></ul>
<p>This is a paragraph</p... | __label__POS | 0.975569 |
module("RRule", {
setup: function() {
// Enable additional toString() / fromString() tests
//for each testRecurring().
this.ALSO_TEST_STRING_FUNCTIONS = true;
// Enable additional toText() / fromText() tests
// for each testRecurring().
// Many of the tests fail b... | __label__POS | 0.811624 |
/*
* Map of Turkey
* @author: Burak Özdemir <https://github.com/ozdemirburak>
* @source: https://upload.wikimedia.org/wikipedia/commons/2/2e/BlankMapTurkishProvincesRegions.svg
*/
jQuery.fn.vectorMap("addMap","turkey",{"width": 1052, "height": 744, paths:{"01":{path:"M 518.88945,536.62132 C 518.88945,536.07132 518.... | __label__POS | 0.918728 |
/** Add Algeria Map Data Points */
jQuery.fn.vectorMap('addMap', 'dz_fr', {"width": 600, "height": 400, "paths": {"1": {"path":"M 268.306 457.87 c 0 0 2.249 -0.725 2.249 -0.725 c 0 0 -0.496 -2.893 -0.496 -2.893 c 0 0 -3.133 -7.454 -3.133 -7.454 c 0 0 -2.249 -3.262 -2.249 -3.262 c 0 0 0.031 -6.131 0.031 -6.131 c 0 0 -1.... | __label__POS | 0.744413 |
last_events_query = """
SELECT
tbl1.event_name AS event_name,
tbl1.event_timestamp AS event_timestamp,
tbl1.user_pseudo_id AS user_pseudo_id,
tbl1.event_params.key AS event_params_key,
tbl1.event_params_value_string_value AS event_params_value_string_value,
tbl1.app_info.version AS app_info_version,
tbl1.... | __label__POS | 0.992784 |
//
// RecognitionOperation.swift
// Pods
//
// Created by Михаил on 01.10.16.
//
//
import Foundation
class RecognizeOperation: Operation {
let scanner: DocumentScanner
var codes = [String]()
init (scanner: DocumentScanner) {
self.scanner = scanner
}
override func main() {
... | __label__POS | 0.835593 |
import Foundation
extension String {
subscript (i: Int) -> Character {
let index = self.index(self.startIndex, offsetBy: i)
return self[index]
}
func substring(from: Int, to: Int) -> String {
let fromIndex = self.index(self.startIndex, offsetBy: from)
let toIndex =... | __label__POS | 0.813295 |
/** Add World Map Data Points */
jQuery.fn.vectorMap('addMap', 'europe_en', {"width":950,"height":550,"paths":{"ee":{"path":"m 579.52752,247.70418 -14.10713,-0.50382 -8.94292,5.46651 -0.12596,4.0558 5.79401,5.46652 18.01178,3.04815 -0.62978,-17.53316 0,0 m -27.73563,10.02615 -3.90466,-0.12596 -2.26721,2.29241 1.63743,2... | __label__POS | 0.679655 |
/** Add World Map Data Points */
jQuery.fn.vectorMap('addMap', 'north-america_en', {"width":950,"height":550,"paths":{"mx":{"path":"m 330.70592,371.79351 8.52959,26.86025 -3.97341,2.22511 0.44149,5.3332 7.50533,5.77469 v 10.68406 l 9.27129,8.90044 -3.97341,-26.24217 -5.29788,-17.35939 1.32447,-12.00853 4.4149,0.44149 1... | __label__POS | 0.876151 |
/** Add World Map Data Points */
jQuery.fn.vectorMap('addMap', 'asia_en', {"width":950,"height":550,"paths":{"id":{"path":"m 615.27242,460.80117 -3.29462,12.37981 -17.87084,6.03301 -5.34842,-6.27548 -2.59577,0.71313 4.84924,18.71232 7.25958,0.81296 9.6842,3.66545 v 3.66545 l 4.43562,-0.81296 6.46089,-8.94255 v -7.31664... | __label__POS | 0.82395 |
/** Add World Map Data Points */
jQuery.fn.vectorMap('addMap', 'africa_en', {"width":950,"height":550,"paths":{"dz":{"path":"m 419.83634,8.1546547 -9.8215,-3.2979062 -40.87478,7.6790665 -8.90675,6.764318 5.44034,28.092384 -16.24881,0.649952 -9.77336,15.719217 -23.27792,5.584776 0.0722,11.434346 76.6703,58.616072 13.071... | __label__POS | 0.71075 |
package com.github.appintro.model
import org.junit.Assert.assertEquals
import org.junit.Test
class SliderPageBuilderTest {
@Test
fun sliderPageBuilder_correctParametersAssignment() {
val title = "Title"
val description = "Description"
val imageDrawable = 0x7f020000
val bgDrawab... | __label__POS | 0.984025 |
package com.github.appintro.model
import org.junit.Assert.assertEquals
import org.junit.Test
class SliderPageTest {
@Test
fun sliderPage_correctParametersAreAssigned() {
val title = "Title"
val description = "Description"
val imageDrawable = 0x7f020000
val bgColorRes = 0x7f0200... | __label__POS | 0.694634 |
package com.github.appintro
import android.graphics.drawable.Drawable
import android.os.Bundle
import android.view.View
import android.widget.ImageButton
import androidx.annotation.ColorInt
import androidx.annotation.DrawableRes
import androidx.constraintlayout.widget.ConstraintLayout
abstract class AppIntro2 : AppIn... | __label__POS | 0.731728 |
package com.github.appintro
import androidx.annotation.ColorInt
import androidx.annotation.ColorRes
interface SlideBackgroundColorHolder {
/**
* Returns the default background color of the slide
*
* @return The default background color of the slide
*/
@get:ColorInt
@Deprecated(
... | __label__POS | 0.670209 |
package com.github.appintro.example.ui.java;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.fragment.app.Fragment;
import com.github.appintro.AppIntro;
import com.github.appintro.AppIntroFragment;
import com.github.appintro.AppIntroPageTransformerType;
import com.github.appintro.example... | __label__POS | 0.627336 |
//
// MyMemoryTests.swift
// MyMemoryTests
//
// Created by 김태훈 on 1/2/24.
//
import XCTest
@testable import MyMemory
final class MyMemoryTests: XCTestCase {
override func setUpWithError() throws {
// Put setup code here. This method is called before the invocation of each test method in the class.
... | __label__POS | 0.791082 |
//
// SceneDelegate.swift
// MyMemory
//
// Created by 김소혜 on 1/16/24.
//
import Foundation
import UIKit
import SwiftUI
class SceneDelegate: NSObject, UIWindowSceneDelegate {
var window: UIWindow?
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options ... | __label__POS | 0.601796 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* size_map.c :+: :+: :+: ... | __label__POS | 0.678268 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* basics.c :+: :+: :+: ... | __label__POS | 0.906153 |
//
// QuadTree.swift
// MyMemory
//
// Created by 김태훈 on 1/21/24.
//
import Foundation
import CoreLocation
// Quad Tree의 노드를 나타내는 클래스
final class QuadTreeNode{
var coordinate: CLLocationCoordinate2D // 노드의 좌표
var value: Memo // 노드의 값
var topLeft: QuadTreeNode? // 좌상단 자식 노드
var topRight: QuadTreeNod... | __label__POS | 0.93284 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* largest_square.c :+: :+: :+: ... | __label__POS | 0.971057 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* read_file.c :+: :+: :+: ... | __label__POS | 0.800358 |
//
// HowToUseViewModel.swift
// MyMemory
//
// Created by 김소혜 on 1/16/24.
//
import Foundation
import Combine
final class OnboardingViewModel: ObservableObject{
@Published var onboardingList: [Onboarding] = []
init() {
fetchModel()
}
}
extension OnboardingViewModel {
public func fetc... | __label__POS | 0.731191 |
/*
Assignment name : repeat_alpha
Expected files : repeat_alpha.c
Allowed functions: write
--------------------------------------------------------------------------------
Write a program called repeat_alpha that takes a string and display it
repeating each alphabetical character as many times as its alphabetical i... | __label__POS | 0.942388 |
/*
Assignment name : rot_13
Expected files : rot_13.c
Allowed functions: write
--------------------------------------------------------------------------------
Write a program that takes a string and displays it, replacing each of its
letters by the letter 13 spaces ahead in alphabetical order.
'z' becomes 'm' and... | __label__POS | 0.653775 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* rshini.c :+: :+: :+: ... | __label__POS | 0.737471 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* rshifs.c :+: :+: :+: ... | __label__POS | 0.845099 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* rshdict.c :+: :+: :+: ... | __label__POS | 0.690795 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_combn.c :+: :+: :+: ... | __label__POS | 0.959543 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.