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/applicaster/PreHookExample-RN/blob/master/.gitignore | Github Open Source | Open Source | Apache-2.0 | 2,019 | PreHookExample-RN | applicaster | Ignore List | Code | 16 | 68 | node_modules
.DS_Store
.idea
*-compiled.js
*.js.map
tst.*
testData.redis
dist
.idea
.code
*.log
.nyc_output
coverage
build
test-results.xml
jest-results.xml
| 25,406 |
https://github.com/Uvacoder/mastermovies-gatsby/blob/master/src/containers/glacier/layout/landing/list/list.tsx | Github Open Source | Open Source | Apache-2.0 | 2,021 | mastermovies-gatsby | Uvacoder | TypeScript | Code | 170 | 574 | import { navigate } from "gatsby";
import React from "react";
import { StandardOverlay } from "../../../../../components/common/standard_overlay";
import { GlacierFilmMeta } from "../../../../../components/glacier/film_meta";
import { GlacierThumbnail } from "../../../../../components/glacier/thumbnail";
import { useG... | 41,310 |
https://github.com/nikhilleo/fp-frontend/blob/master/packages/prosess-vedtak-tilbakekreving/src/VedtakTilbakekrevingProsessIndex.tsx | Github Open Source | Open Source | MIT, LicenseRef-scancode-unknown-license-reference | 2,021 | fp-frontend | nikhilleo | TSX | Code | 147 | 918 | import React, { FunctionComponent } from 'react';
import { RawIntlProvider } from 'react-intl';
import { createIntl } from '@fpsak-frontend/utils';
import behandlingArsakType from '@fpsak-frontend/kodeverk/src/behandlingArsakType';
import {
BeregningsresultatTilbakekreving, Kodeverk, StandardProsessPanelPropsTilbake... | 19,969 |
https://github.com/nickproud/OpenBots.Server/blob/master/OpenBots.Server.Model/Identity/PasswordPolicy.cs | Github Open Source | Open Source | Apache-2.0 | null | OpenBots.Server | nickproud | C# | Code | 108 | 360 | using OpenBots.Server.Model.Core;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
#nullable enable
namespace OpenBots.Server.Model.Identity
{
public class PasswordPolicy : Entity
{
[Display(Name = "MinimumLength")]
public int? MinimumLength { get; set; }... | 27,577 |
https://github.com/OS2World/LIB-REXX-RxRsync/blob/master/dllsrc/rxrsync2.rex | Github Open Source | Open Source | BSD-3-Clause | 2,014 | LIB-REXX-RxRsync | OS2World | null | Spoken | 248 | 733 | /**** RxRsync REXX procedures **************************************/
/* rsync_gdiff: uses this synopsis, and the new version, to create
and rsync difference file
status=rsync_gdiff(synopsis_string,newver_file,diff_file,quiet)
quiet is an optional parameter
****************... | 46,165 |
https://github.com/lreimer/distroless-zulu-openjdk/blob/master/11.0.11/Dockerfile | Github Open Source | Open Source | MIT, Apache-2.0 | 2,021 | distroless-zulu-openjdk | lreimer | Dockerfile | Code | 39 | 256 | ARG ZULU_VERSION
FROM azul/zulu-openjdk-debian:$ZULU_VERSION as builder
FROM gcr.io/distroless/base
LABEL maintainer="qaware-oss@qaware.de"
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
ENV JAVA_HOME=/usr/lib/jvm/zulu11
ENV PATH=${PATH}:${JAVA_HOME}/bin
COPY --from=builder $JAVA_HOME $JAVA_HOME
CO... | 25,471 |
https://github.com/MonaAtabanii/ThemeRepo/blob/master/themes/Clean/MyWidgetsBeforeJan/widgets/themes/Brick/footer.php | Github Open Source | Open Source | MIT | 2,019 | ThemeRepo | MonaAtabanii | PHP | Code | 38 | 193 | <!-- footer ends here -->
</div>
</div>
<!-- /.container -->
<footer class="bg-faded text-center py-5">
<div class="container">
<p class="m-0">Copyright © Your Website 2017 <?=$config->adminWidget;?></p>
</div>
</footer>
<!-- Bootstrap core JavaScript -->
<scr... | 611 |
https://github.com/Roger-Wu/dexon-hackathon-tool-mate/blob/master/client/src/utils/genders.js | Github Open Source | Open Source | MIT | 2,019 | dexon-hackathon-tool-mate | Roger-Wu | JavaScript | Code | 202 | 1,139 | const genders = [
'Female',
'Male',
'Abimegender',
'Adamasgender',
'Aerogender',
'Aesthetigender',
'Affectugender',
'Agender',
'Agenderflux',
'Alexigender',
'Aliusgender',
'Amaregender',
'Ambigender',
'Ambonec',
'Amicagender',
'Androgyne',
'Androgynous',
'Anesigender',
'Angenital',... | 12,734 |
https://github.com/lxn5321/-youku-/blob/master/youku客户端/core/admin.py | Github Open Source | Open Source | MIT | 2,018 | -youku- | lxn5321 | Python | Code | 282 | 1,637 | from youku客户端.client import tcpclient
import os
from youku客户端.conf import settings
from youku客户端.lib import common
admin_data = {'session':None}
send_dic = {'type':None,'user_type':None,'session':None}
def admin_register(client):
while True:
name = input('用户名:').strip()
pwd1 = input('密码:').strip... | 40,250 |
https://github.com/captainjono/rxns/blob/master/src/Rxns/Playback/RxnTape.cs | Github Open Source | Open Source | MIT | 2,021 | rxns | captainjono | C# | Code | 55 | 115 | namespace Rxns.Playback
{
public class RxnTape : ITapeStuff
{
public ITapeSource Source { get; private set; }
public string Name { get; private set; }
public string Hash { get; private set; }
public static ITapeStuff FromSource(string name, ITapeSource source)
{
... | 17,433 |
https://github.com/MastersAcademy/js-course-2017/blob/master/homeworks/vyacheslav.polybotko_Apolon23/homework_3/common.js | Github Open Source | Open Source | MIT | 2,018 | js-course-2017 | MastersAcademy | JavaScript | Code | 95 | 175 | let height = 4;
let gapBreak = " ";
let star, space;
let gapSymbol, spaces;
if (height >= 2) {
for (let i = 1; i <= height; i++) {
space = height - i;
spaces = "";
for (let i = 0; i <= space; i++) {
spaces += " ";
}
star = i - 1; {
gapSymbol = "";
... | 2,815 |
https://github.com/cl-zhao/software-engineering/blob/master/HotelSystem/InternetHotelReservationSystem/CommonHub/src/main/java/po/RoomInfoPO.java | Github Open Source | Open Source | MIT | 2,019 | software-engineering | cl-zhao | Java | Code | 196 | 715 | package po;
import java.io.Serializable;
import utilities.enums.RoomType;
import vo.RoomInfoVO;
/**
* @Description:保存客房信息的持久化对象,信息包括:
* 酒店编号,房间类型,房间名称,房间数,剩余房间数量,价格
* @author:Harvey Gong
* @lastChangedBy:Harvey Gong
* @time:2016年12月6日 下午1:32:12
*/
public class RoomInfoPO implements Serializable{
/**
*
... | 41,348 |
https://github.com/davidahouse/SwiftNest/blob/master/SwiftNest/SwiftNest/Network/NetworkRequest.swift | Github Open Source | Open Source | MIT | 2,020 | SwiftNest | davidahouse | Swift | Code | 400 | 1,287 | //
// JSONRequest.swift
// Lincoln
//
// Created by David House on 9/9/18.
// Copyright © 2018 davidahouse. All rights reserved.
//
import Foundation
public enum NetworkRequestMethod: String {
case get = "GET"
case post = "POST"
case put = "PUT"
case delete = "DELETE"
}
public enum NetworkRequest... | 26,704 |
https://github.com/bgoonz/UsefulResourceRepo2.0/blob/master/MY_REPOS/a-whole-bunch-o-gatsby-templates/AuthorPal/libs/localForage-master/src/localforage.js | Github Open Source | Open Source | Apache-2.0, MIT | 2,022 | UsefulResourceRepo2.0 | bgoonz | JavaScript | Code | 1,152 | 3,197 | import isIndexedDBValid from "./utils/isIndexedDBValid";
import isWebSQLValid from "./utils/isWebSQLValid";
import isLocalStorageValid from "./utils/isLocalStorageValid";
import idbDriver from "./drivers/indexeddb";
import websqlDriver from "./drivers/websql";
import localstorageDriver from "./drivers/localstorage";
im... | 11,686 |
https://github.com/ashrafsayed2018/scores-app-/blob/master/app/ChildCategory.php | Github Open Source | Open Source | MIT | null | scores-app- | ashrafsayed2018 | PHP | Code | 35 | 108 | <?php
namespace App;
use App\SubCategory;
use Illuminate\Database\Eloquent\Model;
class ChildCategory extends Model
{
protected $guarded = [];
public function subcategory() {
return $this->belongsTo(SubCategory::class);
}
// relationship with posts
public function posts() {
... | 39,922 |
https://github.com/hsocarras/pycip/blob/master/segment/segment.py | Github Open Source | Open Source | Apache-2.0 | null | pycip | hsocarras | Python | Code | 90 | 277 |
from .lsegment import LogicalSegment
class Segment:
"""
Base class of all segment.
...
Atributes:
----------
none
Methods
-------
classmethod validate_reange
classmethod get_id_code
staticmethod identify
"""
@classmethod
def get_segment(cls, buffer)... | 34,152 |
https://github.com/mFontoura/DizzyTowers/blob/master/Assets/Scripts/GameManager.cs | Github Open Source | Open Source | MIT | null | DizzyTowers | mFontoura | C# | Code | 516 | 1,726 | using System;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
public class GameManager : MonoBehaviour
{
public enum EndGame
{
Victory,
Defeat
}
public delegate void OnGameEnded (EndGame endGame);
public static event OnGameEnded gameEnde... | 23,902 |
https://github.com/FayeGoodworth/claim-additional-payments-for-teaching/blob/master/config/initializers/logstash.rb | Github Open Source | Open Source | MIT, LicenseRef-scancode-proprietary-license | 2,020 | claim-additional-payments-for-teaching | FayeGoodworth | Ruby | Code | 24 | 132 | require "environment_log_formatter"
if ENV["LOGSTASH_HOST"].present?
Rails.application.configure do
tcp_logger = LogStashLogger.new(type: :tcp,
host: ENV.fetch("LOGSTASH_HOST"),
port: ENV.fetch("LOGSTASH_PORT"),
... | 21,683 |
https://github.com/jeromebridge/xml-doclet/blob/master/src/test/java/com/ownedthx/xmldoclet/simpledata/Enum6.java | Github Open Source | Open Source | Apache-2.0 | null | xml-doclet | jeromebridge | Java | Code | 7 | 29 | package com.ownedthx.xmldoclet.simpledata;
@Deprecated
public enum Enum6
{} | 8,004 |
https://github.com/3scale/porta/blob/master/app/assets/javascripts/master_application.js | Github Open Source | Open Source | Apache-2.0 | 2,023 | porta | 3scale | JavaScript | Code | 491 | 1,693 | (function($) {
// Object for holding various timers users in proceeding code.
var timers = {
checkDomain: 0
};
$(document).ready(function() {
// For parsing code blocks with highlighter.
// https://www.npmjs.com/package/highlight.js/v/10.0.1#custom-initialization
// don't want to use the defaul... | 16,550 |
https://github.com/VassilisVassiliadis/composability-simulator/blob/master/src/job_factory.rs | Github Open Source | Open Source | Apache-2.0 | null | composability-simulator | VassilisVassiliadis | Rust | Code | 680 | 2,125 | /*
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 not use this f... | 34,988 |
https://github.com/rodrigobmg/psx/blob/master/SLPS-01416/funcs/psxsrc/garyl.cpp | Github Open Source | Open Source | Unlicense | 2,018 | psx | rodrigobmg | C++ | Code | 37 | 130 | // C:\diabpsx\PSXSRC\GARYL.CPP
#include "types.h"
// address: 0x800845BC
void MemCb__FlPvUlPCcii(long hnd, void *Addr, unsigned long Size, char *Name, int Users, int TimeStamp) {
}
// address: 0x800845E0
void Spanker__Fv() {
}
// address: 0x80084634
void GaryLiddon__Fv() {
}
| 28,730 |
https://github.com/tropicalcyborg/arcore-lightboard/blob/master/Assets/Game/Code/UIControl.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | arcore-lightboard | tropicalcyborg | C# | Code | 440 | 1,468 | //-----------------------------------------------------------------------
// <copyright file="UIControl.cs" company="Google">
//
// Copyright 2016 Google 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.
/... | 35,000 |
https://github.com/delibera/helios-server/blob/master/my-venv/lib/python3.8/site-packages/sendgrid/admin.py | Github Open Source | Open Source | Apache-2.0 | 2,021 | helios-server | delibera | Python | Code | 459 | 2,103 | from __future__ import absolute_import
from django.conf import settings
from django.contrib import admin
from .models import Argument
from .models import Category
from .models import EmailMessage
from .models import EmailMessageAttachmentsData
from .models import EmailMessageBodyData
from .models import EmailMessageB... | 25,276 |
https://github.com/pnavalnyy/frontend-configs/blob/master/tslint.json | Github Open Source | Open Source | MIT | 2,020 | frontend-configs | pnavalnyy | null | Spoken | 5 | 35 | {
"extends": ["tslint:latest", "./packages/tslint-config-sevenval/index.json"]
}
| 45,499 |
https://github.com/mhkoji/Vase/blob/master/vase-app/src/web/src/jscl/entities/tag/tag.lisp | Github Open Source | Open Source | MIT | 2,021 | Vase | mhkoji | Common Lisp | Code | 10 | 41 | (defpackage :vase.entities.tag
(:use :cl))
(in-package :vase.entities.tag)
(defstruct tag id name)
| 35,393 |
https://github.com/JohnMalmberg/daos/blob/master/src/control/modules/security/DomainCredential.go | Github Open Source | Open Source | Apache-2.0 | null | daos | JohnMalmberg | Go | Code | 443 | 965 | //
// (C) Copyright 2018 Intel Corporation.
//
// 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 ... | 28,872 |
https://github.com/fengbingchun/Caffe_Test/blob/master/src/openblas/interface/CMakeFiles/drotmg.c | Github Open Source | Open Source | BSD-3-Clause | 2,021 | Caffe_Test | fengbingchun | C | Code | 22 | 95 | #define ASMNAME _drotmg
#define ASMFNAME _drotmg_
#define NAME drotmg_
#define CNAME drotmg
#define CHAR_NAME "drotmg_"
#define CHAR_CNAME "drotmg"
#define DOUBLE
#include "E:/GitCode/Caffe_Test/src/openblas/interface/rotmg.c" | 45,894 |
https://github.com/Realtao/corefx/blob/master/src/System.Xml.XDocument/tests/TreeManipulation/XObjectsTests.cs | Github Open Source | Open Source | MIT | 2,021 | corefx | Realtao | C# | Code | 96 | 288 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Xml;
using System.Xml.Linq;
using Xunit;
namespace XLinqTests
{
public class XObjectTests
{
public class SkipNotifyTests
{
... | 8,763 |
https://github.com/ZhuLingfeng1993/Halide/blob/master/apps/autoscheduler/FunctionDAG.h | Github Open Source | Open Source | MIT | null | Halide | ZhuLingfeng1993 | C | Code | 6,346 | 17,361 | /** This file defines the class FunctionDAG, which is our
* representation of a Halide pipeline, and contains methods to using
* Halide's bounds tools to query properties of it. */
#ifndef FUNCTION_DAG_H
#define FUNCTION_DAG_H
#include <algorithm>
#include <map>
#include <stdint.h>
#include <string>
#include <vecto... | 2,323 |
https://github.com/jgladch/chesstron/blob/master/.babelrc | Github Open Source | Open Source | MIT | 2,016 | chesstron | jgladch | null | Spoken | 6 | 23 | {
"presets": ["es2015"],
"auxiliaryCommentBefore": false
} | 44,005 |
https://github.com/artem-smotrakov/tlsbunny/blob/master/src/test/java/com/gypsyengineer/tlsbunny/tls/VectorTest.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | tlsbunny | artem-smotrakov | Java | Code | 227 | 1,096 | package com.gypsyengineer.tlsbunny.tls;
import com.gypsyengineer.tlsbunny.tls13.struct.ProtocolVersion;
import org.junit.Test;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.List;
import static com.gypsyengineer.tlsbunny.TestUtils.expectIllegalState;
import static com.gypsyengineer.tlsbunny... | 36,713 |
https://github.com/momotech/sorakaq/blob/master/worker/service/IService.go | Github Open Source | Open Source | MIT | 2,022 | sorakaq | momotech | Go | Code | 73 | 308 | package service
import (
"sorakaq/message"
"github.com/samuel/go-zookeeper/zk"
)
type IWorkerService interface {
initTimeWheel()
initRpcServer()
msgCallback(msg *message.DelayMsg) error
process(msg *message.DelayMsg) error
httpCallBack(msg *message.DelayMsg) error
checkWorkerMsg(msg *message.DelayMsg) bool
... | 37,381 |
https://github.com/Krutonium/BetterFanController/blob/master/BetterFanController/FanController.cs | Github Open Source | Open Source | MIT | 2,020 | BetterFanController | Krutonium | C# | Code | 600 | 1,750 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace BetterFanController
{
public class FanController : BackgroundService
... | 8,577 |
https://github.com/yushroom/FishEngine-ECS/blob/master/Include/FishEngine/Engine.hpp | Github Open Source | Open Source | MIT | 2,021 | FishEngine-ECS | yushroom | C++ | Code | 111 | 397 | #pragma once
#if defined(_WIN32) || defined(_WIN64)
#define FISHENGINE_PLATFORM_WINDOWS 1
#elif defined(__APPLE__)
#define FISHENGINE_PLATFORM_APPLE 1
#else //defined(__linux__)
#define FISHENGINE_PLATFORM_LINUX 1
#endif
#if defined(FishEngine_SHARED_LIB) && FISHENGINE_PLATFORM_WINDOWS
#ifdef FishEngi... | 9,327 |
https://github.com/input-output-hk/daedalus/blob/master/source/renderer/app/components/staking/epochs/StakingEpochsNoData.tsx | Github Open Source | Open Source | Apache-2.0, LicenseRef-scancode-warranty-disclaimer | 2,023 | daedalus | input-output-hk | TSX | Code | 79 | 231 | import React, { Component } from 'react';
import { observer } from 'mobx-react';
import { defineMessages, intlShape } from 'react-intl';
import styles from './StakingEpochs.scss';
const messages = defineMessages({
noResults: {
id: 'staking.epochs.no.results',
defaultMessage: '!!!No results',
description:... | 28,927 |
https://github.com/bamtercelboo/N3LDG_Chinese_Word_Segmentation/blob/master/src/basic/Instance.h | Github Open Source | Open Source | Apache-2.0 | null | N3LDG_Chinese_Word_Segmentation | bamtercelboo | C | Code | 281 | 1,156 | #ifndef _INSTANCE_H_
#define _INSTANCE_H_
#include <iostream>
using namespace std;
class Instance
{
public:
void clear()
{
m_chars.clear();
m_bichars_l.clear();
m_bichars_r.clear();
m_labels.clear();
}
void toVector(const vector<string>& labels, vector<vector<int>>& vec) const{
int size = labels.size();... | 14,523 |
https://github.com/Hengle/AsyncRPG/blob/master/src/unityClient/Assets/Resources/Gfx/Sprites/Enemies/character_floater_purple/idle.anim.meta | Github Open Source | Open Source | MIT | 2,014 | AsyncRPG | Hengle | Unity3D Asset | Code | 6 | 38 | fileFormatVersion: 2
guid: f2f332bb40d5845449efdcd43b895913
NativeFormatImporter:
userData:
| 2,319 |
https://github.com/GreatOrator/TolkienTweaks-Mobs/blob/master/src/main/java/com/greatorator/tolkienmobs/entity/ambient/EntityTTMFrog.java | Github Open Source | Open Source | MIT | null | TolkienTweaks-Mobs | GreatOrator | Java | Code | 1,584 | 6,470 | package com.greatorator.tolkienmobs.entity.ambient;
import com.google.common.collect.Maps;
import com.greatorator.tolkienmobs.TTMContent;
import com.greatorator.tolkienmobs.TolkienMobs;
import com.greatorator.tolkienmobs.datagen.EntityGenerator;
import com.greatorator.tolkienmobs.datagen.SoundGenerator;
import com.gre... | 45,743 |
https://github.com/lovelycheng/JDK/blob/master/JDK10-Java SE Development Kit 10/src/jdk.internal.vm.compiler/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/BinaryOpLogicNode.java | Github Open Source | Open Source | Apache-2.0 | 2,022 | JDK | lovelycheng | Java | Code | 280 | 823 | /*
* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package org.graalvm.compiler.nodes;
import org.graalvm.compiler.core.common.type.Stamp;
import org.graalvm.co... | 17,611 |
https://github.com/sria91-rlox/lox-rs-9/blob/master/src/lexer.rs | Github Open Source | Open Source | Apache-2.0 | 2,020 | lox-rs-9 | sria91-rlox | Rust | Code | 1,119 | 4,143 | use std::{cmp::Ordering, fmt, str::Chars};
use itertools::{multipeek, MultiPeek};
fn is_digit(c: char) -> bool {
c.is_ascii_digit()
}
fn is_alpha(c: char) -> bool {
c.is_ascii_alphabetic() || c == '_'
}
fn is_alphanumeric(c: char) -> bool {
is_digit(c) || is_alpha(c)
}
fn is_whitespace(c: char) -> bool... | 33,033 |
https://github.com/npocmaka/Windows-Server-2003/blob/master/multimedia/opengl/glu/nurbs/core/renderhi.cxx | Github Open Source | Open Source | Unlicense | 2,021 | Windows-Server-2003 | npocmaka | C++ | Code | 315 | 832 | /**************************************************************************
* *
* Copyright (C) 1992, Silicon Graphics, Inc. *
* *
* These coded instructions, statements, and computer programs contain *
* unpublished proprietary information of Silicon Graphics, Inc., and *
* are ... | 46,841 |
https://github.com/royalcms/royalcms-framework/blob/master/src/Royalcms/Component/Foundation/Bootstrap/Booted.php | Github Open Source | Open Source | MIT | 2,021 | royalcms-framework | royalcms | PHP | Code | 233 | 581 | <?php
namespace Royalcms\Component\Foundation\Bootstrap;
use Royalcms\Component\Contracts\Foundation\Royalcms;
use RC_Hook;
class Booted
{
/**
* Bootstrap the given application.
*
* @param \Royalcms\Component\Contracts\Foundation\Royalcms $royalcms
* @return void
*/
public function... | 17,481 |
https://github.com/johanne5/paraprog/blob/master/MSP-hands-on-code/papi-4.1.3/src/libpfm-3.y/docs/man3/libpfm_itanium2.3 | Github Open Source | Open Source | MIT, BSD-3-Clause | 2,015 | paraprog | johanne5 | null | Spoken | 3,566 | 7,755 | .TH LIBPFM 3 "November, 2003" "" "Linux Programmer's Manual"
.SH NAME
libpfm_itanium2 - support for Itanium2 specific PMU features
.SH SYNOPSIS
.nf
.B #include <perfmon/pfmlib.h>
.B #include <perfmon/pfmlib_itanium2.h>
.sp
.BI "int pfm_ita2_is_ear(unsigned int " i ");"
.BI "int pfm_ita2_is_dear(unsigned int " i ");"
.... | 30,070 |
https://github.com/hom669/TestCognox/blob/master/vendor/livewire/livewire/src/Controllers/HttpConnectionHandler.php | Github Open Source | Open Source | MIT | 2,020 | TestCognox | hom669 | PHP | Code | 24 | 89 | <?php
namespace Livewire\Controllers;
use Livewire\Connection\ConnectionHandler;
class HttpConnectionHandler extends ConnectionHandler
{
public function __invoke()
{
return $this->handle(
request([
'fingerprint',
'serverMemo',
'updates',
... | 8,150 |
https://github.com/nboyd/LoopVectorization.jl/blob/master/src/LoopVectorization.jl | Github Open Source | Open Source | MIT | 2,020 | LoopVectorization.jl | nboyd | Julia | Code | 257 | 1,140 | module LoopVectorization
using VectorizationBase, SIMDPirates, SLEEFPirates, UnPack, OffsetArrays
using VectorizationBase: REGISTER_SIZE, REGISTER_COUNT, extract_data, num_vector_load_expr,
mask, masktable, pick_vector_width_val, valmul, valrem, valmuladd, valadd, valsub, _MM,
maybestaticlength, maybestaticsiz... | 51,950 |
https://github.com/quan14/Modelling_Airway_Geometry_as_Stock_Market_Data/blob/master/Functions/gltoindep.m | Github Open Source | Open Source | MIT | 2,019 | Modelling_Airway_Geometry_as_Stock_Market_Data | quan14 | MATLAB | Code | 844 | 7,577 | function [newmodel,newcp,newgcp,newicp,newpara,newg2icount] = gltoindep(X,likelihood,numberofpara,N,kmax,inglcl,ijump,gjumpto,gjumpfrom,gjump,adproposalsd,rmproposalsd,proposalmove,minimumdistance,gltoinbox,proportion1or0,rprior,gprior,mprior,hyper,model,cp,gcp,icp,para,jacobian,i2gcount,g2icount)
%Add changepoint to c... | 46,697 |
https://github.com/mikejford/playball/blob/master/assets/sass/_playball.scss | Github Open Source | Open Source | MIT | 2,013 | playball | mikejford | SCSS | Code | 74 | 250 | $color-names: red, green, blue, purple;
$color-values: $red, $green, $blue, $purple;
$shape-names: triangle, square, pentagon, circle;
body {
padding-top: 100px;
}
.row {
padding-bottom: 50px;
}
.control-box {
width: 200px;
height: 200px;
border: 1px solid black;
}
@each $color in $color-names {
$value:... | 36,984 |
https://github.com/rohanvarma16/pcseg/blob/master/cplusplus/include/segmentation.h | Github Open Source | Open Source | MIT | 2,022 | pcseg | rohanvarma16 | C | Code | 42 | 240 | #ifndef SEGMENTATION_H
#define SEGMENTATION_H
void segmentation_computeDensity(pcl::PointCloud<pcl::PointXYZRGB>::Ptr pc, int num_pts, float sigma_sq, int K, std::vector<float>& p_density);
void segmentation_linkNeighbors(pcl::PointCloud<pcl::PointXYZRGB>::Ptr pc,int num_pts, float radius,std::vector<float>& p_densit... | 39,729 |
https://github.com/gitter-badger/scrape-dat-rooms/blob/master/scrape-dat-rooms-core/src/main/java/com/github/hronom/scrape/dat/rooms/core/webpage/html/grabbers/HtmlUnitGrabber.java | Github Open Source | Open Source | Apache-2.0 | 2,015 | scrape-dat-rooms | gitter-badger | Java | Code | 112 | 583 | package com.github.hronom.scrape.dat.rooms.core.webpage.html.grabbers;
import com.gargoylesoftware.htmlunit.AjaxController;
import com.gargoylesoftware.htmlunit.BrowserVersion;
import com.gargoylesoftware.htmlunit.WebClient;
import com.gargoylesoftware.htmlunit.WebRequest;
import com.gargoylesoftware.htmlunit.html.Htm... | 13,523 |
https://github.com/Raisess/jorginho-bot/blob/master/src/commands/list.js | Github Open Source | Open Source | MIT | 2,021 | jorginho-bot | Raisess | JavaScript | Code | 393 | 1,055 | // bot commands
const hello = require('./hello');
const ban = require('./ban');
const clear = require('./clear');
const color = require('./color');
const colorList = require('./colorList');
const dice = require('./dice');
const social = require('./social');
const git = require('./git');
const bot = require('./bot');
co... | 32,761 |
https://github.com/liuxianghong/SmartLight/blob/master/Code/Intelligentlamp/Intelligentlamp/ViewController(控制器)/Bulb/SearchLampViewController.h | Github Open Source | Open Source | Apache-2.0 | null | SmartLight | liuxianghong | C | Code | 38 | 134 | //
// SearchLampViewController.h
// Intelligentlamp
//
// Created by L on 16/8/25.
// Copyright © 2016年 L. All rights reserved.
//
#import "RootViewController.h"
@interface SearchLampViewController : RootViewController<UITableViewDelegate,UITableViewDataSource>
@property (nonatomic ,strong) NSString *brandId;
... | 4,846 |
https://github.com/xuxiaowei007/ymate-platform-v2/blob/master/ymate-platform-serv/src/main/java/net/ymate/platform/serv/AbstractService.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | ymate-platform-v2 | xuxiaowei007 | Java | Code | 207 | 529 | /*
* Copyright 2007-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 ap... | 47,074 |
https://github.com/sarmadmakhdoom/nano-wallet-ios/blob/master/Raiblocks/Extensions/CommonExtensions.swift | Github Open Source | Open Source | BSD-2-Clause | 2,019 | nano-wallet-ios | sarmadmakhdoom | Swift | Code | 379 | 1,038 | //
// CommonExtensions.swift
// Nano
//
// Created by Zack Shapiro on 12/8/17.
// Copyright © 2017 Nano Wallet Company. All rights reserved.
//
import UIKit
import EFQRCode
import ReactiveSwift
import Result
import SwiftWebSocket
func isiPhoneSE() -> Bool {
#if DEBUG
return debug_isiPhoneSE()
#e... | 16,223 |
https://github.com/alanzw/ulib-win/blob/master/demo/com/script/reg.c | Github Open Source | Open Source | Apache-2.0 | 2,011 | ulib-win | alanzw | C | Code | 914 | 3,058 | // Registers our IExample2.DLL as a COM component.
#include <windows.h>
#include <tchar.h>
#include "IExample2.h"
static const TCHAR OurDllName[] = _T("IExample2.dll");
static const TCHAR OurProgID[] = _T("IExample2.object");
static const TCHAR TypeLibName[] = _T("IExample2.tlb");
static const TCHAR Obj... | 42,856 |
https://github.com/ErikDMCosta/CEV-Praticas_PHP_para_Iniciantes/blob/master/CEV-PHP/14 - Aula 16/aula16-parte2.php | Github Open Source | Open Source | MIT | null | CEV-Praticas_PHP_para_Iniciantes | ErikDMCosta | PHP | Code | 62 | 201 | <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="../_css/estilo.css"/>
<meta charset="UTF-8"/>
<title>AULA 16 - 02 Exercício</title>
</head>
<body>
<div>
<?php
// 2º Função print_r
$v[0] = 4;
$v[1] = 8;
$v[2] = 3;
print_r ($v); // U... | 15,342 |
https://github.com/open-dsl-dict/wikidict-dsl-fr/blob/master/data/sn-fr_wikidict.dsl | Github Open Source | Open Source | LicenseRef-scancode-public-domain, CC0-1.0 | 2,016 | wikidict-dsl-fr | open-dsl-dict | null | Spoken | 8,195 | 57,329 | #NAME "sn-fr Wikidict"
#INDEX_LANGUAGE "Shona"
#CONTENTS_LANGUAGE "French"
Africa
Afrique
[m1]Africa[/m]
[m1]Afrique[/m]
Japan
Japon
[m1]Japan[/m]
[m1]Japon[/m]
South America
Amérique du Sud
[m1]South America[/m]
[m1]Amérique du Sud[/m]
Norway
Norvège
[m1]Norway[/m]
[m1]Norvège[/m]
Scotland
Écosse
[m1]Sco... | 35,056 |
https://github.com/d0scoo1/naga_contracts/blob/master/mainnet/contracts/0xd94C3456E27483Bba74887cCB09d5dC16cf33028_TribeOne/contracts/libraries/DataTypes.sol | Github Open Source | Open Source | MIT | 2,023 | naga_contracts | d0scoo1 | Gerber Image | Code | 365 | 655 | // SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
library DataTypes {
enum Status {
AVOID_ZERO, // just for avoid zero
LISTED, // after the loan has been created --> the next status will be APPROVED
APPROVED, // in this status the loan has a lender -- will be set after approveLoan(). l... | 15,703 |
https://github.com/MauroArgentino/RSXGL/blob/master/src/cgcomp/include/vpparser.h | Github Open Source | Open Source | BSD-2-Clause | 2,022 | RSXGL | MauroArgentino | C | Code | 98 | 364 | #ifndef __VPPARSER_H__
#define __VPPARSER_H__
#include "parser.h"
#define NV_OPTION_VP1 0x01
#define NV_OPTION_VP2 0x02
#define NV_OPTION_VP3 0x04
class CVPParser : public CParser
{
public:
CVPParser();
virtual ~CVPParser();
virtual int Parse(const char *str);
private:
void ParseInstruction(struct nvfx_insn... | 9,461 |
https://github.com/spacehackers/lu/blob/master/src/Page/Page.scss | Github Open Source | Open Source | Apache-2.0 | null | lu | spacehackers | SCSS | Code | 240 | 878 | @import "../shared";
$content_width: 560px;
$content_height: 315px;
.page {
@include luti_font;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2em;
color: $page_color;
&.dark {
color: $page_color_dark;
}
.wrapper {
width: 100%;
max-width: 760px;
margin:... | 43,438 |
https://github.com/mincheolseong/simple-but-strong-DQN-Comm.-/blob/master/state_action_reward/multi-agent_code/dqn-multi-agent-rl-master/environments/predators_prey/env.py | Github Open Source | Open Source | MIT | 2,021 | simple-but-strong-DQN-Comm.- | mincheolseong | Python | Code | 1,201 | 4,276 | """
Created on Wednesday Jan 16 2019
@author: Seyed Mohammad Asghari
@github: https://github.com/s3yyy3d-m
"""
import random
import operator
import numpy as np
import pygame
import sys
import os
# Define some colors
BLACK = (0, 0, 0)
WHITE = (255, 255, 255)
GREEN = (0, 255, 0)
RED = (255, 0, 0)
BLUE = (0, 0, 255)
G... | 45,137 |
https://github.com/julie-ng/middleman-vorlage/blob/master/source/assets/css/styles.scss | Github Open Source | Open Source | MIT | 2,014 | middleman-vorlage | julie-ng | SCSS | Code | 16 | 80 | @charset "utf-8";
@import "_sass/_vars";
@import "_sass/_mixins";
@import "_sass/_normalize";
@import "_sass/grid";
@import "_sass/layout";
@import "_sass/base";
@import "_sass/navigation"; | 14,074 |
https://github.com/qbdumont/customizable-countdown/blob/master/src/utils/GetTimeRemaining.js | Github Open Source | Open Source | MIT | 2,021 | customizable-countdown | qbdumont | JavaScript | Code | 135 | 247 | export const getTimeRemaining = (countdownDate) => {
if (countdownDate) {
// Get the current time
const currentTime = new Date().getTime();
// Get the time remaining until the countdown date
const distanceToDate = countdownDate - currentTime;
// Calculate days, hours, minutes and seconds remaini... | 52,308 |
https://github.com/sbansal3096/mobx-websocket-store/blob/master/test/MockSocket.ts | Github Open Source | Open Source | MIT | 2,018 | mobx-websocket-store | sbansal3096 | TypeScript | Code | 41 | 129 | export default class MockSocket {
messageHandler: (string) => void;
constructor(add: string) {
this.open();
}
open() {
console.log("Websocket open");
}
close() {
console.log("Websocket closed");
}
on(name: string, handler: (string) => void) {
this.messageHandler = handler;
}
mess... | 34,215 |
https://github.com/zhuqingling/cocopf/blob/master/pptools/pfpickle.py | Github Open Source | Open Source | BSD-2-Clause | 2,014 | cocopf | zhuqingling | Python | Code | 192 | 599 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Load performance data on a portfolio of given set of algorithms and
given set of strategies, compute the oracle and uniform portfolio
strategy and pickle the resulting portfolio data so that it can
be quickly used for various plotting activities.
Usage: pickle.py PICK... | 22,149 |
https://github.com/apache/cassandra/blob/master/test/burn/org/apache/cassandra/transport/SimpleClientBurnTest.java | Github Open Source | Open Source | Apache-2.0, MIT, CC0-1.0, BSD-3-Clause, LicenseRef-scancode-public-domain | 2,023 | cassandra | apache | Java | Code | 643 | 2,174 | /*
* 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 ... | 49,627 |
https://github.com/GianluDeveloper/CorsiEJB/blob/master/src/main/java/dto/DocentiDto.java | Github Open Source | Open Source | MIT | null | CorsiEJB | GianluDeveloper | Java | Code | 98 | 324 | package dto;
import java.io.Serializable;
public class DocentiDto implements Serializable {
/**
*
*/
private static final long serialVersionUID = -2264431570213490775L;
private int idDocente, idCorso;
private String nomeDocente;
public DocentiDto(int idDocente, int idCorso, String nomeDocente) {
this.id... | 5,032 |
https://github.com/amitjamadagni/QuDynamics.jl/blob/master/perf/Jaynes_Cummings_MCWF.jl | Github Open Source | Open Source | MIT | 2,022 | QuDynamics.jl | amitjamadagni | Julia | Code | 793 | 2,174 | using QuBase
using QuDynamics
using BenchmarkLite
type SampleProc{Alg} <: Proc end
# Jaynes-Cummings type which takes the configuration parameters.
# These parameters are used for benchmarking, creating various
# JaynesCummings types with various parameters and using
# the solvers to get the timing results.
type Jayn... | 3,880 |
https://github.com/SuperheroUI/shQuill/blob/master/webpack.config.js | Github Open Source | Open Source | MIT | 2,017 | shQuill | SuperheroUI | JavaScript | Code | 117 | 455 | let path = require('path');
module.exports = {
node: {
global: false
},
entry: {
'sh-quill': './src/index.js',
},
debug: true,
devtool: 'module-source-map',
output: {
path: './bin',
filename: '[name].js',
library: '[name]',
libraryTarget: 'u... | 5,532 |
https://github.com/bjakich/awesome-qml-controls/blob/master/qml/controls/Radius.qml | Github Open Source | Open Source | MIT | 2,020 | awesome-qml-controls | bjakich | null | Spoken | 30 | 70 | import QtQuick 2.12
QtObject {
property real size: 10
property bool allCorners: false
property bool topLeft: false
property bool topRight: false
property bool bottomLeft: false
property bool bottomRight: false
}
| 7,933 |
https://github.com/CakeOrRiot/AdventOfCode2020/blob/master/2021/day1/2.py | Github Open Source | Open Source | MIT | null | AdventOfCode2020 | CakeOrRiot | Python | Code | 32 | 95 | import sys
with open(sys.argv[1],'rt') as f:
values = []
for line in f:
x = int(line)
values.append(x)
res = 0
for i,x in enumerate(values):
if i>2 and x > values[i-3]:
res+=1
print(res) | 38,378 |
https://github.com/scarabresearch/EmarsysMobileSamplesAndroid/blob/master/app/src/main/java/com/emarsys/predict/shop/ShopApplication.java | Github Open Source | Open Source | Apache-2.0 | 2,018 | EmarsysMobileSamplesAndroid | scarabresearch | Java | Code | 66 | 220 | package com.emarsys.predict.shop;
import com.emarsys.predict.Session;
import com.emarsys.predict.shop.data.DataSource;
import com.emarsys.predict.shop.storage.AndroidStorage;
import android.app.Application;
public class ShopApplication extends Application {
@Override
public void onCreate() {
super.o... | 49,351 |
https://github.com/JLuminary/Java_JDBC/blob/master/Java_JDBC/cn/tedu/testjdbc/Test4.java | Github Open Source | Open Source | MIT | null | Java_JDBC | JLuminary | Java | Code | 88 | 328 | package cn.tedu.testjdbc;
import org.junit.Test;
import java.sql.*;
import java.util.Scanner;
/*本类用于SQL攻击解决方案*/
public class Test4 {
// @Test
// public void get() throws Exception {
public static void main(String[] args) throws Exception {
Connection conn = JDBCUtils.get();
// Statement s... | 37,293 |
https://github.com/grubern/dart-ripple_rest/blob/master/lib/src/account_settings.dart | Github Open Source | Open Source | BSD-2-Clause | 2,014 | dart-ripple_rest | grubern | Dart | Code | 558 | 1,146 | // This file is generated automatically from the JSON schema, do *not* edit!
part of ripple_rest;
/**
* An object.
*/
class AccountSettings {
/** The Ripple address of the account in question. */
String /*RippleAddress*/ account;
/** The hash of an optional additional public key that can be used for signing ... | 27,494 |
https://github.com/mlorbetske/diagnostics/blob/master/src/Microsoft.Diagnostics.DebugServices/ICommandService.cs | Github Open Source | Open Source | MIT | 2,020 | diagnostics | mlorbetske | C# | Code | 113 | 235 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
namespace Microsoft.Diagnostics.DebugServices
{
/// <summary>
... | 33,339 |
https://github.com/jonespm/rsf/blob/master/rsf-core/ponderutilcore/src/uk/org/ponder/streamutil/DirectInputStreamReader.java | Github Open Source | Open Source | BSD-3-Clause | null | rsf | jonespm | Java | Code | 687 | 1,484 | package uk.org.ponder.streamutil;
import java.io.InputStream;
import java.io.Reader;
import java.io.IOException;
import uk.org.ponder.stringutil.ByteToCharConverter;
import uk.org.ponder.stringutil.ByteToCharUTF8;
import uk.org.ponder.stringutil.EncodingErrorHandler;
/**
* A more efficient and sane rendering of the... | 34,295 |
https://github.com/kemalbehram/Solnet.Mango/blob/master/Solnet.Mango/Models/Events/Event.cs | Github Open Source | Open Source | MIT | 2,021 | Solnet.Mango | kemalbehram | C# | Code | 154 | 337 | namespace Solnet.Mango.Models.Events
{
/// <summary>
/// Represents a <see cref="EventType"/> in the Mango <see cref="EventQueue"/>.
/// </summary>
public abstract class Event
{
/// <summary>
/// Represents the layout of the <see cref="Event"/>.
/// </summary>
interna... | 36,792 |
https://github.com/ashokapol/inferno4proteomics/blob/master/Inferno/Proteins/frmDAnTE.Rollup.cs | Github Open Source | Open Source | Apache-2.0 | null | inferno4proteomics | ashokapol | C# | Code | 758 | 3,448 | using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.IO;
using System.Text.RegularExpressions;
using DAnTE.Tools;
using DAnTE.ExtraControls;
using DAnTE.Properties;
namespace DAnTE.Inferno
{
partial class frmDAnTE
{
... | 18,404 |
https://github.com/mkjmdski/.multirc/blob/master/gnome/extensions/workspaces-to-dock@passingthru67.gmail.com/myWorkspaceThumbnail.js | Github Open Source | Open Source | MIT | 2,021 | .multirc | mkjmdski | JavaScript | Code | 5,810 | 20,801 | /* ========================================================================================================
* myThumbnailsBox.js - thumbnailsbox object
* --------------------------------------------------------------------------------------------------------
* CREDITS: Part of this code was copied from the gnome-s... | 6,076 |
https://github.com/SynapseR/SINF-14-15/blob/master/Server/Picking/Controllers/ItemsController.cs | Github Open Source | Open Source | MIT | null | SINF-14-15 | SynapseR | C# | Code | 55 | 192 | using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Picking.Lib_Primavera;
using Picking.Lib_Primavera.Model;
namespace Picking.Controllers
{
public class ItemsController : AuthorizedApiController
{
// GET /items/
public IEnumerable<Item> Get... | 5,995 |
https://github.com/zsnjcit/-/blob/master/MetaCrafts.Gateway.Socket/Application/PowerIIPacket.cs | Github Open Source | Open Source | MIT | null | - | zsnjcit | C# | Code | 485 | 1,644 | /****************************************************************
* 作 者:訾松松
* CLR 版本:4.0.30319.42000
* 创建时间:2017/7/20 星期四 10:41:44
* 文 件 名:PowerIIPacket
*
* 描述说明:
*
* 修改历史:
*
*****************************************************************
* Copyright @杭州元工科技有限公司 2017 All rights reserved
***************... | 42,469 |
https://github.com/ubavic/rock/blob/master/app/Models/ProblemModel.php | Github Open Source | Open Source | MIT | 2,021 | rock | ubavic | PHP | Code | 196 | 783 | <?php namespace App\Models;
use CodeIgniter\Model;
class ProblemModel extends Model
{
protected $table = 'problems';
protected $allowedFields = ['exam', 'text', 'points'];
protected $useTimestamps = false;
protected $useSoftDeletes = false;
protected $returnType = 'object';
public function getProblems($id)
{
... | 10,423 |
https://github.com/QDFish/GDProject/blob/master/GDProject/NSString+Extension.h | Github Open Source | Open Source | MIT | null | GDProject | QDFish | C | Code | 64 | 246 | //
// NSString+Extension.h
// GDProject
//
// Created by QDFish on 2018/8/29.
//
#import <Foundation/Foundation.h>
@interface NSString (Extension)
/**
字符串是否为空
@param str .
@return NSNull nil 非NSString类型返回NO
*/
+ (BOOL)isEmpty:(NSString *)str;
/**
首字母小写
@return .
*/
- (NSString *)firstLowercase;
/**
... | 21,767 |
https://github.com/plotly/plotly.py/blob/master/packages/python/plotly/plotly/validators/layout/scene/annotation/_hoverlabel.py | Github Open Source | Open Source | MIT | 2,023 | plotly.py | plotly | Python | Code | 89 | 274 | import _plotly_utils.basevalidators
class HoverlabelValidator(_plotly_utils.basevalidators.CompoundValidator):
def __init__(
self, plotly_name="hoverlabel", parent_name="layout.scene.annotation", **kwargs
):
super(HoverlabelValidator, self).__init__(
plotly_name=plotly_name,
... | 51,356 |
https://github.com/SMazu/JSIL/blob/master/Tests/EmscriptenTestCases/WrongDllName.cs | Github Open Source | Open Source | MIT | 2,022 | JSIL | SMazu | C# | Code | 94 | 258 | using System;
using System.Runtime.InteropServices;
public static class Program {
[StructLayout(LayoutKind.Sequential)]
public struct TestStruct {
public int I;
public float F;
}
[DllImport("what.dll", CallingConvention=CallingConvention.Cdecl)]
public static extern TestStruct Ret... | 26,363 |
https://github.com/NETMF/llilum/blob/master/Zelig/Zelig/FileSystemTest/File/Create.cs | Github Open Source | Open Source | MIT | 2,016 | llilum | NETMF | C# | Code | 948 | 2,845 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
/////////////////////////////////////////////////////////... | 48,071 |
https://github.com/ayounghosh99/Create_Work_Item_Azure_Devops/blob/master/Front_End/node_modules/azure-devops-ui/Header.d.ts | Github Open Source | Open Source | MIT | 2,021 | Create_Work_Item_Azure_Devops | ayounghosh99 | JavaScript | Code | 36 | 112 | export * from "./Components/Header/CustomHeader";
export * from "./Components/Header/Header";
export * from "./Components/Header/HeaderBackButton";
export * from "./Components/Header/HeaderDescription";
export * from "./Components/Header/HeaderIcon";
export * from "./Components/Header/HeaderTitle";
export * from "./Com... | 7,010 |
https://github.com/JonasTriki/knowit-julekalender-2021/blob/master/luke8/main.go | Github Open Source | Open Source | MIT | 2,021 | knowit-julekalender-2021 | JonasTriki | Go | Code | 597 | 1,633 | package main
import (
"fmt"
"io/ioutil"
"math"
"strconv"
"strings"
)
type Loc struct {
x int
y int
}
func prependInt(x []int, y int) []int {
x = append(x, 0)
copy(x[1:], x)
x[0] = y
return x
}
func maxHist(row []int) (int, int, int) {
result := make([]int, 0)
topVal := 0
left := 0
maxArea := 0
maxLe... | 40,289 |
https://github.com/ejoebstl/DlibDotNet/blob/master/src/DlibDotNet.Native.Dnn/dlib/common.h | Github Open Source | Open Source | MIT | 2,022 | DlibDotNet | ejoebstl | C | Code | 9 | 67 | #ifndef _CPP_COMMON_H_
#define _CPP_COMMON_H_
#include "../../DlibDotNet.Native/dlib/export.h"
#include "../../DlibDotNet.Native/dlib/shared.h"
#endif | 7,889 |
https://github.com/ocaml/dune/blob/master/test/blackbox-tests/test-cases/github1395.t/run.t | Github Open Source | Open Source | MIT | 2,023 | dune | ocaml | null | Spoken | 4 | 11 | $ dune exec ./main.exe
| 7,493 |
https://github.com/atamocius/ordertaker/blob/master/src/components/item-card/index.jsx | Github Open Source | Open Source | MIT | 2,021 | ordertaker | atamocius | null | Spoken | 292 | 1,035 | import React, { Suspense, useState } from 'react';
import { makeStyles } from '@material-ui/core/styles';
import Card from '@material-ui/core/Card';
import CardActionArea from '@material-ui/core/CardActionArea';
import CardActions from '@material-ui/core/CardActions';
import CardContent from '@material-ui/core/CardCo... | 29,741 |
https://github.com/cloneforyou/content-review-lookup/blob/master/dist/machspeed/Wikia.js | Github Open Source | Open Source | CC-BY-4.0 | 2,021 | content-review-lookup | cloneforyou | JavaScript | Code | 11 | 56 | $('.mp-item').click(function(box) {
e.preventDefault();
var article = $(this).attr('data-href');
window.location.href = mw.util.wikiGetlink(article);
}); | 48,936 |
https://github.com/jinostart/xwom/blob/master/vendor/2amigos/yii2-gallery-widget/tests/views/gallery.php | Github Open Source | Open Source | BSD-3-Clause | 2,021 | xwom | jinostart | PHP | Code | 122 | 633 | <?php
use dosamigos\gallery\Gallery;
use yii\web\JsExpression;
/* @var $this \yii\web\View */
?>
<?= Gallery::widget() ?>
<?= Gallery::widget(['items' => [
[
'url' => 'http://farm8.static.flickr.com/7429/9478294690_51ae7eb6c9_b.jpg',
'src' => 'http://farm8.static.flickr.com/7429/9478294690_51ae7... | 34,559 |
https://github.com/AEngine/orchid-core/blob/master/src/Support/i18n.php | Github Open Source | Open Source | MIT | null | orchid-core | AEngine | PHP | Code | 274 | 845 | <?php
namespace AEngine\Orchid\Support;
use AEngine\Orchid\Exception\FileNotFoundException;
use AEngine\Orchid\Exception\NullPointException;
use AEngine\Orchid\Traits\Macroable;
use SplPriorityQueue;
class i18n
{
use Macroable;
/**
* Buffer storage of the language file
*
* @var array
*/
... | 4,851 |
https://github.com/ILMTitan/FibDotNet/blob/master/Fib.Net.Core.Unit.Tests/Docker/Json/DockerLoadManifestTemplateTest.cs | Github Open Source | Open Source | Apache-2.0 | 2,021 | FibDotNet | ILMTitan | C# | Code | 186 | 534 | // Copyright 2018 Google LLC.
// Copyright 2020 James Przybylinski
//
// 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 require... | 51,729 |
https://github.com/fpegios/02823-game-prototyping/blob/master/Assets/Tiled2Unity/Prefabs/ramp.prefab | Github Open Source | Open Source | MIT | 2,017 | 02823-game-prototyping | fpegios | Unity3D Asset | Code | 859 | 3,449 | %YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 1495011831020194}
m_IsPrefabParent: ... | 2,246 |
https://github.com/facebook/react-native/blob/master/packages/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts | Github Open Source | Open Source | MIT, CC-BY-4.0, CC-BY-NC-SA-4.0, CC-BY-SA-4.0 | 2,023 | react-native | facebook | TypeScript | Code | 123 | 300 | /**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
import {DeviceEventEmitterStatic} from './RCTDeviceEventEmitter';
export interface NativeEventSubscription {
/*... | 4,848 |
https://github.com/spring-operator/spring-cloud-task/blob/master/spring-cloud-task-stream/src/test/java/org/springframework/cloud/task/batch/listener/StepExecutionEventTests.java | Github Open Source | Open Source | Apache-2.0 | null | spring-cloud-task | spring-operator | Java | Code | 569 | 2,810 | /*
* Copyright 2016-2019 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 ap... | 15,575 |
https://github.com/aulang/oauth/blob/master/src/main/java/cn/aulang/oauth/controller/ThirdLoginController.java | Github Open Source | Open Source | MIT | 2,020 | oauth | aulang | Java | Code | 282 | 1,595 | package cn.aulang.oauth.controller;
import cn.aulang.framework.exception.CommonError;
import cn.aulang.framework.web.Response;
import cn.aulang.framework.web.response.ResponseFactory;
import cn.aulang.oauth.auth.AuthServiceProvider;
import cn.aulang.oauth.common.Constants;
import cn.aulang.oauth.common.OAuthError;
imp... | 47,376 |
https://github.com/cquiroz/ocs/blob/master/bundle/edu.gemini.qv.plugin/src/main/scala/edu/gemini/qv/plugin/QvToolMenu.scala | Github Open Source | Open Source | BSD-3-Clause | null | ocs | cquiroz | Scala | Code | 454 | 1,139 | package edu.gemini.qv.plugin
import edu.gemini.qv.plugin.data.DataSource
import edu.gemini.qv.plugin.QvToolMenu.RefreshAction
import edu.gemini.qv.plugin.selector.RefreshDialog
import edu.gemini.qv.plugin.util.SolutionProvider
import java.util.concurrent.atomic.AtomicBoolean
import scala.concurrent.ExecutionContext.Im... | 5,081 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.