Search is not available for this dataset
content
stringlengths
60
399M
max_stars_repo_name
stringlengths
6
110
<|start_filename|>emoticonlib/src/main/java/com/pandaq/emoticonlib/base/BaseActivity.java<|end_filename|> package com.pandaq.emoticonlib.base; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.pm.PackageManager; import android.os.Build; import android.os.Bundle; import andr...
haojile/emoji-ime
<|start_filename|>node_modules/axe-core/lib/rules/presentation-role-conflict-matches.js<|end_filename|> import { getImplicitRole } from '../commons/aria'; function presentationRoleConflictMatches(node, virtualNode) { return getImplicitRole(virtualNode, { chromiumRoles: true }) !== null; } export default presentatio...
Al-dasouqi/React-app
<|start_filename|>scripts/mangleErrors.js<|end_filename|> const fs = require('fs') const helperModuleImports = require('@babel/helper-module-imports') /** * Converts an AST type into a javascript string so that it can be added to the error message lookup. * * Adapted from React (https://github.com/facebook/react/bl...
orendevops/redux
<|start_filename|>MTHawkeye/NetworkPlugins/Monitor/HawkeyeCore/MTHawkeyeUserDefaults+NetworkMonitor.h<|end_filename|> // // Copyright (c) 2008-present, Meitu, Inc. // All rights reserved. // // This source code is licensed under the license found in the LICENSE file in // the root directory of this source tree. // // C...
JonyFang/MTHawkeye
<|start_filename|>framework/src/main/java/com/github/ma1co/openmemories/framework/ImageInfo.java<|end_filename|> package com.github.ma1co.openmemories.framework; import android.content.ContentResolver; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.me...
ma1co/OpenMemories-Framework
<|start_filename|>util/strings_test.go<|end_filename|> package util import "testing" func TestSanitizeURI(t *testing.T) { cases := [][]string{ []string{"mongodb://example.com/", "mongodb://example.com/"}, []string{"mongodb://example.com/?appName=foo:@bar", "mongodb://example.com/?appName=foo:@bar"}, []string{"...
sphanse99/mongo-tools-common
<|start_filename|>lib/MoveToParentMergingPlugin.js<|end_filename|> function MoveToParentMergingPlugin(chunkCount) { this.chunkCount = chunkCount || 2; } module.exports = MoveToParentMergingPlugin; MoveToParentMergingPlugin.prototype.constructor = MoveToParentMergingPlugin; function getFirstCommonParent (chunks) { ...
soundcloud/move-to-parent-merging-webpack-plugin
<|start_filename|>roles/openpitrix/files/openpitrix/config/gen_helper.go<|end_filename|> // Copyright 2018 The OpenPitrix Authors. All rights reserved. // Use of this source code is governed by a Apache license // that can be found in the LICENSE file. // +build ingore package main import ( "fmt" "io/ioutil" ) co...
pengcong06/ks-installer
<|start_filename|>Elastic.Console/ElasticVersion.cs<|end_filename|> // A simple version implementation based on // https://github.com/maxhauser/semver/blob/master/src/Semver/SemVersion.cs // MIT License // Copyright (c) 2013 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy //...
isabella232/powershell
<|start_filename|>src/test/java/net/bitnine/agensgraph/test/util/AgTokenizerTest.java<|end_filename|> /* * Copyright (c) 2014-2018, Bitnine Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lice...
bitnine-oss/agensgraph-jdbc
<|start_filename|>add-on/src/popup/logo.js<|end_filename|> 'use strict' /* eslint-env browser, webextensions */ const html = require('choo/html') const { braveNodeType } = require('../lib/ipfs-client/brave') function logo ({ path, size = 52, ipfsNodeType = 'external', isIpfsOnline = true, heartbeat = true }) { retu...
Carson12345/ipfs-companion
<|start_filename|>share.js<|end_filename|> "use strict"; module.exports = function() { /* https://github.com/EliF-Lee/shareKakao */ function t() { this.h = { ct: "application/x-www-form-urlencoded", cj: "application/json", ua: "KakaoTalk Share Extension/9.1.7" }, this.pa = null, this...
archethic/shareKakao
<|start_filename|>Assets/TextureLoader/Scripts/TextureStreamingLoader.cs<|end_filename|> using UnityEngine; using System.Collections; namespace TextureLoader { [AddComponentMenu("Common/TextureLoader (Streaming Assets)")] public class TextureStreamingLoader : TextureLoader { public override void ...
asus4/UnityTextureLoader
<|start_filename|>Setup.lhs<|end_filename|> #!/usr/local/bin/runhaskell \begin{code} import Distribution.Simple main = defaultMainWithHooks autoconfUserHooks \end{code} <|start_filename|>System/Console/Terminfo/Effects.hs<|end_filename|> {-# LANGUAGE CPP #-} #if __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Safe #-} #endi...
hvr/terminfo
<|start_filename|>.template-lintrc.js<|end_filename|> module.exports = { plugins: ["ember-template-lint-plugin-discourse"], extends: "discourse:recommended" };
Qursch/discourse-bcc
<|start_filename|>Web/CreatingPackages.cshtml<|end_filename|> @{ Layout = "~/_ContentLayout.cshtml"; } @section headerBody { <h1>Creating Packages</h1> <p class="lead">Boxstarter includes some commands that can automate a lot of the "grunt" work involved with creating and packing NuGet packages.</p>...
mwrock/boxstarter
<|start_filename|>strslice_test.go<|end_filename|> package villa import ( "fmt" "testing" "github.com/golangplus/testing/assert" ) func TestStringSlice(t *testing.T) { defer __(o_(t)) var s StringSlice for i := 0; i < 1000; i++ { s.Add(string(rune('A' + i))) } assert.Equal(t, "len(s)", len(s), 1000) s.C...
daviddengcn/go-villa
<|start_filename|>test/exampleFiles.js<|end_filename|> // Case 1 const emptyFile = ``; const expectedEmptyFile = emptyFile; // Case 2 const fileWithoutAnyExport = `class WithoutAnyExportDefault extends Component { render() { return 'whatever'; } }`; const expectedFileWithoutAnyExport = fileWithoutAnyE...
mbarzeev/react-hot-loader-loader
<|start_filename|>src/vnet/ip/ip6_packet.h<|end_filename|> /* * Copyright (c) 2015 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache....
LoganathanNallusamy/vpp-1
<|start_filename|>release/songPathRnn/eval/.ipynb_checkpoints/test_from_checkpoint-checkpoint.lua<|end_filename|> require 'torch' require 'nn' require 'optim' require 'rnn' require 'os' --require 'cunn' package.path = package.path ..';./model/batcher/?.lua' package.path = package.path ..';../model/batcher/?.lua' pack...
plataKwon/KPRN
<|start_filename|>tests/integration/data/EnumGetValuesReturnType-7.json<|end_filename|> [ { "message": "Method MabeEnum\\PHPStan\\tests\\integration\\data\\EnumGetValuesReturnType\\MyEnum::staticGetValuesFail() should return array<int, null> but returns array<int, array|bool|float|int|string|null>.", ...
marc-mabe/php-enum-phpstan
<|start_filename|>test/data/badly-formed.js<|end_filename|> ()*$UY)(CJKY)V!(&H%V)%^!)*&)!@($VH^&%!(YODFAOFAFAYFAUAF&&&*&*(&*FA*FA*FA*FE&*F&*&*F&T# <|start_filename|>lib/text.js<|end_filename|> // Generated by LiveScript 1.5.0 (function(){ var pad; pad = function(str, num){ var len, padAmount; len = str.le...
GerHobbelt/grasp
<|start_filename|>averpil_com.html<|end_filename|> <body> <br><br><br><br> <center> <a href="http://susanna.averpil.com"><NAME></a><br> – Interaction Designer, Valtech, Stockholm <br><br> <a href="https://fredrikaverpil.github.io"><NAME></a><br> – Embedded Software Integration Engineer, ...
fredrikaverpil/fredrikaverpil.github.io
<|start_filename|>lib/helpers/chunk-string.coffee<|end_filename|> module.exports = chunkString = (str, len) -> _size = Math.ceil(str.length / len) _ret = new Array(_size) _offset = undefined _i = 0 while _i < _size _offset = _i * len _ret[_i] = str.substring(_offset, _offset + len) _i++ _ret ...
mingsai/atom-supercopair
<|start_filename|>codehandler/Makefile<|end_filename|> PATH := $(DEVKITPPC)/bin:$(PATH) PREFIX ?= powerpc-eabi- LD := $(PREFIX)ld AS := $(PREFIX)as CC := $(PREFIX)gcc OBJDUMP ?= $(PREFIX)objdump OBJCOPY ?= $(PREFIX)objcopy SFLAGS := -mgekko -mregnames # -O2: optimise lots # -Wall: generate lots of warnings # -x c: ...
pablingalas/hacks
<|start_filename|>components/github/actions/get-repo/get-repo.js<|end_filename|> const github = require('../../github.app.js') const { Octokit } = require('@octokit/rest') module.exports = { key: "github-get-repo", name: "Get Repo", description: "Get details for a repo including the owner, description, metrics (...
saikrishna169/pipedream
<|start_filename|>app/assets/javascripts/modules/teams/index.js<|end_filename|> import Vue from 'vue'; import TeamsIndexPage from './pages/index'; import TeamsShowPage from './pages/show'; $(() => { if (!$('body[data-controller="teams"]').length) { return; } // eslint-disable-next-line no-new new Vue({ ...
xybots/Portus
<|start_filename|>.vscode/settings.json<|end_filename|> { "editor.formatOnSave": true, "yaml.schemas": { "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json": ".github/workflows/**" } } <|start_filename|>src/JsonRpc.fs<|end_filename|> module Ionide.Language...
baronfel/LanguageServerProtocol
<|start_filename|>Hashids/Classes/Hashids.h<|end_filename|> // // Hashids.h // Hashids // // Created by <NAME> on 7/13/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #define HASHID_MIN_ALPHABET_LENGTH 4 #define HASHID_SEP_DIV 3.5 #define HASHID_GUARD_DIV 12 #define HAS...
jofell/hashids-objc
<|start_filename|>test/vary.test.js<|end_filename|> 'use strict' const { test } = require('tap') const vary = require('../vary') test('Should not set reply header if none is passed', t => { t.plan(1) const replyMock = { getHeader (name) { return [] }, header (name, value) { t.fail('Should...
mikemaccana/fastify-cors
<|start_filename|>packages/p/pcre2/xmake.lua<|end_filename|> package("pcre2") set_homepage("https://www.pcre.org/") set_description("A Perl Compatible Regular Expressions Library") set_urls("https://ftp.pcre.org/pub/pcre/pcre2-$(version).zip", "ftp://ftp.csx.cam.ac.uk/pub/software/programming...
wsw0108/xmake-repo
<|start_filename|>main.go<|end_filename|> package main import ( "flag" "fmt" "log" "os" "os/exec" "os/signal" "strconv" "strings" "syscall" "time" "github.com/bendahl/uinput" "github.com/godbus/dbus" evdev "github.com/gvalkov/golang-evdev" ) var ( config Config dbusConn *dbus.Conn keyboard uinput....
muesli/magicwand
<|start_filename|>ReliableNetcode/Utils/DateTimeEx.cs<|end_filename|> using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ReliableNetcode.Utils { internal static class DateTimeEx { public static double GetTotalSeconds(this DateTime time) { return (time.ToUniversalT...
gresolio/ReliableNetcode.NET
<|start_filename|>sources/converter.cpp<|end_filename|> #include "converter.hpp" int32_t* cvtMat2Int32(const cv::Mat& srcImage) { int32_t *result = new int32_t[srcImage.cols*srcImage.rows]; int offset = 0; for (int i = 0; i<srcImage.cols*srcImage.rows * 3; i += 3) { int32_t blue = srcImage.data[i]; ...
royinx/BilinearImageResize
<|start_filename|>css/osgh.user.css<|end_filename|> /* ==UserStyle== @name Old School GitHub @version 1.8.0 @description Reverts most of GitHub to its classic look @license MIT @author daattali @homepageURL https://github.com/daattali/oldschool-github-extension @namespace daattali ==/UserS...
daattali/oldschool-github-extension
<|start_filename|>clever-security-model/src/main/java/org/clever/security/dto/request/UserLoginLogQueryReq.java<|end_filename|> package org.clever.security.dto.request; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import org.clever.common.model.request.QueryByPag...
Lzw2016/clever-security
<|start_filename|>doc/functionIndex/@mlep/encodeData.html<|end_filename|> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>Description of encodeData</title> <meta name="keywords" content="encodeData"> <meta name="descr...
UCEEB/EnergyPlus-co-simulation-toolbox
<|start_filename|>src/k81x-fkeys.cpp<|end_filename|> // Copyright 2017 <NAME> <<EMAIL>> #include "./k81x.h" #include <unistd.h> #include <cstring> #include <iostream> using std::cerr; using std::cout; using std::endl; void usage() { cout << "Usage: sudo k81x-fkeys [-d device_path] [-u udev_path] [-v] on|off" << end...
themech/k810_k811_fkeys
<|start_filename|>components/widgets/krnpanel/assets/js/core/jquery.shapeshift.coffee<|end_filename|> # Project: jQuery.Shapeshift # Description: Align elements to grid with drag and drop. # Author: <NAME> # Maintained By: We the Media, inc. # License: MIT (($, window, document) -> pluginName = "shapeshift" d...
Sylveriam/proyecto-Todo-Tu-Club
<|start_filename|>src/game/client/tf/c_sdkversionchecker.cpp<|end_filename|> #include "cbase.h" #include "c_sdkversionchecker.h" #include "script_parser.h" #include "tier3/tier3.h" #include "cdll_util.h" //----------------------------------------------------------------------------- // Purpose: //--------------------...
AnthonyPython/TF2Vintage_razorback
<|start_filename|>Makefile<|end_filename|> .PHONY: fmt fmt: poetry run isort . poetry run black . .PHONY: chk chk: poetry run isort -c . poetry run black --check --diff .
jobteaser-oss/PyAthena
<|start_filename|>examples/export-4.html<|end_filename|> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>ADR Documents</title>...
iT-Boyer/adr
<|start_filename|>src/com/wuyr/dmifier/utils/ReflectUtil.kt<|end_filename|> @file:Suppress("UNCHECKED_CAST", "KDocMissingDocumentation", "PublicApiImplicitType", "unused") package com.wuyr.dmifier.utils import com.jetbrains.rd.util.string.println import java.io.PrintWriter import java.io.StringWriter import java.lang...
wuyr/DMifier
<|start_filename|>gulpfile.js<|end_filename|> /* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS f...
duongten95/puewue-frontend
<|start_filename|>lib/models/user_model.dart<|end_filename|> class UserModel { String uid; String? email; String? displayName; String? phoneNumber; String? photoUrl; UserModel( {required this.uid, this.email, this.displayName, this.phoneNumber, this.photoUrl}); } <|start_fi...
bharathm03/create_flutter_provider_app
<|start_filename|>include/time_measure_util.h<|end_filename|> #pragma once #include <chrono> #include <ratio> #include <string> #include <iostream> #include <tuple> #include <utility> class MeasureExecutionTime { private: const std::chrono::steady_clock::time_point begin; const std::string caller...
aabbas90/BDD
<|start_filename|>lnetlib/lnetlib/socket_non_ssl.h<|end_filename|> /* The MIT License (MIT) Copyright (c) 2015 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includi...
cpp11nullptr/lnetlib
<|start_filename|>app/scripts/post-processors/empty-array.js<|end_filename|> /** * Description: When the code have an empty array returns [1; * Input: const a = []; * Output: const a = [1; */ export function emptyArray(code) { return code.replace(/\[1;/g, '[];'); } <|start_filename|>app/scripts/post-processors...
CKGrafico/screenshotToCodeSandbox
<|start_filename|>server/cron/knownAccounts.json<|end_filename|> [ { "alias": "NanoLooker", "account": "<KEY>" }, { "alias": "NanoBrowserQuest", "account": "<KEY>" }, { "alias": "imalfect", "account": "<KEY>" }, { "alias": "Kuyumcu", "account": "<KEY>" }, { "alias":...
Verycutecat/nanolooker
<|start_filename|>lunboviewpager/src/main/java/com/xdandroid/lunboviewpager/Proxy.java<|end_filename|> package com.xdandroid.lunboviewpager; import android.support.v4.view.*; import android.view.*; import java.util.*; public class Proxy<T> { protected List<T> mList; protected long mInterval; ...
xingda920813/LunboViewPager
<|start_filename|>static/main.css<|end_filename|> /* * BASIC STYLES */ *, *:after, *:before { box-sizing: border-box; } html, body { background: rgb(40, 40, 40); cursor: default; height: 100%; margin: 0; padding: 0; width: 100%; overflow: hidden; } .app { color: #FAFAFA; /* grey50 */ font-famil...
suryatmodulus/webtorrent-desktop
<|start_filename|>build.cmd<|end_filename|> call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" FOR /F %%i IN ('git mkver next') DO set VERSION=%%i call sbt assembly cd target\scala-2.12 call native-image -jar git-mkver-assembly-%VERSION%.jar --no-fallback del git-mkver.exe move git-mkver-assembly-%VERSI...
ExitoLab/git-mkver
<|start_filename|>src/main/java/com/github/signalr4j/client/InvalidStateException.java<|end_filename|> /* Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved See License.txt in the project root for license information. */ package com.github.signalr4j.client; /** * Exception to indicate that an operat...
RaceTelemetry/signalr4j
<|start_filename|>plugins/grav-headless-plugin/package-lock.json<|end_filename|> { "name": "grav-headless-plugin", "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { "axios": { "version": "0.17.1", "resolved": "https://registry.npmjs.org/axios/-/axios-0.17.1.tgz", ...
spences10/gatsby-netlify
<|start_filename|>微信小程序/app.json<|end_filename|> { "pages": [ "pages/index/index", "pages/hybrid-page/hybrid" ], "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#333333", "backgroundColorTop": "#333333", "backgroundColorBottom": "#333333", "navigationBarTit...
RedTeapot/WxMiniProgramHybrid
<|start_filename|>test/Dockerfile<|end_filename|> # syntax=docker/dockerfile:experimental FROM python:3 WORKDIR /app RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \ apt-get update \ && apt-get install taskwarrior COPY . . RUN --mount=type=cache,target=/root/.cache/pip \ ...
Zebradil/powerline-taskwarrior
<|start_filename|>app/components/SpinnerHOC/styles.js<|end_filename|> import { StyleSheet } from 'react-native'; const transpBlack = 'rgba(0, 0, 0, 0.5)'; const styles = StyleSheet.create({ indicator: { backgroundColor: transpBlack, justifyContent: 'center' } }); export default styles; <|star...
victorkvarghese/rn-coffee
<|start_filename|>util.lisp<|end_filename|> ;;;; util.lisp (in-package #:snakes) (defun xsubseq (sequence start end &key (type 'sequence)) "Returns sequence with start->end chopped out of it" (concatenate type (subseq sequence 0 start) (subseq sequence (1+ end)))) ;removes found keywords from list, return...
shamazmazum/snakes
<|start_filename|>test/Portal.test.js<|end_filename|> import { render } from "@testing-library/svelte"; import TestPortalWrapper from "./TestPortalWrapper.svelte"; import TestLifecycle from "./TestLifecycle.svelte"; import { tick } from "svelte"; describe("<Portal /> target", () => { let wrapper; beforeEach(() =...
trasherdk/svelte-portal
<|start_filename|>tests/common/offset_ptr.h<|end_filename|> //------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license in...
ArianGhotbiMSFT/MSIX-PackageSupportFramework
<|start_filename|>src/assets/data/awesome.js<|end_filename|> export default [{ key: "books", icon: "book", name: "阅读", awesomes: [{ name: "A gentle guide to asynchronous programming with Eclipse Vert.x for Java developers", author: [ "<NAME>", "<NAME>", "<NA...
zf1976/social-vertex-website
<|start_filename|>integration_tests/send-metrics.js<|end_filename|> const { datadog, sendDistributionMetric } = require("datadog-lambda-js"); async function handle(event, context) { const responsePayload = { message: "hello, dog!" }; if (event.requestContext) { responsePayload.eventType = "APIGateway"; re...
Next-Interactive/datadog-lambda-layer-js
<|start_filename|>tests/tnoverrun.c<|end_filename|> /* * Copyright 2011-2015 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
juewuer/novaprova
<|start_filename|>format-delimited/src/main/java/io/cdap/plugin/format/delimited/input/DelimitedConfig.java<|end_filename|> /* * Copyright © 2021 <NAME>, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy ...
asishgoudo/hydrator-plugins
<|start_filename|>src/__tests__/fixtures/component_38.js<|end_filename|> import {SuperCustomButton} from './component_37'; import PropTypes from 'prop-types'; export function SuperDuperCustomButton({color, ...otherProps}) { return <SuperCustomButton {...otherProps} style={{color}} />; } SuperDuperCustomButton.propT...
bryceosterhaus/react-docgen
<|start_filename|>test/basic.js<|end_filename|> const common = require('./common') const Socket = require('../') const test = require('tape') test('detect WebSocket support', function (t) { t.equal(Socket.WEBSOCKET_SUPPORT, true, 'websocket support') t.end() }) test('create invalid socket', function (t) { t.pla...
Satellite-im/simple-websocket
<|start_filename|>test/ExplicitlyImpl.FluentActions.Test.UnitTests/BuilderTestsWithPartialViewResultAsync.cs<|end_filename|> using ExplicitlyImpl.AspNetCore.Mvc.FluentActions; using ExplicitlyImpl.FluentActions.Test.UnitTests.Controllers; using System.Threading.Tasks; using Xunit; namespace ExplicitlyImpl.FluentActio...
ExplicitlyImplicit/AspNetCore.Mvc.FluentActions
<|start_filename|>command_test.go<|end_filename|> package ipmsg import "testing" func TestMode(t *testing.T) { entry := BR_ENTRY if BR_ENTRY != entry.Mode() { t.Errorf("entry.Mode() contains not only mode part") } entry.SetOpt(SECRET) //fmt.Printf("entry %#08x\n", entry) //fmt.Printf("entry.Mode() %#08...
FlowingSPDG/go-ipmsg
<|start_filename|>src/store/store.cpp<|end_filename|> // Copyright (c) 2018-present Baidu, Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.a...
BuildJet/BaikalDB
<|start_filename|>meowmeow.cpp<|end_filename|> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <chrono> #include <utility> #include "constexprhash.h" // dummy check that hashes is compile time constants void check(uint32_t h) { switch (h) { case djb2a("123456789"): c...
vivkin/constexprhash
<|start_filename|>src/components/HistoryItemList.js<|end_filename|> import React from 'react'; import styled from 'styled-components'; import {useOutlet} from 'reconnect.js'; import HistoryItem from './HistoryItem'; import {ScrollBarCss} from './Widgets'; function HistoryItemList(props) { const {items} = props; co...
revtel/reactconf.tv
<|start_filename|>WebApp/Infrastructure/ConfigurableHealthCheckMode.cs<|end_filename|> namespace InspectorGadget.WebApp.Infrastructure { public enum ConfigurableHealthCheckMode { AlwaysSucceed, AlwaysFail, FailNextNumberOfTimes } } <|start_filename|>WebApp/Pages/Shared/DisplayTempla...
ormikopo1988/InspectorGadget
<|start_filename|>ui/src/components/TabTrigger.js<|end_filename|> import PropTypes from 'prop-types'; import React from 'react'; const TabTrigger = props => ( <div className={`tab-trigger ${props.className}`}> {React.cloneElement(props.children, { isActive: props.tabOpen === props.for, onClick: () =>...
haehn/peax
<|start_filename|>static/js/client.js<|end_filename|> let app_index = null; const socket = io({ // triggers server's io.on connect path: `${app_index = document.getElementById("app_index").getAttribute("content")}/socket.io` }); let filesize_limit = null; let page_limit = null; let queue_size = null; const ...
j9108c/dark-mode-pdf
<|start_filename|>library/src/main/java/com/crazypumpkin/versatilerecyclerview/library/Util.java<|end_filename|> package com.crazypumpkin.versatilerecyclerview.library; import android.content.res.Resources; /** * 常用函数 * Created by CrazyPumPkin on 2016/12/3. */ public class Util { /** * dp转px * @para...
CrazyPumPkin/VersatileRecyclerView
<|start_filename|>iso8211.go<|end_filename|> // Copyright 2015 <NAME> <<EMAIL>>. All rights reserved. // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file. // Package iso8211 implements ISO 8211 parsing. // It is targeted to NOAA IHO S-57 format vector chart files. //...
wangxmdw/iso8211
<|start_filename|>package.json<|end_filename|> { "name": "gh-find-current-pr", "version": "1.2.0", "description": "GitHub Action for finding the Pull Request (PR) associated with the current SHA.", "main": "main.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": {...
mvarrieur/gh-find-current-pr
<|start_filename|>CIE.AspNetCore.Authentication/CIE.AspNetCore.WebApp/Views/Home/LoggedOut.cshtml<|end_filename|> @{ ViewData["Title"] = "Logged out "; } <h1>@ViewData["Title"]</h1> <p>Hey whoever you were, why did you logout?</p> <|start_filename|>CIE.AspNetCore.Authentication/CIE.AspNetCore.WebApp/Views/Home/L...
AndreaPetrelli/cie-aspnetcore
<|start_filename|>lib/index.js<|end_filename|> "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = autoAsyncWrap; var _expressAsyncWrap = _interopRequireDefault(require("express-async-wrap")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { d...
naver/auto-async-wrap
<|start_filename|>basic/lesson3/verilator/sim/vinc/verilated_sc.h<|end_filename|> // -*- mode: C++; c-file-style: "cc-mode" -*- //************************************************************************* // // Copyright 2009-2020 by <NAME>. This program is free software; you can // redistribute it and/or modify it unde...
tacertain/Tutorials_MiSTer
<|start_filename|>lib/src/rendering/layer.dart<|end_filename|> import 'dart:ui' as ui; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:local_hero/src/rendering/controller.dart'; import 'package:vector_math/vector_math_64.dart'; // ignore_for_file: public_member_api_d...
FrankDomburg/local_hero
<|start_filename|>src/test/java/net/mguenther/kafka/junit/EmbeddedKafkaConfigTest.java<|end_filename|> package net.mguenther.kafka.junit; import kafka.server.KafkaConfig$; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import java.util.Properties; import static org.assertj.core.api.Asse...
mguenther/kafka-jun
<|start_filename|>booking-domain/src/main/java/org/needle/bookingdiscount/domain/BaseEntity.java<|end_filename|> package org.needle.bookingdiscount.domain; import javax.persistence.EntityListeners; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import jav...
502627670/needle-store
<|start_filename|>fonts.css<|end_filename|> @font-face { font-family: 'Favorit-Mono'; font-weight: normal; src: url('//partners.rebelmouse.com/IEEE/FavoritMono/ABCFavoritMono-Regular.woff2') format('woff2'), url('//partners.rebelmouse.com/IEEE/FavoritMono/ABCFavoritMono-Regular.woff') format('woff'); font-...
mwenge/dls
<|start_filename|>src/Web/WebDrapo/Model/KeyValueVO.cs<|end_filename|> using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace WebDrapo.Model { public class KeyValueVO { public string Key { set; get; } public string Value { set; get; } ...
heber-junior/drapo
<|start_filename|>Source/CSProfiling/Shiny/ShinyTools.c<|end_filename|> /* The MIT License Copyright (c) 2007-2010 <NAME> http://code.google.com/p/shinyprofiler/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal i...
angelahnicole/ChilliSource_ParticleOpt
<|start_filename|>Framework/IJSVG/IJSVG/Source/Rendering/IJSVGRendering.h<|end_filename|> // // IJSVGRendering.h // IJSVGExample // // Created by <NAME> on 14/03/2019. // Copyright © 2019 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> typedef CGFloat (^IJSVGRenderingBackingScaleFactorHelper)(vo...
lemonmojo/IJSVG
<|start_filename|>app/easytest_jmeter/BeanShellPreProcessorDemo.java<|end_filename|> import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import sun.misc.BASE64Decoder; import sun.misc.BASE64Encoder; import javax.crypto.Cipher; import javax.crypto.spec.IvParameterSpec; import javax.crypto.spec.Secr...
ibmcuijunluke/easypython
<|start_filename|>Chapter13/webapp/templates/macros.html<|end_filename|> {% macro render_pagination(pagination, endpoint) %} <nav aria-label="Page navigation example"> <ul class="pagination"> {% if pagination.has_prev %} <li class="page-item"> <a class="page-link" href="{{ url_for('blog....
jayakumardhananjayan/pythonwebtut
<|start_filename|>plugins/pick-a-color-master/build/1.1.3/js/pick-a-color-1.1.3.js<|end_filename|> /* * Pick-a-Color JS v1.1.3 * Copyright 2013 <NAME> and Broadstreet Ads * https://github.com/lauren/pick-a-color/blob/master/LICENSE */ ;(function ($) { "use strict"; $.fn.pickAColor = function (options) { ...
Romain64290/memotri
<|start_filename|>CYPasswordViewDemo/CYPasswordViewDemo/ViewController.h<|end_filename|> // // ViewController.h // CYPasswordViewDemo // // Created by cheny on 15/10/8. // Copyright © 2015年 zhssit. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
asparagusfern/payWindow
<|start_filename|>Makefile<|end_filename|> # ##################################################################### # FSE - Makefile # Copyright (C) <NAME> 2015 - present # GPL v2 License # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pu...
BeeBreeze/FiniteStateEntropy
<|start_filename|>azure-vote/Dockerfile<|end_filename|> FROM tiangolo/uwsgi-nginx-flask:python3.6 RUN pip install redis ADD /azure-vote /app WORKDIR /app ENV REDIS redisbackend.testapp EXPOSE 80
jeffqev/k8s-service-fabric-containers
<|start_filename|>Makefile<|end_filename|> .PHONY: all \ build \ build-release \ dist \ clean \ install \ setup ifeq ($(shell $(CC) -dM -E -x c /dev/null | grep -c __clang__), 1) CFLAGS = -DSQLITE_DISABLE_INTRINSIC endif PACKAGE := $(shell cargo read-manifest | jq -r .n...
ssedrick/duiker
<|start_filename|>cli/vendor/github.com/equinox-io/equinox/sdk_ctx.go<|end_filename|> // +build go1.7 package equinox import ( "context" ) // CheckContext is like Check but includes a context. func CheckContext(ctx context.Context, appID string, opts Options) (Response, error) { var req, err = checkRequest(appID, ...
s-pace/opctl
<|start_filename|>lib/shopix_web/views/layout_view.ex<|end_filename|> defmodule ShopixWeb.LayoutView do use ShopixWeb, :view end <|start_filename|>priv/repo/migrations/20170708183203_create_line_items_table.exs<|end_filename|> defmodule Shopix.Repo.Migrations.CreateLineItemsTable do use Ecto.Migration def chan...
gsarwate/shopix
<|start_filename|>bower.json<|end_filename|> { "name": "Creatures MOB-Engine", "description": "A Mod(pack) for Minetest that provides a MOB-Engine and adds several creatures to the game.\n", "keywords": [ "creatures", "mobs", "MOB", "MOB-Engine", "Creatures MOB-Engine...
clinew/cme
<|start_filename|>FeedParser/Internal/FDPXMLParserProtocol.h<|end_filename|> // // FDPXMLParserProtocol.h // FeedParser // // Created by <NAME> on 4/9/09. // Copyright 2009 <NAME>. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and assoc...
kballard/feedparser
<|start_filename|>resources/assets/js/store/home.js<|end_filename|> export default { page: 0, NoMoreItems: false, nothingFound: false, submissions: [], loading: null, getSubmissions(sort = 'hot') { return new Promise((resolve, reject) => { this.page++; this.loadi...
AhGhanima/voten
<|start_filename|>lib/index.js<|end_filename|> 'use strict'; const rules = { 'use-inclusive-words': require('./rules/use-inclusive-words') }; module.exports = { configs: { all: { plugins: ['inclusive-language'], rules: { 'inclusive-language/use-inclusive-words':...
Shinigami92/eslint-plugin-inclusive-language