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/silas-shushank/laravel-lunch-order-app/blob/master/app/Http/Requests/User/CreateRequest.php
Github Open Source
Open Source
Apache-2.0
2,020
laravel-lunch-order-app
silas-shushank
PHP
Code
100
317
<?php namespace App\Http\Requests\User; use App\Models\User; use App\Rules\PersonNameRule; use Illuminate\Foundation\Http\FormRequest; use Spatie\Permission\Models\Role; class CreateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool ...
8,147
https://github.com/bitfinexcom/bitfinex-api-node/blob/master/examples/rest2/positions.js
Github Open Source
Open Source
MIT
2,023
bitfinex-api-node
bitfinexcom
JavaScript
Code
166
495
'use strict' const _capitalize = require('lodash/capitalize') const _map = require('lodash/map') const { prepareAmount, preparePrice } = require('bfx-api-node-util') const { RESTv2 } = require('../../index') const { args: { apiKey, apiSecret }, debug, debugTable } = require('../util/setup') async function execute () ...
38,785
https://github.com/chadfords/azos/blob/master/src/Azos/Collections/NameRegistry.cs
Github Open Source
Open Source
MIT
2,018
azos
chadfords
C#
Code
1,714
3,823
/*<FILE_LICENSE> * Azos (A to Z Application Operating System) Framework * The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. </FILE_LICENSE>*/ using System; using System.Collections.Generic; using System.Linq; using ...
16,831
https://github.com/Rissamaliaaa/PEMVIS---SIMAK/blob/master/pt.php
Github Open Source
Open Source
MIT
null
PEMVIS---SIMAK
Rissamaliaaa
PHP
Code
16
56
<?php class PT { public $kodePT; public $namaPT; public function displayPT($kodePT, $namaPT) { } } ?>
3,202
https://github.com/m25lazi/One-Big-Thing/blob/master/Modules/Extensions/Today.ts
Github Open Source
Open Source
MIT
2,016
One-Big-Thing
m25lazi
TypeScript
Code
287
656
import Config = require("../../Config/Config") /** * Today * Date wrapper to get/set YYYYMMDD respresentation of the day */ class Today { static timezoneCorrection : number = Config.TimezoneCorrection /** * Only year, month, date component will be correct * Time component will be zero */ ...
36,368
https://github.com/web-scrobbler/web-scrobbler/blob/master/src/connectors/tubafm.ts
Github Open Source
Open Source
MIT
2,023
web-scrobbler
web-scrobbler
TypeScript
Code
23
82
export {}; Connector.playerSelector = '.ui-box'; Connector.artistSelector = '.ui-box > h3'; Connector.trackSelector = '.ui-box > h2'; Connector.isPlaying = () => Util.hasElementClass('.tuba-ui > button', 'play-playing');
48,948
https://github.com/geneontology/noctua-models/blob/master/models/MGI_MGI_1338761.ttl
Github Open Source
Open Source
CC-BY-4.0
2,023
noctua-models
geneontology
Turtle
Code
1,264
15,189
<http://model.geneontology.org/MGI_MGI_1338761> a <http://www.w3.org/2002/07/owl#Ontology> . <http://geneontology.org/lego/evidence> a <http://www.w3.org/2002/07/owl#AnnotationProperty> . <http://geneontology.org/lego/hint/layout/x> a <http://www.w3.org/2002/07/owl#AnnotationProperty> . <http://geneontology.org/leg...
30,662
https://github.com/maxhille/elm-pwa-example/blob/master/app/db.go
Github Open Source
Open Source
Apache-2.0
2,020
elm-pwa-example
maxhille
Go
Code
55
214
package app import ( "context" "errors" "github.com/google/uuid" ) var ( ErrNoSuchEntity = errors.New("Not such entity in database") ) type DB interface { GetUser(context.Context, uuid.UUID) (User, error) GetUsers(context.Context) ([]User, error) PutUser(context.Context, User) error CreateSubscription(conte...
41,605
https://github.com/sdoward/dhis2-android-datacapture/blob/master/dhis2-android-app/src/test/java/IsTimelyTest.java
Github Open Source
Open Source
BSD-3-Clause
2,017
dhis2-android-datacapture
sdoward
Java
Code
289
982
import org.dhis2.ehealthMobile.io.Constants; import org.dhis2.ehealthMobile.io.models.Field; import org.dhis2.ehealthMobile.io.models.Group; import org.dhis2.ehealthMobile.utils.IsTimely; import org.joda.time.DateTime; import org.junit.Test; import java.util.ArrayList; import static org.assertj.core.api.Assertions.as...
46,711
https://github.com/hacknorris-aka-penguin/gamejolt/blob/master/src/app/components/game/collection/grid/grid.vue
Github Open Source
Open Source
MIT
2,022
gamejolt
hacknorris-aka-penguin
Vue
Code
24
133
<template> <div class="row game-collection-grid"> <div class="col-xs-12 col-sm-6 col-lg-4 game-collection-grid-item" v-for="collection of collections" :key="collection._id" > <app-game-collection-grid-item :collection="collection" :event-label="eventLabel" /> </div> </div> </template> <script lang=...
15,626
https://github.com/pderakhshanfar/EMSE-BBC-experiment/blob/master/tests-without-trycatch/JacksonXml-6/com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator/BBC-F0-opt-90/26/com/fasterxml/jackson/dataformat/xml/ser/ToXmlGenerator_ESTest.java
Github Open Source
Open Source
CC-BY-4.0, MIT
2,022
EMSE-BBC-experiment
pderakhshanfar
Java
Code
16,477
61,183
/* * This file was automatically generated by EvoSuite * Sun Oct 24 06:29:29 GMT 2021 */ package com.fasterxml.jackson.dataformat.xml.ser; import org.junit.Test; import static org.junit.Assert.*; import static org.evosuite.runtime.EvoAssertions.*; import com.ctc.wstx.api.WriterConfig; import com.ctc.wstx.sw.AsciiX...
28,830
https://github.com/stackchain/plutus/blob/master/nix/stack.materialized/.stack-to-nix.cache.8
Github Open Source
Open Source
Apache-2.0
2,022
plutus
stackchain
null
Spoken
187
697
{ system , compiler , flags , pkgs , hsPkgs , pkgconfPkgs , errorHandler , config , ... }: { flags = { asserts = false; }; package = { specVersion = "1.10"; identifier = { name = "io-sim"; version = "0.1.0.0"; }; license = "Apache-2.0"; copyright = "2019 Input Output (H...
42,121
https://github.com/qawbecrdtey/BOJ-sol/blob/master/problems/acmicpc_21180.cpp
Github Open Source
Open Source
MIT
2,023
BOJ-sol
qawbecrdtey
C++
Code
67
153
#include <algorithm> #include <iostream> using namespace std; int main() { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int n, sum = 0; cin >> n; auto a = new int[n]; for(int i = 0; i < n; i++) { cin >> a[i]; sum += a[i]; } sort(a, a + n); if(sum & 1 || !binary_search(a...
38,758
https://github.com/muneebullashariff/i2s_vip/blob/master/TB/env/env.sv
Github Open Source
Open Source
Apache-2.0
null
i2s_vip
muneebullashariff
null
Spoken
4
6
// basic file added
27,893
https://github.com/rlcjj/chan/blob/master/chan/analyze.py
Github Open Source
Open Source
MIT
null
chan
rlcjj
Python
Code
1,108
4,319
# coding: utf-8 import pandas as pd from copy import deepcopy def preprocess(kline): """去除包含关系 :param kline: pd.DataFrame K线,columns = ["symbol", "dt", "open", "close", "high", "low", "vol"] :return: list of dict """ k_new = [] first_row = kline.iloc[0].to_dict() last = deepcop...
7,948
https://github.com/TAPP-TV/django-bulbs/blob/master/bulbs/api/views.py
Github Open Source
Open Source
MIT
null
django-bulbs
TAPP-TV
Python
Code
766
2,947
"""API Views and ViewSets""" from django.conf import settings from django.contrib.auth import get_user_model from django.http import Http404 from django.template.defaultfilters import slugify from django.utils import timezone from django.utils.dateparse import parse_datetime import elasticsearch from rest_framework ...
3,273
https://github.com/jsor-labs/hal/blob/master/src/XmlHalFactory.php
Github Open Source
Open Source
MIT
2,017
hal
jsor-labs
PHP
Code
174
549
<?php namespace Nocarrier; class XmlHalFactory { /** * Decode a application/hal+xml document into a Nocarrier\Hal object. * * @param Hal $hal * @param $data * @param int $depth * * @throws \RuntimeException * @static * @access public * @return \Nocarrier\Hal ...
42,553
https://github.com/htmlpluscss/reafit/blob/master/http/application/hooks/compress.php
Github Open Source
Open Source
MIT
2,017
reafit
htmlpluscss
PHP
Code
383
1,421
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Compression { // Variables protected $html; public function __construct($html) { if (!empty($html)) { $this->parseHTML($html); } } public function __toSt...
35,494
https://github.com/chromium/chromium/blob/master/ios/chrome/browser/follow/follow_util_unittest.mm
Github Open Source
Open Source
BSD-3-Clause
2,023
chromium
chromium
Objective-C++
Code
356
1,248
// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #import "ios/chrome/browser/follow/follow_util.h" #import <UIKit/UIKit.h> #import "testing/platform_test.h" class FollowUtilTest : public PlatformTest { protected: void S...
9,206
https://github.com/ryan0432/AIE_PhysicsBS/blob/master/2DProject2ndYear/CollisionManager.h
Github Open Source
Open Source
MIT
null
AIE_PhysicsBS
ryan0432
C
Code
82
275
#pragma once class PhysicsScene; class PhysicsObject; class Rigidbody; class Plane; class Sphere; class Box; struct CollisionData; class CollisionManager { public: CollisionManager() = delete; ~CollisionManager() = delete; static void checkForCollision(PhysicsScene* physicsScene); static void plane2Plane(Collisi...
28,075
https://github.com/LayeredInsight/runtime-api-example-python/blob/master/li_utils/envtools.py
Github Open Source
Open Source
Apache-2.0
2,019
runtime-api-example-python
LayeredInsight
Python
Code
78
228
# Copyright (C) 2018 Layered Insight - All Rights Reserved # Unauthorized copying of this file, via any medium is strictly prohibited # Proprietary and confidential from __future__ import print_function import sys from vyper import v API_VERSION_PATH="/v0.01" # Config setup def env_setup(): v.set_env_prefix("li"...
17,424
https://github.com/v2land/v2land-frontend/blob/master/src/Components/Admin/Frame/index.tsx
Github Open Source
Open Source
MIT
2,020
v2land-frontend
v2land
TypeScript
Code
208
658
import React, { useState, useEffect } from 'react'; import { useRouter } from 'next/router'; import { Layout, Menu, MenuProps } from 'antd'; import { UserOutlined } from '@ant-design/icons'; import { useTranslation } from 'next-i18next'; const { Content, Sider } = Layout; type MenuItem = Required<MenuProps>['items'][...
35,615
https://github.com/tejesh-reddy/skyflow-js/blob/master/src/container/external/RevealContainer.ts
Github Open Source
Open Source
MIT
2,021
skyflow-js
tejesh-reddy
TypeScript
Code
340
1,451
import bus from "framebus"; import { RedactionType } from "../../Skyflow"; import iframer, { setAttributes, getIframeSrc, setStyles, } from "../../iframe-libs/iframer"; import { REVEAL_FRAME_CONTROLLER, CONTROLLER_STYLES, ELEMENT_EVENTS_TO_IFRAME, ELEMENT_EVENTS_TO_CONTAINER, } from "../constants"; import...
54,145
https://github.com/nocai/go-web-demo/blob/master/modules/your_service.go
Github Open Source
Open Source
MIT
null
go-web-demo
nocai
Go
Code
46
200
package modules import ( "context" "github.com/golang/glog" "github.com/nocai/go-web-demo/api" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" ) type service struct { } // NewYourServiceServer new a service server func NewYourServiceServer() api.YourServiceServer { return &service{} } func (*se...
29,950
https://github.com/gitter-badger/nx-dotnet/blob/master/packages/core/src/utils/index.ts
Github Open Source
Open Source
MIT
null
nx-dotnet
gitter-badger
TypeScript
Code
16
30
export * from './rimraf'; export * from './parameters'; export * from './args'; export * from './glob';
2,209
https://github.com/escritorio-modelo/reviver-template/blob/master/src/_sass/main.scss
Github Open Source
Open Source
MIT
null
reviver-template
escritorio-modelo
SCSS
Code
86
461
@charset "utf-8"; // Import a Google Font @import url("https://fonts.googleapis.com/css?family=Nunito:400,700"); $orange: #f9a749; $orange-light: #ffd9ae; $purple: #6d4784; $purple-light: #fff6eb; $blue-darker: #354052; $black: #404040; $light: #fafafa; $grey-light: #918d8d; $shadow-areas: 0 0.8px 3px rgba($grey-ligh...
28,375
https://github.com/samtok/tson1/blob/master/game/Library/PackageCache/com.unity.uiwidgets@1.5.4-preview.8/Runtime/material/card_theme.cs
Github Open Source
Open Source
LicenseRef-scancode-unknown-license-reference, GPL-3.0-only
2,020
tson1
samtok
C#
Code
296
899
using Unity.UIWidgets.foundation; using Unity.UIWidgets.painting; using Unity.UIWidgets.ui; using Unity.UIWidgets.widgets; namespace Unity.UIWidgets.material { public class CardTheme : Diagnosticable { public CardTheme( Clip? clipBehavior = null, Color color = null, floa...
32,055
https://github.com/mdisalvo/grndctl/blob/master/src/main/java/com/grndctl/controllers/IntlFPValidationController.java
Github Open Source
Open Source
MIT
null
grndctl
mdisalvo
Java
Code
306
727
/** * MIT License * * Copyright (c) 2017 grndctl * * 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, including without limitation the rights * to use, copy, modify,...
31,356
https://github.com/Portchain/postgres-typescript/blob/master/src/codegendata.spec/data2.sql
Github Open Source
Open Source
MIT
2,022
postgres-typescript
Portchain
SQL
Code
12
28
-- @arg DataType{User} -- @return DataType{PortCall} -- @unique SELECT * FROM dummy
19,175
https://github.com/psipred/metsite/blob/master/src/Makefile
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, LicenseRef-scancode-public-domain
2,019
metsite
psipred
Makefile
Code
84
331
# Makefile for metsite CC=gcc CPP=g++ JAVAC=javac LD=gcc CFLAGS=-O3 LIBS=-lm INC=/usr/include/ all: chkparse seedSiteFind MetPred mtx_pro returnNetCut clean: rm -f seedSiteFind rm -f MetPred rm -f mtx_pro rm -f returnNetCut.class rm -f chkparse rm -f org/ucl/conf/ConfAssign.class rm -f returnNetCut.class inst...
4,736
https://github.com/StreamerSpectrum/BeamTeamDiscordBot/blob/master/src/main/java/com/StreamerSpectrum/BeamTeamDiscordBot/discord/command/admin/RestartConstellation.java
Github Open Source
Open Source
MIT
2,017
BeamTeamDiscordBot
StreamerSpectrum
Java
Code
63
302
package com.StreamerSpectrum.BeamTeamDiscordBot.discord.command.admin; import com.StreamerSpectrum.BeamTeamDiscordBot.singletons.ConstellationManager; import com.StreamerSpectrum.BeamTeamDiscordBot.singletons.JDAManager; import me.jagrosh.jdautilities.commandclient.Command; import me.jagrosh.jdautilities.commandclien...
24,742
https://github.com/deakcor/DoomLike/blob/master/.import/D2S2E0.png-b98eaa25db8bdca3a0dfc857583763fd.md5
Github Open Source
Open Source
MIT
2,020
DoomLike
deakcor
null
Spoken
2
57
source_md5="caccbaf709955efb26f18a3e88ff37be" dest_md5="95e8b60309033e1b9719cb9d9ef70d2f"
29,653
https://github.com/ShelterApp/OutreachAppWeb/blob/master/pages/index.tsx
Github Open Source
Open Source
CC-BY-4.0
null
OutreachAppWeb
ShelterApp
TypeScript
Code
681
2,456
import type { NextPage } from "next"; import React from 'react'; import { useState, useEffect } from "react"; import { userService, campsService } from "services"; import Container from '@mui/material/Container'; import Header from 'component/Header'; import { GoogleMap, useJsApiLoader, Marker } from '@react-google-map...
34,322
https://github.com/robo47/PHP-Manipulator/blob/master/tests/Tests/PHP/Manipulator/TokenContainer/IteratorTest.php
Github Open Source
Open Source
MIT
2,019
PHP-Manipulator
robo47
PHP
Code
737
3,669
<?php namespace Tests\PHP\Manipulator\TokenContainer; use PHP\Manipulator\TokenContainer\Iterator; use PHP\Manipulator\Token; use PHP\Manipulator\TokenContainer; /** * @group TokenContainer * @group TokenContainer\Iterator */ class IteratorTest extends \Tests\TestCase { /** * @covers \PHP\Manipulator\To...
3,726
https://github.com/laurent-lao/PlanarAlly/blob/master/client/vue.config.js
Github Open Source
Open Source
MIT
2,019
PlanarAlly
laurent-lao
JavaScript
Code
28
104
// vue.config.js module.exports = { assetsDir: "static", outputDir: "../server", indexPath: "./templates/index.html", configureWebpack: { resolve: { alias: { vue$: "vue/dist/vue.esm.js", // 'vue/dist/vue.common.js' for webpack 1 }, }, }, };
711
https://github.com/wangxuguo/xdag-android/blob/master/xdagwallet/app/src/main/cpp/openssl/crypto/bn/asm/alpha-mont.pl
Github Open Source
Open Source
MIT
2,018
xdag-android
wangxuguo
Perl
Code
682
3,250
#!/usr/bin/env perl # # ==================================================================== # Written by Andy Polyakov <appro@fy.chalmers.se> for the OpenSSL # project. The module is, however, dual licensed under OpenSSL and # CRYPTOGAMS licenses depending on where you obtain it. For further # details see http://www.o...
2,146
https://github.com/ghelobytes/ol3-dem/blob/master/ol3/test/spec/ol/feature.test.js
Github Open Source
Open Source
MIT, BSD-2-Clause
2,014
ol3-dem
ghelobytes
JavaScript
Code
563
2,238
goog.provide('ol.test.Feature'); describe('ol.Feature', function() { describe('constructor', function() { it('creates a new feature', function() { var feature = new ol.Feature(); expect(feature).to.be.a(ol.Feature); }); it('takes attribute values', function() { var feature = new ol.F...
49,186
https://github.com/animeshc/xdi2/blob/master/core/src/main/java/xdi2/core/util/iterators/CastingIterator.java
Github Open Source
Open Source
MIT
2,013
xdi2
animeshc
Java
Code
130
379
package xdi2.core.util.iterators; import java.util.Iterator; /** * An iterator that doesn't alter any elements but casts them to a desired type. * * @author markus */ public class CastingIterator<I, O> extends IterableIterator<O> { private Iterator<? extends I> iterator; private Class<? extends O> o; privat...
23,647
https://github.com/lee-to/php-airtable/blob/master/src/AirTable/Api.php
Github Open Source
Open Source
MIT
2,020
php-airtable
lee-to
PHP
Code
725
1,984
<?php namespace AirTable; /** * Class Api * @package AirTable */ class Api implements ApiInterface { /** * */ const HOST = "https://api.airtable.com"; /** * */ const RATE_LIMIT = 5; /** * @var string */ protected $v = "v0"; /** * @var */ pr...
31,210
https://github.com/tariqdaouda/pyGeno/blob/master/pyGeno/tools/parsers/GTFTools.py
Github Open Source
Open Source
Apache-2.0
2,020
pyGeno
tariqdaouda
Python
Code
280
944
import gzip class GTFEntry(object) : def __init__(self, gtfFile, lineNumber) : """A single entry in a GTF file""" self.lineNumber = lineNumber self.gtfFile = gtfFile self.data = gtfFile.lines[lineNumber][:-2].split('\t') #-2 remove ';\n' proto_atts = self.data[gtfFile.legend['attributes']].strip().split(...
15,771
https://github.com/aliyun/Resource-Orchestration-Service-Cloud-Development-K/blob/master/multiple-languages/java/ros-cdk-core/src/main/java/com/aliyun/ros/cdk/core/FnEquals.java
Github Open Source
Open Source
Apache-2.0
2,022
Resource-Orchestration-Service-Cloud-Development-K
aliyun
Java
Code
128
439
package com.aliyun.ros.cdk.core; /** * Compares if two values are equal. * <p> * Returns true if the two values are equal or false * if they aren't. */ @javax.annotation.Generated(value = "jsii-pacmak/1.49.0 (build e322d87)", date = "2021-12-21T15:12:56.495Z") @software.amazon.jsii.Jsii(module = com.aliyun.ros.cd...
50,102
https://github.com/FedoraTipper/Sentry19/blob/master/pkg/redis/client.go
Github Open Source
Open Source
MIT
null
Sentry19
FedoraTipper
Go
Code
98
347
package redis import ( "context" "time" "github.com/go-redis/redis/v8" ) type RedisClient struct { redisClient *redis.Client } func (s *RedisClient) NewRedisClient(address string, username, password string, selectedDB int) error { client := redis.NewClient(&redis.Options{ Addr: address, Username: usern...
8,351
https://github.com/themages/like-rtc/blob/master/scripts/rollup.umd.js
Github Open Source
Open Source
MIT
null
like-rtc
themages
JavaScript
Code
61
171
import { babel } from "@rollup/plugin-babel"; import { input, version, external, watch, plugins } from "./rollup.config"; export default { input, plugins: [...plugins, babel({ babelHelpers: "bundled" })], output: [ { file: "umd.js", format: "umd", name: "likeRTC", indent: true, g...
41,893
https://github.com/kyalamanchi/HOA_SRSQ_PHP/blob/master/var/www/html/AnnualReport/assets/js/factSheet2.js
Github Open Source
Open Source
MIT
2,018
HOA_SRSQ_PHP
kyalamanchi
JavaScript
Code
10
66
$('#hoa_fact_sheet_back').click(function(){ window.location = 'factSheet.php'; }); $('#hoa_fact_sheet_continue').click(function(){ window.location = 'factSheet3.php'; });
6,248
https://github.com/mi-corporation/cordova-plugin-oidc-basic/blob/master/src/android/OIDCBasic.java
Github Open Source
Open Source
MIT
2,022
cordova-plugin-oidc-basic
mi-corporation
Java
Code
2,200
7,020
package com.mico.cordova.plugin.oidc.basic; import static android.util.Log.getStackTraceString; import android.content.Intent; import android.net.Uri; import android.text.TextUtils; import android.util.Patterns; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; i...
49,838
https://github.com/LIZHICHAOUNICORN/Toolkits/blob/master/leetcode/Bit/sum_of_two_integers.cc
Github Open Source
Open Source
Apache-2.0
null
Toolkits
LIZHICHAOUNICORN
C++
Code
68
197
#include "third_party/gflags/include/gflags.h" #include "third_party/glog/include/logging.h" using namespace std; class Solution { public: int getSum(int a, int b) { while (b != 0) { unsigned int carry = (unsigned int)(a & b) << 1; a = a ^ b; b = carry; } return a; } }; int main(in...
24,456
https://github.com/XideaPL/Taxonomy/blob/master/src/AbstractTaxonomy.php
Github Open Source
Open Source
MIT
null
Taxonomy
XideaPL
PHP
Code
225
676
<?php /* * (c) Xidea Artur Pszczółka <biuro@xidea.pl> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Xidea\Taxonomy; /** * @author Artur Pszczółka <a.pszczolka@xidea.pl> */ abstract class AbstractTaxonomy implements T...
41,205
https://github.com/SergeyLebedkin/mingw_playground/blob/master/app/DSTypes/DSOrderSerializerXml.hpp
Github Open Source
Open Source
MIT
null
mingw_playground
SergeyLebedkin
C++
Code
76
226
#pragma once #include "DSOrderSerializer.hpp" #include <pugixml.hpp> // dental system order serializer interface class DSOrderSerializerXml: public DSOrderSerializer { private: // read from xml node void read_from_xml_node(const DSOrderElementListSPtr list, const pugi::xml_node ...
26,764
https://github.com/architecture-building-systems/CityEnergyAnalyst/blob/master/cea/plots/supply_system/c_requirements_curve_electricity.py
Github Open Source
Open Source
MIT
2,023
CityEnergyAnalyst
architecture-building-systems
Python
Code
282
1,352
""" Show a Pareto curve plot for individuals in a given generation. """ import plotly.graph_objs as go import cea.plots.supply_system from cea.plots.variable_naming import NAMING, COLOR __author__ = "Jimeno Fonseca" __copyright__ = "Copyright 2019, Architecture and Building Systems - ETH Zurich" __credits__ = ["J...
10,110
https://github.com/DreamerWinston/iOS-Tips/blob/master/script/main.py
Github Open Source
Open Source
MIT
2,018
iOS-Tips
DreamerWinston
Python
Code
178
976
# coding=UTF-8 import os import tec_year_catagoy import tec_teach_set import tec_constant import tec_readme # 小集零时目录的标题 valid_file_names = set() # 1. 检查小集的模版是否正确 def check_teachsets_valid(root_path): paths = os.listdir(root_path) is_all_valid = True for compent in paths: # 过滤掉隐藏文件 if c...
4,414
https://github.com/seriksen/opticks/blob/master/ana/seq.py
Github Open Source
Open Source
Apache-2.0
2,020
opticks
seriksen
Python
Code
2,186
6,352
#!/usr/bin/env python # # Copyright (c) 2019 Opticks Team. All Rights Reserved. # # This file is part of Opticks # (see https://bitbucket.org/simoncblyth/opticks). # # 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...
5,130
https://github.com/CS2103AUG2016-W11-C4/main/blob/master/src/main/java/teamfour/tasc/model/ModelManager.java
Github Open Source
Open Source
MIT
2,016
main
CS2103AUG2016-W11-C4
Java
Code
752
2,595
package teamfour.tasc.model; import javafx.collections.transformation.FilteredList; import teamfour.tasc.commons.core.ComponentManager; import teamfour.tasc.commons.core.Config; import teamfour.tasc.commons.core.LogsCenter; import teamfour.tasc.commons.core.UnmodifiableObservableList; import teamfour.tasc.commons.even...
12,561
https://github.com/Ashillqa/SoftwareMarch16Project2/blob/master/src/main/java/com/qa/domain/Category.java
Github Open Source
Open Source
MIT
null
SoftwareMarch16Project2
Ashillqa
Java
Code
95
270
package com.qa.domain; import javax.persistence.*; import java.util.ArrayList; import java.util.List; @Entity public class Category { @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String level; @OneToMany(mappedBy ="category", fetch = FetchType.LAZY) private Li...
31,656
https://github.com/shrinktofit/engine/blob/master/cocos/particle-2d/motion-streak-2d.ts
Github Open Source
Open Source
MIT
2,023
engine
shrinktofit
TypeScript
Code
824
2,079
/* Copyright (c) 2013-2016 Chukong Technologies Inc. Copyright (c) 2017-2023 Xiamen Yaji Software Co., Ltd. https://www.cocos.com/ 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 re...
7,323
https://github.com/eerimoq/monolinux-example-project/blob/master/3pp/linux/security/apparmor/include/apparmor.h
Github Open Source
Open Source
MIT, Linux-syscall-note, GPL-2.0-only
2,020
monolinux-example-project
eerimoq
C
Code
127
408
/* SPDX-License-Identifier: GPL-2.0-only */ /* * AppArmor security module * * This file contains AppArmor basic global * * Copyright (C) 1998-2008 Novell/SUSE * Copyright 2009-2017 Canonical Ltd. */ #ifndef __APPARMOR_H #define __APPARMOR_H #include <linux/types.h> /* * Class of mediation types in the AppArm...
51,932
https://github.com/knockimov/Humidor/blob/master/.piolibdeps/ESP8266_SSD1306_ID562/examples/SSD1306TwoScreenDemo/SSD1306TwoScreenDemo.ino
Github Open Source
Open Source
MIT
2,022
Humidor
knockimov
null
Spoken
346
739
/** * The MIT License (MIT) * * Copyright (c) 2018 by ThingPulse, Daniel Eichhorn * * 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, including without limitation th...
11,375
https://github.com/matyioe92/SlinkyTyped/blob/master/m/maxim_mazurok__gapi_dot_client_dot_servicemanagement/src/main/scala/typingsSlinky/maximMazurokGapiClientServicemanagement/gapi/client/servicemanagement/ConfigSource.scala
Github Open Source
Open Source
MIT
2,021
SlinkyTyped
matyioe92
Scala
Code
150
476
package typingsSlinky.maximMazurokGapiClientServicemanagement.gapi.client.servicemanagement import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.native trait ConfigSource extend...
23,264
https://github.com/bytesparadise/libasciidoctor/blob/master/pkg/parser/document_processing_parse_fragments.go
Github Open Source
Open Source
Apache-2.0
null
libasciidoctor
bytesparadise
Go
Code
843
2,473
package parser import ( "io" "io/ioutil" "github.com/bytesparadise/libasciidoc/pkg/types" "github.com/davecgh/go-spew/spew" "github.com/pkg/errors" log "github.com/sirupsen/logrus" ) func ParseFragments(ctx *ParseContext, source io.Reader, done <-chan interface{}) <-chan types.DocumentFragment { resultStream ...
30,762
https://github.com/lenssss/whereAmI/blob/master/Whereami/Controller/Game/Cell/GameChallengeSelectFriendTableViewCell.swift
Github Open Source
Open Source
MIT
2,016
whereAmI
lenssss
Swift
Code
274
1,229
// // Dispose of any resources that can be recreated. } func updateSearchResultsForSearchController(searchController: UISearchController) { self.searchText = searchController.searchBar.swift // Whereami // // Created by A on 16/3/29. // Copyright © 2016年 WuQifei. All rights reserved. // import UIK...
31,626
https://github.com/Yash-Singh1/probability-fight/blob/master/src/Assets/Scripts/GameManager.cs
Github Open Source
Open Source
MIT
2,021
probability-fight
Yash-Singh1
C#
Code
307
936
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using UnityEngine.SceneManagement; public class GameManager : MonoBehaviour { public TextMeshProUGUI PlayerOneLives; public int playerOneLives = 30; public TextMeshProUGUI PlayerTwoLives; public int playerTwoLi...
23,072
https://github.com/montefiore-ai/clustertools/blob/master/examples/002_results.py
Github Open Source
Open Source
BSD-3-Clause
2,021
clustertools
montefiore-ai
Python
Code
774
1,599
# -*- coding: utf-8 -*- #!/usr/bin/env python import sys import argparse from clustertools import build_datacube __DOC__ = """ Go through `001_basic_usage.py` before running this example. If you did so, you computed the x*y and z+w for x in [1, 2, 3], y = 2, z = 4, w in [5, 6] in an experiment called `BasicUsage`. ...
2,254
https://github.com/CyberEncryptCA/boulder/blob/master/cmd/orphan-finder/main.go
Github Open Source
Open Source
MIT
null
boulder
CyberEncryptCA
Go
Code
1,591
4,666
package main import ( "context" "crypto/x509" "encoding/asn1" "encoding/hex" "encoding/json" "errors" "flag" "fmt" "io/ioutil" "os" "regexp" "strconv" "strings" "time" capb "github.com/letsencrypt/boulder/ca/proto" "github.com/letsencrypt/boulder/cmd" "github.com/letsencrypt/boulder/core" corepb "gi...
23,628
https://github.com/stfbk/mqttsa/blob/master/src/bruteforce/brute_force.py
Github Open Source
Open Source
Apache-2.0
2,022
mqttsa
stfbk
Python
Code
469
1,190
import paho.mqtt.client as mqtt import ssl from time import sleep from random import randint import sys # callback function for the connect request def on_connect_3(client, userdata, flags, rc): if (rc==0): client.connected = True def on_connect_5(client, userdata, flags, rc, properties): '''if (prope...
53,808
https://github.com/SherbyRobotics/pyro/blob/master/examples/demos_by_system/pendulum_double/double_pendulum_with_computed_torque.py
Github Open Source
Open Source
MIT
2,023
pyro
SherbyRobotics
Python
Code
70
233
# -*- coding: utf-8 -*- """ Created on Fri Nov 16 12:05:08 2018 @author: Alexandre """ ############################################################################### import numpy as np ############################################################################### from pyro.dynamic import pendulum from pyro.control i...
49,961
https://github.com/sshyran/mqtt-proxy/blob/master/pkg/mqtt/codec/suback.go
Github Open Source
Open Source
Apache-2.0
2,020
mqtt-proxy
sshyran
Go
Code
124
386
package mqttcodec import ( "bytes" "fmt" "io" ) type SubackPacket struct { FixedHeader MessageID uint16 ReturnCodes []byte } func (p *SubackPacket) Type() byte { return p.MessageType } func (p *SubackPacket) Name() string { return "SUBACK" } func (p *SubackPacket) String() string { return fmt.Sprintf("%...
49,196
https://github.com/CognizantOneDevOps/Insights/blob/master/PlatformService/src/main/java/com/cognizant/devops/platformservice/outcome/service/OutComeServiceImpl.java
Github Open Source
Open Source
LGPL-2.0-or-later, LGPL-2.1-or-later, GPL-2.0-only, Apache-2.0, LicenseRef-scancode-public-domain, BSD-2-Clause, CDDL-1.1, OFL-1.1, MPL-1.1, CDDL-1.0, MIT, BSD-3-Clause, EPL-1.0, Classpath-exception-2.0, W3C, GPL-1.0-or-later, MPL-2.0
2,023
Insights
CognizantOneDevOps
Java
Code
445
2,049
/******************************************************************************* * Copyright 2021 Cognizant Technology Solutions * * 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 * * ...
38,849
https://github.com/ccakes/concourse-tasks/blob/master/terraform/test/failure/test.tf
Github Open Source
Open Source
MIT
2,019
concourse-tasks
ccakes
HCL
Code
21
72
provider "aws" { version = "1.1.0" region = "eu-west-1" } resource "aws_iam_user" "main" { name = "concourse-terraform-task-test" force_destroy = "true" }
19,036
https://github.com/lehjr/MPA-Lib/blob/master/src/main/java/com/github/lehjr/mpalib/util/client/gui/ContainerlessGui.java
Github Open Source
Open Source
BSD-2-Clause
null
MPA-Lib
lehjr
Java
Code
986
2,283
/* * Copyright (c) 2019 MachineMuse, Lehjr * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list of c...
3,505
https://github.com/sm-44/confluence/blob/master/test/node/web_catalog/api_extractor_service-test.es6.js
Github Open Source
Open Source
BSD-3-Clause
2,022
confluence
sm-44
JavaScript
Code
191
729
// Copyright 2017 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. 'use strict'; describe('ApiExtractorService', () => { let fs; let path; let objectGraphPath; let ApiExtractorService; let DAOContainer; befo...
28,091
https://github.com/cube19/sdk-rest/blob/master/src/main/java/com/bullhornsdk/data/model/response/list/customobjectinstances/ClientCorporationCustomObjectInstance34ListWrapper.java
Github Open Source
Open Source
MIT
2,021
sdk-rest
cube19
Java
Code
13
108
package com.bullhornsdk.data.model.response.list.customobjectinstances; import com.bullhornsdk.data.model.entity.core.customobjectinstances.clientcorporation.ClientCorporationCustomObjectInstance34; import com.bullhornsdk.data.model.response.list.StandardListWrapper; public class ClientCorporationCustomObjectInstance...
42,898
https://github.com/zulcss/qlikme/blob/master/.gitignore
Github Open Source
Open Source
Apache-2.0
2,018
qlikme
zulcss
Ignore List
Code
2
10
*.pyc ssh.key
34,400
https://github.com/moh-moola/molo-gem/blob/master/gem/management/commands/remove_deprecated_site_data.py
Github Open Source
Open Source
BSD-2-Clause
2,020
molo-gem
moh-moola
Python
Code
215
802
from django.core.management.base import BaseCommand, CommandError from django_comments.models import Comment from molo.profiles.models import UserProfile, SecurityAnswer from molo.forms.models import MoloFormSubmission from wagtail.core.models import Site class Command(BaseCommand): help = ('Accepts site ids and ...
311
https://github.com/gavar/google-front-end-web-developer/blob/master/react/10/packages/util/index.ts
Github Open Source
Open Source
MIT
2,022
google-front-end-web-developer
gavar
TypeScript
Code
8
17
export * from "./identity"; export * from "./class-names";
47,249
https://github.com/ncwtf/incubator-shardingsphere/blob/master/infra/executor/src/main/java/org/apache/shardingsphere/infra/executor/sql/process/ExecuteProcessReporter.java
Github Open Source
Open Source
Apache-2.0
2,023
incubator-shardingsphere
ncwtf
Java
Code
369
1,156
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
22,102
https://github.com/GemTalk/Rowan/blob/master/rowan/src/Rowan-Tests/RwInterfaceTest.class.st
Github Open Source
Open Source
MIT
2,023
Rowan
GemTalk
null
Spoken
12
40
Class { #name : 'RwInterfaceTest', #superclass : 'RwAbstractTest', #category : 'Rowan-Tests' }
23,787
https://github.com/radoid/subframe/blob/master/tests/OpcodeCacheTest.php
Github Open Source
Open Source
MIT
2,023
subframe
radoid
PHP
Code
158
781
<?php namespace Subframe; use PHPUnit\Framework\TestCase; class OpcodeCacheTest extends TestCase { private const DIR = __DIR__.'/files'; public function testSet() { $cache = new OpcodeCache(self::DIR); $value = 123; $this->assertTrue($cache->set('integer', $value)); $this->assertEquals($value, $cache->ge...
26,412
https://github.com/lynings/ngx-weui/blob/master/src/toast/toast.service.ts
Github Open Source
Open Source
MIT
2,017
ngx-weui
lynings
TypeScript
Code
214
787
import { Injectable, ComponentFactoryResolver, ApplicationRef, Injector, Optional, EmbeddedViewRef } from '@angular/core'; import { ToastComponent } from "./index"; import { Observable, Observer } from "rxjs/Rx"; declare const document: any; @Injectable() export class ToastService { constructor(private resolver: ...
9,734
https://github.com/cl1107/taro/blob/master/packages/taro-h5/src/api/canvas/createCanvasContext.js
Github Open Source
Open Source
MIT
2,020
taro
cl1107
JavaScript
Code
671
2,704
import { findDOMNode } from 'nervjs' import { findRef } from '../utils' const MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver /** * 创建 canvas 的绘图上下文 CanvasContext 对象 * @param {string} canvasId 要获取上下文的 <canvas> 组件 canvas-id 属性 * @param {Object} componentInstan...
30,738
https://github.com/mika-koivusaari/weather/blob/master/weather/src/main/java/org/koivusaari/weather/repositories/WeatherRepository.java
Github Open Source
Open Source
MIT
null
weather
mika-koivusaari
Java
Code
11
54
package org.koivusaari.weather.repositories; import org.koivusaari.weather.pojo.WeatherData; public interface WeatherRepository { WeatherData findLastData(); }
34,599
https://github.com/kamaal44/censys-python/blob/master/censys/asm/risks.py
Github Open Source
Open Source
Apache-2.0, Python-2.0
2,021
censys-python
kamaal44
Python
Code
136
366
"""Interact with the Censys Risks API.""" from typing import Iterator, Optional from .api import CensysAsmAPI class Risks(CensysAsmAPI): """Risks API class.""" base_path = "risks" def get_risks( self, cloud: Optional[str] = None, environment: Optional[str] = None, includ...
29,603
https://github.com/dmkoster/streamsx.tcp/blob/master/com.ibm.streamsx.tcp/impl/src/mcts/acceptor.cpp
Github Open Source
Open Source
LicenseRef-scancode-warranty-disclaimer, Apache-2.0
2,016
streamsx.tcp
dmkoster
C++
Code
69
369
/* ####################################################################### # Copyright (C)2012, International Business Machines Corporation and # others. All Rights Reserved. ####################################################################### */ #include "mcts/acceptor.h" #include <streams_boost/bind.hpp> #includ...
16,364
https://github.com/danielmatthew/lazy-load/blob/master/src/components/lazy-load/lazy-load.scss
Github Open Source
Open Source
MIT
null
lazy-load
danielmatthew
SCSS
Code
54
169
:host { display: block; } .image { &__wrapper { display: flex; justify-content: center; align-items: center; &.loaded { .image { &__item { visibility: visible; opacity: 1; border: 0; object-fit: contain; } &__spinner { ...
7,264
https://github.com/michalsrb/vts-browser-cpp/blob/master/browser/src/vts-librenderer-cs/CMakeLists.txt
Github Open Source
Open Source
BSD-2-Clause
2,018
vts-browser-cpp
michalsrb
CMake
Code
20
159
project(vts-renderer-cs CSharp) set(SRC_LIST Interop.cs Renderer.cs RenderOptions.cs RenderVariables.cs ) add_library(vts-renderer-cs ${SRC_LIST}) target_link_libraries(vts-renderer-cs vts-browser-cs) add_dependencies(vts-renderer-cs vts-renderer) buildsys_ide_groups(vts-renderer-cs libs) set_target_...
53,221
https://github.com/mvsde/miyagi/blob/master/demos/handlebars/src/components/headline/index.hbs
Github Open Source
Open Source
MIT
2,022
miyagi
mvsde
null
Spoken
7
15
<h{{ type }}>{{ copy }}</h{{ type }}>
51,727
https://github.com/weswigham/storm/blob/master/src/audio/control.rs
Github Open Source
Open Source
MIT
2,022
storm
weswigham
Rust
Code
280
803
use alloc::sync::Arc; use core::sync::atomic::{AtomicBool, AtomicU64, Ordering}; struct Inner { volume: AtomicU64, paused: AtomicBool, stop: AtomicBool, } /// Various controls for managing an active sound. #[repr(transparent)] #[derive(Clone)] pub struct SoundControl(Arc<Inner>); impl SoundControl { ...
19,388
https://github.com/hunzsig/graphics-go/blob/master/interp/bilinear.go
Github Open Source
Open Source
BSD-3-Clause
2,022
graphics-go
hunzsig
Go
Code
876
2,540
// Copyright 2012 The Graphics-Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package interp import ( "image" "image/color" "math" ) // Bilinear implements bilinear interpolation. var Bilinear Interp = bilinear{} type bilin...
2,884
https://github.com/MichaelAssmair/Petrinets/blob/master/src/petrinets/pnml/PNMLWopedWriter.java
Github Open Source
Open Source
MIT
null
Petrinets
MichaelAssmair
Java
Code
778
2,406
package petrinets.pnml; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import javax.xml.stream.XMLOutputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream.XMLStreamWriter; /** * Diese Klasse implementiert eine einfache XML Ausgabe für PNML Datei...
3,695
https://github.com/egiev/angular2-timeline/blob/master/src/styles.scss
Github Open Source
Open Source
MIT
null
angular2-timeline
egiev
SCSS
Code
25
75
/* You can add global styles to this file, and also import other style files */ @import url("https://fonts.googleapis.com/css2?family=Karla&display=swap"); body { background: #e5e5e5; font-family: "Karla"; }
11,529
https://github.com/Supermario1313/JustEnoughItems/blob/master/src/main/java/mezz/jei/plugins/vanilla/crafting/TippedArrowRecipeWrapper.java
Github Open Source
Open Source
MIT
2,021
JustEnoughItems
Supermario1313
Java
Code
99
446
package mezz.jei.plugins.vanilla.crafting; import java.util.Arrays; import java.util.List; import mezz.jei.api.ingredients.IIngredients; import mezz.jei.api.recipe.wrapper.IShapedCraftingRecipeWrapper; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraft.potion.PotionType; import...
13,141
https://github.com/ShyLee873/week2/blob/master/index.js
Github Open Source
Open Source
MIT
null
week2
ShyLee873
JavaScript
Code
5
11
alert("Welcome to my coding journey!!");
50,740
https://github.com/ricochetcoin/dash-docs.github.io/blob/master/en/doxygen/html/dir_f9a362818448b8ef6661813ae65d7e79.js
Github Open Source
Open Source
MIT, LicenseRef-scancode-unknown-license-reference
2,018
dash-docs.github.io
ricochetcoin
JavaScript
Code
35
172
var dir_f9a362818448b8ef6661813ae65d7e79 = [ [ "fees.cpp", "fees_8cpp.html", null ], [ "fees.h", "fees_8h.html", "fees_8h" ], [ "policy.cpp", "policy_8cpp.html", "policy_8cpp" ], [ "policy.h", "policy_8h.html", "policy_8h" ], [ "rbf.cpp", "rbf_8cpp.html", "rbf_8cpp" ], [ "rbf.h", "rbf_8h.html", ...
51,733
https://github.com/vickyleu/flutter_touchvg/blob/master/ios/Classes/TouchVGCore/core/src/geom/nanosvg.cpp
Github Open Source
Open Source
MIT
2,022
flutter_touchvg
vickyleu
C++
Code
1,250
3,737
// nanosvg.cpp: Implement MgPath::addSVGPath(s). // Copyright (c) 2014, Zhang Yungui // License: LGPL, https://github.com/rhcad/vgcore // // addSVGPath is based on nanosvg.h (https://github.com/memononen/nanosvg) // NanoSVG is a simple stupid single-header-file SVG parse. // Copyright (c) 2013-14 Mikko Mononen memon@in...
23,216
https://github.com/XIAOGUIGUI/goflow-cli/blob/master/engine/core/build/TaskInline.js
Github Open Source
Open Source
MIT
null
goflow-cli
XIAOGUIGUI
JavaScript
Code
27
109
module.exports = (gulp, common) => new Promise(resolve => { const { buildDistPath } = common.config gulp.src(`${buildDistPath}/**/*.html`) .pipe(common.plugins.inlineSource()) .pipe(gulp.dest(buildDistPath)) .on('end', () => { common.messager.log('HTML 内联成功') resolve() }) })
30,836
https://github.com/Kneelawk/chainsaw/blob/master/src/main/java/com/zyxist/chainsaw/tasks/VerifyModuleNameTask.java
Github Open Source
Open Source
Apache-2.0
null
chainsaw
Kneelawk
Java
Code
223
671
/* * Copyright 2017 the original author or authors. * * 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 applica...
253
https://github.com/rohankumardubey/vert.x/blob/master/vertx-core/src/main/java/org/vertx/java/core/dns/impl/netty/decoder/record/StartOfAuthorityRecord.java
Github Open Source
Open Source
Apache-2.0
2,019
vert.x
rohankumardubey
Java
Code
520
1,032
/* * Copyright (c) 2013 The Netty Project * ------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * * The Eclipse Public Lic...
18,757
https://github.com/AgesX/llvm/blob/master/llvm-project/clang/test/CoverageMapping/trycatch.cpp
Github Open Source
Open Source
MIT
2,022
llvm
AgesX
C++
Code
222
633
// RUN: %strip_comments > %t.stripped.cpp // RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++11 -fexceptions -fcxx-exceptions -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name trycatch.cpp %t.stripped.cpp | FileCheck %s class Error { }; class ImportantError { }; ...
945
https://github.com/maxvankessel/zephyr/blob/master/tests/lib/cmsis_dsp/basicmath/src/main.c
Github Open Source
Open Source
Apache-2.0
2,022
zephyr
maxvankessel
C
Code
37
168
/* * Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io> * * SPDX-License-Identifier: Apache-2.0 */ #include <ztest.h> #include <zephyr.h> extern void test_basicmath_q7(void); extern void test_basicmath_q15(void); extern void test_basicmath_q31(void); extern void test_basicmath_f32(void); void test_main(v...
22,954
https://github.com/andreasabel/hasktags/blob/master/hasktags.nix
Github Open Source
Open Source
BSD-3-Clause
2,022
hasktags
andreasabel
null
Spoken
84
252
{ mkDerivation, base, bytestring, containers, directory, filepath , HUnit, json, lib, microlens-platform, optparse-applicative , utf8-string }: mkDerivation { pname = "hasktags"; version = "0.72.0"; src = ./.; isLibrary = true; isExecutable = true; libraryHaskellDepends = [ base bytestring directory fil...
17,109
https://github.com/aidyd/ns4_gear_watchdog/blob/master/src/test/java/com/creditease/ns4/gear/watchdog/jmx/JMXTest.java
Github Open Source
Open Source
Apache-2.0
2,021
ns4_gear_watchdog
aidyd
Java
Code
479
1,982
package com.creditease.ns4.gear.watchdog.jmx; import javax.management.*; import javax.management.openmbean.CompositeDataSupport; import javax.management.remote.JMXConnector; import javax.management.remote.JMXConnectorFactory; import javax.management.remote.JMXServiceURL; import java.lang.management.MemoryUsage; import...
35,003
https://github.com/WDJ-team5/LaravelTeamProject/blob/master/app/Http/Controllers/MyArticlesController.php
Github Open Source
Open Source
MIT
2,020
LaravelTeamProject
WDJ-team5
PHP
Code
162
739
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DataTables; class MyArticlesController extends Controller { public function __construct() { $this->middleware('auth', ['except' => ['index','show']]); } public function index(Request $request) { if ($r...
23,366