hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 98
values | lang stringclasses 21
values | max_stars_repo_path stringlengths 3 945 | max_stars_repo_name stringlengths 4 118 | max_stars_repo_head_hexsha stringlengths 40 78 | max_stars_repo_licenses listlengths 1 10 | max_stars_count int64 1 368k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 3 945 | max_issues_repo_name stringlengths 4 118 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 10 | max_issues_count int64 1 134k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 3 945 | max_forks_repo_name stringlengths 4 135 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 10 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1 1.03M | max_line_length int64 2 1.03M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
26b834e4e4dd27c0bc79a283e2b2fae2a053bd47 | 3,091 | java | Java | sabot/kernel/src/main/java/com/dremio/exec/expr/fn/impl/conv/RoundFunctions.java | Tagar/dremio-oss | 0c671cf6649fb79526cb52156ec5d63ea8867d2e | [
"Apache-2.0"
] | null | null | null | sabot/kernel/src/main/java/com/dremio/exec/expr/fn/impl/conv/RoundFunctions.java | Tagar/dremio-oss | 0c671cf6649fb79526cb52156ec5d63ea8867d2e | [
"Apache-2.0"
] | null | null | null | sabot/kernel/src/main/java/com/dremio/exec/expr/fn/impl/conv/RoundFunctions.java | Tagar/dremio-oss | 0c671cf6649fb79526cb52156ec5d63ea8867d2e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2017-2018 Dremio 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 l... | 31.540816 | 117 | 0.730508 |
0ce8bde6ed2f1bdf025074aeab207999685d2edc | 1,124 | py | Python | setup.py | viatoriche/vtr_utils | d877a97eabf57246cd73e975da5c56d6a343bba4 | [
"MIT"
] | null | null | null | setup.py | viatoriche/vtr_utils | d877a97eabf57246cd73e975da5c56d6a343bba4 | [
"MIT"
] | null | null | null | setup.py | viatoriche/vtr_utils | d877a97eabf57246cd73e975da5c56d6a343bba4 | [
"MIT"
] | null | null | null | import os
from distutils.core import setup
from setuptools import find_packages
package = 'vtr_utils'
version = "0.1.0"
packages = find_packages()
def get_package_data(package):
"""
Return all files under the root package, that are not in a
package themselves.
"""
walk = [(dirpath.replace(packag... | 28.820513 | 86 | 0.662811 |
1c80780fb87142a8e3f08156c49ba6fc6bd95d01 | 211 | css | CSS | styles/main.css | GerardoLSJ/r8 | 7148d0c85988a219337561ce67bdbc4858924548 | [
"MIT"
] | null | null | null | styles/main.css | GerardoLSJ/r8 | 7148d0c85988a219337561ce67bdbc4858924548 | [
"MIT"
] | null | null | null | styles/main.css | GerardoLSJ/r8 | 7148d0c85988a219337561ce67bdbc4858924548 | [
"MIT"
] | null | null | null |
i.fa{
padding: 5px;
color:#FFFFFF;
}
a{
font-size: 18px;
color: #FFFFFF
}
.menu-left{
font-size: 25px;
padding-left: 10px;
padding-top: 5px;
}
.base-content{
margin: 15px;
} | 11.105263 | 24 | 0.554502 |
6edfe2f0b28808917972fd7949549677aec6e3f5 | 744 | html | HTML | _includes/header.html | lonnen/git-scm-static | d29526739003e028c64cca078ba7ac6ff254cd1b | [
"MIT"
] | null | null | null | _includes/header.html | lonnen/git-scm-static | d29526739003e028c64cca078ba7ac6ff254cd1b | [
"MIT"
] | null | null | null | _includes/header.html | lonnen/git-scm-static | d29526739003e028c64cca078ba7ac6ff254cd1b | [
"MIT"
] | null | null | null | <header>
<a href=""><img src="media/images/logo@2x.png" width="110" height="46" alt="Git" /></a>
<span id="tagline"></span>
<script type="text/javascript">
var taglines = [
"fast-version-control",
"everything-is-local",
"distributed-even-if-your-workflow-isnt",
"local-branching-on-the... | 33.818182 | 111 | 0.638441 |
3334b81c461f0f87292473253147e7b45b17a48f | 1,705 | py | Python | scripts/wsi_bot_show_regions.py | higex/qpath | 0377f2fdadad6e02ecde8ba2557fe9b957280fa1 | [
"MIT"
] | 6 | 2017-03-18T19:17:42.000Z | 2019-05-05T14:57:31.000Z | WSItk/tools/wsi_bot_show_regions.py | vladpopovici/WSItk | 02db9dbf1148106a576d7b4dd7965c73607efdae | [
"MIT"
] | null | null | null | WSItk/tools/wsi_bot_show_regions.py | vladpopovici/WSItk | 02db9dbf1148106a576d7b4dd7965c73607efdae | [
"MIT"
] | 4 | 2015-11-29T14:47:25.000Z | 2019-11-28T03:16:39.000Z | # -*- coding: utf-8 -*-
"""
SHOW_REGIONS
Emphasizes some regions in the image, by decreasing the importance of the rest.
@author: vlad
"""
from __future__ import (absolute_import, division, print_function, unicode_literals)
from builtins import *
import argparse as opt
import skimage.io
import numpy as np
from uti... | 28.898305 | 106 | 0.674487 |
4746e29a0fa2346404a35613ded11bbcb962a89f | 3,174 | html | HTML | templates/authortitle/catalogueK633.html | MLGB3/mlgb.static | 954330dbfb91fa564eba2558cfd9fc9db781012f | [
"Apache-2.0"
] | null | null | null | templates/authortitle/catalogueK633.html | MLGB3/mlgb.static | 954330dbfb91fa564eba2558cfd9fc9db781012f | [
"Apache-2.0"
] | null | null | null | templates/authortitle/catalogueK633.html | MLGB3/mlgb.static | 954330dbfb91fa564eba2558cfd9fc9db781012f | [
"Apache-2.0"
] | null | null | null | {% extends "base.html" %}
{% block title %}
<title>MLGB3 List of Medieval Catalogues</title>
{% endblock %}
{% block maincontent %}
<div class="index">
{% if not printing %}<p><a href="{% if editable %}/e{% endif %}/authortitle/medieval_catalogues" title="Back to list of medieval catalogues">Medieval catalogues</a> &... | 36.482759 | 437 | 0.68305 |
25176a892f7c9ee521ff98fcfaf6db93c08c0db7 | 610 | swift | Swift | Package.swift | toshi0383/hackscode | 4124b76425c6d16b9c08c44e1022dc4837ba35bb | [
"MIT"
] | 12 | 2018-07-06T08:55:38.000Z | 2018-10-05T08:45:22.000Z | Package.swift | toshi0383/hackscode | 4124b76425c6d16b9c08c44e1022dc4837ba35bb | [
"MIT"
] | 1 | 2018-07-30T12:01:19.000Z | 2018-08-07T14:08:12.000Z | Package.swift | toshi0383/hackscode | 4124b76425c6d16b9c08c44e1022dc4837ba35bb | [
"MIT"
] | 2 | 2018-10-05T09:29:14.000Z | 2018-11-01T02:39:52.000Z | // swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "hackscode",
products: [
.executable(name: "hackscode", targets: ["hackscode"]),
],
dependencies: [
.package(url: "https://github.com/toshi0383/CoreCLI", .upToNextMajor(from: "0.1.10")),
.package(... | 32.105263 | 96 | 0.616393 |
b1756a61173d309ac74506eec76dd33dcaaaaab5 | 7,540 | c | C | release/src/router/gmp/gen-fac.c | ghsecuritylab/Toastman-Tinc | 86307e635ac777050d7f48486fe1411bd7249aa0 | [
"FSFAP"
] | 5 | 2015-01-12T13:53:14.000Z | 2020-01-16T02:48:36.000Z | release/src/router/gmp/gen-fac.c | ghsecuritylab/Toastman-Tinc | 86307e635ac777050d7f48486fe1411bd7249aa0 | [
"FSFAP"
] | 1 | 2020-07-28T08:22:45.000Z | 2020-07-28T08:22:45.000Z | release/src/router/gmp/gen-fac.c | ghsecuritylab/Toastman-Tinc | 86307e635ac777050d7f48486fe1411bd7249aa0 | [
"FSFAP"
] | 2 | 2017-03-24T18:55:32.000Z | 2020-03-08T02:32:43.000Z | /* Generate data for combinatorics: fac_ui, bin_uiui, ...
Copyright 2002, 2011-2013 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of either:
* the GNU Lesser General Public License as published ... | 26.363636 | 95 | 0.592971 |
0b574627910be57752ea2d3a5ebe6d43443c9e5a | 70,514 | sql | SQL | hamonize-center/sql/hamonize_center.sql | gon1942/hamonize | 0456d934569ad664e9f71c6355424426654caabf | [
"Apache-2.0",
"MIT"
] | null | null | null | hamonize-center/sql/hamonize_center.sql | gon1942/hamonize | 0456d934569ad664e9f71c6355424426654caabf | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-25T19:24:44.000Z | 2022-03-25T19:24:44.000Z | hamonize-center/sql/hamonize_center.sql | gon1942/hamonize | 0456d934569ad664e9f71c6355424426654caabf | [
"Apache-2.0",
"MIT"
] | null | null | null | -- public.tbl_act_backup_recovery_log definition
-- Drop table
-- DROP TABLE public.tbl_act_backup_recovery_log;
CREATE TABLE public.tbl_act_backup_recovery_log (
seq bigserial NOT NULL,
org_seq int8 NULL,
uuid varchar(200) NULL,
hostname varchar(100) NULL,
datetime varchar(100) NULL,
status varchar(100) NULL,... | 47.484175 | 289 | 0.73852 |
6060be50962b7b872d47569c231a6e79e7afdc42 | 2,591 | htm | HTML | app/Help/html/t49.htm | Toysoft/ciderpress | 640959dad551ba75a48bd3c49629579730ead351 | [
"BSD-3-Clause"
] | 84 | 2015-01-01T00:27:18.000Z | 2022-03-28T22:55:56.000Z | app/Help/html/t49.htm | Toysoft/ciderpress | 640959dad551ba75a48bd3c49629579730ead351 | [
"BSD-3-Clause"
] | 49 | 2015-01-11T19:58:57.000Z | 2022-01-08T00:27:12.000Z | app/Help/html/t49.htm | Toysoft/ciderpress | 640959dad551ba75a48bd3c49629579730ead351 | [
"BSD-3-Clause"
] | 19 | 2015-06-06T15:23:18.000Z | 2022-01-12T23:26:43.000Z | <HTML><HEAD>
<TITLE>Entering Registration Data</TITLE>
<OBJECT TYPE="application/x-oleobject" CLASSID="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
<PARAM NAME="Keyword" VALUE="company">
<PARAM NAME="Keyword" VALUE="register">
<PARAM NAME="Keyword" VALUE="registration">
</OBJECT>
<META NAME="AUTHOR" CONTENT... | 99.653846 | 444 | 0.724045 |
af27e35067e58bcab23fc4cf4c509dd783982c65 | 71 | rb | Ruby | lib/shiptower/errors/api_connection_error.rb | olimart/shiptower-ruby | 524d8953865f0923fbd00b37d8e62b74eae0f1f6 | [
"MIT"
] | null | null | null | lib/shiptower/errors/api_connection_error.rb | olimart/shiptower-ruby | 524d8953865f0923fbd00b37d8e62b74eae0f1f6 | [
"MIT"
] | null | null | null | lib/shiptower/errors/api_connection_error.rb | olimart/shiptower-ruby | 524d8953865f0923fbd00b37d8e62b74eae0f1f6 | [
"MIT"
] | null | null | null | module Shiptower
class APIConnectionError < ShiptowerError
end
end
| 14.2 | 43 | 0.816901 |
e5f045294a154ac88d15c8d379e55ad0c9cae72e | 272 | asm | Assembly | libsrc/_DEVELOPMENT/target/rc2014/device/acia/__acia_need.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | libsrc/_DEVELOPMENT/target/rc2014/device/acia/__acia_need.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 2 | 2022-03-20T22:17:35.000Z | 2022-03-24T16:10:00.000Z | libsrc/_DEVELOPMENT/target/rc2014/device/acia/__acia_need.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z |
; Generate references to any portions of ACIA
; code that must be part of every compile that
; uses the ACIA.
PUBLIC _acia_need
EXTERN _acia_init
defc _acia_need = _acia_init
; The ACIA must be initialized before main is called
SECTION code_crt_init
call _acia_init
| 17 | 52 | 0.794118 |
85de767ea1e15c442926118ff7645aea3fea5c73 | 232 | h | C | game.h | Juzley/Switchboard | b2046ff8beb19f8dac7cd8ec38b260f220b94d7d | [
"MIT"
] | null | null | null | game.h | Juzley/Switchboard | b2046ff8beb19f8dac7cd8ec38b260f220b94d7d | [
"MIT"
] | null | null | null | game.h | Juzley/Switchboard | b2046ff8beb19f8dac7cd8ec38b260f220b94d7d | [
"MIT"
] | null | null | null | #ifndef __GAME_H__
#define __GAME_H__
#include <SDL2/SDL.h>
#include "gamestate.h"
void sb_game_setup(SDL_Renderer *renderer);
void sb_game_cleanup(void);
sb_gamestate_type *sb_game_get_gamestate(void);
#endif /* __GAME_H__ */
| 16.571429 | 47 | 0.780172 |
1fa4edc0c3576eec501bfaa4c8a97a6bc6aa0eee | 551 | kt | Kotlin | app/src/main/java/com/nyinyihtunlwin/projects/foodaholic/FoodaholicApp.kt | nyinyihtunlwin/foodaholic | 8123af327d3701fbc7c399826e920ca14c3ef4d5 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/nyinyihtunlwin/projects/foodaholic/FoodaholicApp.kt | nyinyihtunlwin/foodaholic | 8123af327d3701fbc7c399826e920ca14c3ef4d5 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/nyinyihtunlwin/projects/foodaholic/FoodaholicApp.kt | nyinyihtunlwin/foodaholic | 8123af327d3701fbc7c399826e920ca14c3ef4d5 | [
"Apache-2.0"
] | null | null | null | package com.nyinyihtunlwin.projects.foodaholic
import android.app.Application
import com.nyinyihtunlwin.projects.foodaholic.persistence.LocalRepository
import com.nyinyihtunlwin.projects.foodaholic.utils.AppUtils
import com.nyinyihtunlwin.projects.foodaholic.utils.ConfigUtils
class FoodaholicApp : Application() {
... | 32.411765 | 73 | 0.802178 |
042014a0d273822380e8703c8cba04e1914fcb3d | 5,230 | js | JavaScript | Develop/app.js | PopSizzle/TeamProfileGenerator | 5cfa650fc37824f934211b676fcd5c7a5984fe8d | [
"MIT"
] | null | null | null | Develop/app.js | PopSizzle/TeamProfileGenerator | 5cfa650fc37824f934211b676fcd5c7a5984fe8d | [
"MIT"
] | 1 | 2021-05-11T10:37:20.000Z | 2021-05-11T10:37:20.000Z | Develop/app.js | PopSizzle/TeamProfileGenerator | 5cfa650fc37824f934211b676fcd5c7a5984fe8d | [
"MIT"
] | null | null | null | const Manager = require("./lib/Manager");
const Engineer = require("./lib/Engineer");
const Intern = require("./lib/Intern");
const inquirer = require("inquirer");
const path = require("path");
const fs = require("fs");
let employees = [];
const OUTPUT_DIR = path.resolve(__dirname, "output");
const outputPath = path.j... | 31.317365 | 111 | 0.484512 |
3ed818b053064b001c309272077e1741df979b04 | 1,041 | h | C | PrivateHeaders/DTXConnectionServices/DTXBlockCompressorLibCompression.h | MarkHoo/idb | 8144fec10eb4c673ca66161a0d1e483205a269ce | [
"MIT"
] | null | null | null | PrivateHeaders/DTXConnectionServices/DTXBlockCompressorLibCompression.h | MarkHoo/idb | 8144fec10eb4c673ca66161a0d1e483205a269ce | [
"MIT"
] | null | null | null | PrivateHeaders/DTXConnectionServices/DTXBlockCompressorLibCompression.h | MarkHoo/idb | 8144fec10eb4c673ca66161a0d1e483205a269ce | [
"MIT"
] | null | null | null | /**
* 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.
*/
#import "NSObject.h"
#import "DTXBlockCompressor.h"
@class NSString;
@interface DTXBlockCompressorLibCompression : NSObject <... | 32.53125 | 214 | 0.776177 |
9c7ef24aa0493312bc9da7a1310390331ce3fe4a | 1,793 | js | JavaScript | src/containers/HadithTagsPage/components/HadithTagsPageContent.js | hadithhouse/HadithHouseWeb | 2462069f57103f0a7ee6c3fef0da041d45bd3c8c | [
"MIT"
] | 1 | 2018-02-25T22:31:54.000Z | 2018-02-25T22:31:54.000Z | src/containers/HadithTagsPage/components/HadithTagsPageContent.js | hadithhouse/HadithHouseWeb | 2462069f57103f0a7ee6c3fef0da041d45bd3c8c | [
"MIT"
] | 38 | 2018-02-25T20:56:11.000Z | 2022-02-17T23:21:18.000Z | src/containers/HadithTagsPage/components/HadithTagsPageContent.js | hadithhouse/HadithHouseWeb | 2462069f57103f0a7ee6c3fef0da041d45bd3c8c | [
"MIT"
] | 1 | 2018-02-25T20:41:59.000Z | 2018-02-25T20:41:59.000Z | import React from "react";
import PropTypes from "prop-types";
import { Paginator } from "../../../components/Paginator";
import { withNamespaces } from "react-i18next";
import { withStyles } from "@material-ui/core";
const styles = {};
class HadithTagsPageContent extends React.Component {
static propTypes = {
... | 25.985507 | 76 | 0.64473 |
c46d81b2f204c99e04974ef4ddfda507e7053454 | 6,241 | h | C | test/e2e/test_master/wxWidgets/interface/wx/tokenzr.h | BlueCannonBall/cppparser | 9ae5f0c21268be6696532cf5b90c0384d6eb4940 | [
"MIT"
] | 50 | 2018-01-12T14:32:26.000Z | 2022-03-30T10:36:30.000Z | test/e2e/test_master/wxWidgets/interface/wx/tokenzr.h | BlueCannonBall/cppparser | 9ae5f0c21268be6696532cf5b90c0384d6eb4940 | [
"MIT"
] | 8 | 2021-02-18T14:52:08.000Z | 2022-03-09T08:51:39.000Z | test/e2e/test_master/wxWidgets/interface/wx/tokenzr.h | BlueCannonBall/cppparser | 9ae5f0c21268be6696532cf5b90c0384d6eb4940 | [
"MIT"
] | 12 | 2019-04-02T11:51:47.000Z | 2022-03-07T11:07:39.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: tokenzr.h
// Purpose: interface of wxStringTokenizer
// Author: wxWidgets team
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/**
The behaviour of ... | 37.14881 | 145 | 0.665598 |
f776a336cdc38b5e7665478fd2bb6e9c37dc2b76 | 5,975 | h | C | Tests/Functional/Tier2/KinetochoreTests.h | m-krivov/MiCoSi | a0f32bacb2e09f23518a5629b4ccc2ca27e67209 | [
"MIT"
] | 3 | 2020-04-01T19:00:25.000Z | 2021-04-30T10:35:20.000Z | Tests/Functional/Tier2/KinetochoreTests.h | m-krivov/MiCoSi | a0f32bacb2e09f23518a5629b4ccc2ca27e67209 | [
"MIT"
] | null | null | null | Tests/Functional/Tier2/KinetochoreTests.h | m-krivov/MiCoSi | a0f32bacb2e09f23518a5629b4ccc2ca27e67209 | [
"MIT"
] | null | null | null | #pragma once
#include "Defs.h"
#include "Helpers.h"
static inline String ^KinetochoreAngleChecker(TimeStream ^ts, Object ^arg)
{
if (ts->LayerCount <= 10) return "Broken test - not enough time layers";
ts->Reset();
ts->MoveTo(ts->LayerCount - 1);
double kin_angle = ts->Current->SimParams->GetValue(SimParamet... | 34.537572 | 112 | 0.670962 |
3e28d3abca00efdf609443e41d869ac5c07b69eb | 274 | h | C | swift/JotUI.framework/Headers/JotSquareBrushTexture.h | n1ckfg/DynamicBrushes | 9a88cb6bfa405960aa5377d32ec6db70b9f2c5ad | [
"MIT"
] | 17 | 2017-12-17T05:53:58.000Z | 2020-12-16T19:41:58.000Z | swift/JotUI.framework/Headers/JotSquareBrushTexture.h | n1ckfg/DynamicBrushes | 9a88cb6bfa405960aa5377d32ec6db70b9f2c5ad | [
"MIT"
] | 19 | 2017-05-20T23:04:15.000Z | 2019-04-02T23:38:26.000Z | swift/JotUI.framework/Headers/JotSquareBrushTexture.h | pixelmaid/PaletteKnife_desktop | 12d6d36a3630058e89626dd6e23f64889ed3bbe5 | [
"MIT"
] | 6 | 2017-12-17T05:52:38.000Z | 2020-06-12T22:37:55.000Z | //
// JotSquareBrushTexture.h
// JotUI
//
// Created by JENNIFER MARY JACOBS on 6/4/17.
// Copyright © 2017 Milestone Made. All rights reserved.
//
#import <JotUI/JotUI.h>
@interface JotSquareBrushTexture : JotBrushTexture
+ (JotBrushTexture*)sharedInstance;
@end
| 15.222222 | 57 | 0.718978 |
b9a8d2afe1e78bb2ff400f28503850391d9537ac | 792 | h | C | madness/src/lib/world/stdarray.h | spowers/INDDGO-survey | 860f15376f7be074f47280a74b912a8f0baa37bf | [
"BSD-3-Clause"
] | 9 | 2015-05-30T00:33:04.000Z | 2021-04-23T17:19:58.000Z | madness/src/lib/world/stdarray.h | spowers/INDDGO-survey | 860f15376f7be074f47280a74b912a8f0baa37bf | [
"BSD-3-Clause"
] | 3 | 2016-03-04T19:46:40.000Z | 2017-01-14T13:44:21.000Z | madness/src/lib/world/stdarray.h | spowers/INDDGO-survey | 860f15376f7be074f47280a74b912a8f0baa37bf | [
"BSD-3-Clause"
] | 5 | 2015-11-29T08:50:50.000Z | 2020-03-14T23:12:22.000Z | #ifndef MADNESS_STDARRAY_H
#define MADNESS_STDARRAY_H
#include <madness_config.h>
#if defined(MADNESS_USE_ARRAY)
# include <array>
#elif defined(MADNESS_USE_TR1_ARRAY)
# include <tr1/array>
#elif defined(MADNESS_USE_BOOST_TR1_ARRAY_HPP)
# include <boost/tr1/array.hpp>
#else
# define MADNESS_HAS_STD_ARRAY 1
# inc... | 23.294118 | 73 | 0.72096 |
4a3b56891712ad3c302118294b0d1e40f36c17bf | 2,241 | kt | Kotlin | core/src/main/kotlin/chat/rocket/core/internal/RoomListAdapter.kt | ebnrdwan/rocket.chat.kotlin.sdkSample | 018ccfd1e89e6a757cd8cec1d390f10624bad9fb | [
"MIT"
] | 1 | 2019-06-21T07:14:53.000Z | 2019-06-21T07:14:53.000Z | core/src/main/kotlin/chat/rocket/core/internal/RoomListAdapter.kt | ebnrdwan/rocket.chat.kotlin.sdkSample | 018ccfd1e89e6a757cd8cec1d390f10624bad9fb | [
"MIT"
] | 2 | 2018-09-04T14:14:41.000Z | 2019-02-07T21:00:20.000Z | core/src/main/kotlin/chat/rocket/core/internal/RoomListAdapter.kt | ebnrdwan/rocket.chat.kotlin.sdkSample | 018ccfd1e89e6a757cd8cec1d390f10624bad9fb | [
"MIT"
] | 1 | 2019-07-16T02:39:54.000Z | 2019-07-16T02:39:54.000Z | package chat.rocket.core.internal
import chat.rocket.common.util.Logger
import chat.rocket.core.model.Room
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.JsonReader
import com.squareup.moshi.JsonWriter
import com.squareup.moshi.Moshi
import java.lang.reflect.ParameterizedType
import java.lang.reflect.... | 33.447761 | 119 | 0.622936 |
22e542fa9192f9a298476e164b106e3b8141e5cd | 342 | h | C | Example/Pods/Target Support Files/Pods-CHPageCardView_Tests/Pods-CHPageCardView_Tests-umbrella.h | zhiquan911/CHPageCardView | d5280489e2c882d85b8eadbc326194ea51b5709d | [
"MIT"
] | 1 | 2017-02-27T13:09:38.000Z | 2017-02-27T13:09:38.000Z | Example/Pods/Target Support Files/Pods-CHPageCardView_Tests/Pods-CHPageCardView_Tests-umbrella.h | zhiquan911/CHPageCardView | d5280489e2c882d85b8eadbc326194ea51b5709d | [
"MIT"
] | null | null | null | Example/Pods/Target Support Files/Pods-CHPageCardView_Tests/Pods-CHPageCardView_Tests-umbrella.h | zhiquan911/CHPageCardView | d5280489e2c882d85b8eadbc326194ea51b5709d | [
"MIT"
] | null | null | null | #ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_CHPageCardView_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_CHPageCardView_T... | 20.117647 | 79 | 0.842105 |
1e581aecf2f32077037563a16d8b0ce759776e2a | 2,765 | lua | Lua | CountDownLua.lua | yuzh0816/Count-Down | c546915bea08a1a43356380095ad2a0d2047ce75 | [
"MIT"
] | 1 | 2020-12-18T01:07:41.000Z | 2020-12-18T01:07:41.000Z | CountDownLua.lua | yuzh0816/Count-Down | c546915bea08a1a43356380095ad2a0d2047ce75 | [
"MIT"
] | null | null | null | CountDownLua.lua | yuzh0816/Count-Down | c546915bea08a1a43356380095ad2a0d2047ce75 | [
"MIT"
] | null | null | null | PROPERTIES = {year=0, month=0, day=0, hour=0, min=0, sec=0}
totalTime = 0
startTime = 0
isWorkOvertime = false
YYYY = 2021
MM = 1
DD = 5
H = 8
M = 0
S = 0
function Initialize()
stringDate = tolua.cast(SKIN:GetMeter("Date"), "CMeterString")
stringHour = tolua.cast(SKIN:GetMeter("Hour"), "CMeterString")
stringMinut... | 23.235294 | 69 | 0.713924 |
54742a1b5e29b9d6acd5505f20c63b5a26e480be | 742 | sql | SQL | EMR/usr/share/nginx/html/contrib/forms/psychiatrySet/psychiatrisch_onderzoek/table.sql | chandanchowdhury/ISUCDC2017 | f6cb2ded82f45d8def30f28313157540cbf0cb6c | [
"Apache-2.0"
] | null | null | null | EMR/usr/share/nginx/html/contrib/forms/psychiatrySet/psychiatrisch_onderzoek/table.sql | chandanchowdhury/ISUCDC2017 | f6cb2ded82f45d8def30f28313157540cbf0cb6c | [
"Apache-2.0"
] | null | null | null | EMR/usr/share/nginx/html/contrib/forms/psychiatrySet/psychiatrisch_onderzoek/table.sql | chandanchowdhury/ISUCDC2017 | f6cb2ded82f45d8def30f28313157540cbf0cb6c | [
"Apache-2.0"
] | null | null | null | CREATE TABLE IF NOT EXISTS `form_psychiatrisch_onderzoek` (
`id` bigint(20) unsigned NOT NULL auto_increment,
`date` datetime default NULL,
`pid` bigint(20) default NULL,
`user` varchar(255) default NULL,
`groupname` varchar(255) default NULL,
`authorized` tinyint(4) default NULL,
`activity` tinyint(4) de... | 35.333333 | 59 | 0.752022 |
b2b1db3b982c41901d0ae5c563cb502c2d0bce3e | 3,366 | py | Python | audio_pouring/utils/network.py | lianghongzhuo/MultimodalPouring | 6495c7de9afad396f39bd7ac25e1a150e74479d2 | [
"MIT"
] | 5 | 2020-03-12T16:36:32.000Z | 2021-01-28T18:23:19.000Z | audio_pouring/utils/network.py | lianghongzhuo/MultimodalPouring | 6495c7de9afad396f39bd7ac25e1a150e74479d2 | [
"MIT"
] | null | null | null | audio_pouring/utils/network.py | lianghongzhuo/MultimodalPouring | 6495c7de9afad396f39bd7ac25e1a150e74479d2 | [
"MIT"
] | 1 | 2020-03-11T17:09:28.000Z | 2020-03-11T17:09:28.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author : Hongzhuo Liang
# E-mail : liang@informatik.uni-hamburg.de
# Description:
# Date : 15/10/2019: 22:13
# File Name : network
import argparse
import numpy as np
import torch
def worker_init_fn(pid):
np.random.seed(torch.initial_seed() % (2 ** 3... | 49.5 | 120 | 0.659834 |
dfd7b24a570efc6bbae7cee7dbcbd2a35e64bea2 | 39 | ts | TypeScript | js/duotone/sitemap.d.ts | reesretuta/dropshipping-icons | c4b4f40959b1e44abaacd86981b9a896b121f419 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | js/duotone/sitemap.d.ts | reesretuta/dropshipping-icons | c4b4f40959b1e44abaacd86981b9a896b121f419 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | js/duotone/sitemap.d.ts | reesretuta/dropshipping-icons | c4b4f40959b1e44abaacd86981b9a896b121f419 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | export declare const sitemap: string[]; | 39 | 39 | 0.794872 |
afbe70d82bc0ce9bcbf8bda35af9b299f07d31fd | 3,215 | swift | Swift | TBRepeatPicker/TBRPCustomRepeatCell.swift | hongxinhope/TBRepeatPicker | 002ab85d24bf8498e24d5ef4e6027612c12f863a | [
"MIT"
] | 20 | 2015-10-16T10:33:41.000Z | 2021-08-10T17:38:01.000Z | TBRepeatPicker/TBRPCustomRepeatCell.swift | hongxinhope/TBRepeatPicker | 002ab85d24bf8498e24d5ef4e6027612c12f863a | [
"MIT"
] | 5 | 2016-04-05T15:52:12.000Z | 2018-08-31T05:33:20.000Z | TBRepeatPicker/TBRPCustomRepeatCell.swift | hongxinhope/TBRepeatPicker | 002ab85d24bf8498e24d5ef4e6027612c12f863a | [
"MIT"
] | 11 | 2015-09-28T15:06:20.000Z | 2021-08-22T13:09:33.000Z | //
// TBRPCustomRepeatCell.swift
// TBRepeatPicker
//
// Created by hongxin on 15/9/29.
// Copyright © 2015年 Teambition. All rights reserved.
//
import UIKit
class TBRPCustomRepeatCell: UITableViewCell {
// MARK: - View life cycle
override func awakeFromNib() {
super.awakeFromNib()
}
... | 28.963964 | 143 | 0.635148 |
39f91355befeee1e1ec2c5d5156082c99e755fa2 | 4,616 | java | Java | src/test/java/com/fasterxml/classmate/util/TestResolvedTypeCache.java | sullis/java-classmate | 1a920a1427e3d6dc100bcffdf594be79807ca576 | [
"Apache-2.0"
] | 125 | 2015-05-29T07:35:16.000Z | 2022-03-24T17:24:48.000Z | src/test/java/com/fasterxml/classmate/util/TestResolvedTypeCache.java | sullis/java-classmate | 1a920a1427e3d6dc100bcffdf594be79807ca576 | [
"Apache-2.0"
] | 31 | 2015-06-01T19:16:00.000Z | 2022-03-22T00:03:41.000Z | src/test/java/com/fasterxml/classmate/util/TestResolvedTypeCache.java | sullis/java-classmate | 1a920a1427e3d6dc100bcffdf594be79807ca576 | [
"Apache-2.0"
] | 47 | 2015-06-02T06:40:24.000Z | 2022-03-16T14:52:21.000Z | package com.fasterxml.classmate.util;
import com.fasterxml.classmate.ResolvedType;
import com.fasterxml.classmate.types.ResolvedInterfaceType;
import com.fasterxml.classmate.types.ResolvedObjectType;
import junit.framework.TestCase;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class Tes... | 34.447761 | 147 | 0.634965 |
2632a82f45e9eefd4916023301d3ebbabb79c891 | 929 | java | Java | reformcloud-global/reformcloud-api/reformcloud-api-bungee/src/main/java/systems/reformcloud/network/in/PacketInUpdateProxySettings.java | robertschuck/reformcloud | a7563fa72b14041421dc6bacc9137d1fa0ad897c | [
"Apache-2.0"
] | 8 | 2019-04-02T12:28:12.000Z | 2019-09-26T10:51:31.000Z | reformcloud-global/reformcloud-api/reformcloud-api-bungee/src/main/java/systems/reformcloud/network/in/PacketInUpdateProxySettings.java | robertschuck/reformcloud | a7563fa72b14041421dc6bacc9137d1fa0ad897c | [
"Apache-2.0"
] | 50 | 2019-04-02T09:55:40.000Z | 2019-11-05T08:30:08.000Z | reformcloud-global/reformcloud-api/reformcloud-api-bungee/src/main/java/systems/reformcloud/network/in/PacketInUpdateProxySettings.java | robertschuck/reformcloud | a7563fa72b14041421dc6bacc9137d1fa0ad897c | [
"Apache-2.0"
] | 23 | 2019-04-30T15:12:52.000Z | 2019-08-31T12:07:28.000Z | /*
Copyright © 2019 Pasqual K. | All rights reserved
*/
package systems.reformcloud.network.in;
import com.google.gson.reflect.TypeToken;
import systems.reformcloud.ReformCloudAPIBungee;
import systems.reformcloud.configurations.Configuration;
import systems.reformcloud.meta.proxy.settings.ProxySettings;
import sy... | 30.966667 | 95 | 0.764263 |
5de3f0c1254741cfb25ca24a9cb2d85af9b1c5d5 | 12,470 | h | C | ccm/demo/Intephilo/src/Observing.h | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | 2 | 2020-01-06T07:43:30.000Z | 2020-07-11T20:53:53.000Z | ccm/demo/Intephilo/src/Observing.h | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | null | null | null | ccm/demo/Intephilo/src/Observing.h | anjingbin/starccm | 70db48004aa20bbb82cc24de80802b40c7024eff | [
"BSD-3-Clause"
] | null | null | null | // *************************************************************************
//
// This File Is Automatically Generated by the StarBusIDL-to-C++ Compiler !
//
// Copyright (c) 2003
// Network Information Security Institute,Computer College,NUDT.
// ChangSha,Hunan,PRC
//
// All Rights Reserved
//
// ********************... | 20.276423 | 77 | 0.673617 |
65093a4cb8b169736a26853913924c928abcd1f6 | 903 | lua | Lua | kong/plugins/jsonp/handler.lua | li-wl/kong | c80a01110c35976d29288fe0bd49f54f7c11924c | [
"Apache-2.0"
] | 14 | 2017-04-15T07:47:40.000Z | 2019-12-22T12:10:29.000Z | kong/plugins/jsonp/handler.lua | li-wl/kong | c80a01110c35976d29288fe0bd49f54f7c11924c | [
"Apache-2.0"
] | null | null | null | kong/plugins/jsonp/handler.lua | li-wl/kong | c80a01110c35976d29288fe0bd49f54f7c11924c | [
"Apache-2.0"
] | 9 | 2017-12-28T08:08:54.000Z | 2022-02-17T09:50:26.000Z | local BasePlugin = require "kong.plugins.base_plugin"
local body_filter = require "kong.plugins.jsonp.body_transformer"
local JsonpHandler = BasePlugin:extend()
function JsonpHandler:new()
JsonpHandler.super.new(self, "jsonp")
end
function JsonpHandler:access(conf)
JsonpHandler.super.access(self)
ngx.ctx.buff... | 23.153846 | 65 | 0.72093 |
cf259d8f1c1af4a76b03326e65d294699c56cfaa | 1,820 | css | CSS | index.css | Marmax73/TecnicaFcc | 53ee9e9e4f57432b73f851bd281ca69d0dc9f88f | [
"MIT"
] | null | null | null | index.css | Marmax73/TecnicaFcc | 53ee9e9e4f57432b73f851bd281ca69d0dc9f88f | [
"MIT"
] | null | null | null | index.css | Marmax73/TecnicaFcc | 53ee9e9e4f57432b73f851bd281ca69d0dc9f88f | [
"MIT"
] | null | null | null | :root{
--colorFondoUno: rgba(239, 241, 228, 0.5);
--colorFondoDos: rgb(234, 247, 205);
--colorBotonTextoBusqueda: rgb(116, 113, 113);
}
body{
margin: 0;
padding: 0;
}
#main-doc{
margin: auto;
width: 80%;
height: auto;
background-color: var(--colorFondoUno);
}
/** -----HEADER -----... | 17.843137 | 60 | 0.521429 |
14b08c5ee4152cc77fd0ca73fec3eb2b88daa8e6 | 79 | kt | Kotlin | idea/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 337 | 2020-05-14T00:40:10.000Z | 2022-02-16T23:39:07.000Z | idea/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 92 | 2020-06-10T23:17:42.000Z | 2020-09-25T10:50:13.000Z | idea/testData/quickfix/createFromUsage/createVariable/parameter/inPropertyInitializerInGenClass.kt | qussarah/declare | c83b764c7394efa3364915d973ae79c4ebed2437 | [
"Apache-2.0"
] | 54 | 2016-02-29T16:27:38.000Z | 2020-12-26T15:02:23.000Z | // "Create parameter 'foo'" "true"
class A<T> {
val test: T = <caret>foo
} | 15.8 | 34 | 0.56962 |
ebaa870ae82fce283159efbef5235534c057cc7e | 1,271 | rs | Rust | src/sinks/aws_lambda/run.rs | savaki/oura | 05527037c8ba2e2810554684f492339487b14a19 | [
"Apache-2.0"
] | 124 | 2021-12-04T11:13:09.000Z | 2022-03-26T10:51:19.000Z | src/sinks/aws_lambda/run.rs | savaki/oura | 05527037c8ba2e2810554684f492339487b14a19 | [
"Apache-2.0"
] | 95 | 2021-12-14T05:44:16.000Z | 2022-03-31T22:38:28.000Z | src/sinks/aws_lambda/run.rs | savaki/oura | 05527037c8ba2e2810554684f492339487b14a19 | [
"Apache-2.0"
] | 16 | 2021-12-09T19:07:55.000Z | 2022-03-28T16:01:05.000Z | use aws_sdk_lambda::{types::Blob, Client};
use serde_json::json;
use std::sync::Arc;
use crate::{model::Event, pipelining::StageReceiver, utils::Utils, Error};
async fn invoke_lambda_function(
client: Arc<Client>,
function_name: &str,
event: &Event,
) -> Result<(), Error> {
let body = json!(event).to_... | 23.109091 | 88 | 0.592447 |
720ecb26b9adc3a8506f9c897f0007385ccaf6d0 | 170 | kt | Kotlin | smart-commons/smart-queue-common/src/main/kotlin/com/smart/common/queue/handler/QueueTaskHandler.kt | ming4762/smart_boot | 399b48a5e40b080c1fa1591102c0e2562f9d9ac3 | [
"MIT"
] | 5 | 2019-08-22T10:29:28.000Z | 2021-01-12T10:46:04.000Z | smart-commons/smart-queue-common/src/main/kotlin/com/smart/common/queue/handler/QueueTaskHandler.kt | ming4762/smart_boot | 399b48a5e40b080c1fa1591102c0e2562f9d9ac3 | [
"MIT"
] | null | null | null | smart-commons/smart-queue-common/src/main/kotlin/com/smart/common/queue/handler/QueueTaskHandler.kt | ming4762/smart_boot | 399b48a5e40b080c1fa1591102c0e2562f9d9ac3 | [
"MIT"
] | null | null | null | package com.smart.common.queue.handler
/**
* 队列执行器
* @author ming
* 2019/7/4 上午10:10
*/
interface QueueTaskHandler {
/**
* 执行队列
*/
fun execute()
} | 12.142857 | 38 | 0.582353 |
b69768fb4deff6a5d09e34fa45e3c53240a201b4 | 331 | rb | Ruby | spec/dummy/app/controllers/website/about_us_controller.rb | right-solutions/sbidu_generators | c4a998344a2c590d50e06ad0def8d775418dede0 | [
"MIT"
] | null | null | null | spec/dummy/app/controllers/website/about_us_controller.rb | right-solutions/sbidu_generators | c4a998344a2c590d50e06ad0def8d775418dede0 | [
"MIT"
] | null | null | null | spec/dummy/app/controllers/website/about_us_controller.rb | right-solutions/sbidu_generators | c4a998344a2c590d50e06ad0def8d775418dede0 | [
"MIT"
] | null | null | null | class Website::AboutUsController < Website::BaseController
layout "website/theme"
def index
@banner = Dhatu::Section.find_by_section_type("ABOUT_US_BANNER").published.first
@about_us = Dhatu::Section.find_by_section_type("ABOUT_US").published.first
end
private
def set_navs
set_nav("website/about_us")
... | 19.470588 | 82 | 0.767372 |
d5d698576076da70dfe5e0224171769137a43926 | 14,445 | c | C | src/sbin/devmatch/devmatch.c | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/sbin/devmatch/devmatch.c | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/sbin/devmatch/devmatch.c | lastweek/source-freebsd | 0821950b0c40cbc891a27964b342e0202a3859ec | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | /*-
* Copyright (c) 2017 Netflix, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following ... | 24.236577 | 84 | 0.597369 |
48e7fd355bb3d6196eaf890d7026e9ae813f6adb | 11,656 | h | C | UWP/RadialDevice/winrt/internal/Windows.UI.Input.Preview.Injection.1.h | megayuchi/RadialController | 87bb1baa72a0b43b1b7b0d7787b0a93edc7e3175 | [
"MIT"
] | 23 | 2016-11-28T05:47:06.000Z | 2020-11-13T20:13:47.000Z | UWP/RadialDevice/winrt/internal/Windows.UI.Input.Preview.Injection.1.h | megayuchi/RadialController | 87bb1baa72a0b43b1b7b0d7787b0a93edc7e3175 | [
"MIT"
] | null | null | null | UWP/RadialDevice/winrt/internal/Windows.UI.Input.Preview.Injection.1.h | megayuchi/RadialController | 87bb1baa72a0b43b1b7b0d7787b0a93edc7e3175 | [
"MIT"
] | 5 | 2017-01-21T14:42:47.000Z | 2022-02-24T03:42:24.000Z | // C++ for the Windows Runtime v1.0.161012.5
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
#pragma once
#include "../base.h"
#include "Windows.UI.Input.Preview.Injection.0.h"
#include "Windows.Foundation.Collections.1.h"
WINRT_EXPORT namespace winrt {
namespace ABI::Windows::UI::Input::Preview::... | 53.714286 | 191 | 0.773679 |
b0082c5357e13b67487ec71c63082684a5b43a08 | 2,463 | kt | Kotlin | native/frontend/src/org/jetbrains/kotlin/resolve/konan/diagnostics/NativeThreadLocalChecker.kt | Mu-L/kotlin | 5c3ce66e9979d2b3592d06961e181fa27fa88431 | [
"ECL-2.0",
"Apache-2.0"
] | 45,293 | 2015-01-01T06:23:46.000Z | 2022-03-31T21:55:51.000Z | native/frontend/src/org/jetbrains/kotlin/resolve/konan/diagnostics/NativeThreadLocalChecker.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 3,386 | 2015-01-12T13:28:50.000Z | 2022-03-31T17:48:15.000Z | native/frontend/src/org/jetbrains/kotlin/resolve/konan/diagnostics/NativeThreadLocalChecker.kt | Seantheprogrammer93/kotlin | f7aabf03f89bdd39d9847572cf9e0051ea42c247 | [
"ECL-2.0",
"Apache-2.0"
] | 6,351 | 2015-01-03T12:30:09.000Z | 2022-03-31T20:46:54.000Z | /*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.resolve.konan.diagnostics
import org.jetbrains.kotlin.descriptors.*
import org.... | 51.3125 | 133 | 0.782379 |
d02b230d1a706084f5b9be906169bdef8bc30f04 | 406 | rb | Ruby | db/migrate/20090728220243_add_subscription_fields_to_user.rb | johngrimes/typefront | 7ac2de64822566f66d1937a58a17e4188425f8f1 | [
"Apache-2.0"
] | 1 | 2017-12-16T18:30:49.000Z | 2017-12-16T18:30:49.000Z | db/migrate/20090728220243_add_subscription_fields_to_user.rb | johngrimes/typefront | 7ac2de64822566f66d1937a58a17e4188425f8f1 | [
"Apache-2.0"
] | null | null | null | db/migrate/20090728220243_add_subscription_fields_to_user.rb | johngrimes/typefront | 7ac2de64822566f66d1937a58a17e4188425f8f1 | [
"Apache-2.0"
] | null | null | null | class AddSubscriptionFieldsToUser < ActiveRecord::Migration
def self.up
add_column :users, :subscription_level, :string
add_column :users, :request_credits, :integer
add_column :users, :subscription_expires_at, :string
end
def self.down
remove_column :users, :subscription_expires_at
remove_co... | 29 | 59 | 0.768473 |
1f6b3e1ccef78705aa43bf736bc78a4714714fae | 97 | css | CSS | modules/boonex/payment/updates/9.0.7_9.0.8/source/template/css/chargebee_v3.css | flexsocialbox/una | 4502c7f7c0fc83313c032cec58242b32cbb3a8cd | [
"MIT"
] | 173 | 2016-11-26T22:53:24.000Z | 2022-03-16T12:49:07.000Z | modules/boonex/payment/updates/9.0.7_9.0.8/source/template/css/chargebee_v3.css | flexsocialbox/una | 4502c7f7c0fc83313c032cec58242b32cbb3a8cd | [
"MIT"
] | 3,273 | 2016-09-20T05:40:15.000Z | 2022-03-31T08:50:46.000Z | modules/boonex/payment/updates/9.0.7_9.0.8/source/template/css/chargebee_v3.css | flexsocialbox/una | 4502c7f7c0fc83313c032cec58242b32cbb3a8cd | [
"MIT"
] | 127 | 2016-09-29T20:56:14.000Z | 2022-03-19T01:24:41.000Z | /*--- Single payments ---*/
.bx-payment-cbee-button-single {
position: relative;
float: left;
} | 19.4 | 32 | 0.659794 |
5d8bda849d013130a6921beb0a671e9ce8ac6b8f | 2,905 | kt | Kotlin | Keylogger/src/main/java/com/evilthreads/keylogger/KeyloggerService.kt | evilthreads669966/Android_Keylogger | fb3a03e5763d52cd34d189302ca650f85b101376 | [
"Apache-2.0"
] | 8 | 2020-11-24T11:49:13.000Z | 2022-01-18T05:38:13.000Z | Keylogger/src/main/java/com/evilthreads/keylogger/KeyloggerService.kt | evilthreads669966/Android_Keylogger | fb3a03e5763d52cd34d189302ca650f85b101376 | [
"Apache-2.0"
] | null | null | null | Keylogger/src/main/java/com/evilthreads/keylogger/KeyloggerService.kt | evilthreads669966/Android_Keylogger | fb3a03e5763d52cd34d189302ca650f85b101376 | [
"Apache-2.0"
] | 3 | 2020-11-24T11:49:02.000Z | 2022-01-08T03:44:56.000Z | /*Copyright 2020 Chris Basinger
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
di... | 38.733333 | 97 | 0.48537 |
332899d38b421fab9695a008493c81d6890c2e39 | 2,114 | py | Python | var/spack/repos/builtin/packages/jemalloc/package.py | ilagunap/spack | 510f869c3ae8ac2721debd29e98076212ee75852 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2018-11-16T02:42:57.000Z | 2019-06-06T19:18:50.000Z | var/spack/repos/builtin/packages/jemalloc/package.py | ilagunap/spack | 510f869c3ae8ac2721debd29e98076212ee75852 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 18 | 2021-03-12T16:22:58.000Z | 2022-03-02T17:07:08.000Z | var/spack/repos/builtin/packages/jemalloc/package.py | ilagunap/spack | 510f869c3ae8ac2721debd29e98076212ee75852 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | # Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Jemalloc(AutotoolsPackage):
"""jemalloc is a general purpose malloc(3) implementation that... | 44.041667 | 100 | 0.726585 |
769959555a2c5776756d025b7104990f4588db68 | 396 | kt | Kotlin | http4k-core/src/main/kotlin/org/http4k/core/events.kt | dmgd/http4k | 9c8ada203b77c97182fae540d9fc1e95f2ba9896 | [
"Apache-2.0"
] | null | null | null | http4k-core/src/main/kotlin/org/http4k/core/events.kt | dmgd/http4k | 9c8ada203b77c97182fae540d9fc1e95f2ba9896 | [
"Apache-2.0"
] | null | null | null | http4k-core/src/main/kotlin/org/http4k/core/events.kt | dmgd/http4k | 9c8ada203b77c97182fae540d9fc1e95f2ba9896 | [
"Apache-2.0"
] | null | null | null | package org.http4k.core
interface Event {
val category: EventCategory
companion object {
data class Error(val message: String, val cause: Throwable? = null) : Event {
override val category = EventCategory("error")
}
}
}
typealias Events = (Event) -> Unit
data class EventCateg... | 23.294118 | 85 | 0.659091 |
3ef5db3069e76f290a0b5428aa903473865f2fac | 722 | kt | Kotlin | app/src/main/java/com/rewardtodo/presentation/rewards/RewardsViewModelFactory.kt | mattrob33/reward | eefb7aade1c43be3e32dedc83bffb6145fcc37e1 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/rewardtodo/presentation/rewards/RewardsViewModelFactory.kt | mattrob33/reward | eefb7aade1c43be3e32dedc83bffb6145fcc37e1 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/rewardtodo/presentation/rewards/RewardsViewModelFactory.kt | mattrob33/reward | eefb7aade1c43be3e32dedc83bffb6145fcc37e1 | [
"Apache-2.0"
] | null | null | null | package com.rewardtodo.presentation.rewards
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import com.rewardtodo.data.repo.RewardRepository
import com.rewardtodo.data.repo.TodoRepository
import com.rewardtodo.data.repo.UserRepository
import com.rewardtodo.global.UserManager
import java... | 34.380952 | 83 | 0.811634 |
27a16bf778d7f62ec65c731291106dcdd2414133 | 217 | css | CSS | apps/ui/src/tabs/item-color-page.css | tralves/NativeScript | 86c689ef7ec0d0f4b80f73ea0f1aa8ce8dc06741 | [
"Apache-2.0"
] | 2 | 2021-01-03T04:47:10.000Z | 2021-01-03T04:47:34.000Z | apps/ui/src/tabs/item-color-page.css | tralves/NativeScript | 86c689ef7ec0d0f4b80f73ea0f1aa8ce8dc06741 | [
"Apache-2.0"
] | 1 | 2021-02-27T16:21:56.000Z | 2021-02-27T16:25:38.000Z | apps/ui/src/tabs/item-color-page.css | tralves/NativeScript | 86c689ef7ec0d0f4b80f73ea0f1aa8ce8dc06741 | [
"Apache-2.0"
] | 3 | 2019-02-25T16:06:36.000Z | 2021-05-08T00:34:22.000Z | .font-awesome {
font-family: "FontAwesome";
}
.font-size {
font-size: 36;
}
/* TabStrip {
color: mediumvioletred;
}
TabStripItem {
color: skyblue;
}
TabStripItem:active {
color: darkblue;
} */ | 10.85 | 31 | 0.612903 |
52f60cf885491918b55b1ff14207126c03486eff | 270 | lua | Lua | lovr-api/physics/HingeJoint/init.lua | jmiskovic/aquadeck | d9f1efa31cd9ac445ee5aa39339a5671ee80ff8b | [
"Unlicense"
] | 32 | 2017-01-13T23:15:10.000Z | 2022-02-12T11:36:53.000Z | lovr-api/physics/HingeJoint/init.lua | jmiskovic/aquadeck | d9f1efa31cd9ac445ee5aa39339a5671ee80ff8b | [
"Unlicense"
] | 55 | 2017-11-22T07:34:49.000Z | 2022-03-14T19:24:51.000Z | lovr-api/physics/HingeJoint/init.lua | jmiskovic/aquadeck | d9f1efa31cd9ac445ee5aa39339a5671ee80ff8b | [
"Unlicense"
] | 25 | 2017-10-06T21:57:27.000Z | 2022-03-14T19:17:19.000Z | return {
summary = 'A hinge joint.',
description = [[
A HingeJoint is a type of `Joint` that only allows colliders to rotate on a single axis.
]],
extends = 'Joint',
constructors = {
'lovr.physics.newHingeJoint'
},
related = {
'Collider'
}
}
| 19.285714 | 92 | 0.618519 |
96342f8fdedd9493281eb27a3f88841f1a1cb6f2 | 842 | php | PHP | src/View.php | tourze/view | 7adc4596644a5e6391761b11c767d3406566c281 | [
"MIT"
] | null | null | null | src/View.php | tourze/view | 7adc4596644a5e6391761b11c767d3406566c281 | [
"MIT"
] | null | null | null | src/View.php | tourze/view | 7adc4596644a5e6391761b11c767d3406566c281 | [
"MIT"
] | null | null | null | <?php
namespace tourze\View;
use Exception;
use tourze\Base\Base as TourzeBase;
/**
* 原生php的视图处理类
*
* @package tourze\View
*/
class View extends Base implements ViewInterface
{
/**
* {@inheritdoc}
*/
protected function capture($viewFilename, array $viewData)
{
TourzeBase::getLog()-... | 17.914894 | 74 | 0.515439 |
859056422426baad15d3871a357ccb9f9d181bf8 | 62 | js | JavaScript | complex/esbuild/lib/486.js | jackypan1989/js-bundler-comparison | 930983a29c41fb8c84d1f1cd47bba093b6d364f9 | [
"MIT"
] | 2 | 2022-01-09T11:59:31.000Z | 2022-02-18T09:42:47.000Z | complex/esbuild/lib/486.js | jackypan1989/js-bundler-comparison | 930983a29c41fb8c84d1f1cd47bba093b6d364f9 | [
"MIT"
] | null | null | null | complex/esbuild/lib/486.js | jackypan1989/js-bundler-comparison | 930983a29c41fb8c84d1f1cd47bba093b6d364f9 | [
"MIT"
] | null | null | null | (() => {
// src/486.js
var __default = example = 0;
})();
| 12.4 | 30 | 0.451613 |
f06f16ee399ccb9faac16cda8b08d3cc4df552cb | 1,480 | py | Python | projectenv/main/forms.py | rzsaglam/project-env | f4c02b15cf924ba5d69d8a4a89efcc686b73aa9c | [
"MIT"
] | null | null | null | projectenv/main/forms.py | rzsaglam/project-env | f4c02b15cf924ba5d69d8a4a89efcc686b73aa9c | [
"MIT"
] | null | null | null | projectenv/main/forms.py | rzsaglam/project-env | f4c02b15cf924ba5d69d8a4a89efcc686b73aa9c | [
"MIT"
] | null | null | null | from django import forms
from django.contrib.auth import models
from django.db.models.base import Model
from django.forms import ModelForm, fields
from .models import Paint
from django import forms
from django.contrib.auth.models import User
from django.contrib.auth.forms import UserCreationForm, AuthenticationForm
c... | 27.924528 | 85 | 0.667568 |
3302f95944549893e6c718830b8f06c614895c10 | 8,700 | py | Python | Python/cs611python.py | david145/CS6112018 | 7a74c239bf5157507594157b5871c9d0c70fcc23 | [
"MIT"
] | null | null | null | Python/cs611python.py | david145/CS6112018 | 7a74c239bf5157507594157b5871c9d0c70fcc23 | [
"MIT"
] | 1 | 2018-10-29T17:41:08.000Z | 2018-10-29T17:41:08.000Z | Python/cs611python.py | david145/CS6112018 | 7a74c239bf5157507594157b5871c9d0c70fcc23 | [
"MIT"
] | null | null | null | print("\n")
print("PythonExercises-v2 by David Bochan")
print("\n")
print("=== EXERCISE 1 ===")
print("\n")
print("(a) 5 / 3 = " + str(5 / 3))
print("=> with python3 you can receive a float even if you divide two \
integers")
print("\n")
print("(b) 5 % 3 = " + str(5 % 3))
print("=> % is the modulus which divides lef... | 23.138298 | 79 | 0.608046 |
fe2c8a381aa5eb7f4f89253f8b4008c13d7cfdec | 268 | h | C | Pods/HATHandyKit/HATHandyKit/HATMJHeader/HATMJRefreshFooter.h | bugs2/HATHandyKit | f04256bc7346ca9f338e1a0f6e34c74fc55b874c | [
"MIT"
] | null | null | null | Pods/HATHandyKit/HATHandyKit/HATMJHeader/HATMJRefreshFooter.h | bugs2/HATHandyKit | f04256bc7346ca9f338e1a0f6e34c74fc55b874c | [
"MIT"
] | null | null | null | Pods/HATHandyKit/HATHandyKit/HATMJHeader/HATMJRefreshFooter.h | bugs2/HATHandyKit | f04256bc7346ca9f338e1a0f6e34c74fc55b874c | [
"MIT"
] | null | null | null | //
// HATMJRefreshFooter.h
// TOps
//
// Created by jiangwei9 on 25/04/2017.
// Copyright © 2017 Hikvison AutoMotive Technology. All rights reserved.
//
#import <MJRefresh/MJRefresh.h>
#import "define.h"
@interface HATMJRefreshFooter : MJRefreshBackFooter
@end
| 17.866667 | 73 | 0.731343 |
5bff6d11dd65f50f6cf38fab7384e405a3e645e4 | 437 | h | C | SpaceshIT!/SpaceshIT!/GraphicsSettings.h | ColdSpotYZ/SpaceshIT | 8fe2dcdd202536b5127e14a140c5f833720b1eeb | [
"MIT"
] | null | null | null | SpaceshIT!/SpaceshIT!/GraphicsSettings.h | ColdSpotYZ/SpaceshIT | 8fe2dcdd202536b5127e14a140c5f833720b1eeb | [
"MIT"
] | null | null | null | SpaceshIT!/SpaceshIT!/GraphicsSettings.h | ColdSpotYZ/SpaceshIT | 8fe2dcdd202536b5127e14a140c5f833720b1eeb | [
"MIT"
] | null | null | null | /*
Team member: Jason Chua
Group: CookieZ
studentID: S10195450H
*/
#pragma once
class GraphicsSettings
{
public:
GraphicsSettings();
// Variables
std::string title;
sf::VideoMode resolution;
bool fullscreen;
bool verticalSync;
unsigned frameRateLimit;
sf::ContextSettings contextSettings;
Vector<sf::VideoMode>... | 17.48 | 43 | 0.762014 |
c3da8241c82bf2dfbd9560002b07070e56d88b16 | 3,040 | go | Go | agingMap_test.go | 520MianXiangDuiXiang520/agingMap | baf954f604bef9c0e3a9040e5fa331bf736495d4 | [
"MIT"
] | null | null | null | agingMap_test.go | 520MianXiangDuiXiang520/agingMap | baf954f604bef9c0e3a9040e5fa331bf736495d4 | [
"MIT"
] | null | null | null | agingMap_test.go | 520MianXiangDuiXiang520/agingMap | baf954f604bef9c0e3a9040e5fa331bf736495d4 | [
"MIT"
] | null | null | null | package agingMap
import (
"fmt"
"math/rand"
"sync"
"testing"
"time"
)
func ExampleAgingMap_Delete() {
am := NewAgingMap()
am.Store("key", "value", time.Second)
am.Delete("key")
}
func ExampleAgingMap_Store() {
am := NewAgingMap()
am.Store("key", "value", time.Second)
}
func ExampleAgingMap_Load() {
am :=... | 20 | 70 | 0.590461 |
3b76e8b43060f3853de958bf22510832b1be2378 | 5,173 | h | C | components/xtl/include/xtl/lock_ptr.h | untgames/funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 7 | 2016-03-30T17:00:39.000Z | 2017-03-27T16:04:04.000Z | components/xtl/include/xtl/lock_ptr.h | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2017-11-21T11:25:49.000Z | 2018-09-20T17:59:27.000Z | components/xtl/include/xtl/lock_ptr.h | untgames/Funner | c91614cda55fd00f5631d2bd11c4ab91f53573a3 | [
"MIT"
] | 4 | 2016-11-29T15:18:40.000Z | 2017-03-27T16:04:08.000Z | #ifndef XTL_LOCK_PTR_HEADER
#define XTL_LOCK_PTR_HEADER
namespace xtl
{
///////////////////////////////////////////////////////////////////////////////////////////////////
///Указатель, запирающий объект на время существования указателя
/////////////////////////////////////////////////////////////////////////... | 43.470588 | 117 | 0.35376 |
9a44dd25be927416269af58a8f5fd5a5b4f0ca20 | 74,630 | css | CSS | src/styles/geometrical-cube-matrix.css | acozar/acozar.github.io | 8c077788b4f015bfdaabf8b439d101046cf7173f | [
"MIT"
] | 1 | 2021-07-02T01:05:09.000Z | 2021-07-02T01:05:09.000Z | src/styles/geometrical-cube-matrix.css | acozar/acozar.github.io | 8c077788b4f015bfdaabf8b439d101046cf7173f | [
"MIT"
] | null | null | null | src/styles/geometrical-cube-matrix.css | acozar/acozar.github.io | 8c077788b4f015bfdaabf8b439d101046cf7173f | [
"MIT"
] | null | null | null | body {
background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
height: 100vh;
overflow: hidden;
display: flex;
font-family: "Anton", sans-serif;
justify-content: center;
align-items: center;
perspective: 1000px;
}
.container {
position: relative;
display: grid;
grid-template-row... | 28.024784 | 130 | 0.678936 |
b15f1eeb1ed5bbb3da83c2d2d9b022d7763aaa20 | 633 | h | C | Voxel/VoxelBlock.h | GitoriousLispBackup/praxis | a5c1a806c00c6589a3603a29cc9773a704821ebd | [
"MIT"
] | 103 | 2015-01-08T14:04:30.000Z | 2022-02-04T02:57:14.000Z | Voxel/VoxelBlock.h | GitoriousLispBackup/praxis | a5c1a806c00c6589a3603a29cc9773a704821ebd | [
"MIT"
] | 6 | 2015-03-01T13:42:32.000Z | 2020-06-28T18:39:41.000Z | Voxel/VoxelBlock.h | GitoriousLispBackup/praxis | a5c1a806c00c6589a3603a29cc9773a704821ebd | [
"MIT"
] | 10 | 2015-03-03T00:09:55.000Z | 2021-08-31T19:10:01.000Z |
// Author: Greg "fugue" Santucci, 2011
// Email: thecodewitch@gmail.com
// Web: http://createuniverses.blogspot.com/
#ifndef VOXELBLOCK_H
#define VOXELBLOCK_H
class Voxel;
class VoxelBlock
{
public:
VoxelBlock();
int m_nSizeX;
int m_nSizeY;
int m_nSizeZ;
void Render();
Voxel * Get... | 16.230769 | 49 | 0.63981 |
501eb046602158ebbbf178b3517f0eb204c821e5 | 375 | kt | Kotlin | model/src/main/kotlin/com/testerum/model/home/Home.kt | jesus2099/testerum | 1bacdd86da1a240ad9f2932e21c69f628a1fc66c | [
"Apache-2.0"
] | 17 | 2020-08-07T10:06:22.000Z | 2022-02-22T15:36:38.000Z | model/src/main/kotlin/com/testerum/model/home/Home.kt | jesus2099/testerum | 1bacdd86da1a240ad9f2932e21c69f628a1fc66c | [
"Apache-2.0"
] | 55 | 2020-09-20T17:27:50.000Z | 2021-08-15T02:23:45.000Z | model/src/main/kotlin/com/testerum/model/home/Home.kt | jesus2099/testerum | 1bacdd86da1a240ad9f2932e21c69f628a1fc66c | [
"Apache-2.0"
] | 2 | 2021-09-13T09:38:13.000Z | 2021-12-21T20:35:43.000Z | package com.testerum.model.home
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonProperty
data class Home @JsonCreator constructor(
@JsonProperty("quote") val quote: Quote,
@JsonProperty("testerumVersion") val testerumVersion: String,
@JsonPropert... | 37.5 | 74 | 0.773333 |
fb1ea1b7f5782ef75918c50c5b90c2f4fb19fc31 | 2,621 | go | Go | main.go | tecfu/hello-world-cypress | 78e34c790f9a3cd6d3c5f8a4c46af3f763dcfa43 | [
"MIT"
] | 51 | 2019-05-03T09:42:19.000Z | 2022-02-28T05:30:32.000Z | main.go | tecfu/hello-world-cypress | 78e34c790f9a3cd6d3c5f8a4c46af3f763dcfa43 | [
"MIT"
] | 8 | 2019-05-01T20:28:04.000Z | 2021-01-22T02:33:16.000Z | main.go | tecfu/hello-world-cypress | 78e34c790f9a3cd6d3c5f8a4c46af3f763dcfa43 | [
"MIT"
] | 32 | 2019-05-03T22:03:26.000Z | 2022-03-25T09:56:40.000Z | package main
import (
"fmt"
"html/template"
"log"
"net/http"
"os"
"unicode"
)
type PageVariables struct {
Sentiment string
}
func main() {
port := os.Getenv("PORT")
if port == "" {
port = "8080"
}
log.Printf("Listening on port %s", port)
http.HandleFunc("/", AnalyzePage)
http.HandleFunc("/analyze", An... | 24.268519 | 215 | 0.66158 |
411ec0020522c06cfed0f5de739db7ac511047a6 | 435 | h | C | Example/Pods/Headers/Public/WSSNetworking/WSSNetworkManager.h | wangSmile3687/WSSNetworking | 021b412ae2326b6d6c8e91124df4629ece873012 | [
"MIT"
] | 1 | 2019-10-31T09:01:40.000Z | 2019-10-31T09:01:40.000Z | Example/Pods/Headers/Public/WSSNetworking/WSSNetworkManager.h | WSmilec/WSSNetworking | 021b412ae2326b6d6c8e91124df4629ece873012 | [
"MIT"
] | null | null | null | Example/Pods/Headers/Public/WSSNetworking/WSSNetworkManager.h | WSmilec/WSSNetworking | 021b412ae2326b6d6c8e91124df4629ece873012 | [
"MIT"
] | null | null | null | //
// WSSNetworkManager.h
// WSSNetworking
//
// Created by smile on 2019/8/22.
//
#import <Foundation/Foundation.h>
@class WSSRequest;
@interface WSSNetworkManager : NSObject
/// shared manager
+ (WSSNetworkManager *)sharedManager;
/// add request and start request
- (void)addRequest:(WSSRequest *)request;
/// c... | 18.125 | 44 | 0.724138 |
56cfe19546cfc09e700e9d5ddcaa82e4bef72ec4 | 1,796 | ts | TypeScript | src/typings/test.ts | MaledongGit/haoide-vscode | 33dcf1a4c3b0a32ee64bb4b6ceb3f414a3c69946 | [
"MIT"
] | null | null | null | src/typings/test.ts | MaledongGit/haoide-vscode | 33dcf1a4c3b0a32ee64bb4b6ceb3f414a3c69946 | [
"MIT"
] | null | null | null | src/typings/test.ts | MaledongGit/haoide-vscode | 33dcf1a4c3b0a32ee64bb4b6ceb3f414a3c69946 | [
"MIT"
] | null | null | null | /**
* @file request/response model for apex class test
* Copied from sfdx-vscode
* @author Mouse Liu <mouse.mliu@gmail.com>
*/
/**
* Test object for runTestsSynchronous request body
*/
export interface TestObject {
tests: TestSuite[];
}
/**
* Test Suite for Test sobject for runTestsSynchronous
*/
export ... | 19.106383 | 54 | 0.708797 |
0bc2086d554f39fe0a44f50203b0fda7a95cc5a2 | 1,159 | js | JavaScript | server/game/cards/characters/01/rhaegal.js | kal727/l5r-sandbox | 2e177b098bfefd62f859f0878ad67e50db620297 | [
"MIT"
] | null | null | null | server/game/cards/characters/01/rhaegal.js | kal727/l5r-sandbox | 2e177b098bfefd62f859f0878ad67e50db620297 | [
"MIT"
] | null | null | null | server/game/cards/characters/01/rhaegal.js | kal727/l5r-sandbox | 2e177b098bfefd62f859f0878ad67e50db620297 | [
"MIT"
] | null | null | null | const _ = require('underscore');
const DrawCard = require('../../../drawcard.js');
class Rhaegal extends DrawCard {
setupCardAbilities(ability) {
this.reaction({
when: {
afterChallenge: ({challenge}) => (
challenge.winner === this.controller &&
... | 31.324324 | 137 | 0.511648 |
c4964e75f083b10e7bfa6628f2b32387a10539a6 | 3,950 | h | C | RRC_Rel14/LTE_CSI-RS-ConfigBeamformed-r14.h | brainliubo/openairstudy | 8c1f64d00dcf0fbc6efb4e49d30ce2944f512c69 | [
"Apache-2.0"
] | 1 | 2020-07-08T03:56:32.000Z | 2020-07-08T03:56:32.000Z | RRC_Rel14/LTE_CSI-RS-ConfigBeamformed-r14.h | brainliubo/openairstudy | 8c1f64d00dcf0fbc6efb4e49d30ce2944f512c69 | [
"Apache-2.0"
] | null | null | null | RRC_Rel14/LTE_CSI-RS-ConfigBeamformed-r14.h | brainliubo/openairstudy | 8c1f64d00dcf0fbc6efb4e49d30ce2944f512c69 | [
"Apache-2.0"
] | null | null | null | /*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/guicliu/ue_folder/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/guicliu/ue_folder/cmake_targets... | 39.108911 | 161 | 0.831139 |
855cc29405f159b47c4a58831cc312bf587382c1 | 968 | js | JavaScript | scripts/map/onUserEnter/aranDirection.js | stark24423/ZZMS_update189 | 779cefa36ff4d4699dea56f91356a7565769b2ec | [
"Apache-2.0"
] | null | null | null | scripts/map/onUserEnter/aranDirection.js | stark24423/ZZMS_update189 | 779cefa36ff4d4699dea56f91356a7565769b2ec | [
"Apache-2.0"
] | null | null | null | scripts/map/onUserEnter/aranDirection.js | stark24423/ZZMS_update189 | 779cefa36ff4d4699dea56f91356a7565769b2ec | [
"Apache-2.0"
] | null | null | null | function start() {
ms.EnableUI(1);
ms.DisableUI(true);
switch (ms.getMapId()) {
case 914090010:
ms.showWZEffect("Effect/Direction1.img/aranTutorial/Scene0");
break;
case 914090011:
ms.showWZEffect("Effect/Direction1.img/aranTutorial/Scene1" + (ms.getPlayer... | 38.72 | 128 | 0.573347 |
fbb2755ac7cbe9db2b6c3c705b258971ff65a0ce | 3,298 | h | C | Source/V8/Private/Config.h | ninemcom/Unreal.js-core | 9b7bf774c570be95f4d9f687557164c872bb2307 | [
"BSD-3-Clause"
] | 1 | 2019-07-24T13:20:45.000Z | 2019-07-24T13:20:45.000Z | Source/V8/Private/Config.h | ninemcom/Unreal.js-core | 9b7bf774c570be95f4d9f687557164c872bb2307 | [
"BSD-3-Clause"
] | null | null | null | Source/V8/Private/Config.h | ninemcom/Unreal.js-core | 9b7bf774c570be95f4d9f687557164c872bb2307 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "CoreMinimal.h"
#include "UObject/Package.h"
#include "UObject/MetaData.h"
struct FV8Config
{
static FString Safeify(const FString& Name)
{
if (Name == "Object")
{
return TEXT("UObject");
}
else if (Name == "Node")
{
return TEXT("UNode");
}
else if (Name == "Function")
{
... | 19.86747 | 91 | 0.631595 |
3bd538b42f5796048feb211889bb8d379cb2280b | 601 | swift | Swift | ios/Plugin/ScreenshotPlugin.swift | gisorliu/Capacitor-Plugin-Screenshot | c881f6a7b5963e2d84eb6e307b231abcdc95d0f9 | [
"MIT"
] | null | null | null | ios/Plugin/ScreenshotPlugin.swift | gisorliu/Capacitor-Plugin-Screenshot | c881f6a7b5963e2d84eb6e307b231abcdc95d0f9 | [
"MIT"
] | null | null | null | ios/Plugin/ScreenshotPlugin.swift | gisorliu/Capacitor-Plugin-Screenshot | c881f6a7b5963e2d84eb6e307b231abcdc95d0f9 | [
"MIT"
] | null | null | null | import Foundation
import Capacitor
/**
* Please read the Capacitor iOS Plugin Development Guide
* here: https://capacitorjs.com/docs/plugins/ios
*/
@objc(ScreenshotPlugin)
public class ScreenshotPlugin: CAPPlugin {
// private let implementation = Screenshot()
@objc func echo(_ call: CAPPluginCall) {
... | 30.05 | 87 | 0.627288 |
dda680198ccc82b29b6e30e4ee035c7aec7b6b85 | 628 | php | PHP | app/Models/Activity.php | nguyentrungtruc/server | 5d21be18bb07c39c3027c7e1ee19e2714a2a77d8 | [
"MIT"
] | null | null | null | app/Models/Activity.php | nguyentrungtruc/server | 5d21be18bb07c39c3027c7e1ee19e2714a2a77d8 | [
"MIT"
] | 5 | 2020-07-16T10:16:06.000Z | 2022-02-17T18:04:03.000Z | app/Models/Activity.php | nguyentrungtruc/server | 5d21be18bb07c39c3027c7e1ee19e2714a2a77d8 | [
"MIT"
] | null | null | null | <?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Activity extends Model
{
protected $table = 'ec_activities';
protected $fillable = [
'daysofweek', 'number'
];
protected $guarded = [];
public function scopeOrderByAsc($query, $column) {
return $query->orde... | 20.933333 | 129 | 0.652866 |
171cfb78a6464e4a7f15370b5acd74938f308d92 | 2,719 | sql | SQL | DB/old/users (13-08-18).sql | sheikabu/servicexpertz | dc71f3aa53eb40be937ddbd838a72f8ccb19ace5 | [
"MIT"
] | null | null | null | DB/old/users (13-08-18).sql | sheikabu/servicexpertz | dc71f3aa53eb40be937ddbd838a72f8ccb19ace5 | [
"MIT"
] | null | null | null | DB/old/users (13-08-18).sql | sheikabu/servicexpertz | dc71f3aa53eb40be937ddbd838a72f8ccb19ace5 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.8.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Aug 13, 2018 at 08:27 PM
-- Server version: 10.1.32-MariaDB
-- PHP Version: 5.6.36
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @... | 32.369048 | 137 | 0.628172 |
e7123334403ea7eea718b515a4e947b287aa0385 | 623 | js | JavaScript | src/list.js | jmlehman/voaindex | 6a114f8e25f1de5635f8f93aa0f5aeeee00db8cb | [
"MIT"
] | null | null | null | src/list.js | jmlehman/voaindex | 6a114f8e25f1de5635f8f93aa0f5aeeee00db8cb | [
"MIT"
] | null | null | null | src/list.js | jmlehman/voaindex | 6a114f8e25f1de5635f8f93aa0f5aeeee00db8cb | [
"MIT"
] | null | null | null | const axios = require('axios');
const { ACCOUNT, SUBSCRIPTION,LOCATION } = require('./config');
async function getList(token) {
const config = {
method:'get',
url: 'https://api.videoindexer.ai/Auth/'+LOCATION+'/Accounts/'+ACCOUNT+'/AccessTokenWithPermission',
headers: {
'Cache... | 28.318182 | 108 | 0.58748 |
81e205c5e6b4b8a24bae20072a0619d913d8af6b | 439 | kt | Kotlin | app/src/main/java/com/coclearapp/pdm_project/Repository/UserRepository.kt | RFuentes22/ABCoclear-ACA | 3d22ef3267dc1443b231b35c44f1a9054471ba54 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/coclearapp/pdm_project/Repository/UserRepository.kt | RFuentes22/ABCoclear-ACA | 3d22ef3267dc1443b231b35c44f1a9054471ba54 | [
"Apache-2.0"
] | 3 | 2021-06-08T03:12:47.000Z | 2021-06-08T16:14:11.000Z | app/src/main/java/com/coclearapp/pdm_project/Repository/UserRepository.kt | RFuentes22/ABCoclear | 3d22ef3267dc1443b231b35c44f1a9054471ba54 | [
"Apache-2.0"
] | null | null | null | package com.coclearapp.pdm_project.Repository
import androidx.annotation.WorkerThread
import androidx.lifecycle.LiveData
import com.coclearapp.pdm_project.Room.Dao.UserDao
import com.coclearapp.pdm_project.Room.Entity.User
class UserRepository(private val userDao: UserDao) {
@WorkerThread
suspend fun inser... | 23.105263 | 55 | 0.769932 |
e54fc27fa1ee675515628c43e86214a627c37030 | 312 | ts | TypeScript | src/app/about/about.component.ts | louisscruz/luckycircuit | c27e9e05775cb94020e5f04d1f16350c017bc912 | [
"MIT"
] | null | null | null | src/app/about/about.component.ts | louisscruz/luckycircuit | c27e9e05775cb94020e5f04d1f16350c017bc912 | [
"MIT"
] | null | null | null | src/app/about/about.component.ts | louisscruz/luckycircuit | c27e9e05775cb94020e5f04d1f16350c017bc912 | [
"MIT"
] | null | null | null | import { Component } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'about',
styles: [`
md-card{
margin: 25px;
}
`],
templateUrl: './about.template.html'
})
export class About {
localState;
constructor(public route: ActivatedRoute) {}
}
| 18.352941 | 49 | 0.644231 |
2c1ad2e43940f2d0d4d98eee964a08b520a729c9 | 14,960 | kt | Kotlin | app/src/main/java/com/example/passgenerator/MainActivity.kt | gustavodahora/pass-generator | 34237802c920cc2ae0f5bb27f9d7e0bb8aca9141 | [
"MIT"
] | 3 | 2021-06-14T18:14:53.000Z | 2022-03-08T01:37:23.000Z | app/src/main/java/com/example/passgenerator/MainActivity.kt | gustavodahora/pass-generator | 34237802c920cc2ae0f5bb27f9d7e0bb8aca9141 | [
"MIT"
] | null | null | null | app/src/main/java/com/example/passgenerator/MainActivity.kt | gustavodahora/pass-generator | 34237802c920cc2ae0f5bb27f9d7e0bb8aca9141 | [
"MIT"
] | null | null | null | package com.example.passgenerator
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.graphics.Color
import android.os.Bundle
import android.util.TypedValue
import android.widget.Toast
import androidx.annotation.AttrRes
import androidx.annotat... | 31.231733 | 109 | 0.524131 |
788ab8558db7b482ec1cabf1d4663e473bcf03a1 | 252 | sql | SQL | migrations/0001_initialize.up.sql | manifest-destiny/api | 4a6915a27112f58ba7d992cefa4dec792045ed4f | [
"BSD-3-Clause"
] | null | null | null | migrations/0001_initialize.up.sql | manifest-destiny/api | 4a6915a27112f58ba7d992cefa4dec792045ed4f | [
"BSD-3-Clause"
] | null | null | null | migrations/0001_initialize.up.sql | manifest-destiny/api | 4a6915a27112f58ba7d992cefa4dec792045ed4f | [
"BSD-3-Clause"
] | null | null | null | CREATE TABLE app_user ( id serial PRIMARY KEY, google_id varchar(32) NOT NULL UNIQUE, email varchar(254) NOT NULL, full_name varchar(512) NOT NULL, alias varchar(256), picture varchar(512), show_picture boolean, locale varchar(5), country varchar(2));
| 126 | 251 | 0.777778 |
078126e28455007d4256937f05d51acba62cf889 | 3,027 | swift | Swift | LNSideMenu/Classes/LNPanelViewController.swift | luannguyenkhoa/LNSideMenu | ef22b77871ad5dc22e3725438c6b0ee83db34e95 | [
"MIT"
] | 112 | 2016-03-22T12:02:20.000Z | 2021-01-31T03:22:28.000Z | LNSideMenu/Classes/LNPanelViewController.swift | luannguyenkhoa/LNSideMenu | ef22b77871ad5dc22e3725438c6b0ee83db34e95 | [
"MIT"
] | 19 | 2016-08-04T06:32:08.000Z | 2020-04-14T10:34:59.000Z | LNSideMenu/Classes/LNPanelViewController.swift | luannguyenkhoa/LNSideMenu | ef22b77871ad5dc22e3725438c6b0ee83db34e95 | [
"MIT"
] | 18 | 2016-07-19T22:22:43.000Z | 2019-11-01T20:45:23.000Z | //
// LNPanelViewController.swift
// LNSideMenuEffect
//
// Created by Luan Nguyen on 6/22/16.
// Copyright © 2016 Luan Nguyen. All rights reserved.
//
import UIKit
public final class LNPanelViewController: UIViewController {
// MARK: Properties
fileprivate var items: [String] = []
fileprivate var didIni... | 27.518182 | 103 | 0.707631 |
5fbfe6429a2e045fec2344995ad03d628e7b2b7d | 5,938 | css | CSS | public_html/week4/css/recipe.css | drk-web-dev/infsci2560_samples | fa6ba63c3e117c03af58c47621f6a13a9ae37d7c | [
"MIT"
] | null | null | null | public_html/week4/css/recipe.css | drk-web-dev/infsci2560_samples | fa6ba63c3e117c03af58c47621f6a13a9ae37d7c | [
"MIT"
] | null | null | null | public_html/week4/css/recipe.css | drk-web-dev/infsci2560_samples | fa6ba63c3e117c03af58c47621f6a13a9ae37d7c | [
"MIT"
] | null | null | null | /* line 1, /home/bk/source/infsci2560_samples/public_html/week4/less/recipe.less */
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/bk\/source\/infsci2560_samples\/public_html\/week4\/less\/recipe\.less}line{font-family:\000031}}
article > div {
float: left;
width: 348px;
margin-right: 24px;
marg... | 46.390625 | 164 | 0.70293 |
4a2af1df79de0e183eb2974d372b51bb54dd4e0e | 871 | js | JavaScript | client/store/cart.spec.js | fantastic-four1337/grace_shopper | 0ae24f81a4416e4e2fa1ded353590f39b7760cfd | [
"MIT"
] | 1 | 2018-07-11T13:34:17.000Z | 2018-07-11T13:34:17.000Z | client/store/cart.spec.js | fantastic-four1337/grace_shopper | 0ae24f81a4416e4e2fa1ded353590f39b7760cfd | [
"MIT"
] | null | null | null | client/store/cart.spec.js | fantastic-four1337/grace_shopper | 0ae24f81a4416e4e2fa1ded353590f39b7760cfd | [
"MIT"
] | 1 | 2018-09-20T01:09:31.000Z | 2018-09-20T01:09:31.000Z | import {expect} from 'chai'
import reducer from './cart'
import axios from 'axios'
import MockAdapter from 'axios-mock-adapter'
import configureMockStore from 'redux-mock-store'
import thunkMiddleware from 'redux-thunk'
import history from '../history'
import {gotCarts, removedCart} from '../actionCreators/carts'
impor... | 36.291667 | 134 | 0.692308 |
fb5a63209abf26b3037163ac1f96c87022672f63 | 3,329 | c | C | TMPL_VAR_HASHMAP/src/hmap_instantiate.c | subramon/qlu | 2fb8a2b3636dd11e2dfeae2a6477bd130316da47 | [
"MIT"
] | null | null | null | TMPL_VAR_HASHMAP/src/hmap_instantiate.c | subramon/qlu | 2fb8a2b3636dd11e2dfeae2a6477bd130316da47 | [
"MIT"
] | null | null | null | TMPL_VAR_HASHMAP/src/hmap_instantiate.c | subramon/qlu | 2fb8a2b3636dd11e2dfeae2a6477bd130316da47 | [
"MIT"
] | null | null | null | #include <dlfcn.h>
#include "hmap_common.h"
#include "hmap_aux.h"
#include "hmap_instantiate.h"
int
hmap_instantiate(
hmap_t *H,
hmap_config_t *HC
)
{
int status = 0;
memset(H, 0, sizeof(hmap_t));
//----------------------------------------
if ( HC->min_size == 0 ) {
H->config.min_size = HASH_... | 32.320388 | 77 | 0.587263 |
3fe3fa7c82b0977c5500f3b177b887aa5535b996 | 3,272 | lua | Lua | strawberry.lua | h-v-smacker/ethereal | 0969451dff31b9a8c6e081ad450c74b6182cfa3c | [
"MIT"
] | null | null | null | strawberry.lua | h-v-smacker/ethereal | 0969451dff31b9a8c6e081ad450c74b6182cfa3c | [
"MIT"
] | 1 | 2020-12-06T08:51:20.000Z | 2020-12-06T08:51:20.000Z | strawberry.lua | h-v-smacker/ethereal | 0969451dff31b9a8c6e081ad450c74b6182cfa3c | [
"MIT"
] | null | null | null |
local S = ethereal.intllib
-- Strawberry (can also be planted as seed)
minetest.register_craftitem("ethereal:strawberry", {
description = S("Strawberry"),
inventory_image = "strawberry.png",
wield_image = "strawberry.png",
groups = {food_strawberry = 1, food_berry = 1, flammable = 2},
on_place = function(itemsta... | 25.5625 | 86 | 0.699267 |
5413b28055f7dead969fe27343adf5ffcf445e9b | 2,338 | kt | Kotlin | library_common/src/main/java/com/example/fragment/library/common/fragment/WebFragment.kt | MMwen/FragmentProject | 2a854024afcbce2dc8429228939d9665a2c1291e | [
"Apache-2.0"
] | 1 | 2021-05-27T10:21:18.000Z | 2021-05-27T10:21:18.000Z | library_common/src/main/java/com/example/fragment/library/common/fragment/WebFragment.kt | MMwen/FragmentProject | 2a854024afcbce2dc8429228939d9665a2c1291e | [
"Apache-2.0"
] | null | null | null | library_common/src/main/java/com/example/fragment/library/common/fragment/WebFragment.kt | MMwen/FragmentProject | 2a854024afcbce2dc8429228939d9665a2c1291e | [
"Apache-2.0"
] | null | null | null | package com.example.fragment.library.common.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import com.example.fragment.library.base.component.activity.OnBackPressedListener
import com.example.fragment.library.base.utils.WebHelper
import com.example.fragment.library.common... | 29.594937 | 88 | 0.67408 |
651bae5c589007a9505260b492f6ca59ec699f19 | 2,485 | swift | Swift | AirportWeather/AirportWeather/Models/StationModel.swift | promedolum/AirportWeather | 61885387b8a021fb3f5b12fe5fff360cf312d7cf | [
"MIT"
] | null | null | null | AirportWeather/AirportWeather/Models/StationModel.swift | promedolum/AirportWeather | 61885387b8a021fb3f5b12fe5fff360cf312d7cf | [
"MIT"
] | null | null | null | AirportWeather/AirportWeather/Models/StationModel.swift | promedolum/AirportWeather | 61885387b8a021fb3f5b12fe5fff360cf312d7cf | [
"MIT"
] | null | null | null | //
// StationModel.swift
// AirportWeather
//
// Created by Alexander Zanevskiy on 19.02.2020.
// Copyright © 2020 ZuluTeam. All rights reserved.
//
import Foundation
import UIKit
struct Station: Codable {
let icao: String
let name: String
let activated: String?
let city: String?
let country: ... | 23.009259 | 56 | 0.591549 |
fb4f3485d598757eff9689c15525ce78a68eb086 | 3,334 | h | C | JukeItApp/AbstractFileServerHandler.h | janhofman/juke-it-cef | 14231f6e21ae4a4537358aff2ddad1ec7cb2c198 | [
"BSD-3-Clause"
] | null | null | null | JukeItApp/AbstractFileServerHandler.h | janhofman/juke-it-cef | 14231f6e21ae4a4537358aff2ddad1ec7cb2c198 | [
"BSD-3-Clause"
] | 6 | 2020-07-20T18:25:51.000Z | 2022-03-26T17:45:01.000Z | JukeItApp/AbstractFileServerHandler.h | janhofman/juke-it-cef | 14231f6e21ae4a4537358aff2ddad1ec7cb2c198 | [
"BSD-3-Clause"
] | null | null | null | #ifndef ABSTRACTFILESERVERHANDLER_H_
#define ABSTRACTFILESERVERHANDLER_H_
#include <vector>
#include "cpprest/json.h"
class AbstractFileServerHandler {
public:
enum ResponseCode {
CODE_200_OK,
CODE_201_ACCEPTED,
CODE_202_CREATED,
CODE_404_NOT_FOUND,
CODE_500_INTERNAL_SERVER_ERROR
};
virtual ResponseC... | 77.534884 | 237 | 0.763647 |
233695968d2c7784c04d5fabcfb8fca3500d015f | 708 | sql | SQL | sqls/access methods.sql | tomi/presentation-postgres-indexes | d2be24142e989f67bc40a2781b17ecbb652b8128 | [
"MIT"
] | 2 | 2019-07-02T06:40:59.000Z | 2019-08-01T17:40:12.000Z | sqls/access methods.sql | tomi/presentation-postgres-indexes | d2be24142e989f67bc40a2781b17ecbb652b8128 | [
"MIT"
] | 2 | 2020-07-17T08:00:41.000Z | 2021-05-09T05:13:00.000Z | sqls/access methods.sql | tomi/presentation-postgres-indexes | d2be24142e989f67bc40a2781b17ecbb652b8128 | [
"MIT"
] | null | null | null |
------ Scanning techniques ------
DROP INDEX IF EXISTS t_a_idx;
-- Sequential scan
EXPLAIN(costs off) SELECT * FROM t WHERE a = 5;
-- Add index
CREATE INDEX t_a_idx ON t(a);
-- Index scan
EXPLAIN(costs off) SELECT * FROM t WHERE a = 5;
-- Bitmap scan
EXPLAIN(costs off) SELECT * FROM t WHERE a <= 100;
-- Index onl... | 22.125 | 54 | 0.696328 |
3634a5c878a0b34107fe42bd9ac230fb18f782a8 | 8,042 | rs | Rust | src/deinit.rs | burrbull/spl-rs | 027d4bd27bebfb7f74b1cd1e840a87819475614e | [
"Apache-2.0"
] | null | null | null | src/deinit.rs | burrbull/spl-rs | 027d4bd27bebfb7f74b1cd1e840a87819475614e | [
"Apache-2.0"
] | null | null | null | src/deinit.rs | burrbull/spl-rs | 027d4bd27bebfb7f74b1cd1e840a87819475614e | [
"Apache-2.0"
] | null | null | null | use crate::pac::RCC;
pub trait DeInit {
/// Deinitializes peripheral registers to their default reset values.
fn deinit(&self);
}
#[cfg(feature="adc1")]
impl DeInit for crate::pac::ADC1 {
fn deinit(&self) {
let rst = &(unsafe { &*RCC::ptr() }).apb2rstr;
rst.modify(|_, w| w.adc1rst().set_bi... | 29.137681 | 73 | 0.536558 |
ad3a81c89c29fb1417f2cf3e138bcbb7d0afcb5a | 1,418 | rs | Rust | src/components/login.rs | AI21212019/super-duper-octo-carnival | e4dec7e5aa55716aac5e007c583bd7ad89134bef | [
"Apache-2.0",
"MIT"
] | null | null | null | src/components/login.rs | AI21212019/super-duper-octo-carnival | e4dec7e5aa55716aac5e007c583bd7ad89134bef | [
"Apache-2.0",
"MIT"
] | null | null | null | src/components/login.rs | AI21212019/super-duper-octo-carnival | e4dec7e5aa55716aac5e007c583bd7ad89134bef | [
"Apache-2.0",
"MIT"
] | null | null | null | use web_sys::HtmlInputElement;
use yew::functional::*;
use yew::prelude::*;
use yew_router::prelude::*;
use crate::Route;
use crate::User;
#[function_component(Login)]
pub fn login() -> Html {
let username = use_state(|| String::new());
let user = use_context::<User>().expect("No context found.");
let on... | 36.358974 | 259 | 0.594499 |
4770268248c60b9a3304e21589d3345e51a8fc9e | 1,438 | html | HTML | pa1-skeleton/pa1-data/0/ccrma-mail.stanford.edu_pipermail_planetccrma_2006-July_012208.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/0/ccrma-mail.stanford.edu_pipermail_planetccrma_2006-July_012208.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | pa1-skeleton/pa1-data/0/ccrma-mail.stanford.edu_pipermail_planetccrma_2006-July_012208.html | yzhong94/cs276-spring-2019 | a4780a9f88b8c535146040fe11bb513c91c5693b | [
"MIT"
] | null | null | null | planetccrma no audio with fc4 kernel upgrade planetccrma no audio with fc4 kernel upgrade bruce elliott belliott4488 comcast net mon jul 3 13 02 27 2006 previous message planetccrma no audio with fc4 kernel upgrade next message planetccrma upgrading fc4 fc5 messages sorted by date thread subject author fernando lopez l... | 719 | 1,437 | 0.82128 |
5796eac8f34c75cebbbf19aa13cd3db6a09895fb | 4,676 | h | C | groups/bsl/bslmf/bslmf_arraytopointer.h | zhanzju/bsl | 1bb79982cff9bbaa3fb6d038604f04283ba76f07 | [
"MIT"
] | 1 | 2015-11-06T05:25:03.000Z | 2015-11-06T05:25:03.000Z | groups/bsl/bslmf/bslmf_arraytopointer.h | zhanzju/bsl | 1bb79982cff9bbaa3fb6d038604f04283ba76f07 | [
"MIT"
] | null | null | null | groups/bsl/bslmf/bslmf_arraytopointer.h | zhanzju/bsl | 1bb79982cff9bbaa3fb6d038604f04283ba76f07 | [
"MIT"
] | null | null | null | // bslmf_arraytopointer.h -*-C++-*-
#ifndef INCLUDED_BSLMF_ARRAYTOPOINTER
#define INCLUDED_BSLMF_ARRAYTOPOINTER
#ifndef INCLUDED_BSLS_IDENT
#include <bsls_ident.h>
#endif
BSLS_IDENT("$Id: $")
//@PURPOSE: Provide a meta-function to convert array types to pointer types.
//
//... | 35.157895 | 79 | 0.635158 |
202b9823d9617e9506ed3c6cb11755e57f7fd604 | 1,193 | css | CSS | components/Scrollbar/src/Scrollbar.css | btmnk/klarheit | 996940d320ac5f7e061dd9e998dd27dcc914d1af | [
"MIT"
] | 3 | 2021-08-09T15:44:16.000Z | 2022-01-17T14:18:38.000Z | components/Scrollbar/src/Scrollbar.css | btmnk/klarheit | 996940d320ac5f7e061dd9e998dd27dcc914d1af | [
"MIT"
] | null | null | null | components/Scrollbar/src/Scrollbar.css | btmnk/klarheit | 996940d320ac5f7e061dd9e998dd27dcc914d1af | [
"MIT"
] | null | null | null | @import './Scrollbar.theme.css';
.container {
position: relative;
height: 100%;
max-height: var(--kl-scrollbarMaxHeight);
&.visible,
&:hover {
& .scrollbarTrack {
opacity: 1;
visibility: visible;
}
}
& .content {
height: 100%;
max-height: var(--kl-scrollbarMaxHeight);
bo... | 22.509434 | 58 | 0.634535 |
1b683f1543a274db51da3eb4539622e6c5c7dfc3 | 195,472 | swift | Swift | Sources/ProrsumNet/TLS/Certs/openbsd_certs.swift | foulkesjohn/ProrsumNet | 93424e3ec2bf90a94dd50a40ba754ce485a2d2e4 | [
"MIT"
] | 1 | 2020-02-04T06:26:27.000Z | 2020-02-04T06:26:27.000Z | Sources/ProrsumNet/TLS/Certs/openbsd_certs.swift | foulkesjohn/ProrsumNet | 93424e3ec2bf90a94dd50a40ba754ce485a2d2e4 | [
"MIT"
] | null | null | null | Sources/ProrsumNet/TLS/Certs/openbsd_certs.swift | foulkesjohn/ProrsumNet | 93424e3ec2bf90a94dd50a40ba754ce485a2d2e4 | [
"MIT"
] | 1 | 2020-02-04T06:26:32.000Z | 2020-02-04T06:26:32.000Z | //
// OpenBSDCert.swift
// Prorsum
//
// Created by Yuki Takei on 2017/06/23.
//
//
let openbsd_certs_pem = "### AddTrust AB\n\n=== AddTrust Class 1 CA Root\nCertificate:\n Data:\n Version: 3 (0x2)\n Serial Number: 1 (0x1)\n Signature Algorithm: sha1WithRSAEncryption\n Validity\n ... | 19,547.2 | 195,383 | 0.817094 |
0edab695ed4e3e665588435d6bb07074a1b692ad | 1,136 | h | C | kernels/linux-2.6.24/arch/um/include/common-offsets.h | liuhaozzu/linux | bdf9758cd23e34b5f53e8e6339d9b29348615e14 | [
"Apache-2.0"
] | null | null | null | kernels/linux-2.6.24/arch/um/include/common-offsets.h | liuhaozzu/linux | bdf9758cd23e34b5f53e8e6339d9b29348615e14 | [
"Apache-2.0"
] | 1 | 2021-04-09T09:24:44.000Z | 2021-04-09T09:24:44.000Z | arch/um/include/common-offsets.h | KylinskyChen/linuxCore_2.6.24 | 11e90b14386491cc80477d4015e0c8f673f6d020 | [
"MIT"
] | null | null | null | /* for use by sys-$SUBARCH/kernel-offsets.c */
DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
OFFSET(HOST_TASK_REGS, task_struct, thread.regs);
OFFSET(HOST_TASK_PID, task_struct, pid);
DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE);
DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK);
DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT);
DEFINE(UM_NSEC_PER_SEC... | 27.707317 | 70 | 0.816021 |
2a4e242309111917645c1d5f615c6743252177d0 | 4,371 | java | Java | rdb/src/main/java/org/openmbee/mms/rdb/repositories/branch/BranchDAOImpl.java | Open-MBEE/MMS | e46867e6e5a56ef813e7bb2ffebcbc1c0aed599e | [
"Apache-2.0"
] | 32 | 2017-05-01T18:24:57.000Z | 2022-01-31T19:16:40.000Z | rdb/src/main/java/org/openmbee/mms/rdb/repositories/branch/BranchDAOImpl.java | Open-MBEE/MMS | e46867e6e5a56ef813e7bb2ffebcbc1c0aed599e | [
"Apache-2.0"
] | 77 | 2017-05-11T13:14:31.000Z | 2021-09-28T22:26:25.000Z | rdb/src/main/java/org/openmbee/mms/rdb/repositories/branch/BranchDAOImpl.java | Open-MBEE/MMS | e46867e6e5a56ef813e7bb2ffebcbc1c0aed599e | [
"Apache-2.0"
] | 18 | 2017-05-08T14:19:03.000Z | 2021-08-11T16:31:18.000Z | package org.openmbee.mms.rdb.repositories.branch;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.List;
import java.util.Optional;
import org.openmbee.mms.core.config.ContextHolder;
import org.openmbee.mms.core.dao.BranchDAO;
impo... | 40.850467 | 202 | 0.663235 |
5969c5e1283a97db03043d3b302bfa27535899d7 | 226 | h | C | Classes/MainTabViewController.h | yxqyrh/sjlq | 09d1f6ecbf0ed01b7377224fd1bdc16bb92ca93c | [
"MIT"
] | null | null | null | Classes/MainTabViewController.h | yxqyrh/sjlq | 09d1f6ecbf0ed01b7377224fd1bdc16bb92ca93c | [
"MIT"
] | null | null | null | Classes/MainTabViewController.h | yxqyrh/sjlq | 09d1f6ecbf0ed01b7377224fd1bdc16bb92ca93c | [
"MIT"
] | null | null | null | //
// MainTabViewController.h
// EAIntroView
//
// Created by CSB on 15/12/19.
// Copyright © 2015年 SampleCorp. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MainTabViewController : UITabBarController
@end
| 16.142857 | 54 | 0.716814 |
7172c3445c17ad069cfe047fee57b7f2a3c73dca | 3,789 | tsx | TypeScript | pages/explorer/pictures.tsx | KasperiP/windows11-portfolio | 849fa3bca44328c8b8d2704f24325228aa6327a6 | [
"MIT"
] | 6 | 2022-02-13T13:14:23.000Z | 2022-03-26T12:42:10.000Z | pages/explorer/pictures.tsx | KasperiP/windows11-portfolio | 849fa3bca44328c8b8d2704f24325228aa6327a6 | [
"MIT"
] | 3 | 2022-02-16T09:48:03.000Z | 2022-02-18T02:28:41.000Z | pages/explorer/pictures.tsx | KasperiP/windows11-portfolio | 849fa3bca44328c8b8d2704f24325228aa6327a6 | [
"MIT"
] | null | null | null | import Head from 'next/head';
import Image from 'next/image';
import { useContext, useState } from 'react';
import Icons from '../../components/modules/Icons/Icons';
import { handleWindowPriority } from '../../components/utils/WindowPriority/WindowPriority';
import FileExplorer from '../../components/windows/FileE... | 25.092715 | 106 | 0.579836 |
c8d7ce2ca0e6287deb42fad0005d43b0548c62b0 | 3,231 | kt | Kotlin | core/src/main/kotlin/org/tenkiv/kuantify/networking/communication/RemoteUtils.kt | Tenkiv/kuantify | cc774f93c7d47f84c4e22aeb032e48451478beb8 | [
"MIT"
] | 5 | 2019-04-27T19:44:53.000Z | 2019-06-01T02:04:07.000Z | core/src/main/kotlin/org/tenkiv/kuantify/networking/communication/RemoteUtils.kt | Tenkiv/Kuantify | cc774f93c7d47f84c4e22aeb032e48451478beb8 | [
"MIT"
] | null | null | null | core/src/main/kotlin/org/tenkiv/kuantify/networking/communication/RemoteUtils.kt | Tenkiv/Kuantify | cc774f93c7d47f84c4e22aeb032e48451478beb8 | [
"MIT"
] | null | null | null | /*
* Copyright 2019 Tenkiv, Inc.
*
* 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, merge, publish, dist... | 38.464286 | 120 | 0.726091 |
95e06d73d69774044bb39ac6269b9e6f92919a9b | 6,005 | css | CSS | inc/vendor/kirki/packages/kirki-framework/control-react-colorful/dist/control.css | Whale-Agency/headless-horseman | c2e11be8be74f4ddfedb40b0ec2f9c02d121efd0 | [
"Apache-2.0"
] | null | null | null | inc/vendor/kirki/packages/kirki-framework/control-react-colorful/dist/control.css | Whale-Agency/headless-horseman | c2e11be8be74f4ddfedb40b0ec2f9c02d121efd0 | [
"Apache-2.0"
] | 8 | 2022-01-04T11:34:53.000Z | 2022-03-15T12:25:29.000Z | inc/vendor/kirki/packages/kirki-framework/control-react-colorful/dist/control.css | Whale-Agency/headless-horseman | c2e11be8be74f4ddfedb40b0ec2f9c02d121efd0 | [
"Apache-2.0"
] | null | null | null | .customize-control-kirki-react-colorful .kirki-control-form{box-sizing:border-box;position:relative}.customize-control-kirki-react-colorful .kirki-control-form *{box-sizing:border-box}.customize-control-kirki-react-colorful .kirki-control-cols{align-items:flex-start;display:flex}.customize-control-kirki-react-colorful ... | 2,001.666667 | 5,964 | 0.823813 |
6531c01cdf271608c3cf89baaec7f83d527a1013 | 658 | py | Python | searchNMin2.py | plguhur/random-sets | 8cd0d18816628909f304d839b1a7eed208dfb49f | [
"Apache-2.0"
] | null | null | null | searchNMin2.py | plguhur/random-sets | 8cd0d18816628909f304d839b1a7eed208dfb49f | [
"Apache-2.0"
] | null | null | null | searchNMin2.py | plguhur/random-sets | 8cd0d18816628909f304d839b1a7eed208dfb49f | [
"Apache-2.0"
] | null | null | null | from randomSets import *
import numpy as np
winners = [1,5,10]
candidates = range(100, 1100, 500)
Nmin = np.zeros((len(winners),len(candidates)))
for i in range(len(winners)):
for j in range(len(candidates)):
print("Nwinner: %i, Ncandidates: %i" % (winners[i], candidates[j]))
#alpha = findMinAlpha(... | 41.125 | 130 | 0.647416 |
59555f7d295525b485f8305fd5e47a4cceeb0947 | 1,079 | h | C | src/WSC/symtab.h | merrymercy/WSC-and-FVM | 08ffa01ef2c89a7fecb5b99aece0e5245f72ce4d | [
"MIT"
] | 2 | 2016-08-02T04:50:33.000Z | 2021-05-15T11:37:41.000Z | src/WSC/symtab.h | merrymercy/WSC-and-FVM | 08ffa01ef2c89a7fecb5b99aece0e5245f72ce4d | [
"MIT"
] | null | null | null | src/WSC/symtab.h | merrymercy/WSC-and-FVM | 08ffa01ef2c89a7fecb5b99aece0e5245f72ce4d | [
"MIT"
] | 1 | 2018-06-28T16:07:08.000Z | 2018-06-28T16:07:08.000Z | /****************************************************/
/* File: symtab.h */
/* Symbol table interface for the WSC compiler */
/****************************************************/
#ifndef _SYMTAB_H_
#define _SYMTAB_H_
/* TABSIZE is the size of the hash table */
#define TABSIZE ... | 24.522727 | 70 | 0.607044 |
92f887987288797fc02e6d913f04ea157e1b46b3 | 3,973 | c | C | gpvdm_core/libmesh/mesh_obj.c | roderickmackenzie/gpvdm | 914fd2ee93e7202339853acaec1d61d59b789987 | [
"BSD-3-Clause"
] | 12 | 2016-09-13T08:58:13.000Z | 2022-01-17T07:04:52.000Z | gpvdm_core/libmesh/mesh_obj.c | roderickmackenzie/gpvdm | 914fd2ee93e7202339853acaec1d61d59b789987 | [
"BSD-3-Clause"
] | 3 | 2017-11-11T12:33:02.000Z | 2019-03-08T00:48:08.000Z | gpvdm_core/libmesh/mesh_obj.c | roderickmackenzie/gpvdm | 914fd2ee93e7202339853acaec1d61d59b789987 | [
"BSD-3-Clause"
] | 6 | 2019-01-03T06:17:12.000Z | 2022-01-01T15:59:00.000Z | //
// General-purpose Photovoltaic Device Model gpvdm.com - a drift diffusion
// base/Shockley-Read-Hall model for 1st, 2nd and 3rd generation solarcells.
// The model can simulate OLEDs, Perovskite cells, and OFETs.
//
// Copyright 2008-2022 Roderick C. I. MacKenzie https://www.gpvdm.com
// r.c.i.mackenzie at googlem... | 31.531746 | 97 | 0.730179 |
a325e589d3ec1e4691016e3a14adf151951b7c88 | 392 | kt | Kotlin | app/src/test/kotlin/com/mgaetan89/showsrage/model/ImageTypeTest.kt | MGaetan89/ShowsRage | b677ff242caecf0d4685d71ade56ae9a204727b1 | [
"Apache-2.0"
] | 68 | 2015-06-26T22:56:07.000Z | 2021-11-16T11:52:40.000Z | app/src/test/kotlin/com/mgaetan89/showsrage/model/ImageTypeTest.kt | SickChill/ShowsChill | c0a8e131b37e8bed5b63a27c1800aaa4ff723fe1 | [
"Apache-2.0"
] | 135 | 2015-09-13T09:13:55.000Z | 2021-11-12T12:00:00.000Z | app/src/test/kotlin/com/mgaetan89/showsrage/model/ImageTypeTest.kt | MGaetan89/ShowsRage | b677ff242caecf0d4685d71ade56ae9a204727b1 | [
"Apache-2.0"
] | 24 | 2015-06-26T22:59:10.000Z | 2022-02-11T00:44:52.000Z | package com.mgaetan89.showsrage.model
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
class ImageTypeTest {
@Test
fun command() {
assertThat(ImageType.BANNER.command).isEqualTo("show.getbanner")
assertThat(ImageType.FAN_ART.command).isEqualTo("show.getfanart")
a... | 28 | 73 | 0.737245 |
161bcaff07fb652e842261c2e6304b446fef07b8 | 433 | ts | TypeScript | frontend/src/app/rest/page.ts | muffl0n/o-neko | 13a319c2aa847e10886d7cebe07808f39a87d46e | [
"Apache-2.0"
] | 4 | 2019-12-02T16:14:07.000Z | 2021-12-13T10:28:14.000Z | frontend/src/app/rest/page.ts | muffl0n/o-neko | 13a319c2aa847e10886d7cebe07808f39a87d46e | [
"Apache-2.0"
] | 30 | 2019-10-29T14:12:42.000Z | 2022-03-02T12:32:32.000Z | frontend/src/app/rest/page.ts | muffl0n/o-neko | 13a319c2aa847e10886d7cebe07808f39a87d46e | [
"Apache-2.0"
] | 6 | 2019-11-20T14:06:49.000Z | 2021-06-04T16:06:17.000Z |
export interface PageSort {
unsorted: boolean
sorted: boolean
empty: boolean
}
export interface Pageable {
sort: PageSort
offset: number
pageNumber: number
pageSize: number
}
export interface Page<T> {
content: Array<T>
empty: boolean
first: boolean
last: boolean
number: number
numberOfElem... | 15.464286 | 27 | 0.727483 |