identifier stringlengths 42 383 | collection stringclasses 1
value | open_type stringclasses 1
value | license stringlengths 0 1.81k | date float64 1.99k 2.02k ⌀ | title stringlengths 0 100 | creator stringlengths 1 39 | language stringclasses 157
values | language_type stringclasses 2
values | word_count int64 1 20k | token_count int64 4 1.32M | text stringlengths 5 1.53M | __index_level_0__ int64 0 57.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/Plork/au-packages/blob/master/upsource/tools/chocolateyinstall.ps1 | Github Open Source | Open Source | MIT | 2,021 | au-packages | Plork | PowerShell | Code | 57 | 252 | $ErrorActionPreference = 'Stop';
#Based on NO DETECTION IN PRO
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'upsource*'
fileType = 'zip'
silentArgs = "/s"
validExitCodes= @(0) #please insert other valid exit codes here
url = "https://download.jetbrains.com... | 29,207 |
https://github.com/hmrc/import-voluntary-disclosure-submission/blob/master/app/models/UnderpaymentDetails.scala | Github Open Source | Open Source | Apache-2.0 | null | import-voluntary-disclosure-submission | hmrc | Scala | Code | 401 | 1,280 | /*
* Copyright 2021 HM Revenue & Customs
*
* 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
*
* Unless required by applicable law or a... | 1,865 |
https://github.com/axel-springer-kugawana/scim2-sdk/blob/master/scim2-sdk-server/src/main/java/dev/axelspringerkugawana/scim2/server/service/Scim2BulkService.java | Github Open Source | Open Source | MIT | null | scim2-sdk | axel-springer-kugawana | Java | Code | 28 | 157 | package dev.axelspringerkugawana.scim2.server.service;
import dev.axelspringerkugawana.scim2.schema.data.misc.BulkRequest;
import dev.axelspringerkugawana.scim2.schema.data.misc.BulkResponse;
import dev.axelspringerkugawana.scim2.schema.ex.ScimException;
/**
* author: suvera
* date: 10/19/2020 12:23 PM
*/
public i... | 7,035 |
https://github.com/jarnovirta/angularBlog/blob/master/.gitignore | Github Open Source | Open Source | MIT | 2,019 | angularBlog | jarnovirta | Ignore List | Code | 8 | 39 | /.tmp
/angular-seo
/bower_components
/dist
/log
/node_modules
/redis-stable
/sourcemaps
| 8,726 |
https://github.com/pppatil7/100-days-of-code/blob/master/src/com/project/SubSubServiceProvider.java | Github Open Source | Open Source | MIT | 2,021 | 100-days-of-code | pppatil7 | Java | Code | 7 | 19 | package com.project;
public class SubSubServiceProvider {
}
| 44,543 |
https://github.com/telstra/open-kilda/blob/master/src-java/floodlight-service/floodlight-api/src/main/java/org/openkilda/floodlight/api/request/EgressFlowSegmentRequest.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | open-kilda | telstra | Java | Code | 217 | 666 | /* Copyright 2021 Telstra Open Source
*
* 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
*
* Unless required by applicable la... | 29,055 |
https://github.com/ThreeSevenths/Remote.Linq/blob/master/test/Remote.Linq.Tests/AsyncQueryableExtensions/When_using_async_numeric_linq_operations.cs | Github Open Source | Open Source | MIT | 2,022 | Remote.Linq | ThreeSevenths | C# | Code | 462 | 1,429 | // Copyright (c) Christof Senn. All rights reserved. See license.txt in the project root for license information.
namespace Remote.Linq.Tests.AsyncQueryableExtensions
{
using Aqua.TypeExtensions;
using Remote.Linq.Async;
using Remote.Linq.TestSupport;
using Shouldly;
using System;
using System... | 14,393 |
https://github.com/wesbonelli/sensus/blob/master/Sensus.Shared/Probes/Location/LocationDatum.cs | Github Open Source | Open Source | Apache-2.0 | 2,019 | sensus | wesbonelli | C# | Code | 255 | 634 | // Copyright 2014 The Rector & Visitors of the University of Virginia
//
// 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
//
// Unless req... | 2,770 |
https://github.com/juliendelplanque/DatabaseCriticsBrowser/blob/master/repository/DatabaseCritics.package/DCNoClassification.class/instance/groups.st | Github Open Source | Open Source | MIT | null | DatabaseCriticsBrowser | juliendelplanque | null | Spoken | 5 | 10 | grouping
groups
^ self rules | 9,409 |
https://github.com/0xflotus/Acid/blob/master/Sources/Audio/SoundBuffer.hpp | Github Open Source | Open Source | MIT | 2,019 | Acid | 0xflotus | C++ | Code | 129 | 358 | #pragma once
#include <string>
#include "Maths/Vector3.hpp"
#include "Resources/IResource.hpp"
#include "Audio.hpp"
namespace acid
{
/// <summary>
/// Class that represents a sound buffer.
/// </summary>
class ACID_EXPORT SoundBuffer :
public IResource
{
private:
std::string m_filename;
uint32_t m_buffer;... | 27,682 |
https://github.com/sirherrbatka/cl-data-structures/blob/master/src/sequences/rrb/docstrings.lisp | Github Open Source | Open Source | BSD-2-Clause | 2,022 | cl-data-structures | sirherrbatka | Common Lisp | Code | 65 | 233 | (cl:in-package #:cl-data-structures.sequences.rrb-vector)
(docs:define-docs
:formatter docs.ext:rich-aggregating-formatter
(type functional-rrb-vector
(:description "Functional variant of the RRB vector."))
(type mutable-rrb-vector
(:description "Mutable variant of the RRB vector."))
(type transacti... | 12,950 |
https://github.com/DABH/terrain/blob/master/scripts/reset_env.sh | Github Open Source | Open Source | Apache-2.0, CC0-1.0 | 2,019 | terrain | DABH | Shell | Code | 234 | 682 | #!/bin/bash
read -r -d '' HELPSTRING <<"EOF"
Script to Reset Midway and Docker State
Usage: reset_env [-all] | [-euido] [-x s]
--all equivalent to -euido
-e drop ETL tables
-u drop users table
-i drop items (groups, categories, algorithms)
-d reset the docker test Elastic Index (My Elastic Databa... | 2,913 |
https://github.com/rsc/tmp/blob/master/jsonfmt/go.mod | Github Open Source | Open Source | BSD-3-Clause | 2,023 | tmp | rsc | Go Module | Code | 2 | 12 | module rsc.io/tmp/jsonfmt
| 34,815 |
https://github.com/jprjr/audacity-packer/blob/master/recfind.c | Github Open Source | Open Source | MIT | null | audacity-packer | jprjr | C | Code | 166 | 677 | #include "recfind.h"
#if defined(_WIN32) || defined(_WIN64)
#ifndef _UNICODE
#define _UNICODE 1
#endif
#ifndef UNICODE
#define UNICODE 1
#endif
#endif
#include "tinydir.h"
#include "winstr.h"
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>
#define FOLDER_SEP "\\"
#define CHAR wchar_t
#else
#define FOLDER... | 9,580 |
https://github.com/thomascaillier/recipe-scrapers/blob/master/tests/test_abril.py | Github Open Source | Open Source | MIT | 2,021 | recipe-scrapers | thomascaillier | Python | Code | 213 | 770 | from tests import ScraperTest
from recipe_scrapers.abril import Abril
class TestAbrilScraper(ScraperTest):
scraper_class = Abril
def test_host(self):
self.assertEqual("claudia.abril.com.br", self.harvester_class.host())
def test_canonical_url(self):
self.assertEqual(
"https... | 3,374 |
https://github.com/vishalda/blog-django-react/blob/master/blog_frontend/src/user/profile.js | Github Open Source | Open Source | MIT | null | blog-django-react | vishalda | JavaScript | Code | 273 | 1,186 | import React from 'react';
import { Link } from 'react-router-dom';
import { IsAuthenticated } from '../auth/helper/index';
import { getPost, getUserDetail } from '../core/helper/coreApiCalls';
import { PostCard } from '../core/components/Card';
import Base from '../core/components/Base';
import Container from 'react-b... | 10,611 |
https://github.com/kniz/wrd/blob/master/mod/wrd/frame.hpp | Github Open Source | Open Source | MIT | 2,019 | wrd | kniz | C++ | Code | 6 | 27 | #pragma once
#include "frame/thread.hpp"
#include "frame/starter.hpp"
| 11,975 |
https://github.com/sizilium/Mosaic.Infrastructure/blob/master/src/Infrastructure/Net/NetworkConnectionFactoryExtensions.cs | Github Open Source | Open Source | Apache-2.0 | null | Mosaic.Infrastructure | sizilium | C# | Code | 233 | 521 | /* Copyright 2017 Cimpress
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
Unless required by applicable law or agreed to in writing, software
distribute... | 11,693 |
https://github.com/Bobobeats/proxy-Vicente/blob/master/server/ipAddresses.js | Github Open Source | Open Source | MIT | 2,020 | proxy-Vicente | Bobobeats | JavaScript | Code | 23 | 88 | module.exports = {
comments: 'http://35.163.180.83:4001',
relatedTracks: 'http://44.226.147.90:1000',
player: 'http://44.232.36.205:3002',
};
// proxy IP:
// vic proxy as of Feb 2, 2020
// 35.162.5.161 | 42,551 |
https://github.com/mmarti42/psql-hooks/blob/master/generate.py | Github Open Source | Open Source | PostgreSQL | 2,022 | psql-hooks | mmarti42 | Python | Code | 873 | 4,648 | from collections import namedtuple
import os
import jinja2
HookType = namedtuple('HookType', 'name output inputs')
HookInput = namedtuple('HookInput', 'type name')
Hook = namedtuple('Hook', 'type name source_link')
HookSection = namedtuple('HookSection', 'name slug short_desc long_desc hooks')
def link(path):
... | 8,786 |
https://github.com/xzhan96/chromium.src/blob/master/third_party/WebKit/Source/platform/graphics/CompositorMutableState.cpp | Github Open Source | Open Source | BSD-3-Clause-No-Nuclear-License-2014, BSD-3-Clause | 2,021 | chromium.src | xzhan96 | C++ | Code | 172 | 903 | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "platform/graphics/CompositorMutableState.h"
#include "cc/layers/layer_impl.h"
#include "cc/trees/layer_tree_impl.h"
#include "platform/graphics... | 20,436 |
https://github.com/omar96i/dashboard-plantilla/blob/master/database/migrations/2022_02_22_133512_create_empresa_datos_table.php | Github Open Source | Open Source | MIT | null | dashboard-plantilla | omar96i | PHP | Code | 58 | 243 | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateEmpresaDatosTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('empresa_da... | 38,142 |
https://github.com/clutter/Pelican/blob/master/Tests/PelicanTests/RetryTaskTests.swift | Github Open Source | Open Source | MIT | 2,018 | Pelican | clutter | Swift | Code | 271 | 850 | //
// RetryTaskTests.swift
// Pelican
//
// Created by Robert Manson on 4/25/17.
// Copyright © 2017 CocoaPods. All rights reserved.
//
import XCTest
@testable import Pelican
private class TaskCollector {
static var shared = TaskCollector()
var collected = [RetryTask]()
var retryCount = 0
func co... | 33,508 |
https://github.com/bennibrightside/EmptyStateController/blob/master/EmptyView/EmptyStateController.swift | Github Open Source | Open Source | MIT | null | EmptyStateController | bennibrightside | Swift | Code | 365 | 1,190 | //
// ViewController.swift
// EmptyView
//
// Created by Benni on 06.09.16.
// Copyright © 2016 Ben Boecker. All rights reserved.
//
import UIKit
protocol EmptyStateController {}
extension EmptyStateController where Self: UIViewController {
/// Tag value to identify the `EmptyView` in the view controller's vie... | 37,740 |
https://github.com/MewsSystems/fiscalizations/blob/master/src/Italy/Mews.Fiscalizations.Italy/Dto/XmlSignature/PGPData.cs | Github Open Source | Open Source | MIT | 2,022 | fiscalizations | MewsSystems | C# | Code | 52 | 220 | using System;
using System.Xml.Serialization;
namespace Mews.Fiscalizations.Italy.Dto.XmlSignature
{
[Serializable, XmlType(Namespace = "http://www.w3.org/2000/09/xmldsig#"), XmlRoot("PGPData", Namespace = "http://www.w3.org/2000/09/xmldsig#", IsNullable = false)]
public class PGPData
{
[XmlAnyEle... | 7,574 |
https://github.com/wu-cl/ucas_bbs/blob/master/app/controllers/homeland/nodes_controller.rb | Github Open Source | Open Source | MIT | 2,019 | ucas_bbs | wu-cl | Ruby | Code | 84 | 325 | module Homeland
class NodesController < Homeland::ApplicationController
before_action :authorize_admin!, except: [:index]
before_action :node, only: [:edit, :update, :destroy]
def index
@nodes = Node.order('sort desc')
end
def new
@node = Node.new
end
def create
@node ... | 26,034 |
https://github.com/TeodoraI/PnP/blob/master/Samples/ECM.DocumentSets/ECM.DocumentSetsWeb/Models/HomeViewModel.cs | Github Open Source | Open Source | LicenseRef-scancode-warranty-disclaimer, MIT | 2,019 | PnP | TeodoraI | C# | Code | 99 | 270 | using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ECM.DocumentSetsWeb.Models
{
public class HomeViewModel
{
private List<ContentTypeModel> _allowedContentTypes = new List<ContentTypeModel>();
private List<FieldMode... | 8,105 |
https://github.com/iggyzap/adder_and_sidekick/blob/master/sidekick/src/main/java/com/iggy/zap/sidekick/netty/RouterApplication.java | Github Open Source | Open Source | Apache-2.0 | null | adder_and_sidekick | iggyzap | Java | Code | 269 | 824 | package com.iggy.zap.sidekick.netty;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.example.proxy.HexDumpProxyInitializer;
import io.netty.handler.logging.LogLevel;
import io... | 50,466 |
https://github.com/JLLeitschuh/ktlint-gradle/blob/master/samples/kotlin-reporter-using/build.gradle.kts | Github Open Source | Open Source | MIT | 2,023 | ktlint-gradle | JLLeitschuh | Kotlin | Code | 43 | 243 | import org.jlleitschuh.gradle.ktlint.reporter.ReporterType
plugins {
application
id("org.jlleitschuh.gradle.ktlint")
kotlin("jvm")
}
application {
mainClass.set("org.jlleitschuh.gradle.ktlint.sample.kotlin.MainKt")
}
ktlint {
verbose.set(true)
debug.set(true)
outputToConsole.set(true)
... | 8,644 |
https://github.com/spooderman-x/Sorting-Algos/blob/master/BubbleSort.cpp | Github Open Source | Open Source | MIT | null | Sorting-Algos | spooderman-x | C++ | Code | 70 | 303 | #include<bits/stdc++.h>
using namespace std;
void bubbleSort(int a[],int n)
{
for(int i=0;i<n-1;i++)
{
for(int j=0;j<n-1-i;j++)
{
if(a[j]>a[j+1])
swap(a[j],a[j+1]);
}
}
}
void swap(int *x,int*y)
{
int temp;
temp=*x;
*x=*y;
*y=temp;
}
void printArray(int a[],int n)
{
for(int i=0;i<n;i++)
... | 16,017 |
https://github.com/Lyduz/nitibo/blob/master/app/modules/social/views/social.vue | Github Open Source | Open Source | MIT | 2,020 | nitibo | Lyduz | Vue | Code | 159 | 538 | <!--This page is using the layout components of nitibo @/layout/default.vue-->
<template>
<Default :title="social_get_title">
<Label :text="social_get_title" class="header" />
<Label text="generated via store vuex" />
</Default>
</template>
<script lang="ts">
import { Vue, Component } from 'vue-property-de... | 22,474 |
https://github.com/sbmarcosdev/research/blob/master/resources/views/empresas/color.blade.php | Github Open Source | Open Source | MIT | 2,021 | research | sbmarcosdev | Blade | Code | 23 | 119 | @extends('template.template')
@section('content')
<div id='colorPicker' style="margin-top: 300px;">
<input type='color' value='#ea0437' id="inputcolor" class='form-control' onchange="jsCor()"/>
</div>
@endsection
@section('scripts')
<script>
function jsCor(){
alert( $('#inputcolor').val());
... | 14,767 |
https://github.com/Jiaolong/self-supervised-da/blob/master/data/jigsaw_dataset.py | Github Open Source | Open Source | MIT | 2,019 | self-supervised-da | Jiaolong | Python | Code | 332 | 1,143 | import numpy as np
import torch
import torch.utils.data as data
import torchvision
import torchvision.transforms as transforms
from PIL import Image
from random import sample, random
from os.path import join, dirname
from data.dataset_utils import *
class JigsawDataset(data.Dataset):
def __init__(self, name, split... | 6,577 |
https://github.com/ludofleury/blackflag/blob/master/php/src/BlackFlag/Resolution/PrimaryAttributeName.php | Github Open Source | Open Source | MIT | 2,022 | blackflag | ludofleury | PHP | Code | 93 | 351 | <?php
declare(strict_types=1);
namespace BlackFlag\Resolution;
use BlackFlag\Attribute\Primary\Adaptability;
use BlackFlag\Attribute\Primary\Charisma;
use BlackFlag\Attribute\Primary\Constitution;
use BlackFlag\Attribute\Primary\Dexterity;
use BlackFlag\Attribute\Primary\Expression;
use BlackFlag\Attribute\Primary\Kn... | 43,752 |
https://github.com/knroy/Competitive-Programming/blob/master/Compiler-Consturction/Left Factoring.cpp | Github Open Source | Open Source | Apache-2.0 | null | Competitive-Programming | knroy | C++ | Code | 167 | 538 | #include<bits/stdc++.h>
#define MIN(a,b) ((a)>(b)?(b):(a))
using namespace std;
string root;
int splitRoot(string str)
{
string temp = "";
int i;
for(i=0; str[i]!='='; i++)
temp += str[i];
root = temp;
return i+1;
}
string maxMatch(string aa,string ab)
{
string tmp="";
int lna = aa... | 30,428 |
https://github.com/faithcomesbyhearing/dbp/blob/master/resources/views/docs/routes/glossary.blade.php | Github Open Source | Open Source | MIT | 2,023 | dbp | faithcomesbyhearing | Blade | Code | 15 | 48 | @extends('layouts.docs')
@section('content')
<!-- docs Content Area -->
<div class="col-9 content-column">
Glossary goes here
</div>
@endsection | 8,908 |
https://github.com/redding/much-rails/blob/master/lib/much-rails/action/send_data_result.rb | Github Open Source | Open Source | MIT | 2,021 | much-rails | redding | Ruby | Code | 38 | 142 | # frozen_string_literal: true
require "much-rails/action/base_command_result"
module MuchRails; end
module MuchRails::Action; end
# MuchRails::Action::SendDataResult is a command result for the `send_data`
# controller response command.
class MuchRails::Action::SendDataResult < MuchRails::Action::BaseCommandResult
... | 8,456 |
https://github.com/prime-space/merchant/blob/master/src/Migration/Migration20190210132800.php | Github Open Source | Open Source | Apache-2.0 | 2,021 | merchant | prime-space | PHP | Code | 89 | 262 | <?php namespace App\Migration;
use Ewll\DBBundle\Migration\MigrationInterface;
class Migration20190210132800 implements MigrationInterface
{
public function getDescription(): string
{
return 'Freekassa';
}
public function up(): string
{
return <<<SQL
INSERT INTO `paymentSystem`
... | 50,178 |
https://github.com/netpyoung/unity.libsodium/blob/master/unity.libsodium/Assets/unity.libsodium/StreamEncryption.cs | Github Open Source | Open Source | MIT | 2,021 | unity.libsodium | netpyoung | C# | Code | 429 | 1,245 | using System;
using System.Text;
namespace unity.libsodium
{
public static class StreamEncryption
{
private const int XSALSA20_KEY_BYTES = 32;
private const int XSALSA20_NONCE_BYTES = 24;
private const int CHACHA20_KEY_BYTES = 32;
private const int CHACHA20_NONCEBYTES = 8;
... | 8,497 |
https://github.com/lydiaxing/snail-motion-profiles2/blob/master/node_modules/blocking-proxy/built/lib/webdriver_proxy.js | Github Open Source | Open Source | MIT | 2,018 | snail-motion-profiles2 | lydiaxing | JavaScript | Code | 305 | 880 | "use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(gene... | 10,354 |
https://github.com/rzr/iotivity/blob/master/test/test_manager/test_runner.py | Github Open Source | Open Source | Apache-2.0, GPL-2.0-only, MIT, BSD-3-Clause | 2,021 | iotivity | rzr | Python | Code | 682 | 2,486 | #!/usr/bin/python3
'''
/******************************************************************
*
* Copyright 2018 Samsung Electronics 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... | 19,077 |
https://github.com/abraaodwd/laravel/blob/master/database/seeds/Tbl_autoresSeeder.php | Github Open Source | Open Source | MIT | null | laravel | abraaodwd | PHP | Code | 83 | 305 | <?php
use Illuminate\Database\Seeder;
use App\Models\Tbl_autores;
use Illuminate\Support\Facades\Hash;
class Tbl_autoresSeeder extends Seeder {
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('tbl_autores')->delete();
Tbl_autores::create([
... | 1,075 |
https://github.com/smkplus/ConfigurableShaders/blob/master/Samples~/Examples/Prefabs/UI-BlendMode.prefab | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,019 | ConfigurableShaders | smkplus | Unity3D Asset | Code | 1,096 | 4,818 | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1769949759103168747
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2406436706471903175}
- component: {fileID: 689... | 22,025 |
https://github.com/lukavavetic/digital-city-api/blob/master/src/Business/Mappers/Role/Request/RoleListRequestMapper.php | Github Open Source | Open Source | MIT | 2,020 | digital-city-api | lukavavetic | PHP | Code | 30 | 91 | <?php
namespace src\Business\Mappers\Role\Request;
class RoleListRequestMapper
{
private string $sort = "DESC";
public function getSort() : string
{
return $this->sort;
}
public function setSort($sort): void
{
$this->sort = $sort;
}
} | 37,461 |
https://github.com/SpaceIm/conan-cpp-peglib/blob/master/patches/fix-token_to_number_.patch | Github Open Source | Open Source | MIT | null | conan-cpp-peglib | SpaceIm | null | Spoken | 84 | 304 | --- a/peglib.h
+++ b/peglib.h
@@ -13,9 +13,6 @@
#include <cctype>
#if __has_include(<charconv>)
#include <charconv>
-#define CPPPEGLIB_HAS_CHARCONV true
-#else
-#define CPPPEGLIB_HAS_CHARCONV false
#endif
#include <cstring>
#include <functional>
@@ -343,8 +340,12 @@ inline std::string resolve_escape_sequence(cons... | 1,964 |
https://github.com/dk-dev/balanced-dashboard/blob/master/app/views/menus/dropdown-menu-items/base.coffee | Github Open Source | Open Source | MIT | 2,021 | balanced-dashboard | dk-dev | CoffeeScript | Code | 13 | 46 | `import Ember from "ember";`
DropdownMenuItemView = Ember.View.extend(
tagName: "li"
)
`export default DropdownMenuItemView;`
| 3,999 |
https://github.com/mariodivece/ledemotion/blob/master/Unosquare.LedEmotion.Controller/wwwroot/js/app.js | Github Open Source | Open Source | MIT | 2,017 | ledemotion | mariodivece | JavaScript | Code | 933 | 3,440 |
var app = {};
$(function () {
"use strict";
String.prototype.capitalizeFirstLetter = function () {
return this.charAt(0).toUpperCase() + this.slice(1);
};
app.ByteToHex = function(c) {
var hex = c.toString(16);
return hex.length == 1 ? "0" + hex : hex;
};
app.Alert ... | 46,111 |
https://github.com/muweigg/gulp4/blob/master/src/js/index.ts | Github Open Source | Open Source | MIT | 2,018 | gulp4 | muweigg | TypeScript | Code | 10 | 31 | const { fromEvent } = rxjs;
fromEvent(document, 'click').subscribe(e => console.log(e));
| 390 |
https://github.com/lqqokim/healthMonitoringPrediction/blob/master/frontend/pdm-web/tools/modules/wijmo/wijmo.grid.grouppanel.js | Github Open Source | Open Source | MIT | 2,018 | healthMonitoringPrediction | lqqokim | JavaScript | Code | 1,009 | 3,518 | System.register(["wijmo/wijmo", "wijmo/wijmo.grid", "wijmo/wijmo.grid.grouppanel"], function (exports_1, context_1) {
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) {... | 12,283 |
https://github.com/kakTycReal/links_shortener/blob/master/application/models/Main_m.php | Github Open Source | Open Source | MIT | null | links_shortener | kakTycReal | PHP | Code | 51 | 175 | <?php
class Main_m extends CI_Model
{
function __construct()
{
parent::__construct();
$this->load->database();
}
public function get_url()
{
$url_link = $this->uri->segment(1);
$query = $this->db->query("SELECT * FROM shorts WHERE short = '$url_link' LIMIT 1");
return $query;
}
function set_url($shor... | 12,988 |
https://github.com/songchaow/starcrat2-ai/blob/master/s2client-api/include/google/protobuf/compiler/javanano/javanano_extension.cc | Github Open Source | Open Source | MIT | null | starcrat2-ai | songchaow | C++ | Code | 688 | 1,870 | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistri... | 39,310 |
https://github.com/wasimakh2/mailness/blob/master/resources/views/reports/index.blade.php | Github Open Source | Open Source | LicenseRef-scancode-free-unknown, MIT | 2,020 | mailness | wasimakh2 | Blade | Code | 26 | 115 | @extends('layouts.main')
@section('content')
<h3>List all reports</h3>
@foreach($reports as $report)
<div class="bg-gray-100 p-4 shadow flex justify-between">
<div>
<a href="{{ route('campaigns.report', $report->id) }}">{{ $report->subject }}</a>
</div>
</div>
@endforeach
... | 8,555 |
https://github.com/cboyle81/carina/blob/master/carina-api/src/main/java/com/qaprosoft/carina/core/foundation/api/http/HttpResponseStatusType.java | Github Open Source | Open Source | Apache-2.0 | 2,020 | carina | cboyle81 | Java | Code | 181 | 502 | /*******************************************************************************
* Copyright 2013-2018 QaProSoft (http://www.qaprosoft.com).
*
* 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 ... | 30,923 |
https://github.com/cmput404-project-yonder/yonder/blob/master/backend/yonder/migrations/0005_like.py | Github Open Source | Open Source | MIT | 2,021 | yonder | cmput404-project-yonder | Python | Code | 45 | 210 | # Generated by Django 3.1.6 on 2021-03-28 02:07
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
dependencies = [
('yonder', '0004_auto_20210325_0459'),
]
operations = [
migrations.CreateModel(
name=... | 26,668 |
https://github.com/jhump/bluegosling/blob/master/src/com/bluegosling/collections/tries/AbstractNavigableCompositeTrie.java | Github Open Source | Open Source | Apache-2.0 | 2,021 | bluegosling | jhump | Java | Code | 3,133 | 9,589 | package com.bluegosling.collections.tries;
import com.bluegosling.collections.AbstractNavigableMap;
import com.bluegosling.collections.BoundType;
import com.bluegosling.collections.CollectionUtils;
import com.bluegosling.collections.DescendingSet;
import com.bluegosling.collections.MapUtils;
import com.bluegosling.col... | 31,210 |
https://github.com/victorlrosa/workshop-aspnet-core-mvc/blob/master/SalesWebMvc/Views/Home/About.cshtml | Github Open Source | Open Source | MIT | null | workshop-aspnet-core-mvc | victorlrosa | C# | Code | 18 | 95 | @{
ViewData["Title"] = "About";
}
<h2>@ViewData["Title"]</h2>
<h3>@ViewData["Message"]</h3>
<p>Site em desenvolvimento. Mais informações em breve.</p>
<p>@ViewData["Email"]</p>
<br />
<p>@ViewData["Developer"]</p>
| 1,209 |
https://github.com/faiwilsuc/MERN-chattingApp/blob/master/client/modules/Mentorship/MentorshipPage.js | Github Open Source | Open Source | MIT | 2,017 | MERN-chattingApp | faiwilsuc | JavaScript | Code | 974 | 3,927 | import React, { PropTypes } from 'react';
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import Header from '../../components/Header';
import LeftDrawer from '../../components/LeftDrawer';
import fetch from 'isomorphic-fetch';
//=================== Redux ========================
import { connect... | 34,551 |
https://github.com/jesusarockias/ej2-javascript-ui-controls/blob/master/controls/diagrams/e2e/tests/diagram/selector-Constraints.spec.ts | Github Open Source | Open Source | Net-SNMP, Xnet | null | ej2-javascript-ui-controls | jesusarockias | TypeScript | Code | 416 | 2,415 | /**
* spec
*/
import { createElement } from '@syncfusion/ej2-base';
import { Diagram } from '../../../src/diagram/diagram';
import { browser, element, By, ElementFinder, by, protractor } from '@syncfusion/ej2-base/e2e/index';
describe('Diagram Selector', () => {
it('Selector Render', () => {
browser.slee... | 44,222 |
https://github.com/mercileesb/watson-streaming-localfile-stt/blob/master/transcribe.py | Github Open Source | Open Source | Apache-2.0 | 2,019 | watson-streaming-localfile-stt | mercileesb | Python | Code | 539 | 1,550 | #!/usr/bin/env python
#
# Copyright 2016 IBM
#
# 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
#
# Unless required by applicable law or agreed ... | 10,216 |
https://github.com/huangtao/cloud-test/blob/master/vendor/RainbowRepacker/tool/engine_android(5)/smali/com/example/tutorial/VideoProto$VideoMessage$Builder.smali | Github Open Source | Open Source | Apache-2.0 | 2,018 | cloud-test | huangtao | Smali | Code | 2,101 | 13,416 | .class public final Lcom/example/tutorial/VideoProto$VideoMessage$Builder;
.super Lcom/google/protobuf/GeneratedMessage$Builder;
.source "VideoProto.java"
# interfaces
.implements Lcom/example/tutorial/VideoProto$VideoMessageOrBuilder;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = L... | 12,821 |
https://github.com/ugparu/Ugpa.Json.Serialization/blob/master/src/Ugpa.Json.Serialization/FluentContractBuilder.cs | Github Open Source | Open Source | MIT | 2,021 | Ugpa.Json.Serialization | ugparu | C# | Code | 211 | 679 | using System;
using System.Linq.Expressions;
using Ugpa.Json.Serialization.Properties;
namespace Ugpa.Json.Serialization
{
/// <summary>
/// Represents an fluent configurator for specified type.
/// </summary>
/// <typeparam name="T">Configured type.</typeparam>
public sealed class FluentContractB... | 32,449 |
https://github.com/lioneltay/react-dnd/blob/master/documentation/src/lib/components/index.tsx | Github Open Source | Open Source | MIT | 2,019 | react-dnd | lioneltay | TSX | Code | 14 | 23 | export { Media } from "./Media"
export { default as Drawer } from "./Drawer"
| 26,937 |
https://github.com/Minesap/TheMinepack/blob/master/Items/ZephytePickaxe.cs | Github Open Source | Open Source | MIT | 2,017 | TheMinepack | Minesap | C# | Code | 154 | 497 | using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using TheMinepack.Items;
namespace TheMinepack.Items
{
public class ZephytePickaxe : ModItem
{
public override void Se... | 42,003 |
https://github.com/equinetic/LightML.jl/blob/master/src/utils/partitioning.jl | Github Open Source | Open Source | MIT | 2,017 | LightML.jl | equinetic | Julia | Code | 148 | 555 | # Rebuild this component
# Look into TiledIteration.jl
# ========================
# Data Partitioning
# ========================
function train_test_split(X,y;train_size=0.75,rand_seed=2135)
srand(rand_seed)
rand_indx = shuffle(1:size(X,1))
train_num = Int(floor(size(X,1) * train_size))
X_train = X[ra... | 48,067 |
https://github.com/wfu8/lightwave/blob/master/vmidentity/rest/idm/client/src/main/java/com/vmware/identity/rest/idm/client/RelyingPartyResource.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | lightwave | wfu8 | Java | Code | 1,001 | 2,380 | /*
* Copyright (c) 2012-2015 VMware, 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | 8,098 |
https://github.com/shlomyb-di/python-fluent/blob/master/fluent.syntax/tests/syntax/test_stream.py | Github Open Source | Open Source | Apache-2.0 | 2,022 | python-fluent | shlomyb-di | Python | Code | 231 | 1,543 | import unittest
from fluent.syntax.stream import ParserStream
class TestParserStream(unittest.TestCase):
def test_next(self):
ps = ParserStream("abcd")
self.assertEqual('a', ps.current_char)
self.assertEqual(0, ps.index)
self.assertEqual('b', ps.next())
self.assertEqual... | 24,668 |
https://github.com/gary-pickens/HouseMonitor/blob/master/housemonitor/lib/test/hmqueue_test.py | Github Open Source | Open Source | MIT | 2,021 | HouseMonitor | gary-pickens | Python | Code | 171 | 489 | '''
Created on Mar 13, 2013
@author: Gary
'''
import unittest
import datetime
import logging.config
from datetime import timedelta
from datetime import datetime
import Queue
from mock import Mock
import time
from housemonitor.lib.hmqueue import HMQueue
from housemonitor.lib.constants import Constants
from housemonitor... | 8,205 |
https://github.com/JBurkinshaw/ogc-api-fast-features/blob/master/data/sql/all.sql | Github Open Source | Open Source | MIT | 2,022 | ogc-api-fast-features | JBurkinshaw | SQL | Code | 2 | 10 | \ir neighbourhoods-4326.sql | 11,016 |
https://github.com/JorgeLuis1395/Nestjs-03-05/blob/master/Ejemplo/src/usuario.controller.ts | Github Open Source | Open Source | MIT | 2,018 | Nestjs-03-05 | JorgeLuis1395 | TypeScript | Code | 73 | 293 | //decorator
import {Get, Controller, Req, Res, HttpCode, Post} from '@nestjs/common';
@Controller('Usuario')
export class UsuarioController{
usuario = {
nombre:'Jorge',
apellido: 'Carrillo',
edad: 22
};
usuarios = [];
@Get('mostrar')
@HttpCode(202)
mostrarUsuario(/*@Req ... | 45,826 |
https://github.com/isatdeveloper/pci.bridge.gadget/blob/master/Finesse_Bridge/Finesse_Bridge/model/IVRResult.cs | Github Open Source | Open Source | MIT | null | pci.bridge.gadget | isatdeveloper | C# | Code | 80 | 159 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OD_Finesse_Bridge.model
{
public class IVRResult
{
public string nor { get; set; }
public string tct { get; set; }
public string fec { get; set; }
public string nau { get; set; }
... | 5,817 |
https://github.com/drauf/watson/blob/master/src/parser/Parser.tsx | Github Open Source | Open Source | MIT | 2,023 | watson | drauf | TSX | Code | 523 | 1,850 | import CpuUsage from './cpuusage/CpuUsage';
import Thread from '../types/Thread';
import ThreadDump from '../types/ThreadDump';
import TopCpuUsageParser, { CPU_USAGE_TIMESTAMP_PATTERN } from './cpuusage/os/TopCpuUsageParser';
import { matchOne } from './RegExpUtils';
import ThreadDumpParser, { THREAD_DUMP_DATE_PATTERN ... | 46,188 |
https://github.com/radum/performance-testing-framework/blob/master/buildtracker/build-tracker.config.js | Github Open Source | Open Source | MIT | 2,022 | performance-testing-framework | radum | JavaScript | Code | 31 | 131 | const withPostgres = require('@build-tracker/plugin-with-postgres').default;
module.exports = withPostgres({
url: 'http://127.0.0.1:9002',
pg: {
user: 'myuser',
password: 'mypassword',
host: 'postgres', // This is the docker-componse container name for postgres https://docs.docker.com/compose/networkin... | 34,998 |
https://github.com/BW-Domestic-Violence-Survivors-Tool/marketing-page-JW/blob/master/less/global.less | Github Open Source | Open Source | LicenseRef-scancode-public-domain, MIT | 2,020 | marketing-page-JW | BW-Domestic-Violence-Survivors-Tool | Less | Code | 68 | 235 | * {
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
html, body {
font-family: 'Frank Ruhl Libre', serif;
font-size: 1.1rem;
}
h1, h2, h3, h4 {
font-family: 'B612', sans-serif;
color: @heading-color;
margin: 1% 0;
}
h1 {
font-size: 2.4rem;
}
h2 {
font-s... | 27,103 |
https://github.com/just1689/private-social/blob/master/persist/content.go | Github Open Source | Open Source | MIT | null | private-social | just1689 | Go | Code | 18 | 38 | package persist
type ContentWriter interface {
//TODO: write content
}
type ContentReader interface {
//TODO: read content
}
| 2 |
https://github.com/GerritCodeReview/gerrit/blob/master/javatests/com/google/gerrit/integration/ssh/NoShellIT.java | Github Open Source | Open Source | Apache-2.0 | 2,023 | gerrit | GerritCodeReview | Java | Code | 272 | 1,004 | // Copyright (C) 2021 The Android Open Source Project
//
// 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
//
// Unless required by applicable ... | 6,337 |
https://github.com/watchdog00/watchdog00.github.io/blob/master/_site/assets/js/lunr/lunr-store.js | Github Open Source | Open Source | MIT, BSD-3-Clause | null | watchdog00.github.io | watchdog00 | JavaScript | Code | 130 | 767 | var store = [{
"title": "1",
"excerpt":"1","categories": [],
"tags": [],
"url": "https://watchdog00.github.io/1/",
"teaser":null},{
"title": "2",
"excerpt":"2","categories": [],
"tags": [],
"url": "https://watchdog00.github.io/2/",
"teaser"... | 46,138 |
https://github.com/atlassian-labs/msteams-jira-server/blob/master/src/MicrosoftTeamsIntegration.Jira/Models/Jira/Transition/JiraTransitionSchema.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | msteams-jira-server | atlassian-labs | C# | Code | 43 | 134 | using Newtonsoft.Json;
namespace MicrosoftTeamsIntegration.Jira.Models.Jira.Transition
{
public class JiraFieldSchema
{
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("items")]
public string Items { get; set; }
[JsonProperty("custom")]
public string Custom { get; set; }
[JsonP... | 30,758 |
https://github.com/hartwilo/EasyExam/blob/master/resources/EasyExam_schema.sql | Github Open Source | Open Source | MIT | null | EasyExam | hartwilo | SQL | Code | 202 | 605 | DROP TABLE IF EXISTS Pruefung;
DROP TABLE IF EXISTS Fragenloesung;
DROP TABLE IF EXISTS Frage;
DROP TABLE IF EXISTS Fragekatalog;
DROP TABLE IF EXISTS Themengebiet;
DROP TABLE IF EXISTS Modul;
DROP TABLE IF EXISTS Pruefer;
DROP TABLE IF EXISTS Student;
DROP TABLE IF EXISTS Musterloesung;
CREATE TABLE Student
(Matrikel... | 42,618 |
https://github.com/sinqz/9Nations/blob/master/Assets/Scripts/Classes/Inputs.meta | Github Open Source | Open Source | MIT | 2,020 | 9Nations | sinqz | Unity3D Asset | Code | 6 | 35 | fileFormatVersion: 2
guid: a84afbed09db426eb2a75612964b9db9
timeCreated: 1585816975 | 13,193 |
https://github.com/JuliaHomotopyContinuation/HomotopyContinuation.jl/blob/master/test/semialgebraic_sets_test.jl | Github Open Source | Open Source | MIT | 2,022 | HomotopyContinuation.jl | JuliaHomotopyContinuation | Julia | Code | 162 | 507 | @testset "SemialgebraicSets" begin
solver = SemialgebraicSetsHCSolver(; compile = false)
@polyvar x y
V = SemialgebraicSets.@set x^2 == 1 && y^2 == 2 solver
S = collect(V)
S = sort!(map(s -> round.(s, digits = 2), S))
@test S == [[-1.0, -1.41], [-1.0, 1.41], [1.0, -1.41], [1.0, 1.41]]
# Ins... | 12,490 |
https://github.com/rubyforgood/abalone/blob/master/lib/tasks/scheduler.rake | Github Open Source | Open Source | MIT | 2,022 | abalone | rubyforgood | Ruby | Code | 129 | 257 | # frozen_string_literal: true
namespace :scheduler do
desc 'Delete stale temporary files'
# This rake task is meant to be run once per day to cleanse temporary files
# from the database. It will also log if any temporary files have not been
# successfully processed.
task delete_stale_temporary_files: :enviro... | 48,186 |
https://github.com/NLAFET/StarNEig/blob/master/test/common/block_placer.c | Github Open Source | Open Source | BSD-3-Clause | 2,021 | StarNEig | NLAFET | C | Code | 543 | 1,171 | ///
/// @file This file contains code that places a set of 1-by-1 and 2-by-2 blocks
/// to the diagonal of a matrix A or a matrix pencil (A,B).
///
/// @author Mirko Myllykoski (mirkom@cs.umu.se), Umeå University
///
/// @internal LICENSE
///
/// Copyright (c) 2019-2020, Umeå Universitet
///
/// Redistribution and use ... | 12,546 |
https://github.com/jlaso/variable-iterator/blob/master/src/Exception/WrongParameterType.php | Github Open Source | Open Source | MIT | null | variable-iterator | jlaso | PHP | Code | 9 | 28 | <?php
namespace JLaso\Iterators\Exception;
class WrongParameterType extends \Exception
{
} | 49,007 |
https://github.com/cyrinux/batsignal/blob/master/batsignal.1.in | Github Open Source | Open Source | ISC | 2,021 | batsignal | cyrinux | null | Spoken | 276 | 537 | .TH BATSIGNAL 1 batsignal\-VERSION
.SH NAME
batsignal \- battery monitor daemon
.SH SYNOPSIS
.B batsignal
.RB [ OPTIONS ]
.SH DESCRIPTION
batsignal is a lightweight battery daemon written in C that notifies the user about battery states. It is intended for minimal window managers, but can be used in any environment tha... | 36,173 |
https://github.com/anyshortcut/anyshortcut-cli/blob/master/build.rs | Github Open Source | Open Source | Apache-2.0, MIT | 2,020 | anyshortcut-cli | anyshortcut | Rust | Code | 31 | 115 | use std::env;
use clap::Shell;
include!("src/cli.rs");
pub fn main() {
let mut app = build_cli();
// Generate shell completion files.
for shell_name in &[Shell::Bash, Shell::Zsh, Shell::PowerShell] {
app.gen_completions(crate_name!(), *shell_name, env::var_os("OUT_DIR").unwrap());
}
}
| 16,423 |
https://github.com/WheelhouseStudios/DefinitelyTyped/blob/master/types/fundamental-react/lib/SideNavigation/index.d.ts | Github Open Source | Open Source | MIT | 2,021 | DefinitelyTyped | WheelhouseStudios | TypeScript | Code | 8 | 14 | export { default as SideNav } from "./SideNav";
| 36,106 |
https://github.com/shrestho10/portfolio/blob/master/src/components/Projects.js | Github Open Source | Open Source | RSA-MD | null | portfolio | shrestho10 | JavaScript | Code | 89 | 591 | import React from 'react';
import Image from "./image"
const Project =()=>{
return(
<div>
<ol className='link'>
<h1>Projects:</h1>
<a href="https://github.com/shrestho10/MilitaryTankSimulator">
<li>Military Simulator T... | 32,301 |
https://github.com/mohsenuss91/planini/blob/master/src/metio/parsJsonFile.java | Github Open Source | Open Source | MIT | null | planini | mohsenuss91 | Java | Code | 140 | 673 | package metio;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.client.ClientProtocolException;
import org.json.J... | 10,993 |
https://github.com/linkml/linkml/blob/master/tests/test_utils/test_metamodelcore.py | Github Open Source | Open Source | CC0-1.0 | 2,023 | linkml | linkml | Python | Code | 549 | 3,243 | import datetime
import unittest
from dataclasses import dataclass
from jsonasobj2 import as_json
from linkml_runtime.utils.metamodelcore import (
URI,
Bool,
Curie,
NCName,
NodeIdentifier,
URIorCURIE,
XSDDate,
XSDDateTime,
XSDTime,
)
from linkml_runtime.utils.namespaces import Namesp... | 48,252 |
https://github.com/SnowdogApps/magento2-alpaca-theme/blob/master/Magento_ReCaptchaFrontendUi/styles/modules/_invisible-recaptcha.scss | Github Open Source | Open Source | MIT | 2,023 | magento2-alpaca-theme | SnowdogApps | SCSS | Code | 5 | 22 | .required-captcha.checkbox {
@include visually-hidden;
}
| 39,759 |
https://github.com/dailypipsgxj/sulong/blob/master/projects/uk.ac.man.cs.llvm/src/uk/ac/man/cs/llvm/ir/model/FunctionDefinition.java | Github Open Source | Open Source | BSD-3-Clause | 2,016 | sulong | dailypipsgxj | Java | Code | 785 | 2,459 | /*
* Copyright (c) 2016, Oracle and/or its affiliates.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this ... | 4,008 |
https://github.com/jsmith2/CONNECT/blob/master/Product/Production/Common/CONNECTCoreLib/src/test/java/gov/hhs/fha/nhinc/patientcorrelation/nhinc/parsers/PRPAIN201309UV/PRPAIN201309UVParserTest.java | Github Open Source | Open Source | BSD-3-Clause | 2,021 | CONNECT | jsmith2 | Java | Code | 763 | 3,516 | /*
* Copyright (c) 2009-2019, United States Government, as represented by the Secretary of Health and Human Services.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistribution... | 3,654 |
https://github.com/mkinsner/llvm/blob/master/llvm/test/CodeGen/Lanai/codemodel.ll | Github Open Source | Open Source | Apache-2.0 | 2,022 | llvm | mkinsner | LLVM | Code | 271 | 771 | ; RUN: llc -march=lanai < %s | FileCheck %s
; RUN: llc -march=lanai < %s -code-model=small | FileCheck -check-prefix CHECK-SMALL %s
; RUN: not --crash llc -march=lanai < %s -code-model=tiny 2>&1 | FileCheck -check-prefix CHECK-TINY %s
; RUN: not --crash llc -march=lanai < %s -code-model=kernel 2>&1 | FileCheck -check-... | 30,468 |
https://github.com/spino17/PyGlow/blob/master/glow/layer.py | Github Open Source | Open Source | BSD-3-Clause, BSD-2-Clause | 2,021 | PyGlow | spino17 | Python | Code | 109 | 241 | from torch import nn
class Layer(nn.Module):
"""
Base class for all layer modules.
Your layer should also subclass this class.
"""
def __init__(self, *args):
super().__init__()
# self.args = args
def set_input(self, input_shape):
"""
Takes input_shape and d... | 34,733 |
https://github.com/Ander0506/LABORATORIO/blob/master/resources/views/Guia.blade.php | Github Open Source | Open Source | MIT | 2,019 | LABORATORIO | Ander0506 | PHP | Code | 270 | 1,072 | @extends('Master')
@section('content')
<!-- Vertical Steppers -->
<div class="row mt-1">
<div class="col-md-6">
<form method="POST" action="{{route('guia')}}" enctype="multipart/form-data" name="form3">
@CSRF
<div class="" id="modalSubscriptionForm" tabindex... | 48,316 |
https://github.com/i-am-david-fernandez/omf-up/blob/master/functions/up.fish | Github Open Source | Open Source | MIT | null | omf-up | i-am-david-fernandez | Fish | Code | 60 | 137 | function up -d "My package"
# Package entry-point
set levels 1
set query 0
for arg in $argv
switch $arg
case "-q"
set query 1
case '*'
set levels $arg
end
end
set path $PWD
for i in (seq $levels)
set path "$pat... | 11,477 |
https://github.com/rainyt/openfl-spine/blob/master/zygame-src/zygame/utils/SpineManager.hx | Github Open Source | Open Source | MIT | 2,023 | openfl-spine | rainyt | Haxe | Code | 211 | 874 | package zygame.utils;
import openfl.events.Event;
import openfl.display.Stage;
import spine.base.SpineBaseDisplay;
/**
* 用于管理Spine的动画统一播放处理
*/
class SpineManager {
private static var spineOnFrames:Array<SpineBaseDisplay> = [];
private static var stage:Stage;
/**
* 当前延迟FPS的间隔时间
*/
private static var _lastF... | 16,769 |
https://github.com/G1zm0nl/Waves/blob/master/node/src/main/scala/com/wavesplatform/transaction/smart/RealTransactionWrapper.scala | Github Open Source | Open Source | MIT | null | Waves | G1zm0nl | Scala | Code | 420 | 1,915 | package com.wavesplatform.transaction.smart
import cats.implicits._
import com.wavesplatform.account.{Address, AddressOrAlias, Alias}
import com.wavesplatform.common.state.ByteStr
import com.wavesplatform.lang.ExecutionError
import com.wavesplatform.lang.directives.values.StdLibVersion
import com.wavesplatform.lang.v1... | 47,660 |
https://github.com/ybhgl/Douya/blob/master/app/src/main/java/me/zhanghai/android/douya/ui/AppBarWrapperLayout.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | Douya | ybhgl | Java | Code | 551 | 2,140 | /*
* Copyright (c) 2015 Zhang Hai <Dreaming.in.Code.ZH@Gmail.com>
* All Rights Reserved.
*/
package me.zhanghai.android.douya.ui;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.annota... | 42,034 |
https://github.com/Shuttl-Tech/antlr_psql/blob/master/src/test/resources/sql/select/05fdf5f7.sql | Github Open Source | Open Source | MIT | 2,022 | antlr_psql | Shuttl-Tech | SQL | Code | 13 | 44 | -- file:tstypes.sql ln:174 expect:true
SELECT ts_rank_cd(' a:1 s:2C d g'::tsvector, 'a <-> s')
| 45,329 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.