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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dbf227026adda2e4db0c41e7b2df60bc5bff8b4f | 1,090 | dart | Dart | lib/consts/selectors.dart | LeapOfFaith01/yametekudasai | 4839ff04574c97ea920b0c0ac54072b17a075fcd | [
"MIT"
] | null | null | null | lib/consts/selectors.dart | LeapOfFaith01/yametekudasai | 4839ff04574c97ea920b0c0ac54072b17a075fcd | [
"MIT"
] | null | null | null | lib/consts/selectors.dart | LeapOfFaith01/yametekudasai | 4839ff04574c97ea920b0c0ac54072b17a075fcd | [
"MIT"
] | null | null | null | class Constantes {
static const String ANITUBE_EPISODES_LIST =
'.epiContainer > .epiSubContainer > .epiItem';
static const String ANITUBE_ANIMES_CONTAINER = '.aniContainer';
static const String ANITUBE_ANIME_ITEM = '.aniItem';
static const String ANITUBE_LISTA_PAGINADA_COM_FOTO = '.listaPagAnimes > div';
... | 47.391304 | 80 | 0.752294 |
c131a3a1c9854478d7886418676c937c5212cd12 | 3,133 | rs | Rust | src/day6.rs | micxjo/rust-advent | d31efac11bddb6d3c30a4737526f1b2a50891cea | [
"MIT"
] | null | null | null | src/day6.rs | micxjo/rust-advent | d31efac11bddb6d3c30a4737526f1b2a50891cea | [
"MIT"
] | null | null | null | src/day6.rs | micxjo/rust-advent | d31efac11bddb6d3c30a4737526f1b2a50891cea | [
"MIT"
] | null | null | null | extern crate regex;
use std::cmp;
use std::ops::Add;
use self::regex::Regex;
pub enum Instruction {
TurnOn((usize, usize), (usize, usize)),
TurnOff((usize, usize), (usize, usize)),
Toggle((usize, usize), (usize, usize)),
}
use self::Instruction::*;
fn parse_instructions(path: &str) -> Vec<Instruction> {... | 32.298969 | 81 | 0.520268 |
0bc8f228248164e0fb7a531daf419989515f4643 | 5,376 | js | JavaScript | src/features/CommandsPage/commands.en.js | tribalwarshelp/dcbot.tribalwarshelp.com | 1f7cbb6f947435b21344b1479538fb34770f689f | [
"MIT"
] | null | null | null | src/features/CommandsPage/commands.en.js | tribalwarshelp/dcbot.tribalwarshelp.com | 1f7cbb6f947435b21344b1479538fb34770f689f | [
"MIT"
] | 1 | 2021-08-30T08:34:14.000Z | 2021-08-30T08:34:14.000Z | src/features/CommandsPage/commands.en.js | tribalwarshelp/dcbot.tribalwarshelp.com | 1f7cbb6f947435b21344b1479538fb34770f689f | [
"MIT"
] | null | null | null | const commandsForEveryone = [
{
command: 'tw!help',
commandSyntax: 'tw!help',
description: 'This command shows you all available commands.',
example: 'tw!help',
},
{
command: 'tw!tribe topoda',
commandSyntax:
'tw!tribe topoda [server] [page] [tribe id/tag, you can enter more than one... | 34.242038 | 188 | 0.681176 |
23b48c069de2b60fc5467bf87d90b18fe4378fc6 | 597 | swift | Swift | GankIO-MVVM/Modules/Home/Today/TodaySectionType.swift | leasual/GankIO-MVVM | 3d202672704ebff4acdb6f52bba085b69ecd2ce0 | [
"MIT"
] | 6 | 2019-07-02T09:28:47.000Z | 2021-12-29T03:46:47.000Z | GankIO-MVVM/Modules/Home/Today/TodaySectionType.swift | leasual/GankIO-MVVM | 3d202672704ebff4acdb6f52bba085b69ecd2ce0 | [
"MIT"
] | 1 | 2021-12-12T09:36:26.000Z | 2021-12-12T09:36:26.000Z | GankIO-MVVM/Modules/Home/Today/TodaySectionType.swift | leasual/GankIO-MVVM | 3d202672704ebff4acdb6f52bba085b69ecd2ce0 | [
"MIT"
] | 1 | 2021-12-29T03:46:44.000Z | 2021-12-29T03:46:44.000Z | //
// SectionType.swift
// GankIO-MVVM
//
// Created by james.li on 2019/6/22.
// Copyright © 2019 james.li. All rights reserved.
//
import Foundation
import RxDataSources
enum TodaySectionItem {
case TitleSectionItem(title: String)
case SectionItem(model: CommonFeedModel)
}
struct TodaySectionType {
... | 19.258065 | 65 | 0.695142 |
f578f7e440b1251de9677c712483801b616aa98e | 2,889 | sql | SQL | MAK_Files/migration_script.sql | Pyurmak64/Louis_Project_1 | fe45784a0949f6582b3e64ea9f5c988e6318aef0 | [
"MIT"
] | null | null | null | MAK_Files/migration_script.sql | Pyurmak64/Louis_Project_1 | fe45784a0949f6582b3e64ea9f5c988e6318aef0 | [
"MIT"
] | null | null | null | MAK_Files/migration_script.sql | Pyurmak64/Louis_Project_1 | fe45784a0949f6582b3e64ea9f5c988e6318aef0 | [
"MIT"
] | null | null | null | -- ----------------------------------------------------------------------------
-- MySQL Workbench Migration
-- Migrated Schemata: 20181114_ses_project_sqlite
-- Source Schemata: 20181114_ses_project
-- Created: Sat Nov 24 16:52:50 2018
-- Workbench Version: 6.3.9
-- ----------------------------------------------------... | 43.119403 | 79 | 0.518519 |
cbaf46be60457ff4b010eb07cf128e2417055c97 | 961 | go | Go | internal/gensupport/jsonfloat_test.go | ana13-maker/google-api-go-client | f8cf700e547f4847c716c0cdf225810b5f2e008b | [
"BSD-3-Clause"
] | 1,603 | 2018-09-12T01:30:09.000Z | 2022-03-31T11:39:50.000Z | internal/gensupport/jsonfloat_test.go | ana13-maker/google-api-go-client | f8cf700e547f4847c716c0cdf225810b5f2e008b | [
"BSD-3-Clause"
] | 579 | 2018-09-18T17:41:20.000Z | 2022-03-31T21:38:37.000Z | internal/gensupport/jsonfloat_test.go | ana13-maker/google-api-go-client | f8cf700e547f4847c716c0cdf225810b5f2e008b | [
"BSD-3-Clause"
] | 586 | 2018-09-19T07:31:52.000Z | 2022-03-30T07:56:58.000Z | // Copyright 2016 Google LLC.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package gensupport
import (
"encoding/json"
"math"
"testing"
)
func TestJSONFloat(t *testing.T) {
for _, test := range []struct {
in string
want float64
}{
{"0", 0},
{"... | 21.840909 | 77 | 0.577523 |
3951e703f03e51dc21d434b4aa72d5bfdac68fd7 | 4,950 | html | HTML | src/app/pages/profile/profile.html | AndresERojasI/corazon-quindio | c84d8076fafa138987842faed5bbf787039af046 | [
"MIT"
] | null | null | null | src/app/pages/profile/profile.html | AndresERojasI/corazon-quindio | c84d8076fafa138987842faed5bbf787039af046 | [
"MIT"
] | null | null | null | src/app/pages/profile/profile.html | AndresERojasI/corazon-quindio | c84d8076fafa138987842faed5bbf787039af046 | [
"MIT"
] | null | null | null | <div ba-panel ba-panel-class="profile-page">
<div class="panel-content">
<div class="row">
<div class="col-md-6">
<h3 class="with-line">General Information</h3>
<div class="col-lg-4">
<div class="form-group row">
<div class="col-sm-9">
... | 43.421053 | 135 | 0.488485 |
c4c0f055a219f9bcec3a8f94d0b5c1e9826c9a8c | 342 | kts | Kotlin | samples/java-postgresql/build.gradle.kts | frankschmitt/datamaintain | 9b704d7fd2083876f1a37b7526aca8785a8d7649 | [
"Apache-2.0"
] | null | null | null | samples/java-postgresql/build.gradle.kts | frankschmitt/datamaintain | 9b704d7fd2083876f1a37b7526aca8785a8d7649 | [
"Apache-2.0"
] | null | null | null | samples/java-postgresql/build.gradle.kts | frankschmitt/datamaintain | 9b704d7fd2083876f1a37b7526aca8785a8d7649 | [
"Apache-2.0"
] | null | null | null | plugins {
id("org.jetbrains.kotlin.jvm")
id("com.sourcemuse.mongo")
maven // Needed for Jitpack
}
baseProject()
repositories {
jcenter()
}
dependencies {
implementation(project(":modules:core"))
implementation(project(":modules:driver-jdbc"))
implementation("org.postgresql:postgresql:${Ve... | 20.117647 | 70 | 0.695906 |
2a89094f37b58761e0587e930fe46852300b4fc9 | 335 | java | Java | src/main/java/com/palmelf/eoffice/dao/admin/impl/CarApplyDaoImpl.java | JesonZy/JACARRICHAN | 28f8900cc67739e1d1fc416435a8f7adea8e8c8b | [
"Apache-2.0"
] | null | null | null | src/main/java/com/palmelf/eoffice/dao/admin/impl/CarApplyDaoImpl.java | JesonZy/JACARRICHAN | 28f8900cc67739e1d1fc416435a8f7adea8e8c8b | [
"Apache-2.0"
] | null | null | null | src/main/java/com/palmelf/eoffice/dao/admin/impl/CarApplyDaoImpl.java | JesonZy/JACARRICHAN | 28f8900cc67739e1d1fc416435a8f7adea8e8c8b | [
"Apache-2.0"
] | null | null | null | package com.palmelf.eoffice.dao.admin.impl;
import com.palmelf.core.dao.impl.BaseDaoImpl;
import com.palmelf.eoffice.dao.admin.CarApplyDao;
import com.palmelf.eoffice.model.admin.CarApply;
public class CarApplyDaoImpl extends BaseDaoImpl<CarApply> implements
CarApplyDao {
public CarApplyDaoImpl() {
super(CarAppl... | 25.769231 | 69 | 0.802985 |
8741d9c417a1c819cc0de107c039919ae54f4c5d | 46,409 | html | HTML | src/gallery/person/francine/index.html | mikeludemann/css-art-gallery | 8d6bd3ed85b2bec8cd3acdf5fad3b97fe37e3684 | [
"MIT"
] | null | null | null | src/gallery/person/francine/index.html | mikeludemann/css-art-gallery | 8d6bd3ed85b2bec8cd3acdf5fad3b97fe37e3684 | [
"MIT"
] | null | null | null | src/gallery/person/francine/index.html | mikeludemann/css-art-gallery | 8d6bd3ed85b2bec8cd3acdf5fad3b97fe37e3684 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html>
<head>
<title>Francine</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div class="paper">
<div class="container">
<div class="tree">
<div class="leaf leaf001"></div>
<div class="leaf leaf002"></div>
<div class="leaf leaf003"></div>
<div class="leaf leaf... | 35.184989 | 49 | 0.565192 |
fca066e9cb7d3d2bac39d571f1fb0ca7b7a98b42 | 860 | swift | Swift | ProcessBar/ProcessBar/ViewController.swift | kaijendo/SwiftForEveryone | 1766ae60c84d9eaf9ebebb71863db0aa76b1298e | [
"MIT"
] | 2 | 2017-12-06T16:06:52.000Z | 2018-01-17T12:17:15.000Z | ProcessBar/ProcessBar/ViewController.swift | kaijendo/SwiftForEveryone | 1766ae60c84d9eaf9ebebb71863db0aa76b1298e | [
"MIT"
] | null | null | null | ProcessBar/ProcessBar/ViewController.swift | kaijendo/SwiftForEveryone | 1766ae60c84d9eaf9ebebb71863db0aa76b1298e | [
"MIT"
] | null | null | null | //
// ViewController.swift
// ProcessBar
//
// Created by Thuy Truong Quang on 6/20/18.
// Copyright © 2018 Thuy Truong Quang. All rights reserved.
//
import UIKit
class ViewController: UIViewController {
@IBOutlet weak var progressBarView: ProcessBarView!
var timer: Timer!
var progressCount... | 26.060606 | 137 | 0.677907 |
271c9ab8dada7994c354eda9619fdae4813b9b1f | 180 | c | C | tutorial/task3/1-static/build/password.c | mtorp/wasabi | 6cff805f78185a548873b4d31d4f0560bbf27464 | [
"MIT"
] | 294 | 2018-09-03T06:57:38.000Z | 2022-03-09T10:03:52.000Z | tutorial/task3/1-static/build/password.c | mtorp/wasabi | 6cff805f78185a548873b4d31d4f0560bbf27464 | [
"MIT"
] | 26 | 2018-09-04T09:03:49.000Z | 2021-02-26T09:43:07.000Z | tutorial/task3/1-static/build/password.c | mtorp/wasabi | 6cff805f78185a548873b4d31d4f0560bbf27464 | [
"MIT"
] | 31 | 2018-09-04T10:59:26.000Z | 2022-02-18T07:39:41.000Z | #include <emscripten.h>
#include <string.h>
char password[] = "WebAssembly is awesome";
EMSCRIPTEN_KEEPALIVE
int check(char input[]) {
return strcmp(input, password) == 0;
}
| 18 | 43 | 0.705556 |
26fcd3ace5ea77ef956b70b77783ef2322ac8d6d | 9,079 | dart | Dart | engine/lib/src/game.dart | JimWuerch/factorymatics | 1fdfb8e59c47d5f1b1f206c59ce4088277d91b61 | [
"MIT"
] | null | null | null | engine/lib/src/game.dart | JimWuerch/factorymatics | 1fdfb8e59c47d5f1b1f206c59ce4088277d91b61 | [
"MIT"
] | null | null | null | engine/lib/src/game.dart | JimWuerch/factorymatics | 1fdfb8e59c47d5f1b1f206c59ce4088277d91b61 | [
"MIT"
] | null | null | null | import 'dart:math';
import 'package:engine/engine.dart';
import 'package:engine/src/player/player_service.dart';
import 'package:tuple/tuple.dart';
import 'package:uuid/uuid.dart';
import 'turn.dart';
export 'turn.dart';
class Game {
static const int availableResourceCount = 6;
static const int level1MarketSize... | 27.429003 | 113 | 0.653486 |
0638352a17864a3370d47813585e396c94f9034b | 3,223 | kt | Kotlin | app-core/src/test/kotlin/testcase/vo/auth/UserAgentParserTest.kt | FrancescoJo/spring-board-demo | 9a3860f780a1c994fcc7f2bed1525a0d73a3fa64 | [
"Beerware"
] | 3 | 2020-07-20T23:58:21.000Z | 2021-06-23T11:36:28.000Z | app-core/src/test/kotlin/testcase/vo/auth/UserAgentParserTest.kt | FrancescoJo/spring-board-demo | 9a3860f780a1c994fcc7f2bed1525a0d73a3fa64 | [
"Beerware"
] | 56 | 2020-07-15T03:18:21.000Z | 2021-07-13T11:46:06.000Z | app-core/src/test/kotlin/testcase/vo/auth/UserAgentParserTest.kt | FrancescoJo/spring-board-demo | 9a3860f780a1c994fcc7f2bed1525a0d73a3fa64 | [
"Beerware"
] | 1 | 2022-01-19T04:57:56.000Z | 2022-01-19T04:57:56.000Z | /*
* spring-message-board-demo
* Refer to LICENCE.txt for licence details.
*/
package testcase.vo.auth
import com.github.fj.board.persistence.model.auth.PlatformType
import com.github.fj.board.vo.auth.UserAgent
import com.github.fj.lib.util.getRandomAlphaNumericString
import de.skuzzle.semantic.Version
import org.h... | 33.572917 | 124 | 0.617127 |
a9ba1c379327c5b125d0cfb924a0834c552d3af3 | 27,726 | html | HTML | crawler/pages/heuristic_2/Cinema_em_Cena/page_300.html | las33/Projeto-RI | 87376326af7886e84d059895be01e331ccf353dd | [
"MIT"
] | 1 | 2019-02-22T11:00:41.000Z | 2019-02-22T11:00:41.000Z | crawler/pages/heuristic_2/Cinema_em_Cena/page_300.html | las33/Projeto-RI | 87376326af7886e84d059895be01e331ccf353dd | [
"MIT"
] | null | null | null | crawler/pages/heuristic_2/Cinema_em_Cena/page_300.html | las33/Projeto-RI | 87376326af7886e84d059895be01e331ccf353dd | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<base href="http://cinemaemcena.cartacapital.com.br/">
<meta charset="utf-8">
<meta name="google-site-verification" content="k2w1AXdP01weHYZcxN7pxm9U9xcre1eC1LGrWEmCFAo" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, in... | 77.882022 | 9,395 | 0.735952 |
6aee18dda9b37260cdf35c807159126891b3f494 | 900 | sql | SQL | flinkx-examples/sql/elasticsearch7/es2es.sql | pick-stars/flinkx | dd3b03deb873f0a75ff1307fce7c9e2e5b518d77 | [
"ECL-2.0",
"Apache-2.0"
] | 3,101 | 2018-04-08T03:49:08.000Z | 2022-03-31T12:22:11.000Z | flinkx-examples/sql/elasticsearch7/es2es.sql | xueqianging/flinkx | a616488caa6970f178f84e65f572d6d68977edb9 | [
"ECL-2.0",
"Apache-2.0"
] | 507 | 2018-06-07T08:58:59.000Z | 2022-02-19T13:01:10.000Z | flinkx-examples/sql/elasticsearch7/es2es.sql | xueqianging/flinkx | a616488caa6970f178f84e65f572d6d68977edb9 | [
"ECL-2.0",
"Apache-2.0"
] | 1,326 | 2018-05-02T08:13:29.000Z | 2022-03-26T13:11:24.000Z | -- curl -XPOST 'localhost:9200/teachers/1' -H "Content-Type: application/json" -d '{
-- "id": "100",
-- "phone": "2345678765",
-- "qq": "7576457",
-- "wechat": "这是wechat",
-- "income": "1324.13",
-- "birthday": "2020-07-30 10:08:22",
-- "today": "2020-07-30",
-- "timecurrent": "12:08:22"
-- }'
CREATE TABLE es7_source(... | 19.565217 | 84 | 0.62 |
e9325343e982f36079aa6078e89223263e2f82fd | 1,164 | go | Go | internal/logstore/core/const.go | nanzm/golang-server | 8a65374dd29dcb67141397b4ba975aa5dd5c7602 | [
"MIT"
] | 1 | 2021-06-22T13:58:20.000Z | 2021-06-22T13:58:20.000Z | internal/logstore/core/const.go | nanzm/golang-server | 8a65374dd29dcb67141397b4ba975aa5dd5c7602 | [
"MIT"
] | null | null | null | internal/logstore/core/const.go | nanzm/golang-server | 8a65374dd29dcb67141397b4ba975aa5dd5c7602 | [
"MIT"
] | 1 | 2021-06-22T13:58:32.000Z | 2021-06-22T13:58:32.000Z | package core
const (
PvUvTotal = "pvUvTotal"
PvUvTrend = "pvUvTrend"
ErrorCount = "errorCount"
ErrorCountTrend = "errorCountTrend"
ApiErrorCount = "apiErrorCount"
ApiErrorTrend = "apiErrorTrend"
ApiErrorList = "apiErrorList"
ApiDuration = "apiDuration"
ApiDurationTrend = "apiDu... | 27.069767 | 48 | 0.682131 |
78f005d7ae423832b3d0220abc190d1ec4f971c3 | 377 | dart | Dart | lib/AlertDialogs/alert.dart | gelsonmarcelo/mobileapp-todo-list | d80a39dc57246a945a7e66d21e902e29a0cea6af | [
"Unlicense"
] | null | null | null | lib/AlertDialogs/alert.dart | gelsonmarcelo/mobileapp-todo-list | d80a39dc57246a945a7e66d21e902e29a0cea6af | [
"Unlicense"
] | null | null | null | lib/AlertDialogs/alert.dart | gelsonmarcelo/mobileapp-todo-list | d80a39dc57246a945a7e66d21e902e29a0cea6af | [
"Unlicense"
] | null | null | null | import 'package:flutter/material.dart';
showAlertDialog1(BuildContext context) {
//Configura o AlertDialog
AlertDialog alerta = AlertDialog(
title: Text("Tarefa em branco"),
content: Text("Não é possível criar uma tarefa vazia."),
);
//Exibe o dialog
showDialog(
context: context,
builder: (Bu... | 22.176471 | 60 | 0.676393 |
90c4d01531ea1ecdea423f285b40da7e3e9bac51 | 1,799 | py | Python | model_server.py | samsniderheld/Pose_Auto_Encoder | f744774ca74c015fe199a42f33088c437cecc2fe | [
"MIT"
] | null | null | null | model_server.py | samsniderheld/Pose_Auto_Encoder | f744774ca74c015fe199a42f33088c437cecc2fe | [
"MIT"
] | null | null | null | model_server.py | samsniderheld/Pose_Auto_Encoder | f744774ca74c015fe199a42f33088c437cecc2fe | [
"MIT"
] | null | null | null | from flask import Flask, current_app, request, send_file, Response
import json
import io
import base64
import numpy as np
import tensorflow as tf
from PIL import Image
import cv2
from scipy.spatial import distance
import scipy.misc
from keras.preprocessing import image
from Model.bone_variational_auto_encoder import cr... | 26.850746 | 92 | 0.742635 |
1c49676cef2dcceec8b58090c97701e2bc82634e | 18,700 | css | CSS | assets/production/boostrap2-full.min.css | Ayushi271/template-CVStart-Joomla | d1e27cd5e73c87594ee464d2c55cce649700ec9b | [
"MIT"
] | null | null | null | assets/production/boostrap2-full.min.css | Ayushi271/template-CVStart-Joomla | d1e27cd5e73c87594ee464d2c55cce649700ec9b | [
"MIT"
] | 2 | 2016-09-15T16:31:11.000Z | 2021-12-21T10:10:39.000Z | assets/production/boostrap2-full.min.css | Ayushi271/template-CVStart-Joomla | d1e27cd5e73c87594ee464d2c55cce649700ec9b | [
"MIT"
] | 2 | 2019-12-11T20:28:42.000Z | 2021-12-20T16:52:52.000Z | .btn.active,.btn:active,.btn:focus,.navbar .navbar-nav li a:focus,.navbar a:focus,.scroll-top .btn:focus{outline:0}body{overflow-x:hidden}body.index{padding-top:0!important;padding-left:0;padding-right:0}p{font-size:20px}p.small{font-size:16px}a,a.active,a:active,a:focus,a:hover{outline:0;color:#18bc9c}h1,h2,h3,h4,h5,h... | 9,350 | 18,699 | 0.850481 |
28d4f977a8e44bcd1924e03322e53f4042189556 | 598 | rb | Ruby | spec/player_spec.rb | rachelcoulter/test_driven_dungeons | f5c340b1d56c52ddc0e081df1b3ae2c01ede8a11 | [
"MIT"
] | null | null | null | spec/player_spec.rb | rachelcoulter/test_driven_dungeons | f5c340b1d56c52ddc0e081df1b3ae2c01ede8a11 | [
"MIT"
] | null | null | null | spec/player_spec.rb | rachelcoulter/test_driven_dungeons | f5c340b1d56c52ddc0e081df1b3ae2c01ede8a11 | [
"MIT"
] | 3 | 2020-10-24T17:09:07.000Z | 2020-10-25T20:01:34.000Z | RSpec.describe Player do
it "has name" do
name = "BoBo the Fat"
player = Player.new(name: name)
expect(player.name).to eq(name)
end
it "has characters" do
player = Player.new
character1 = {new: 'thing'}
player.add_character(character1)
expect(player.characters).to eq([character1])
... | 23.92 | 61 | 0.675585 |
5641c6855fa7da67865701064cd832983cb8c692 | 931 | kt | Kotlin | app/src/main/java/com/syleiman/gingermoney/core/works/WorksManagerImpl.kt | AlShevelev/ginger-money | 91ef2b9bd5c19043104734b588940841fa6f9f4f | [
"MIT"
] | null | null | null | app/src/main/java/com/syleiman/gingermoney/core/works/WorksManagerImpl.kt | AlShevelev/ginger-money | 91ef2b9bd5c19043104734b588940841fa6f9f4f | [
"MIT"
] | null | null | null | app/src/main/java/com/syleiman/gingermoney/core/works/WorksManagerImpl.kt | AlShevelev/ginger-money | 91ef2b9bd5c19043104734b588940841fa6f9f4f | [
"MIT"
] | null | null | null | package com.syleiman.gingermoney.core.works
import androidx.work.*
import com.syleiman.gingermoney.BuildConfig
import com.syleiman.gingermoney.core.works.update_currency_rate.UpdateCurrencyRatesWorker
import java.util.concurrent.TimeUnit
import javax.inject.Inject
class WorksManagerImpl
@Inject
constructor() : WorksM... | 34.481481 | 115 | 0.75725 |
5b374a69b7311dbc4e39d56462128637b7f8434c | 5,272 | c | C | src/fs/diskman.c | d1y/xbook2 | d7ab4ad7f18cacfbdb54e197b04bf8c7026d5767 | [
"MIT"
] | null | null | null | src/fs/diskman.c | d1y/xbook2 | d7ab4ad7f18cacfbdb54e197b04bf8c7026d5767 | [
"MIT"
] | null | null | null | src/fs/diskman.c | d1y/xbook2 | d7ab4ad7f18cacfbdb54e197b04bf8c7026d5767 | [
"MIT"
] | null | null | null | #include <xbook/list.h>
#include <xbook/diskman.h>
#include <xbook/memalloc.h>
#include <string.h>
#include <stdio.h>
LIST_HEAD(disk_list_head);
static int next_disk_solt = 0;
static int disk_solt_cache[DISK_MAN_SOLT_NR];
#define IS_BAD_SOLT(solt) \
(solt < 0 || solt >= DISK_MAN_SOLT_NR)
#define SOLT_TO_HAND... | 27.747368 | 82 | 0.584788 |
4011c72be9bddc9c49ed49dccc0a299fd499c079 | 2,077 | py | Python | model-optimizer/mo/front/caffe/extractors/batchnorm.py | tdp2110/dldt | 87f321c5365ed813e849ea0ed987354ef2c39743 | [
"Apache-2.0"
] | null | null | null | model-optimizer/mo/front/caffe/extractors/batchnorm.py | tdp2110/dldt | 87f321c5365ed813e849ea0ed987354ef2c39743 | [
"Apache-2.0"
] | null | null | null | model-optimizer/mo/front/caffe/extractors/batchnorm.py | tdp2110/dldt | 87f321c5365ed813e849ea0ed987354ef2c39743 | [
"Apache-2.0"
] | null | null | null | """
Copyright (c) 2018-2019 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 agreed to i... | 32.453125 | 91 | 0.682715 |
28e79ba39c84f200063e01b5bf32b0f7398b5eb8 | 189 | sql | SQL | gcp-test/tests/gcp_compute_url_map/test-get-query.sql | xanonid/steampipe-plugin-gcp | f0e6a76233c367d227e4b80f142035f174ff4e46 | [
"Apache-2.0"
] | 10 | 2021-01-21T19:06:58.000Z | 2022-03-14T06:25:51.000Z | gcp-test/tests/gcp_compute_url_map/test-get-query.sql | Leectan/steampipe-plugin-gcp | c000c1e234fd53e2c52243a44f64d0856bf6f60f | [
"Apache-2.0"
] | 191 | 2021-01-22T07:14:32.000Z | 2022-03-30T15:44:33.000Z | gcp-test/tests/gcp_compute_url_map/test-get-query.sql | Leectan/steampipe-plugin-gcp | c000c1e234fd53e2c52243a44f64d0856bf6f60f | [
"Apache-2.0"
] | 6 | 2021-05-04T21:29:31.000Z | 2021-11-11T20:21:03.000Z | select name, default_service, description, kind, self_link, location, project, location_type, tests, path_matchers, host_rules
from gcp.gcp_compute_url_map
where name = '{{ resourceName }}' | 63 | 126 | 0.804233 |
70aad6df5310b4620c17edd76b25bfa34811c31f | 94 | go | Go | config.go | egeback/playdownloader | 40f7eed9a6205ca766280d66fd378b67b3e21e16 | [
"MIT"
] | null | null | null | config.go | egeback/playdownloader | 40f7eed9a6205ca766280d66fd378b67b3e21e16 | [
"MIT"
] | null | null | null | config.go | egeback/playdownloader | 40f7eed9a6205ca766280d66fd378b67b3e21e16 | [
"MIT"
] | null | null | null | package playdownloader
//Config ...
func Config() string {
return "playdownloader config"
}
| 13.428571 | 31 | 0.734043 |
f06575457e1d8d7cde3e2e0fc17dca4086ab2b11 | 1,809 | js | JavaScript | www/js/index.js | rbravo/instaround | c89fe54678fc7738235c4cca444ddbddb22376a8 | [
"Apache-2.0"
] | null | null | null | www/js/index.js | rbravo/instaround | c89fe54678fc7738235c4cca444ddbddb22376a8 | [
"Apache-2.0"
] | null | null | null | www/js/index.js | rbravo/instaround | c89fe54678fc7738235c4cca444ddbddb22376a8 | [
"Apache-2.0"
] | null | null | null | /*
* 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")... | 42.069767 | 84 | 0.656716 |
12e502d1b81f72ba71ffb9d7a7c74a682191bcd0 | 3,767 | html | HTML | components/form/demo/input.html | ian-cuc/dd_ant_doc | cecb7ff87afed847b845047535af2debd3fb80d1 | [
"MIT"
] | null | null | null | components/form/demo/input.html | ian-cuc/dd_ant_doc | cecb7ff87afed847b845047535af2debd3fb80d1 | [
"MIT"
] | null | null | null | components/form/demo/input.html | ian-cuc/dd_ant_doc | cecb7ff87afed847b845047535af2debd3fb80d1 | [
"MIT"
] | null | null | null | <div class="code-box" id="demo-input">
<div class="code-box-demo">
<div id="components-form-demo-input"></div>
<script>mountNode = document.getElementById('components-form-demo-input');</script>
<script>(function(){"use strict";
var _antd = require("antd");
var InputGroup = _antd.Input.Group;
ReactDOM.... | 62.783333 | 336 | 0.651447 |
910dbd6b3695ffd8dddec30377e5f980cf5a944c | 650 | swift | Swift | shop_ke/HeaderReusableView.swift | emperorStorm/shop_ke | 318bcb3ad63cf0b86e664e94f9a578b4cc18a618 | [
"Apache-2.0"
] | null | null | null | shop_ke/HeaderReusableView.swift | emperorStorm/shop_ke | 318bcb3ad63cf0b86e664e94f9a578b4cc18a618 | [
"Apache-2.0"
] | null | null | null | shop_ke/HeaderReusableView.swift | emperorStorm/shop_ke | 318bcb3ad63cf0b86e664e94f9a578b4cc18a618 | [
"Apache-2.0"
] | null | null | null | //
// HeaderReusableView.swift
// shop_ke
//
// Created by mac on 16/3/16.
// Copyright © 2016年 peraytech. All rights reserved.
//
import UIKit
//创建一个分组头视图view
class HeaderReusableView: UICollectionReusableView {
var headerLb:UILabel!
override init(frame: CGRect) {
super.init(frame: frame)
... | 25 | 59 | 0.669231 |
6d02bf9331e364a02e08e4ecb56bcca96d029cd3 | 3,876 | lua | Lua | barebones/initfs/lua/scripts/states/common/display.lua | dlannan/ljos | 7c278f603700e021ec4d69564eff57fce486a115 | [
"Unlicense",
"MIT"
] | 60 | 2020-10-15T07:50:59.000Z | 2022-03-03T01:14:30.000Z | barebones/lua/lua/scripts/states/common/display.lua | dlannan/ljos | 7c278f603700e021ec4d69564eff57fce486a115 | [
"Unlicense",
"MIT"
] | 1 | 2020-11-22T21:59:43.000Z | 2020-11-29T01:22:47.000Z | barebones/lua/lua/scripts/states/common/display.lua | dlannan/ljos | 7c278f603700e021ec4d69564eff57fce486a115 | [
"Unlicense",
"MIT"
] | 3 | 2020-11-11T12:17:43.000Z | 2020-12-09T05:58:05.000Z | ------------------------------------------------------------------------------------------------------------
-- State - Display
--
-- Decription: Setup the display for the device
-- Includes SDL initialisation
-- Includes EGL initialisation
-- Inlcudes Shader initialisation
-------------------------... | 31.770492 | 109 | 0.383127 |
9bef4cd453f4f5ff03ab1eea00122d3aa836d48f | 190 | js | JavaScript | src/modules/productBatch/index.js | Bee-Reign/server-beereign | e8f06d958a33461458f4c5aec1d1f5132f7d4370 | [
"MIT"
] | null | null | null | src/modules/productBatch/index.js | Bee-Reign/server-beereign | e8f06d958a33461458f4c5aec1d1f5132f7d4370 | [
"MIT"
] | null | null | null | src/modules/productBatch/index.js | Bee-Reign/server-beereign | e8f06d958a33461458f4c5aec1d1f5132f7d4370 | [
"MIT"
] | null | null | null | const productBatchRouter = require('./productBatchRouter');
const ProductBatchService = require('./productBatchService');
module.exports = {
productBatchRouter,
ProductBatchService,
};
| 23.75 | 61 | 0.778947 |
da54dec99a7c68ea52de8e0a24edcefabbe9da3f | 1,156 | kt | Kotlin | src/bindings/jna/kotlin/src/test/kotlin/org/libelektra/key/UtilTest.kt | mandoway/libelektra | f1b341bbe3cf3ae75df4920282c80dd6ad1c679b | [
"BSD-3-Clause"
] | null | null | null | src/bindings/jna/kotlin/src/test/kotlin/org/libelektra/key/UtilTest.kt | mandoway/libelektra | f1b341bbe3cf3ae75df4920282c80dd6ad1c679b | [
"BSD-3-Clause"
] | null | null | null | src/bindings/jna/kotlin/src/test/kotlin/org/libelektra/key/UtilTest.kt | mandoway/libelektra | f1b341bbe3cf3ae75df4920282c80dd6ad1c679b | [
"BSD-3-Clause"
] | null | null | null | package org.libelektra.key
import org.junit.Test
import org.libelektra.Key
import org.libelektra.keyExt.forEachKeyName
import org.libelektra.keyExt.keyOf
import org.libelektra.keyExt.orNull
import kotlin.test.assertEquals
class UtilTest {
@Test
fun `keyOf with name and value, returns correct key`() {
... | 26.272727 | 94 | 0.608997 |
f37deaccb8bce5dc5696f1c93813ff24ec207e87 | 159 | sql | SQL | MobileCan.Database/scripts/20190111850-ceate-comoany-info.sql | robaElshazly/MobileCan | 88ecff172357e64bc9e351fd8d5f4108fb019121 | [
"MIT"
] | null | null | null | MobileCan.Database/scripts/20190111850-ceate-comoany-info.sql | robaElshazly/MobileCan | 88ecff172357e64bc9e351fd8d5f4108fb019121 | [
"MIT"
] | 2 | 2019-01-11T02:16:36.000Z | 2019-01-26T03:41:39.000Z | MobileCan.Database/scripts/20190111850-ceate-comoany-info.sql | robaElshazly/MobileCan | 88ecff172357e64bc9e351fd8d5f4108fb019121 | [
"MIT"
] | 1 | 2019-02-07T12:40:03.000Z | 2019-02-07T12:40:03.000Z | create table CompanyInfo(
Id int identity(1,1) Primary key,
Name nvarchar(200),
[Address] nvarchar(200),
[WorkingHours] nvarchar(max),
[Phone] nvarchar(10)
) | 22.714286 | 33 | 0.742138 |
0b9fa6b8eac70139650145aa00e7cb7eb8455c1b | 5,911 | py | Python | srfnef/tools/doc_gen/doc_generator.py | twj2417/srf | 63365cfd75199d70eea2273214a4fa580a9fdf2a | [
"Apache-2.0"
] | null | null | null | srfnef/tools/doc_gen/doc_generator.py | twj2417/srf | 63365cfd75199d70eea2273214a4fa580a9fdf2a | [
"Apache-2.0"
] | null | null | null | srfnef/tools/doc_gen/doc_generator.py | twj2417/srf | 63365cfd75199d70eea2273214a4fa580a9fdf2a | [
"Apache-2.0"
] | null | null | null | # encoding: utf-8
'''
@author: Minghao Guo
@contact: mh.guo0111@gmail.com
@software: basenef
@file: doc_generator.py
@date: 4/13/2019
@desc:
'''
import os
import sys
import time
from getpass import getuser
import matplotlib
import numpy as np
import json
from srfnef import Image, MlemFull
matplotlib.use('Agg')
autho... | 31.110526 | 99 | 0.607511 |
958c72ce2885e35b21d8dec077c0706d139be187 | 186 | swift | Swift | CodeSnippets/outlet_collection.swift | watanabetoshinori/SwiftCodeSnippets | 9d6928df5f4546a3b9e5960d993d952755bc82e7 | [
"MIT"
] | null | null | null | CodeSnippets/outlet_collection.swift | watanabetoshinori/SwiftCodeSnippets | 9d6928df5f4546a3b9e5960d993d952755bc82e7 | [
"MIT"
] | null | null | null | CodeSnippets/outlet_collection.swift | watanabetoshinori/SwiftCodeSnippets | 9d6928df5f4546a3b9e5960d993d952755bc82e7 | [
"MIT"
] | 1 | 2018-11-30T07:35:36.000Z | 2018-11-30T07:35:36.000Z | ---
title: "Swift IBOutlet Collection"
summary: "Connect an outlet collection to control objects."
completion-scope: ClassImplementation
---
@IBOutlet var <#name#>: [<#T##UIControl#>]!
| 23.25 | 59 | 0.725806 |
2030b3803e4c270414bfab91f6f841fc48eb5a87 | 786 | swift | Swift | Aletheia/Sources/ExtensionsUI/Extension+UIScrollView.swift | 5SMNOONMS5/Aletheia | bb600ccdfc42c0f064f516c25c42ddffe9edfc50 | [
"MIT"
] | 2 | 2019-04-21T08:19:06.000Z | 2020-02-13T10:21:50.000Z | Aletheia/Sources/ExtensionsUI/Extension+UIScrollView.swift | 5SMNOONMS5/Aletheia | bb600ccdfc42c0f064f516c25c42ddffe9edfc50 | [
"MIT"
] | null | null | null | Aletheia/Sources/ExtensionsUI/Extension+UIScrollView.swift | 5SMNOONMS5/Aletheia | bb600ccdfc42c0f064f516c25c42ddffe9edfc50 | [
"MIT"
] | null | null | null | //
// Extension+UIScrollView.swift
// Aletheia
//
// Created by stephen on 2019/6/27.
// Copyright © 2019 stephenchen. All rights reserved.
//
#if os(iOS)
import UIKit
extension AletheiaWrapper where Base: UIScrollView {
/// Update contentSize height while scroll view did finish layout all subviews
... | 29.111111 | 137 | 0.697201 |
3da78a530c527f7142af5b0c889e371ee2c35730 | 4,437 | kt | Kotlin | sentry-android-core/src/test/java/io/sentry/android/core/SentryAndroidTest.kt | audkar/sentry-java | d1029084e146b5ff02b1359e8bdf0a7252ebf2e5 | [
"MIT"
] | null | null | null | sentry-android-core/src/test/java/io/sentry/android/core/SentryAndroidTest.kt | audkar/sentry-java | d1029084e146b5ff02b1359e8bdf0a7252ebf2e5 | [
"MIT"
] | null | null | null | sentry-android-core/src/test/java/io/sentry/android/core/SentryAndroidTest.kt | audkar/sentry-java | d1029084e146b5ff02b1359e8bdf0a7252ebf2e5 | [
"MIT"
] | null | null | null | package io.sentry.android.core
import android.os.Bundle
import androidx.test.core.app.ApplicationProvider
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.eq
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.never
im... | 32.866667 | 119 | 0.68064 |
fb8b4945c163b5b4bc34c2ef1f1748020f8db4c3 | 640 | h | C | include/generic/bits/limits.h | LynnKirby/zeno | fb78f85a308b584448b637552a9fd0d131349041 | [
"CC0-1.0"
] | null | null | null | include/generic/bits/limits.h | LynnKirby/zeno | fb78f85a308b584448b637552a9fd0d131349041 | [
"CC0-1.0"
] | null | null | null | include/generic/bits/limits.h | LynnKirby/zeno | fb78f85a308b584448b637552a9fd0d131349041 | [
"CC0-1.0"
] | null | null | null | /*
* SPDX-License-Identifier: CC0-1.0
* bits/limits.h private header - private limits.h definitions
*/
#ifndef _BITS_LIMITS_H
#define _BITS_LIMITS_H
#define _LIBC_BOOL_WIDTH 8
#define _LIBC_CHAR_WIDTH 8
#define _LIBC_SHRT_WIDTH 16
#define _LIBC_INT_WIDTH 32
#ifdef __LONG_WIDTH__
#define _LIBC_LONG_WIDTH __LONG_W... | 19.393939 | 62 | 0.79375 |
40821c78040fb6de1f35a1b39f28b161b1d20c44 | 13,478 | py | Python | src/PBGWraps/Kernel/KernelModule.py | as1m0n/spheral | 4d72822f56aca76d70724c543d389d15ff6ca48e | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 19 | 2020-10-21T01:49:17.000Z | 2022-03-15T12:29:17.000Z | src/PBGWraps/Kernel/KernelModule.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 41 | 2020-09-28T23:14:27.000Z | 2022-03-28T17:01:33.000Z | src/PBGWraps/Kernel/KernelModule.py | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 5 | 2020-11-03T16:14:26.000Z | 2022-01-03T19:07:24.000Z | from pybindgen import *
from PBGutils import *
#-------------------------------------------------------------------------------
# The class to handle wrapping this module.
#-------------------------------------------------------------------------------
class Kernel:
#---------------------------------------------... | 57.110169 | 151 | 0.53361 |
92d51ff19a452c2029756105d09ad9a2eaceff7b | 308 | h | C | include/handleError.h | Daniel1993/tcpSocketLib | 39cefa9ca810aed723624ef4591218b5c7d7298e | [
"MIT"
] | 1 | 2021-04-01T15:09:16.000Z | 2021-04-01T15:09:16.000Z | include/handleError.h | Daniel1993/tcpSocketLib | 39cefa9ca810aed723624ef4591218b5c7d7298e | [
"MIT"
] | null | null | null | include/handleError.h | Daniel1993/tcpSocketLib | 39cefa9ca810aed723624ef4591218b5c7d7298e | [
"MIT"
] | null | null | null | #ifndef HANDLE_ERROR_H_GUARD_
#define HANDLE_ERROR_H_GUARD_
#include <stdio.h>
#define TSL_ADD_ERROR(...) \
tsl_err_flag = 1; sprintf(tsl_last_error_msg, __VA_ARGS__) \
\
//
extern __thread int tsl_err_flag;
extern __thread char tsl_last_error_msg[1024];
#endif /* HANDLE_ERROR_H_GUARD_ */ | 22 | 63 | 0.746753 |
8743221baa14a8f01e274d0169a352b9a5fb727f | 323 | htm | HTML | MariGold.HtmlParser.Tests/Html/mediaprintstyle.htm | SSgumS/MariGold.HtmlParser | bab921fcd262d28292b9e96e832e438075e2e521 | [
"MIT"
] | 7 | 2019-08-21T05:45:45.000Z | 2022-03-02T03:18:53.000Z | MariGold.HtmlParser.Tests/Html/mediaprintstyle.htm | SSgumS/MariGold.HtmlParser | bab921fcd262d28292b9e96e832e438075e2e521 | [
"MIT"
] | 2 | 2018-07-18T09:15:00.000Z | 2020-04-02T02:53:44.000Z | MariGold.HtmlParser.Tests/Html/mediaprintstyle.htm | SSgumS/MariGold.HtmlParser | bab921fcd262d28292b9e96e832e438075e2e521 | [
"MIT"
] | 1 | 2021-06-10T09:48:45.000Z | 2021-06-10T09:48:45.000Z | <html>
<head>
<style type="text/css">
h3 {
color: #f90;
}
@media print {
pre {
overflow-x: auto;
}
h3 {
color: #111;
}
}
</style>
</head>
<body><h3>Set your site filter</h3></body>
</ht... | 16.15 | 42 | 0.346749 |
44ba472678a2dbb1a2d89ebf957d01a2fd8a95e8 | 690 | asm | Assembly | data/types/names.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/types/names.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/types/names.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | TypeNames:
table_width 2, TypeNames
dw .Sound
dw .Fighting
dw .Flying
dw .Poison
dw .Ground
dw .Rock
dw .Bird
dw .Bug
dw .Ghost
REPT FIRE - GHOST - 1
dw .Normal
ENDR
dw .Fire
dw .Water
dw .Grass
dw .Electric
dw .Psychic
dw .Ice
dw .Dragon
assert_table_length NUM_TYPES
.Sound: db "SOUND@"
.Fig... | 15.333333 | 30 | 0.604348 |
2a067fc0388c9a35445ed4983269cb4d8ccb543a | 834 | java | Java | src/main/java/event/PTThreadEvent.java | nouredd2/marsara | cc1e19212a6374c72a72625849e017429030c3b7 | [
"MIT"
] | 1 | 2021-09-19T10:15:47.000Z | 2021-09-19T10:15:47.000Z | src/main/java/event/PTThreadEvent.java | nouredd2/marsara | cc1e19212a6374c72a72625849e017429030c3b7 | [
"MIT"
] | null | null | null | src/main/java/event/PTThreadEvent.java | nouredd2/marsara | cc1e19212a6374c72a72625849e017429030c3b7 | [
"MIT"
] | null | null | null | package event;
public class PTThreadEvent extends PTEvent {
private final int m_thread_num_; //! The vent's thread number
/**
* Constructor with event id, name, and thread number
*
* @param m_event_id_ The id of the event
* @param m_name_ The name of the event
* @param m_... | 27.8 | 78 | 0.600719 |
0cd683f42ed8ac8bf6cea58dd624e3cd947b496d | 2,472 | kt | Kotlin | app/src/main/java/uk/nhs/nhsx/covid19/android/app/settings/myarea/MyAreaActivity.kt | coderus-ltd/covid-19-app-android-ag-public | b74358684b9dbc0174890db896b93b0f7c6660a4 | [
"MIT"
] | null | null | null | app/src/main/java/uk/nhs/nhsx/covid19/android/app/settings/myarea/MyAreaActivity.kt | coderus-ltd/covid-19-app-android-ag-public | b74358684b9dbc0174890db896b93b0f7c6660a4 | [
"MIT"
] | null | null | null | app/src/main/java/uk/nhs/nhsx/covid19/android/app/settings/myarea/MyAreaActivity.kt | coderus-ltd/covid-19-app-android-ag-public | b74358684b9dbc0174890db896b93b0f7c6660a4 | [
"MIT"
] | null | null | null | package uk.nhs.nhsx.covid19.android.app.settings.myarea
import android.os.Bundle
import android.view.Menu
import android.view.MenuItem
import androidx.activity.viewModels
import androidx.lifecycle.observe
import kotlinx.android.synthetic.main.activity_my_area.localAuthorityOption
import kotlinx.android.synthetic.main.... | 36.352941 | 118 | 0.735032 |
bd1002376da05bc0e9194cb4a3da46af70693286 | 11,685 | dart | Dart | lib/src/pages/order/pages/details_orders_page.dart | hongvinhmobile/project_college_ec | 9957cbad56d371fba741d12bb791ff3d3ca6d651 | [
"MIT"
] | 9 | 2021-04-18T09:00:07.000Z | 2021-10-31T15:14:18.000Z | lib/src/pages/order/pages/details_orders_page.dart | lambiengcode/project_college_ec | 9957cbad56d371fba741d12bb791ff3d3ca6d651 | [
"MIT"
] | null | null | null | lib/src/pages/order/pages/details_orders_page.dart | lambiengcode/project_college_ec | 9957cbad56d371fba741d12bb791ff3d3ca6d651 | [
"MIT"
] | 2 | 2021-04-18T09:00:02.000Z | 2022-02-03T13:34:59.000Z | import 'package:van_transport/src/common/style.dart';
import 'package:van_transport/src/pages/merchant/controllers/order_merchant_controller.dart';
import 'package:van_transport/src/pages/order/controllers/order_controller.dart';
import 'package:van_transport/src/pages/order/widgets/cart_card.dart';
import 'package:flu... | 37.332268 | 151 | 0.429012 |
cfbb3f733036f4bf5ca9ba7a45b552f612dbe90e | 683 | swift | Swift | DrawingBoard/Brushes/PencilBrush.swift | geekecuador/Pizarras-Ecuador | ade19da32f68b856602f3c9315ec6ae0ea7afe4f | [
"MIT"
] | 139 | 2015-03-19T10:44:26.000Z | 2021-11-23T23:50:25.000Z | DrawingBoard/Brushes/PencilBrush.swift | andypan1314/DrawingBoard | 8aa686d802593febafa591e60519eda625fc399a | [
"MIT"
] | 5 | 2015-06-21T20:02:38.000Z | 2018-03-22T13:55:52.000Z | DrawingBoard/Brushes/PencilBrush.swift | andypan1314/DrawingBoard | 8aa686d802593febafa591e60519eda625fc399a | [
"MIT"
] | 53 | 2015-04-15T09:36:16.000Z | 2021-10-05T21:14:13.000Z | //
// PencilBrush.swift
// DrawingBoard
//
// Created by 张奥 on 15/3/18.
// Copyright (c) 2015年 zhangao. All rights reserved.
//
import UIKit
class PencilBrush: BaseBrush {
override func drawInContext(context: CGContextRef) {
if let lastPoint = self.lastPoint {
CGContextMoveToPoint(con... | 25.296296 | 69 | 0.644217 |
ce723fd4135cd6d2e2b9b94680b8f8d92521fec9 | 334 | swift | Swift | Error.swift | Tonku/Merchant-guide-to-the-galaxy-Swift | 9eaf4404807735738698979b6b0ca85deda54a38 | [
"MIT"
] | 1 | 2016-06-07T09:00:47.000Z | 2016-06-07T09:00:47.000Z | Error.swift | Tonku/Merchant-guide-to-the-galaxy-Swift | 9eaf4404807735738698979b6b0ca85deda54a38 | [
"MIT"
] | null | null | null | Error.swift | Tonku/Merchant-guide-to-the-galaxy-Swift | 9eaf4404807735738698979b6b0ca85deda54a38 | [
"MIT"
] | null | null | null | //
// Errors.swift
// galaxy
//
// Created by Tony Thomas on 02/05/16.
// Copyright © 2016 Tony Thomas. All rights reserved.
//
import Foundation
/**
The error typs
*/
enum Error : ErrorType{
case InvalidGalaxyNumber
case InvalidRomanNumber
case InvalidArabicNumber
case InvalidGalaxyToRoma... | 15.904762 | 54 | 0.694611 |
86bbadbb7ea8557b875511b21ec1a7a08d806a14 | 1,785 | rs | Rust | gtk4/src/subclass/scale.rs | zecakeh/gtk4-rs | e7fc677142343ac0cafcdddb67dc7d69c5b504a3 | [
"MIT-0",
"MIT"
] | null | null | null | gtk4/src/subclass/scale.rs | zecakeh/gtk4-rs | e7fc677142343ac0cafcdddb67dc7d69c5b504a3 | [
"MIT-0",
"MIT"
] | null | null | null | gtk4/src/subclass/scale.rs | zecakeh/gtk4-rs | e7fc677142343ac0cafcdddb67dc7d69c5b504a3 | [
"MIT-0",
"MIT"
] | null | null | null | // Take a look at the license at the top of the repository in the LICENSE file.
use glib::subclass::prelude::*;
use glib::translate::*;
use glib::Cast;
use super::range::RangeImpl;
use crate::{Range, Scale};
pub trait ScaleImpl: ScaleImplExt + RangeImpl {
fn get_layout_offsets(&self, scale: &Self::Type) -> (i32,... | 29.262295 | 91 | 0.592717 |
b26bb3f880bfeea0e3ea0d92cd830a0a05438ce3 | 1,439 | sql | SQL | db_library/compound_statements/fix_load_pending.sql | adrianmahjour/db2-samples | ff984aec81c5c08ce28443d896c0818cfae4f789 | [
"Apache-2.0"
] | 54 | 2019-08-02T13:15:07.000Z | 2022-03-21T17:36:48.000Z | db_library/compound_statements/fix_load_pending.sql | junsulee75/db2-samples | d9ee03101cad1f9167eebc1609b4151559124017 | [
"Apache-2.0"
] | 13 | 2019-07-26T13:51:16.000Z | 2022-03-25T21:43:52.000Z | db_library/compound_statements/fix_load_pending.sql | junsulee75/db2-samples | d9ee03101cad1f9167eebc1609b4151559124017 | [
"Apache-2.0"
] | 75 | 2019-07-20T04:53:24.000Z | 2022-03-23T20:56:55.000Z | --# Copyright IBM Corp. All Rights Reserved.
--# SPDX-License-Identifier: Apache-2.0
/*
* For all tables in LOAD PENDING state, TERMINATE their outstanding LOAD command
*
* Note that this code also skips past any tables that are currently being LOADed to avoid getting a lock wait on the call to ADMIN_GET_TAB_INFO
... | 31.282609 | 144 | 0.548297 |
91a50d14d99e2d5bedbd7be1e20bb03ad0c7f169 | 785 | tab | SQL | CZ-9x9-CMR/2-8-ES-10STATES-60CMR15.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | CZ-9x9-CMR/2-8-ES-10STATES-60CMR15.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | CZ-9x9-CMR/2-8-ES-10STATES-60CMR15.tab | bidlom/Mendel2019-ES | 24632a8582e2b18bd8367ecb599c9d4b58e7d7da | [
"BSD-3-Clause"
] | null | null | null | 2 10
0 0 0 0 9 6
0 0 0 2 0 1
0 0 0 3 0 1
0 0 0 4 0 1
0 0 0 4 1 1
0 0 1 0 0 9
0 0 1 1 0 9
0 0 1 1 9 9
0 0 1 3 0 9
0 0 4 2 1 1
0 0 6 0 4 4
0 0 6 0 9 4
0 0 9 2 2 4
0 0 9 2 4 4
0 1 1 2 1 2
0 2 0 0 2 2
0 2 0 0 3 2
0 2 0 0 6 2
0 3 6 0 0 9
0 4 3 0 0 9
0 6 0 0 0 3
0 6 0 0 2 2
0 6 0 0 6 2
0 9 0 0 0 6
0 9 3 0 0 4
0 9 6 0 0 4
1 0... | 11.716418 | 11 | 0.500637 |
0286e3cc5e963d8600a0dcdc2db4941bf629c672 | 260 | sql | SQL | SQL/Database/Files/move_tempdb.sql | vanwinkelseppe/useful-scripts | 0dcecf7e4bab5fd900d69b51fe701a533a2e93cd | [
"Unlicense"
] | null | null | null | SQL/Database/Files/move_tempdb.sql | vanwinkelseppe/useful-scripts | 0dcecf7e4bab5fd900d69b51fe701a533a2e93cd | [
"Unlicense"
] | null | null | null | SQL/Database/Files/move_tempdb.sql | vanwinkelseppe/useful-scripts | 0dcecf7e4bab5fd900d69b51fe701a533a2e93cd | [
"Unlicense"
] | null | null | null | USE master;
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = tempdev, FILENAME = 'new_path\os_file_name.mdf');
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = templog, FILENAME = 'new_path\os_file_name.ldf');
GO
-------------
-- RESTART --
------------- | 23.636364 | 71 | 0.630769 |
9bd62a8d2a80d9d759838ba9b396801a5bff655b | 1,495 | js | JavaScript | public/js/script.js | AlejandroEstarlich/pontioDescarga | bca127641001735c6a0f1ea2ea0bd4bcb85a32bc | [
"MIT"
] | null | null | null | public/js/script.js | AlejandroEstarlich/pontioDescarga | bca127641001735c6a0f1ea2ea0bd4bcb85a32bc | [
"MIT"
] | null | null | null | public/js/script.js | AlejandroEstarlich/pontioDescarga | bca127641001735c6a0f1ea2ea0bd4bcb85a32bc | [
"MIT"
] | null | null | null | function calculo(){
var potenciaInstalada = $('#potencia_instalada');
var pagoMensual = $('#pago_mensual').val();
var potenciaContratada = $('#potencia_contratada').val();
var numeroPaneles = $('#numero_paneles');
var superficieNecesaria = $('#superficie_necesaria');
var ahorroAnual = $('#ahorro_anual');
var co... | 36.463415 | 131 | 0.763211 |
1318365a4a8d1f36f4d26e8d41f8948b4f0c01b2 | 5,192 | c | C | uboot/u-boot-2011.12/arch/arm/cpu/armv7/am33xx/emif4.c | spartan263/vizio_oss | 74270002d874391148119b48882db6816e7deedc | [
"Linux-OpenIB"
] | 4 | 2016-07-01T04:50:02.000Z | 2021-11-14T21:29:42.000Z | uboot/u-boot-2011.12/arch/arm/cpu/armv7/am33xx/emif4.c | spartan263/vizio_oss | 74270002d874391148119b48882db6816e7deedc | [
"Linux-OpenIB"
] | null | null | null | uboot/u-boot-2011.12/arch/arm/cpu/armv7/am33xx/emif4.c | spartan263/vizio_oss | 74270002d874391148119b48882db6816e7deedc | [
"Linux-OpenIB"
] | null | null | null | /*
* emif4.c
*
* AM33XX emif4 configuration file
*
* Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either ve... | 25.70297 | 75 | 0.735747 |
43581d7bece9e508ac95c1246475d541a935d3fa | 325 | swift | Swift | FiveCalls/FiveCalls/NotificationNames.swift | skeptycal/ios | 943c3953025337c9be334f421f1d83eb7ce6c10b | [
"MIT"
] | 143 | 2017-01-30T22:55:17.000Z | 2021-11-08T13:02:36.000Z | FiveCalls/FiveCalls/NotificationNames.swift | skeptycal/ios | 943c3953025337c9be334f421f1d83eb7ce6c10b | [
"MIT"
] | 274 | 2017-02-02T02:11:46.000Z | 2022-01-25T00:47:52.000Z | FiveCalls/FiveCalls/NotificationNames.swift | skeptycal/ios | 943c3953025337c9be334f421f1d83eb7ce6c10b | [
"MIT"
] | 68 | 2017-01-31T03:39:37.000Z | 2022-02-07T14:47:57.000Z | //
// NotificationNames.swift
// FiveCalls
//
// Created by Christopher Brandow on 2/1/17.
// Copyright © 2017 5calls. All rights reserved.
//
import Foundation
extension Notification.Name {
static let locationChanged = Notification.Name("locationChanged")
static let callMade = Notification.Name("callMade... | 21.666667 | 69 | 0.729231 |
77555fe2318a9259b87d1d5196b7492b759406d7 | 18,634 | kt | Kotlin | openrndr-ktessellation/src/commonMain/kotlin/Render.kt | reinvdwoerd/openrndr | 83d7ce4b53b205b54a0cbcae57f60c7a6280d34d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | openrndr-ktessellation/src/commonMain/kotlin/Render.kt | reinvdwoerd/openrndr | 83d7ce4b53b205b54a0cbcae57f60c7a6280d34d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | openrndr-ktessellation/src/commonMain/kotlin/Render.kt | reinvdwoerd/openrndr | 83d7ce4b53b205b54a0cbcae57f60c7a6280d34d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | package org.openrndr.ktessellation
internal object Render {
private const val USE_OPTIMIZED_CODE_PATH = false
private val renderFan = RenderFan()
private val renderStrip = RenderStrip()
private val renderTriangle = RenderTriangle()
/************************ Strips and Fans decomposition */ /* __... | 36.042553 | 174 | 0.525008 |
5e3dc344756c7ea5f98e9d9c273bfb8bd13f0c93 | 8,299 | swift | Swift | Waller/Waller/WalletFunctions/MMSlidingButton.swift | vinzaceto/madeInChain | ce09030a12e990ee17b48a1b90e8eff6ab51e16c | [
"Apache-2.0"
] | 5 | 2018-04-10T21:27:40.000Z | 2019-07-29T13:01:52.000Z | Waller/Waller/WalletFunctions/MMSlidingButton.swift | vinzaceto/madeInChain | ce09030a12e990ee17b48a1b90e8eff6ab51e16c | [
"Apache-2.0"
] | null | null | null | Waller/Waller/WalletFunctions/MMSlidingButton.swift | vinzaceto/madeInChain | ce09030a12e990ee17b48a1b90e8eff6ab51e16c | [
"Apache-2.0"
] | null | null | null | //
// MMSlidingButton.swift
// Waller
//
// Created by Vincenzo Aceto on 16/02/2018.
// Copyright © 2018 madeinchain. All rights reserved.
//
import Foundation
import UIKit
protocol SlideButtonDelegate{
func buttonStatus(unlocked: Bool, sender:MMSlidingButton)
}
@IBDesignable class MMSlidingButton: UIView{
... | 36.559471 | 189 | 0.573925 |
3b94c0532e18991e3b3d8dea71a060ccfd943c8d | 1,284 | h | C | src/afm-db.h | tonyho/app-framework-main | cdcf4b4caa5d02a626c2e7075126e395a72f58a0 | [
"Apache-2.0"
] | null | null | null | src/afm-db.h | tonyho/app-framework-main | cdcf4b4caa5d02a626c2e7075126e395a72f58a0 | [
"Apache-2.0"
] | null | null | null | src/afm-db.h | tonyho/app-framework-main | cdcf4b4caa5d02a626c2e7075126e395a72f58a0 | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2015, 2016 IoT.bzh
author: José Bollo <jose.bollo@iot.bzh>
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... | 36.685714 | 94 | 0.792056 |
7157ad78942b9c3a7437618da2cd9c7f743f8c69 | 301 | ts | TypeScript | src/app/models/enums/shiftday.enums.ts | datmaAtmanEuler/VietGoal2 | e5eea52ca401ed963e95dcd592a4e2750c4fff95 | [
"MIT"
] | null | null | null | src/app/models/enums/shiftday.enums.ts | datmaAtmanEuler/VietGoal2 | e5eea52ca401ed963e95dcd592a4e2750c4fff95 | [
"MIT"
] | 6 | 2021-09-02T06:13:54.000Z | 2022-03-02T07:16:56.000Z | src/app/models/enums/shiftday.enums.ts | datmaAtmanEuler/VietGoal2 | e5eea52ca401ed963e95dcd592a4e2750c4fff95 | [
"MIT"
] | null | null | null | export enum ShiftDay {
'MORNING' = 1,
'AFTERNOON' = 2,
'EVENING' = 3
}
export function ShiftDayToList(): ShiftDay[] {
return [ShiftDay.MORNING, ShiftDay.AFTERNOON, ShiftDay.EVENING];
}
export function ShiftDayToListName(): string[] {
return ['MORNING', 'AFTERNOON', 'EVENING'];
} | 23.153846 | 68 | 0.664452 |
a9ccbdb14efc71a1eb9b650fccbaa86baa2f8151 | 47,940 | html | HTML | datafiles/CaseAnalysis/2010/2010_I_23.html | athityakumar/harvey | 3102656e4adeb939217e9eb5b85e002a2fc84136 | [
"MIT"
] | 2 | 2019-02-08T22:24:41.000Z | 2022-02-16T11:59:52.000Z | datafiles/CaseAnalysis/2010/2010_I_23.html | athityakumar/harvey | 3102656e4adeb939217e9eb5b85e002a2fc84136 | [
"MIT"
] | 11 | 2019-02-05T11:53:05.000Z | 2019-03-05T15:57:19.000Z | datafiles/CaseAnalysis/2010/2010_I_23.html | athityakumar/harvey | 3102656e4adeb939217e9eb5b85e002a2fc84136 | [
"MIT"
] | 3 | 2019-03-02T15:09:35.000Z | 2022-01-25T07:01:03.000Z | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" class="pinned"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Indowind Energy Limited v Wescare (India) Limited and Another | Westlaw India</title><!--
... | 773.225806 | 25,094 | 0.756362 |
4efc1b689535066d3f217afcb2afdd822188ee9e | 1,242 | swift | Swift | Sources/Controllers/Stream/Calculators/CellSizeCalculator.swift | turlodales/ello-ios | 55cb128f2785b5896094d5171c65a40dc0304d5f | [
"MIT"
] | 811 | 2016-06-02T20:12:08.000Z | 2022-03-30T03:32:03.000Z | Sources/Controllers/Stream/Calculators/CellSizeCalculator.swift | turlodales/ello-ios | 55cb128f2785b5896094d5171c65a40dc0304d5f | [
"MIT"
] | 258 | 2016-06-03T14:24:32.000Z | 2022-02-24T12:17:21.000Z | Sources/Controllers/Stream/Calculators/CellSizeCalculator.swift | turlodales/ello-ios | 55cb128f2785b5896094d5171c65a40dc0304d5f | [
"MIT"
] | 113 | 2016-06-02T20:17:44.000Z | 2022-02-10T16:20:38.000Z | ////
/// CellSizeCalculator.swift
//
class CellSizeCalculator: NSObject {
var cellItem: StreamCellItem
var width: CGFloat
var columnCount: Int
private var completion: Block!
init(item: StreamCellItem, width: CGFloat, columnCount: Int) {
self.cellItem = item
self.width = width
... | 25.875 | 75 | 0.6562 |
98b55e1a3cea22f67f87be2d6f459b8cd14af869 | 2,487 | html | HTML | bits/Kammanirodhasutta.html | minowani/minowani.github.io | 4a473ca417f9eb41dd678643fb016e7dbd8e4696 | [
"MIT"
] | null | null | null | bits/Kammanirodhasutta.html | minowani/minowani.github.io | 4a473ca417f9eb41dd678643fb016e7dbd8e4696 | [
"MIT"
] | 1 | 2016-12-20T07:52:19.000Z | 2016-12-20T07:54:51.000Z | bits/Kammanirodhasutta.html | minowani/minowani.github.io | 4a473ca417f9eb41dd678643fb016e7dbd8e4696 | [
"MIT"
] | null | null | null | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Minowani's Writings on Dhamma"... | 45.218182 | 304 | 0.727784 |
3e8b04d3fb89e05df63db00cd732b270327375d3 | 306,711 | sql | SQL | SQL Project (Entrega 1)/HABProject.sql | Marioblancocid/HABProject | 50bf95fbc18605d6355b14975c3aeaa9aa20d2cc | [
"MIT"
] | null | null | null | SQL Project (Entrega 1)/HABProject.sql | Marioblancocid/HABProject | 50bf95fbc18605d6355b14975c3aeaa9aa20d2cc | [
"MIT"
] | 3 | 2021-10-06T19:43:42.000Z | 2022-02-27T07:57:58.000Z | SQL Project (Entrega 1)/HABProject.sql | Marioblancocid/HABProject | 50bf95fbc18605d6355b14975c3aeaa9aa20d2cc | [
"MIT"
] | null | null | null | create database HABProject;
use HABProject;
create table users (
id int primary key auto_increment,
first_name varchar(255) not null,
second_name varchar(255) not null,
user_password varchar(255) not null,
user_img varchar(255) not null,
birth_date date not null,
adress varchar(255) not null,
... | 1,170.652672 | 30,634 | 0.699789 |
df971090c0029245cdfe340a8d084560e4154f86 | 1,328 | ts | TypeScript | src/main.ts | andbet39/Angular2Sensor | 60e2d9592e39e7e6c38e3b8b886db9b9cd0e722d | [
"MIT"
] | null | null | null | src/main.ts | andbet39/Angular2Sensor | 60e2d9592e39e7e6c38e3b8b886db9b9cd0e722d | [
"MIT"
] | null | null | null | src/main.ts | andbet39/Angular2Sensor | 60e2d9592e39e7e6c38e3b8b886db9b9cd0e722d | [
"MIT"
] | null | null | null | import 'jquery';
require("font-awesome-webpack");
import 'bootstrap-loader';
import 'socket.io-client';
import 'd3';
import 'nvd3';
import {provide, enableProdMode} from 'angular2/core';
import {bootstrap, ELEMENT_PROBE_PROVIDERS} from 'angular2/platform/browser';
import {ROUTER_PROVIDERS, LocationStrategy, HashLocat... | 28.255319 | 99 | 0.733434 |
e94018f8f1c67f54a7134e2489570e7f87dc6ca9 | 3,874 | go | Go | CryptoVote/CryptoNote1/one_time_key.go | mottla/CryptoVote | be1d52e673d316b74f28a406a836fb7c685a5be3 | [
"MIT"
] | 1 | 2019-02-21T02:57:04.000Z | 2019-02-21T02:57:04.000Z | CryptoVote/CryptoNote1/one_time_key.go | mottla/CryptoVote | be1d52e673d316b74f28a406a836fb7c685a5be3 | [
"MIT"
] | 1 | 2018-05-25T14:16:27.000Z | 2018-05-25T14:16:27.000Z | CryptoVote/CryptoNote1/one_time_key.go | mottla/CryptoVote | be1d52e673d316b74f28a406a836fb7c685a5be3 | [
"MIT"
] | null | null | null | // Copyright (c) 2018-2019 by mottla
// Use of this source code is governed by an MIT
// license that can be found in the LICENSE file.
package CryptoNote1
import (
"math/big"
"hash"
"crypto/elliptic"
//"crypto/ecdsa"
"github.com/CryptoVote/CryptoVote/CryptoNote1/edwards"
)
//takes an elliptic Curve and a publ... | 32.016529 | 132 | 0.681466 |
9175ca472fb9873c4f3cb298bd3e5d10cd3a1f3e | 416 | html | HTML | libs/editor/src/lib/ide/ide.component.html | PlanX-Universe/frontend-services | 5884324538a0dafc7abb1ab614bbdd4787f4e1b2 | [
"MIT"
] | null | null | null | libs/editor/src/lib/ide/ide.component.html | PlanX-Universe/frontend-services | 5884324538a0dafc7abb1ab614bbdd4787f4e1b2 | [
"MIT"
] | null | null | null | libs/editor/src/lib/ide/ide.component.html | PlanX-Universe/frontend-services | 5884324538a0dafc7abb1ab614bbdd4787f4e1b2 | [
"MIT"
] | null | null | null | <ace-editor fxFill
planxPlanningDnd
#ace
[(text)]="code"
[mode]="codeMode"
[theme]="'nord_dark'"
[options]="options"
[readOnly]="readOnly"
[autoUpdateContent]="true"
[durationBeforeCallback]="1000"
(t... | 29.714286 | 49 | 0.497596 |
14d4a607f551c40698f5388dc4de787abb05a094 | 1,676 | swift | Swift | ConnpassAttendanceChecker/Common/Model/Entity/Event.swift | marty-suzuki/ConnpassAttendanceChecker | ccf51ca56b6ad2cee2cae734f11a444cab3537a2 | [
"MIT"
] | 13 | 2018-04-14T02:01:08.000Z | 2018-09-21T11:11:33.000Z | ConnpassAttendanceChecker/Common/Model/Entity/Event.swift | marty-suzuki/ConnpassAttendanceChecker | ccf51ca56b6ad2cee2cae734f11a444cab3537a2 | [
"MIT"
] | null | null | null | ConnpassAttendanceChecker/Common/Model/Entity/Event.swift | marty-suzuki/ConnpassAttendanceChecker | ccf51ca56b6ad2cee2cae734f11a444cab3537a2 | [
"MIT"
] | null | null | null | //
// Event.swift
// ConnpassAttendanceChecker
//
// Created by marty-suzuki on 2018/04/07.
// Copyright © 2018年 marty-suzuki. All rights reserved.
//
import Foundation
import Kanna
struct Event {
var id: Int
var title: String
var participants: [Participant]
}
extension Event: Decodable {
private... | 29.403509 | 85 | 0.519093 |
6cf26c422a13f909a3b44cf9d2b5cacec4c78d73 | 2,956 | go | Go | metrics_collector.go | RomanIschenko/notify | 7bd8d5ab21419f08a1ccf02a025373bcb4bceba3 | [
"Apache-2.0"
] | 11 | 2020-12-06T17:25:11.000Z | 2020-12-17T17:37:26.000Z | metrics_collector.go | RomanIschenko/notify | 7bd8d5ab21419f08a1ccf02a025373bcb4bceba3 | [
"Apache-2.0"
] | null | null | null | metrics_collector.go | RomanIschenko/notify | 7bd8d5ab21419f08a1ccf02a025373bcb4bceba3 | [
"Apache-2.0"
] | 2 | 2020-12-06T17:25:16.000Z | 2020-12-12T17:19:33.000Z | package swirl
import "sync"
type localMetrics struct {
collector *metricsCollector
}
func (l localMetrics) Clients() IDList {
return variadicIdList{
count: func(list IDList) int {
return l.collector.countClients()
},
array: func(list IDList) []string {
return l.collector.getClients()
},
}
}
func (l... | 19.194805 | 61 | 0.661705 |
f3d0af4b75f2ba817a9db33005f2b66183849ec5 | 572 | kt | Kotlin | app/src/main/java/uk/nhs/nhsx/covid19/android/app/onboarding/WelcomeViewModel.kt | coderus-ltd/covid-19-app-android-ag-public | b74358684b9dbc0174890db896b93b0f7c6660a4 | [
"MIT"
] | 136 | 2020-08-13T13:01:00.000Z | 2021-03-11T11:28:38.000Z | app/src/main/java/uk/nhs/nhsx/covid19/android/app/onboarding/WelcomeViewModel.kt | coderus-ltd/covid-19-app-android-ag-public | b74358684b9dbc0174890db896b93b0f7c6660a4 | [
"MIT"
] | 41 | 2020-08-14T15:55:08.000Z | 2021-03-11T09:07:44.000Z | app/src/main/java/uk/nhs/nhsx/covid19/android/app/onboarding/WelcomeViewModel.kt | coderus-ltd/covid-19-app-android-ag-public | b74358684b9dbc0174890db896b93b0f7c6660a4 | [
"MIT"
] | 26 | 2020-08-13T13:37:33.000Z | 2021-02-19T11:08:12.000Z | package uk.nhs.nhsx.covid19.android.app.onboarding
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import javax.inject.Inject
class WelcomeViewModel @Inject constructor() : ViewModel() {
private val showDialogLiveData: MutableLiveData<Boolean> = Mu... | 27.238095 | 80 | 0.769231 |
9473faa83b38f5e45289b2807c8d3032d294a412 | 424 | rs | Rust | libsodium-sys/tests/crypto/crypto_shorthash_siphash24.rs | Doout/sodiumoxide | fcae1827e508273d4c22dcbca0a76bc0be61e7ea | [
"Apache-2.0",
"MIT"
] | 380 | 2018-05-08T09:50:08.000Z | 2022-03-25T01:51:00.000Z | libsodium-sys/tests/crypto/crypto_shorthash_siphash24.rs | Doout/sodiumoxide | fcae1827e508273d4c22dcbca0a76bc0be61e7ea | [
"Apache-2.0",
"MIT"
] | 279 | 2018-05-07T18:45:12.000Z | 2021-12-13T12:05:07.000Z | libsodium-sys/tests/crypto/crypto_shorthash_siphash24.rs | Doout/sodiumoxide | fcae1827e508273d4c22dcbca0a76bc0be61e7ea | [
"Apache-2.0",
"MIT"
] | 97 | 2018-05-08T08:11:21.000Z | 2022-03-16T10:13:34.000Z | // crypto_shorthash_siphash24.h
use libsodium_sys::*;
#[test]
fn test_crypto_shorthash_siphash24_bytes() {
assert!(
unsafe { crypto_shorthash_siphash24_bytes() } == crypto_shorthash_siphash24_BYTES as usize
)
}
#[test]
fn test_crypto_shorthash_siphash24_keybytes() {
assert!(
unsafe { cryp... | 22.315789 | 98 | 0.716981 |
38dc84d92672dd21ce3a2ddc21917d56809d42ad | 5,023 | h | C | util.h | omegaup/omegajail | 741e5828709ba896f09b70f65beb66169299f471 | [
"BSD-3-Clause"
] | null | null | null | util.h | omegaup/omegajail | 741e5828709ba896f09b70f65beb66169299f471 | [
"BSD-3-Clause"
] | 2 | 2018-10-09T14:03:30.000Z | 2022-02-22T14:36:41.000Z | util.h | omegaup/omegajail | 741e5828709ba896f09b70f65beb66169299f471 | [
"BSD-3-Clause"
] | 3 | 2017-10-16T02:08:38.000Z | 2018-10-09T13:18:17.000Z | #ifndef UTIL_H_
#define UTIL_H_
#include <sys/mman.h>
#include <sys/types.h>
#include <memory>
#include <string>
#include <string_view>
#include <vector>
#include "macros.h"
class ScopedFD {
public:
static constexpr int kInvalidFd = -1;
explicit ScopedFD(int fd = kInvalidFd);
~ScopedFD();
ScopedFD(ScopedF... | 24.743842 | 78 | 0.696994 |
7514412b69be1fe09757736eb346d7b797abf7ed | 480 | h | C | Polyform/PFAudioHandler.h | warrenwhipple/polyform | bed5a9a8062c101a276558b73e08269fff874ec0 | [
"MIT"
] | null | null | null | Polyform/PFAudioHandler.h | warrenwhipple/polyform | bed5a9a8062c101a276558b73e08269fff874ec0 | [
"MIT"
] | 1 | 2018-08-12T13:36:26.000Z | 2018-08-12T13:36:26.000Z | Polyform/PFAudioHandler.h | warrenwhipple/polyform | bed5a9a8062c101a276558b73e08269fff874ec0 | [
"MIT"
] | null | null | null | //
// PFAudioHandler.h
// Polyform
//
// Created by Warren Whipple on 1/14/13.
// Copyright (c) 2013 Warren Whipple. All rights reserved.
//
@interface PFAudioHandler : NSObject
@property (readonly, nonatomic) int loopFrameCount;
- (void)transitionToNewInstrumentCount:(int)instrumentCount;
- (void)updateWithIns... | 20 | 70 | 0.766667 |
dd15d9eb0cc30eac2845ee7123ae6ca0b375e3de | 3,723 | dart | Dart | src/kanban_flutter/lib/features/boards/presentation/pages/detail/components/create_column_form.dart | krzysztoftalar/kanban-board | 02ac6f74a842487b4af444306d40ac6fa5b1afb0 | [
"MIT"
] | 2 | 2021-01-06T13:19:09.000Z | 2021-01-06T13:19:12.000Z | src/kanban_flutter/lib/features/boards/presentation/pages/detail/components/create_column_form.dart | krzysztoftalar/kanban-board | 02ac6f74a842487b4af444306d40ac6fa5b1afb0 | [
"MIT"
] | null | null | null | src/kanban_flutter/lib/features/boards/presentation/pages/detail/components/create_column_form.dart | krzysztoftalar/kanban-board | 02ac6f74a842487b4af444306d40ac6fa5b1afb0 | [
"MIT"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../../../../../../common/widgets/index.dart';
import '../../../../../../core/validators/boards_validators.dart';
import '../../../../../../style/index.dart';
import '../../../../domain/entities/index.dart';
import '../../.... | 24.493421 | 68 | 0.599785 |
0603aefa67d106c5ad122a79949c05ac1a9aa2dc | 1,600 | rs | Rust | src/saturate.rs | mx00s/arith_traits | 4eeb3aad20ed63ecefe36c0ee686cac4f324cf47 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/saturate.rs | mx00s/arith_traits | 4eeb3aad20ed63ecefe36c0ee686cac4f324cf47 | [
"Apache-2.0",
"MIT"
] | null | null | null | src/saturate.rs | mx00s/arith_traits | 4eeb3aad20ed63ecefe36c0ee686cac4f324cf47 | [
"Apache-2.0",
"MIT"
] | 1 | 2020-12-19T17:45:00.000Z | 2020-12-19T17:45:00.000Z | // suppress `use_self` recommendation; unavoidable in macro context
#![allow(clippy::use_self)]
#[cfg(test)]
mod unit_tests;
pub trait Saturate<T = Self> {
type Output;
fn saturating_abs(self) -> Self::Output;
fn saturating_add(self, rhs: T) -> Self::Output;
fn saturating_div(self, rhs: T) -> Self::O... | 28.571429 | 72 | 0.55375 |
7c7de2a4e9cfcb4ef10e0df7cdec88d787e80348 | 5,891 | kt | Kotlin | server/server-app/src/test/kotlin/projektor/repository/testrun/RepositoryTestRunDatabaseRepositoryTimelineTest.kt | msanssouci/projektor | ed965b63257dcd157234f74c79d97819fd4ae7a7 | [
"MIT"
] | 33 | 2019-12-30T14:48:54.000Z | 2022-02-12T20:56:29.000Z | server/server-app/src/test/kotlin/projektor/repository/testrun/RepositoryTestRunDatabaseRepositoryTimelineTest.kt | msanssouci/projektor | ed965b63257dcd157234f74c79d97819fd4ae7a7 | [
"MIT"
] | 390 | 2020-02-14T22:23:40.000Z | 2022-03-25T22:42:59.000Z | server/server-app/src/test/kotlin/projektor/repository/testrun/RepositoryTestRunDatabaseRepositoryTimelineTest.kt | msanssouci/projektor | ed965b63257dcd157234f74c79d97819fd4ae7a7 | [
"MIT"
] | 9 | 2020-01-23T16:52:03.000Z | 2021-12-06T20:00:34.000Z | package projektor.repository.testrun
import io.ktor.util.*
import kotlinx.coroutines.runBlocking
import org.apache.commons.lang3.RandomStringUtils
import org.junit.jupiter.api.Test
import projektor.DatabaseRepositoryTestCase
import projektor.createTestRun
import projektor.incomingresults.randomPublicId
import strikt.a... | 46.753968 | 128 | 0.752504 |
9c262eaf415d7113e52b366931d0cee177ea0054 | 604 | ts | TypeScript | Tests/AutoTests/FunctionalTest/functional-Login.spec.ts | UKHO/Maritime-Safety-Information | 60edf17a7aa659bcec5f6e86498af074c9a13608 | [
"MIT"
] | null | null | null | Tests/AutoTests/FunctionalTest/functional-Login.spec.ts | UKHO/Maritime-Safety-Information | 60edf17a7aa659bcec5f6e86498af074c9a13608 | [
"MIT"
] | null | null | null | Tests/AutoTests/FunctionalTest/functional-Login.spec.ts | UKHO/Maritime-Safety-Information | 60edf17a7aa659bcec5f6e86498af074c9a13608 | [
"MIT"
] | null | null | null | import { test, expect, chromium, Page, Browser, BrowserContext } from '@playwright/test';
import * as app from "../../Configuration/appConfig.json";
import loginPage from '../../pageObject/Login.page';
test.describe("Sign in For The maritime-safety-information", () => {
let login: loginPage;
test.beforeEach(async... | 31.789474 | 89 | 0.668874 |
53d8f1c6e796dba57ed83daa66d56a7ffbc3fa03 | 4,458 | java | Java | conjure-python-core/src/test/java/com/palantir/conjure/python/ConjurePythonGeneratorTest.java | chewr/conjure-python | ca0ac825f86741c02cd85b1b4ea9456d5786e0ae | [
"Apache-2.0"
] | 10 | 2018-11-21T19:39:54.000Z | 2021-12-16T12:05:02.000Z | conjure-python-core/src/test/java/com/palantir/conjure/python/ConjurePythonGeneratorTest.java | chewr/conjure-python | ca0ac825f86741c02cd85b1b4ea9456d5786e0ae | [
"Apache-2.0"
] | 61 | 2018-11-25T18:48:01.000Z | 2022-03-30T02:02:35.000Z | conjure-python-core/src/test/java/com/palantir/conjure/python/ConjurePythonGeneratorTest.java | chewr/conjure-python | ca0ac825f86741c02cd85b1b4ea9456d5786e0ae | [
"Apache-2.0"
] | 10 | 2018-11-21T21:53:43.000Z | 2021-07-29T18:13:38.000Z | /*
* (c) Copyright 2018 Palantir Technologies Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | 40.162162 | 112 | 0.653208 |
ee823f1dd9500d1b32fb58203caa5a0097eba543 | 2,175 | swift | Swift | Sources/SpringIconFactory.swift | ShabanKamell/SpringMenu | 26dbc4ea0da8c15e1ffe6c44398e5d66c7cca73a | [
"Apache-2.0"
] | 2 | 2021-06-23T18:52:57.000Z | 2021-07-17T14:38:06.000Z | Sources/SpringIconFactory.swift | ShabanKamell/SpringMenu | 26dbc4ea0da8c15e1ffe6c44398e5d66c7cca73a | [
"Apache-2.0"
] | null | null | null | Sources/SpringIconFactory.swift | ShabanKamell/SpringMenu | 26dbc4ea0da8c15e1ffe6c44398e5d66c7cca73a | [
"Apache-2.0"
] | null | null | null | //
// Created by Shaban on 09/06/2021.
// Copyright (c) 2021 sha. All rights reserved.
//
import SwiftUI
class SpringIconFactory {
func make(icon: SpringIcon,
backgroundColor: SpringIconColor,
foregroundColor: SpringIconColor,
isExpanded: Bool) -> some View {
Gro... | 41.037736 | 101 | 0.521839 |
586a7b55f0a1bc3a0dddb7663540a52a8e407ca4 | 6,040 | sql | SQL | LocalHero_DB.sql | Klodovsky/LocalHero | 50b1a9bccc7ee11ae6cbbde71ede10d61288147d | [
"MIT"
] | null | null | null | LocalHero_DB.sql | Klodovsky/LocalHero | 50b1a9bccc7ee11ae6cbbde71ede10d61288147d | [
"MIT"
] | null | null | null | LocalHero_DB.sql | Klodovsky/LocalHero | 50b1a9bccc7ee11ae6cbbde71ede10d61288147d | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.0
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jun 05, 2021 at 12:21 AM
-- Server version: 10.4.19-MariaDB
-- PHP Version: 7.3.28
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIE... | 28.625592 | 229 | 0.689073 |
c05d886a6d8eac52dd53aa979ff53acce1e71995 | 99 | sql | SQL | Module/ProcessMonitor/DB/Test/get-os-memory.sql | oramake/oramake-framework | c988bc2e10621589e8d8f6a558a8c5b8cd0f8af3 | [
"Apache-2.0"
] | null | null | null | Module/ProcessMonitor/DB/Test/get-os-memory.sql | oramake/oramake-framework | c988bc2e10621589e8d8f6a558a8c5b8cd0f8af3 | [
"Apache-2.0"
] | 1 | 2021-11-01T11:55:22.000Z | 2021-11-01T11:55:22.000Z | Module/ProcessMonitor/DB/Test/get-os-memory.sql | oramake/oramake-framework | c988bc2e10621589e8d8f6a558a8c5b8cd0f8af3 | [
"Apache-2.0"
] | 2 | 2021-10-05T14:11:21.000Z | 2022-01-18T06:48:34.000Z | begin
pkg_Common.outputMessage(
to_char( pkg_ProcessMonitor.getOsMemory())
);
end;
/
| 14.142857 | 47 | 0.676768 |
fb19bc3ddd7e538288da1583a40fb468ac269508 | 495 | go | Go | CodingInterviews/ci46/dp.go | JiahaoHong1997/go_LeetCode | 4f8cf7d26293a35783527e7dbc397b3e46f45695 | [
"Apache-2.0"
] | null | null | null | CodingInterviews/ci46/dp.go | JiahaoHong1997/go_LeetCode | 4f8cf7d26293a35783527e7dbc397b3e46f45695 | [
"Apache-2.0"
] | null | null | null | CodingInterviews/ci46/dp.go | JiahaoHong1997/go_LeetCode | 4f8cf7d26293a35783527e7dbc397b3e46f45695 | [
"Apache-2.0"
] | null | null | null | package ci46
func translateNumDP(num int) int {
if num == 0 {
return 1
}
arr := []int{}
for num > 0 {
arr = append([]int{num%10}, arr...)
num /= 10
}
if len(arr) == 1 {
return 1
}
dp := make([]int, len(arr))
dp[0] = 1
if arr[0]*10 + arr[1] <= 25 {
dp[1] = 2
} else {
dp[1] = 1
}
for i:=2; i... | 13.75 | 37 | 0.448485 |
e0776e802e7ba9edef54332722c1d0c49a07f4b1 | 2,751 | swift | Swift | iRemeber/Pods/Core/Sources/Core/Cache.swift | cclovett/iRemeberM | ca7ecf9aa2a20156c638e23e4859e10d9bd2bb54 | [
"MIT"
] | 32 | 2019-06-27T03:31:30.000Z | 2022-02-26T23:03:05.000Z | iRemeber/Pods/Core/Sources/Core/Cache.swift | cclovett/iRemeberM | ca7ecf9aa2a20156c638e23e4859e10d9bd2bb54 | [
"MIT"
] | null | null | null | iRemeber/Pods/Core/Sources/Core/Cache.swift | cclovett/iRemeberM | ca7ecf9aa2a20156c638e23e4859e10d9bd2bb54 | [
"MIT"
] | 8 | 2019-09-12T07:03:11.000Z | 2022-03-03T09:17:18.000Z | public typealias Size = Int
public protocol Cacheable {
func cacheSize() -> Size
}
public final class SystemCache<Wrapped: Cacheable> {
public let maxSize: Size
private var ordered: OrderedDictionary<String, Wrapped> = .init()
public init(maxSize: Size) {
self.maxSize = maxSize
}
p... | 26.2 | 86 | 0.536896 |
1350d8ae5ce44db77274399edb68cd2715d74a67 | 1,906 | h | C | networkit/cpp/centrality/DynApproxBetweenness.h | maxvogel/NetworKit-mirror2 | 02a1805a4eda56fbdd647852afcfac26bcb77099 | [
"MIT"
] | null | null | null | networkit/cpp/centrality/DynApproxBetweenness.h | maxvogel/NetworKit-mirror2 | 02a1805a4eda56fbdd647852afcfac26bcb77099 | [
"MIT"
] | null | null | null | networkit/cpp/centrality/DynApproxBetweenness.h | maxvogel/NetworKit-mirror2 | 02a1805a4eda56fbdd647852afcfac26bcb77099 | [
"MIT"
] | null | null | null | /*
* DynApproxBetweenness.h
*
* Created on: 31.07.2014
* Author: ebergamini
*/
#ifndef DYNAPPROXBETW_H_
#define DYNAPPROXBETW_H_
#include "Centrality.h"
#include "DynCentrality.h"
#include "../dynamics/GraphEvent.h"
#include "../graph/DynSSSP.h"
#include <math.h>
#include <algorithm>
#include <memory>
#in... | 26.109589 | 111 | 0.681532 |
ddfc130af063c40e11563486dedeb69c87062ccd | 5,296 | go | Go | pkg/jsonpath/jsonpath_test.go | KastenMike/kanister | f4590224cb0bd4d17e0a76f18c9e162325553cc6 | [
"Apache-2.0"
] | 467 | 2017-12-05T16:36:51.000Z | 2022-03-31T20:28:09.000Z | pkg/jsonpath/jsonpath_test.go | KastenMike/kanister | f4590224cb0bd4d17e0a76f18c9e162325553cc6 | [
"Apache-2.0"
] | 416 | 2018-01-26T22:02:48.000Z | 2022-03-31T22:19:27.000Z | pkg/jsonpath/jsonpath_test.go | muffl0n/kanister | 4b9eb0cc2e6c60f7e6d6b2499252f9583c29b75c | [
"Apache-2.0"
] | 87 | 2018-01-22T23:26:03.000Z | 2022-03-29T22:48:12.000Z | // Copyright 2021 The Kanister 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 applicable law or ag... | 30.262857 | 123 | 0.653323 |
75a9ee1766e4f0793adde7114920fbc2a31b862a | 1,311 | h | C | PathFindingForObjC-Example/Classes/Utilities/WBGameUtilities.h | wbcyclist/PathFindingForObjC | 1d62d2346a07dc3a93786a1bfaf918b9175b24ec | [
"MIT"
] | 75 | 2015-05-12T09:14:17.000Z | 2021-04-09T07:45:53.000Z | PathFindingForObjC-Example/Classes/Utilities/WBGameUtilities.h | wbcyclist/PathFindingForObjC | 1d62d2346a07dc3a93786a1bfaf918b9175b24ec | [
"MIT"
] | 2 | 2016-11-17T12:03:52.000Z | 2016-11-17T12:22:46.000Z | PathFindingForObjC-Example/Classes/Utilities/WBGameUtilities.h | wbcyclist/PathFindingForObjC | 1d62d2346a07dc3a93786a1bfaf918b9175b24ec | [
"MIT"
] | 12 | 2015-05-12T12:46:35.000Z | 2016-12-30T13:34:30.000Z | //
// WBGameUtilities.h
// BalloonFight
//
// Created by JasioWoo on 14/9/23.
// Copyright (c) 2014年 JasioWoo. All rights reserved.
//
#import "SKNode+WBKit.h"
#if TARGET_OS_IPHONE
#else
//iOS SDK NSStringFromCG To OSX SDK
#define NSStringFromCGPoint(x) NSStringFromPoint(NSPointFromCGPoint(x))
#define NSStrin... | 23.836364 | 101 | 0.768879 |
fb5bfed62d4d02b46cf2054650fd72bad2cef462 | 1,347 | h | C | 070308ntt/nttProbabilisticHough.h | ntthuy11/line-detection-hough-transforms | 1ada48b5e8a8b146b344c02903571e6d99213c83 | [
"MIT"
] | 1 | 2020-03-21T21:39:35.000Z | 2020-03-21T21:39:35.000Z | 070308ntt/nttProbabilisticHough.h | ntthuy11/LineDetectionUsingHoughTransform | 1ada48b5e8a8b146b344c02903571e6d99213c83 | [
"MIT"
] | null | null | null | 070308ntt/nttProbabilisticHough.h | ntthuy11/LineDetectionUsingHoughTransform | 1ada48b5e8a8b146b344c02903571e6d99213c83 | [
"MIT"
] | 1 | 2020-10-14T06:30:04.000Z | 2020-10-14T06:30:04.000Z | #pragma once
#include "cv.h"
#include "highgui.h"
#include "nttUtil.h"
#define DOUBLE_PRECISION (7)
#define PI (3.1415927)
#define HALF_PI (1.5707963)
class nttProbabilisticHough
{
public:
nttProbabilisticHough(void);
public:
~nttProbabilisticHough(void);
// main method
void run(IplImage* src... | 29.282609 | 120 | 0.731997 |
4b5fd357b76a3ccce4e7f0250a03d6d35f497fee | 141 | sql | SQL | paraflow-benchmark/src/main/resources/sql/nation.sql | dbiir/ParaFlow | 8c8b4c737b7592d19b2c698ec69ba000f63d20d5 | [
"Apache-2.0"
] | 45 | 2017-07-31T16:00:38.000Z | 2021-08-09T07:28:05.000Z | paraflow-benchmark/src/main/resources/sql/nation.sql | dbiir/paraflow | 8c8b4c737b7592d19b2c698ec69ba000f63d20d5 | [
"Apache-2.0"
] | 38 | 2017-07-31T15:55:32.000Z | 2021-12-14T21:14:01.000Z | paraflow-benchmark/src/main/resources/sql/nation.sql | taoyouxian/paraflow | 8c8b4c737b7592d19b2c698ec69ba000f63d20d5 | [
"Apache-2.0"
] | 34 | 2017-08-25T09:22:46.000Z | 2021-08-09T07:28:05.000Z | CREATE TABLE nation(n_nationkey int primary key, n_name varchar(25), n_regionkey int references region(r_regionkey), n_comment varchar(152)); | 141 | 141 | 0.822695 |
c3f9123c5d10e24458d96fc7b8aa547150764073 | 2,927 | go | Go | examples/naive_chain/test_message.pb.go | tock-ibm/consensus | fce7fcacf0ac0d447b1d271d3c89152a1e8bdb69 | [
"Apache-2.0"
] | 45 | 2019-05-16T07:33:57.000Z | 2022-02-15T21:11:49.000Z | examples/naive_chain/test_message.pb.go | tock-ibm/consensus | fce7fcacf0ac0d447b1d271d3c89152a1e8bdb69 | [
"Apache-2.0"
] | 153 | 2019-05-19T21:20:38.000Z | 2022-03-01T18:15:36.000Z | examples/naive_chain/test_message.pb.go | tock-ibm/consensus | fce7fcacf0ac0d447b1d271d3c89152a1e8bdb69 | [
"Apache-2.0"
] | 15 | 2019-05-28T07:02:55.000Z | 2022-03-03T11:33:18.000Z | // Code generated by protoc-gen-go. DO NOT EDIT.
// source: test_message.proto
package naive
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a co... | 33.643678 | 100 | 0.708234 |
7f5c468bdb2511d4f86edf8325990905ac3ddfc9 | 18,415 | html | HTML | ConnectDome Product Page f82265aab9b94ca791a0450c0eadafd1/Private Beta 1 1 0aefc4dddc3b4bd7b4103aab0b2f3027.html | ConnectDome/product-updates | eee58bda63298afaeaf971832593805ab0e18360 | [
"MIT"
] | 1 | 2021-05-31T16:51:32.000Z | 2021-05-31T16:51:32.000Z | ConnectDome Product Page f82265aab9b94ca791a0450c0eadafd1/Private Beta 1 1 0aefc4dddc3b4bd7b4103aab0b2f3027.html | ConnectDome/product-updates | eee58bda63298afaeaf971832593805ab0e18360 | [
"MIT"
] | null | null | null | ConnectDome Product Page f82265aab9b94ca791a0450c0eadafd1/Private Beta 1 1 0aefc4dddc3b4bd7b4103aab0b2f3027.html | ConnectDome/product-updates | eee58bda63298afaeaf971832593805ab0e18360 | [
"MIT"
] | null | null | null | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><title>Private Beta 1.1</title><style>
/* cspell:disable-file */
/* webkit printing magic: print all background colors */
html {
-webkit-print-color-adjust: exact;
}
* {
box-sizing: border-box;
-webkit-print-color-adjust: exact;
}
html,... | 29.137658 | 5,271 | 0.717296 |
518c0f09862e6b0300a940acf4e4da57b4d188e1 | 746 | sql | SQL | working/packages/vocabulary_download/bash_functions_umls.sql | Jake-Gillberg/Vocabulary-v5.0 | 3bec25c7fd2b46e5b5cae83fcc79aa8f4114392a | [
"Unlicense"
] | 149 | 2015-01-08T15:43:29.000Z | 2022-03-30T19:27:23.000Z | working/packages/vocabulary_download/bash_functions_umls.sql | Jake-Gillberg/Vocabulary-v5.0 | 3bec25c7fd2b46e5b5cae83fcc79aa8f4114392a | [
"Unlicense"
] | 461 | 2015-01-05T15:54:11.000Z | 2022-03-31T18:39:38.000Z | working/packages/vocabulary_download/bash_functions_umls.sql | Jake-Gillberg/Vocabulary-v5.0 | 3bec25c7fd2b46e5b5cae83fcc79aa8f4114392a | [
"Unlicense"
] | 70 | 2015-01-05T15:04:26.000Z | 2022-03-21T15:00:10.000Z | DO $_$
DECLARE
z text;
BEGIN
z:=$FUNCTIONBODY$
CREATE OR REPLACE FUNCTION vocabulary_download.get_umls_prepare (iPath text, iFilename text)
RETURNS void AS
$BODY$#!/bin/bash
#set permissions=775 by default
umask 002 && \
cd "$1/work" && \
f=$(unzip -l "$2" | awk 'NR == 4 {print $4}') && \
... | 24.866667 | 96 | 0.544236 |
74803a7aa9a8944950f5dd5aebeb76328381e2d7 | 3,649 | h | C | Source/WebKitLegacy/Storage/StorageAreaImpl.h | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebKitLegacy/Storage/StorageAreaImpl.h | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebKitLegacy/Storage/StorageAreaImpl.h | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2008 Apple Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 36.128713 | 152 | 0.756646 |
1269e65f8cc11687b0791d92147df2bd6c9ecd45 | 1,408 | h | C | sdk/xsm/include/complier.h | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/xsm/include/complier.h | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | sdk/xsm/include/complier.h | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2009-2009
* Hxsoft. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 23.466667 | 91 | 0.733665 |
68cd45a8271deda657b08454ff6ed6d16ba5ab1d | 10,565 | asm | Assembly | exampl04/butntest/butntest.asm | AlexRogalskiy/Masm | d39498878f140696b299c76436f209156961429e | [
"MIT"
] | null | null | null | exampl04/butntest/butntest.asm | AlexRogalskiy/Masm | d39498878f140696b299c76436f209156961429e | [
"MIT"
] | null | null | null | exampl04/butntest/butntest.asm | AlexRogalskiy/Masm | d39498878f140696b299c76436f209156961429e | [
"MIT"
] | null | null | null | ; #########################################################################
;
; DEMO Custom colour button
;
; Characteristics : Button with seperate UP and DOWN colours as started.
; Adjustments : Dynamic colour change, both TEXT and BUTTON colours.
; Dynamic alignment control. Default font ... | 29.929178 | 85 | 0.550213 |
f87eb8d6a8a6f8331e49fe1ab99ce918390d5514 | 913 | kt | Kotlin | applib/src/main/java/com/king/applib/util/Exts.kt | hubme/WorkHelperApp | 90f4cbf40ba57836410469ff6c7d6fd19d9f1a5d | [
"Apache-2.0"
] | 4 | 2017-04-05T08:02:37.000Z | 2022-03-24T03:53:34.000Z | applib/src/main/java/com/king/applib/util/Exts.kt | hubme/WorkHelperApp | 90f4cbf40ba57836410469ff6c7d6fd19d9f1a5d | [
"Apache-2.0"
] | null | null | null | applib/src/main/java/com/king/applib/util/Exts.kt | hubme/WorkHelperApp | 90f4cbf40ba57836410469ff6c7d6fd19d9f1a5d | [
"Apache-2.0"
] | 2 | 2020-03-24T12:55:37.000Z | 2020-04-08T07:51:04.000Z | package com.king.applib.util
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.content.res.Resources
import android.util.TypedValue
/**
* Kotlin 扩展方法。
*
* @author guangxu.huo
* @since 2020/7/30
*/
val Float.dp
get... | 24.675676 | 94 | 0.715225 |
712bcafa52ee98dc7217659b08dd271e7881a30d | 1,190 | ts | TypeScript | src/app/services/data.service.ts | Osedx/Stageopdracht-MusicApp-player | 1fa2ea5bb10af431d038060e66e697b6460a0d7c | [
"MIT"
] | null | null | null | src/app/services/data.service.ts | Osedx/Stageopdracht-MusicApp-player | 1fa2ea5bb10af431d038060e66e697b6460a0d7c | [
"MIT"
] | null | null | null | src/app/services/data.service.ts | Osedx/Stageopdracht-MusicApp-player | 1fa2ea5bb10af431d038060e66e697b6460a0d7c | [
"MIT"
] | null | null | null | import { Injectable } from '@angular/core';
import { Http, Headers, RequestOptions } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
@Injectable()
export class DataService {
private headers = new Headers({ 'Content-Type': 'application/json' });
private options ... | 35 | 85 | 0.669748 |
5f0a8e114b5650af4d1a9ad0d4ec35032831650d | 563 | sql | SQL | kata-files/lesson2/postgresql/expected/MYLARGESCHEMA/function/func97.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 22 | 2017-09-28T21:35:04.000Z | 2022-02-12T06:24:28.000Z | kata-files/lesson2/postgresql/expected/MYLARGESCHEMA/function/func97.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 6 | 2017-07-01T13:52:34.000Z | 2018-09-13T15:43:47.000Z | kata-files/lesson2/postgresql/expected/MYLARGESCHEMA/function/func97.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 11 | 2017-04-30T18:39:09.000Z | 2021-08-22T16:21:11.000Z | CREATE FUNCTION func97() RETURNS integer
LANGUAGE plpgsql
AS $$ DECLARE val INTEGER; BEGIN val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE424);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE79);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE496);val:=(SELECT COUNT(*)INTO MYCOUNT... | 80.428571 | 495 | 0.772647 |
fb12f80d74e8e736d99500e7e580ba0454e1c8a8 | 3,332 | c | C | Source Code/Library Game/Library/Il2cppBuildCache/UWP/x64/il2cppOutput/UnityEngine.VRModule_CodeGen.c | NathanZimmer/Unity-Physics-and-Texturing-project | b5116ea2eb0d7075ed7e47811781418f32be3088 | [
"CC0-1.0"
] | null | null | null | Source Code/Library Game/Library/Il2cppBuildCache/UWP/x64/il2cppOutput/UnityEngine.VRModule_CodeGen.c | NathanZimmer/Unity-Physics-and-Texturing-project | b5116ea2eb0d7075ed7e47811781418f32be3088 | [
"CC0-1.0"
] | 1 | 2022-02-13T03:28:21.000Z | 2022-02-14T03:06:34.000Z | Source Code/Library Game/Library/Il2cppBuildCache/UWP/x64/il2cppOutput/UnityEngine.VRModule_CodeGen.c | NathanZimmer/Unity-Physics-and-Texturing-project | b5116ea2eb0d7075ed7e47811781418f32be3088 | [
"CC0-1.0"
] | null | null | null | #include "pch-c.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include "codegen/il2cpp-codegen-metadata.h"
// 0x00000001 System.Boolean UnityEngine.XR.XRSettings::get_enabled()
extern void XRSettings_get_enabled_m970BB98BF899D943776BE6EB66FE40AA9C12A902 (void);
// 0x00000002 System.... | 39.666667 | 118 | 0.872449 |
40ccf972a567c3de145b1e44cc26f79e0706fc6d | 67 | py | Python | challenge16.py | ritobanrc/project-euler | 56fd42204299636a98e48d3ab4d524aa54748ba4 | [
"MIT"
] | null | null | null | challenge16.py | ritobanrc/project-euler | 56fd42204299636a98e48d3ab4d524aa54748ba4 | [
"MIT"
] | null | null | null | challenge16.py | ritobanrc/project-euler | 56fd42204299636a98e48d3ab4d524aa54748ba4 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
print(sum([int(d) for d in str(2**1000)]))
| 16.75 | 42 | 0.626866 |
bb69a2d6b02fae2f682337479e9494fb7cba304d | 2,040 | swift | Swift | Example/Tests/Tests.swift | Voxar/SwiftStyle | 607e08ac50d6773c3a8c0c56b181d17cc3d3104e | [
"MIT"
] | null | null | null | Example/Tests/Tests.swift | Voxar/SwiftStyle | 607e08ac50d6773c3a8c0c56b181d17cc3d3104e | [
"MIT"
] | null | null | null | Example/Tests/Tests.swift | Voxar/SwiftStyle | 607e08ac50d6773c3a8c0c56b181d17cc3d3104e | [
"MIT"
] | null | null | null | // https://github.com/Quick/Quick
import Quick
import Nimble
@testable import SwiftStyle
class KeyPathValueStorageSpec: QuickSpec {
class ClassSubject {
var property: String = "Hello"
var int: Int = 0
}
class SubClassSubject: ClassSubject {
var subclassProperty: Float = 0... | 30.447761 | 71 | 0.486275 |
c6a1a083edf4e88b1b83acd8dc427c00f286f555 | 1,390 | dart | Dart | lib/main.dart | harshsdk/Stay-login-in-flutter | c72e46190831b39c92d55d4153d66107f30572b5 | [
"BSD-3-Clause"
] | 2 | 2021-02-24T07:48:58.000Z | 2021-04-30T13:09:05.000Z | lib/main.dart | harshsdk/Stay-login-in-flutter | c72e46190831b39c92d55d4153d66107f30572b5 | [
"BSD-3-Clause"
] | null | null | null | lib/main.dart | harshsdk/Stay-login-in-flutter | c72e46190831b39c92d55d4153d66107f30572b5 | [
"BSD-3-Clause"
] | null | null | null | import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:get/get_navigation/src/root/get_material_app.dart';
import 'package:getX/dashboard.dart';
import 'package:getX/loginpage.dart';
import 'package:get_storage/get_storage.dart';
void main() async {
await GetStorage.init();
runApp(M... | 22.419355 | 67 | 0.668345 |
b6c48a7d405aa88b4f41924b9ae250ad12dd1f33 | 679 | rb | Ruby | db/seeds.rb | mart1nez94/gestor-proyectos | faf6a915d2774a4c12f5d074171b5bc29a28e842 | [
"MIT"
] | null | null | null | db/seeds.rb | mart1nez94/gestor-proyectos | faf6a915d2774a4c12f5d074171b5bc29a28e842 | [
"MIT"
] | 7 | 2021-03-10T13:12:33.000Z | 2022-02-26T06:59:12.000Z | db/seeds.rb | mart1nez94/gestor-proyectos | faf6a915d2774a4c12f5d074171b5bc29a28e842 | [
"MIT"
] | null | null | null | # Tasks status
TaskStatus.create!( id: 1,
name: "To-Do")
TaskStatus.create!( id: 2,
name: "Doing")
TaskStatus.create!( id: 3,
name: "Done")
# Project status
ProjectStatus.create!(id: 1,
name: "Stand-by")
... | 25.148148 | 47 | 0.480118 |