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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
21dea58a68214d594b004b77b483feea9a003533 | 11,685 | html | HTML | TensorRT-4.0.1.6/doc/html/structnvinfer1_1_1plugin_1_1_grid_anchor_parameters.html | NEWPLAN/TensorRT_inference | ce68800c401219938ead6657391d12749d763c3b | [
"MIT"
] | null | null | null | TensorRT-4.0.1.6/doc/html/structnvinfer1_1_1plugin_1_1_grid_anchor_parameters.html | NEWPLAN/TensorRT_inference | ce68800c401219938ead6657391d12749d763c3b | [
"MIT"
] | null | null | null | TensorRT-4.0.1.6/doc/html/structnvinfer1_1_1plugin_1_1_grid_anchor_parameters.html | NEWPLAN/TensorRT_inference | ce68800c401219938ead6657391d12749d763c3b | [
"MIT"
] | null | null | null | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | 67.155172 | 1,510 | 0.701926 |
dd657f048a3b30f5d0e704c66cb00532b3b1c38c | 517 | go | Go | app/appmessage/p2p_msgrequestpruningpointproof.go | cbytensky/kaspad | 4a560f25a60e876b58d2643ca6eb7e07525e76cc | [
"ISC"
] | 1 | 2021-11-26T09:42:26.000Z | 2021-11-26T09:42:26.000Z | app/appmessage/p2p_msgrequestpruningpointproof.go | cbytensky/kaspad | 4a560f25a60e876b58d2643ca6eb7e07525e76cc | [
"ISC"
] | null | null | null | app/appmessage/p2p_msgrequestpruningpointproof.go | cbytensky/kaspad | 4a560f25a60e876b58d2643ca6eb7e07525e76cc | [
"ISC"
] | 1 | 2022-03-08T06:24:54.000Z | 2022-03-08T06:24:54.000Z | package appmessage
// MsgRequestPruningPointProof represents a kaspa RequestPruningPointProof message
type MsgRequestPruningPointProof struct {
baseMessage
}
// Command returns the protocol command string for the message
func (msg *MsgRequestPruningPointProof) Command() MessageCommand {
return CmdRequestPruningPoin... | 30.411765 | 82 | 0.851064 |
7e5e985e8920a50c38e4185e81456a3a783d41eb | 1,488 | sql | SQL | message.sql | litijun/main | 0ac341374ba568b1249b4d05f67041ea560e7e6d | [
"WTFPL"
] | 4 | 2021-06-20T14:15:41.000Z | 2022-02-13T08:39:52.000Z | message.sql | litijun/main | 0ac341374ba568b1249b4d05f67041ea560e7e6d | [
"WTFPL"
] | null | null | null | message.sql | litijun/main | 0ac341374ba568b1249b4d05f67041ea560e7e6d | [
"WTFPL"
] | 1 | 2021-12-06T07:39:31.000Z | 2021-12-06T07:39:31.000Z | -- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- 主机: localhost
-- 生成日期: 2021-06-06 16:34:51
-- 服务器版本: 8.0.24
-- PHP 版本: 8.0.6
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET... | 23.25 | 79 | 0.693548 |
0ce87ae6e8e21068ebe0de253baf4eb583ece22f | 701 | py | Python | conv.py | aenco9/HCAP2021 | d194ba5eab7e361d67f6de3c62f9f17f896ebcf3 | [
"MIT"
] | null | null | null | conv.py | aenco9/HCAP2021 | d194ba5eab7e361d67f6de3c62f9f17f896ebcf3 | [
"MIT"
] | null | null | null | conv.py | aenco9/HCAP2021 | d194ba5eab7e361d67f6de3c62f9f17f896ebcf3 | [
"MIT"
] | null | null | null | import numpy as np
def convolucion(Ioriginal, kernel):
'''Método encargado de realizar una convolución a una imagen
Entrada:
Ioriginal - imagen original en forma de matríz
kernel - kernel para barrer la imagen
Salida:
res - imagen resultante'''
#fr - filas, cr - columnas
fr = len(Ioriginal)-(len(kernel)-1)
c... | 26.961538 | 61 | 0.664765 |
b18f4699bf59780311832a83dc1b0983a3638860 | 1,346 | h | C | darkness-engine/include/engine/graphics/RootSignature.h | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 6 | 2019-10-17T11:31:55.000Z | 2022-02-11T08:51:20.000Z | darkness-engine/include/engine/graphics/RootSignature.h | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 1 | 2020-08-11T09:01:29.000Z | 2020-08-11T09:01:29.000Z | darkness-engine/include/engine/graphics/RootSignature.h | Karmiska/Darkness | c87eaf067a2707a0141909125ff461f69a3812e0 | [
"MIT"
] | 1 | 2020-06-02T15:48:20.000Z | 2020-06-02T15:48:20.000Z | #pragma once
#include "tools/SmartPimpl.h"
#include "engine/graphics/CommonNoDep.h"
namespace engine
{
PIMPL_FWD(RootSignature, RootSignatureImpl)
struct SamplerDescription;
class RootParameter;
class Device;
enum class RootSignatureFlags;
namespace implementation
{
class Pip... | 26.92 | 115 | 0.699108 |
11f52f0fe862eb08dcad613d3f8d59ac7c03f41c | 819 | html | HTML | src/index.html | andreymakaroff/andrey_makarov_todo | c5e45e50788c03513f527ccb469a1da2d2ad00a2 | [
"MIT"
] | null | null | null | src/index.html | andreymakaroff/andrey_makarov_todo | c5e45e50788c03513f527ccb469a1da2d2ad00a2 | [
"MIT"
] | 2 | 2018-04-08T21:17:24.000Z | 2018-05-07T20:53:26.000Z | src/index.html | andreymakaroff/andrey_makarov_todo | c5e45e50788c03513f527ccb469a1da2d2ad00a2 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My App Todo</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.1.3/toastr.min.css">
<lin... | 48.176471 | 212 | 0.717949 |
26944d8463840b1b59e10c3ddf3f6818bc51f3ff | 11,894 | sql | SQL | lib/data/sql/V2__create_spatial_tables.sql | geops/tree-app | b65f2745b4b1f856cffbaf04869ad1c0553fd41c | [
"MIT"
] | 4 | 2019-06-28T06:42:11.000Z | 2020-10-19T11:01:37.000Z | lib/data/sql/V2__create_spatial_tables.sql | geops/tree-app | b65f2745b4b1f856cffbaf04869ad1c0553fd41c | [
"MIT"
] | 592 | 2019-07-11T05:58:09.000Z | 2022-03-02T08:17:40.000Z | lib/data/sql/V2__create_spatial_tables.sql | geops/tree-app | b65f2745b4b1f856cffbaf04869ad1c0553fd41c | [
"MIT"
] | 4 | 2019-08-06T10:02:42.000Z | 2021-03-15T15:36:01.000Z | ----------------------------------------------
-- altitudinal_zones_1995
CREATE TABLE "altitudinal_zones_1995" (gid serial, "hs_de" varchar(200),
"hs_fr" varchar(200),
"hs_it" varchar(200),
... | 55.064815 | 272 | 0.330839 |
ce5d389dc37720b5017a2a8b653ca149802e5914 | 422 | lua | Lua | plugin/src/FormatScript/Vendor/Llama/Dictionary/flatMap.lua | howmanysmall/StyluaPlugin | a5f10432a82f68f2d746723007638e6240f759e9 | [
"MIT"
] | null | null | null | plugin/src/FormatScript/Vendor/Llama/Dictionary/flatMap.lua | howmanysmall/StyluaPlugin | a5f10432a82f68f2d746723007638e6240f759e9 | [
"MIT"
] | null | null | null | plugin/src/FormatScript/Vendor/Llama/Dictionary/flatMap.lua | howmanysmall/StyluaPlugin | a5f10432a82f68f2d746723007638e6240f759e9 | [
"MIT"
] | null | null | null | local Typer = require(script.Parent.Parent.Parent.Typer)
local join = require(script.Parent.join)
local function flatMap(dictionary, mapper)
local new = {}
for k, v in next, dictionary do
if type(v) == "table" then
new = join(flatMap(v, mapper), new)
else
local value, key = mapper(v, k)
new[key or k] = ... | 22.210526 | 66 | 0.706161 |
ceab2fadda13ab2e94d1690f39a8abda83921aef | 8,313 | swift | Swift | Assistant/View/MessagesView/MessagesViewController.swift | BananosTeam/CreativeLab | 15892eab05fc560de049419ef662138d086f06e0 | [
"MIT"
] | 1 | 2016-05-14T07:41:47.000Z | 2016-05-14T07:41:47.000Z | Assistant/View/MessagesView/MessagesViewController.swift | BananosTeam/CreativeLab | 15892eab05fc560de049419ef662138d086f06e0 | [
"MIT"
] | null | null | null | Assistant/View/MessagesView/MessagesViewController.swift | BananosTeam/CreativeLab | 15892eab05fc560de049419ef662138d086f06e0 | [
"MIT"
] | null | null | null | //
// ViewController.swift
// Assistant
//
// Created by Bananos on 5/14/16.
// Copyright © 2016 Bananos. All rights reserved.
//
import UIKit
final class MessagesViewController: UIViewController, UITextFieldDelegate, UITableViewDataSource, StoryboardInstantiable {
static let ControllerIdentifier = "MessagesV... | 42.630769 | 137 | 0.673884 |
75c6fcc4bc86bebf74b9fc4302553cb213042dfa | 3,108 | swift | Swift | src/JetLib/JetLib/Core/Command/ActionCommand.swift | TrueShirshov/ios_swift_utils | a72c43d4fb9db6f34616b88ab7acc786af0bc6d6 | [
"MIT"
] | 7 | 2018-10-01T12:17:10.000Z | 2020-11-07T10:34:17.000Z | src/JetLib/JetLib/Core/Command/ActionCommand.swift | TrueShirshov/ios_swift_utils | a72c43d4fb9db6f34616b88ab7acc786af0bc6d6 | [
"MIT"
] | null | null | null | src/JetLib/JetLib/Core/Command/ActionCommand.swift | TrueShirshov/ios_swift_utils | a72c43d4fb9db6f34616b88ab7acc786af0bc6d6 | [
"MIT"
] | 1 | 2019-08-28T19:18:29.000Z | 2019-08-28T19:18:29.000Z | //
// Created on 27/07/2018
// Copyright © Vladimir Benkevich 2018
//
import Foundation
@available(*, deprecated, message: "Use CommandFactory instead")
open class ActionCommand: SerialCommand {
private let execute: (Any?) -> Void
private let canExecute: ((Any?) -> Bool)?
public init(execute: @escapin... | 28.513761 | 110 | 0.52027 |
21b0efa986efb538633538be931b8baed7abf5e5 | 1,006 | rs | Rust | bin/xcm-tools/src/cli.rs | stakedtechnologies/Neon | d7719ff137227caa590d5e4096abc5ed850e0b60 | [
"Apache-2.0"
] | 1 | 2019-03-25T06:43:56.000Z | 2019-03-25T06:43:56.000Z | bin/xcm-tools/src/cli.rs | stakedtechnologies/Neon | d7719ff137227caa590d5e4096abc5ed850e0b60 | [
"Apache-2.0"
] | null | null | null | bin/xcm-tools/src/cli.rs | stakedtechnologies/Neon | d7719ff137227caa590d5e4096abc5ed850e0b60 | [
"Apache-2.0"
] | null | null | null | /// Astar XCM tools.
#[derive(Debug, clap::Parser)]
#[clap(subcommand_required = true)]
pub struct Cli {
/// Possible subcommand with parameters.
#[clap(subcommand)]
pub subcommand: Option<Subcommand>,
}
/// Possible subcommands of the main binary.
#[derive(Debug, clap::Subcommand)]
pub enum Subcommand {
... | 27.189189 | 70 | 0.702783 |
f02b9d8204d4475686faf005be7403e65cc83f6f | 115 | py | Python | focus_testmap.py | Driftwood2D/blue | 02b5bd3dbbc8fe2836f88c8beaa0955344cc7998 | [
"MIT"
] | null | null | null | focus_testmap.py | Driftwood2D/blue | 02b5bd3dbbc8fe2836f88c8beaa0955344cc7998 | [
"MIT"
] | null | null | null | focus_testmap.py | Driftwood2D/blue | 02b5bd3dbbc8fe2836f88c8beaa0955344cc7998 | [
"MIT"
] | null | null | null | def setup():
# Insert light.
Driftwood.light.insert("lightmap_circle1.png", 2, 64, 60, 56, 56, "22FF66DD")
| 28.75 | 81 | 0.652174 |
c316494933e63356ab815f191cd40275b57c6126 | 76,548 | go | Go | gen/proto/go/xds/lds.pb.go | costinm/grpc-mesh | 7f53ebaf95dce102a9bc66475daf10c4dba7e284 | [
"Apache-2.0"
] | null | null | null | gen/proto/go/xds/lds.pb.go | costinm/grpc-mesh | 7f53ebaf95dce102a9bc66475daf10c4dba7e284 | [
"Apache-2.0"
] | null | null | null | gen/proto/go/xds/lds.pb.go | costinm/grpc-mesh | 7f53ebaf95dce102a9bc66475daf10c4dba7e284 | [
"Apache-2.0"
] | null | null | null | // Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc (unknown)
// source: xds/lds.proto
package xds
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
... | 40.098481 | 231 | 0.716087 |
1821f3b96a5935c203b3edf6a44aabdd1c70fb05 | 1,070 | rb | Ruby | gem/spec/lib/core/threading_spec.rb | floere/gosu_extensions | f2432fdaae277294b4b3b751f326fad1843ef335 | [
"MIT"
] | 1 | 2015-08-16T19:06:27.000Z | 2015-08-16T19:06:27.000Z | gem/spec/lib/core/threading_spec.rb | floere/gosu_extensions | f2432fdaae277294b4b3b751f326fad1843ef335 | [
"MIT"
] | null | null | null | gem/spec/lib/core/threading_spec.rb | floere/gosu_extensions | f2432fdaae277294b4b3b751f326fad1843ef335 | [
"MIT"
] | null | null | null | require File.join(File.dirname(__FILE__), '/../../spec_helper')
describe Threading do
before(:each) do
@window = stub :window, :things => []
@threaded = test_class_with(Threading).new @window
end
describe "sometimes" do
it "should only call the block's content every x times" do
@threaded.... | 30.571429 | 87 | 0.657944 |
48d54dc265b776d077f3fe4714c9e36861e3ffac | 338 | h | C | Cipher Encryption Project/include/CipherEncryption.h | prxjeen/Cipher-Encryption-Project | 5a460522fb264d4d1115c32bfe87e7014f51afaa | [
"Apache-2.0"
] | null | null | null | Cipher Encryption Project/include/CipherEncryption.h | prxjeen/Cipher-Encryption-Project | 5a460522fb264d4d1115c32bfe87e7014f51afaa | [
"Apache-2.0"
] | 2 | 2018-09-01T09:48:08.000Z | 2018-09-08T08:17:05.000Z | Cipher Encryption Project/include/CipherEncryption.h | prxjeen/Cipher-Encryption-Project | 5a460522fb264d4d1115c32bfe87e7014f51afaa | [
"Apache-2.0"
] | 1 | 2018-09-01T10:17:37.000Z | 2018-09-01T10:17:37.000Z | #pragma once
#include <string>
class CipherEncryption
{
public:
virtual ~CipherEncryption() {}
virtual std::string getEncryptionKey() = 0;
virtual std::string *encrypt(std::string *) = 0;
virtual std::string *decrypt(std::string *) = 0;
};
enum class CipherType {
BITWISE,
BLOCK,
CAESAR,
STREAM,
TRANSPOSE,
... | 16.095238 | 49 | 0.695266 |
0ed2e4734456ab4188200b01307bcd4d14026a9a | 6,846 | c | C | GRRMOD/GRRMOD_MOD.c | GRRLIB/GRRMOD | b12a2c787e4d475a4da778e0644e0981b58aa474 | [
"MIT"
] | 2 | 2020-04-13T20:01:19.000Z | 2021-09-10T17:12:08.000Z | GRRMOD/GRRMOD_MOD.c | GRRLIB/GRRMOD | b12a2c787e4d475a4da778e0644e0981b58aa474 | [
"MIT"
] | null | null | null | GRRMOD/GRRMOD_MOD.c | GRRLIB/GRRMOD | b12a2c787e4d475a4da778e0644e0981b58aa474 | [
"MIT"
] | 1 | 2017-02-11T19:49:06.000Z | 2017-02-11T19:49:06.000Z | /*------------------------------------------------------------------------------
Copyright (c) 2010-2021 The GRRLIB Team
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, includ... | 30.699552 | 134 | 0.684195 |
499b78b9637459c4bc27244076b713efe8efe110 | 13,104 | sql | SQL | db_phadist.sql | rozziqputra/phadist | 685eaea2ada2969a8e0feca84fad0d2b12bfcd3f | [
"MIT"
] | null | null | null | db_phadist.sql | rozziqputra/phadist | 685eaea2ada2969a8e0feca84fad0d2b12bfcd3f | [
"MIT"
] | null | null | null | db_phadist.sql | rozziqputra/phadist | 685eaea2ada2969a8e0feca84fad0d2b12bfcd3f | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Dec 02, 2020 at 05:52 AM
-- Server version: 10.1.28-MariaDB
-- PHP Version: 7.1.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OL... | 36.4 | 4,297 | 0.642323 |
20d71fcded6a358898d2aa2c8aeeb2c8cc8d665e | 287 | lua | Lua | package.lua | creationix/lua-git | 200e9e13588b082ba109e34b6aa76242d699ca82 | [
"MIT"
] | 48 | 2015-06-03T16:24:52.000Z | 2022-02-24T03:19:41.000Z | package.lua | creationix/lua-git | 200e9e13588b082ba109e34b6aa76242d699ca82 | [
"MIT"
] | null | null | null | package.lua | creationix/lua-git | 200e9e13588b082ba109e34b6aa76242d699ca82 | [
"MIT"
] | 2 | 2015-09-18T19:22:28.000Z | 2015-11-21T19:54:52.000Z | return {
name = "creationix/git",
version = "2.1.1",
homepage = "https://github.com/creationix/lua-git",
description = "An implementation of git in pure lua.",
tags = {"git","db","codec"},
license = "MIT",
author = { name = "Tim Caswell" },
files = {
"*.lua",
},
}
| 22.076923 | 56 | 0.571429 |
330f0c3baa6b73293fcd4fabbaa5457656f166bd | 22,550 | py | Python | pydicom_ext/pydicom_series.py | shinaji/pydicom_ext | bc3d716eb488589ba5906a0722474682987dafb8 | [
"MIT"
] | null | null | null | pydicom_ext/pydicom_series.py | shinaji/pydicom_ext | bc3d716eb488589ba5906a0722474682987dafb8 | [
"MIT"
] | null | null | null | pydicom_ext/pydicom_series.py | shinaji/pydicom_ext | bc3d716eb488589ba5906a0722474682987dafb8 | [
"MIT"
] | null | null | null | # dicom_series.py
"""
By calling the function read_files with a directory name or list
of files as an argument, a list of DicomSeries instances can be
obtained. A DicomSeries object has some attributes that give
information about the serie (such as shape, sampling, suid) and
has an info attribute, which is a pydi... | 32.823872 | 80 | 0.587095 |
541700e39424ba4825a3e14c20593289660e4b70 | 1,188 | go | Go | internal/response/response.go | sighupio/fury-connect-switch | 86d824c25eaa241c12577004164ec6d4dfa7373e | [
"BSD-3-Clause"
] | 3 | 2021-04-08T08:46:32.000Z | 2021-08-18T08:55:31.000Z | internal/response/response.go | sighupio/fury-connect-switch | 86d824c25eaa241c12577004164ec6d4dfa7373e | [
"BSD-3-Clause"
] | 9 | 2021-03-30T13:26:38.000Z | 2021-08-25T05:11:15.000Z | internal/response/response.go | sighupio/fury-connect-switch | 86d824c25eaa241c12577004164ec6d4dfa7373e | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2021 SIGHUP s.r.l All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package response
import (
"fmt"
"github.com/sighupio/fury-connect-switch/internal/config"
)
type ResponseStatusSpec struct {
ActiveStatus string `json:"a... | 18.276923 | 84 | 0.734007 |
b176c4091d5028e0f0c438a1621f1c12fee26abc | 4,737 | h | C | verbosity/verbosity.h | weinbe2/quantum-linalg | ce852dc459c8a5010f777f219c0dc6623ec918e0 | [
"MIT"
] | null | null | null | verbosity/verbosity.h | weinbe2/quantum-linalg | ce852dc459c8a5010f777f219c0dc6623ec918e0 | [
"MIT"
] | null | null | null | verbosity/verbosity.h | weinbe2/quantum-linalg | ce852dc459c8a5010f777f219c0dc6623ec918e0 | [
"MIT"
] | null | null | null | // Copyright (c) 2017 Evan S Weinberg
// Verbosity header.
#ifndef ESW_VERBOSITY
#define ESW_VERBOSITY
#include <iostream>
#include <string>
enum inversion_verbose_level
{
VERB_PASS_THROUGH = -1, // For preconditioned verbosity only. This means to take whatever's used in verbosity.
VERB_NONE = 0, // Inverter pr... | 32.668966 | 160 | 0.682077 |
a70f4bfdf6e56a2d004b9b30fc713c8e183a22d4 | 1,770 | swift | Swift | Carthage/Checkouts/ReactiveCocoa/Carthage/Checkouts/ReactiveSwift/Sources/Observers/Throttle.swift | arcangelw/ReactiveAutomaton | e2876b876ac3ba79f0ca797d04567e8469b3c2bb | [
"MIT"
] | 3,078 | 2016-09-11T01:54:26.000Z | 2022-03-25T09:38:59.000Z | Carthage/Checkouts/ReactiveCocoa/Carthage/Checkouts/ReactiveSwift/Sources/Observers/Throttle.swift | arcangelw/ReactiveAutomaton | e2876b876ac3ba79f0ca797d04567e8469b3c2bb | [
"MIT"
] | 602 | 2016-09-11T12:12:29.000Z | 2022-03-30T14:45:06.000Z | Sources/Observers/Throttle.swift | isabella232/ReactiveSwift | efb2f0a6f6c8739cce8fb14148a5bd3c83f2f91d | [
"MIT"
] | 565 | 2016-09-11T07:04:27.000Z | 2022-03-16T19:57:51.000Z | import Foundation
extension Operators {
internal final class Throttle<Value, Error: Swift.Error>: UnaryAsyncOperator<Value, Value, Error> {
let interval: TimeInterval
let targetWithClock: DateScheduler
private let state: Atomic<ThrottleState<Value>> = Atomic(ThrottleState())
private let schedulerDisposable =... | 27.230769 | 114 | 0.736723 |
eeef88fcb67d29343797093fd23796ec322c268d | 772 | sql | SQL | framework/src/application/storage/migrations/node/20190522152200_add_round_delegates_table.sql | fchavant/lisk-sdk | 336f9bf60764d635758e87c1a2f8f02a2c6be969 | [
"Apache-2.0"
] | 1 | 2019-12-12T14:11:55.000Z | 2019-12-12T14:11:55.000Z | framework/src/application/storage/migrations/node/20190522152200_add_round_delegates_table.sql | fchavant/lisk-sdk | 336f9bf60764d635758e87c1a2f8f02a2c6be969 | [
"Apache-2.0"
] | null | null | null | framework/src/application/storage/migrations/node/20190522152200_add_round_delegates_table.sql | fchavant/lisk-sdk | 336f9bf60764d635758e87c1a2f8f02a2c6be969 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright © 2018 Lisk Foundation
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
* no part of this software, including this file, may be copied, modified,
* propagated... | 29.692308 | 84 | 0.747409 |
b1cdc55dcab379365880f83e8c00fcc859468527 | 4,734 | h | C | Channel/Sources/EDOChannel.h | brettfazio/eDO | 3968e42acd92a5e01181c74898c355d3306341bd | [
"Apache-2.0"
] | 3 | 2021-08-11T07:36:23.000Z | 2021-08-11T07:37:25.000Z | Channel/Sources/EDOChannel.h | brettfazio/eDO | 3968e42acd92a5e01181c74898c355d3306341bd | [
"Apache-2.0"
] | null | null | null | Channel/Sources/EDOChannel.h | brettfazio/eDO | 3968e42acd92a5e01181c74898c355d3306341bd | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2018 Google Inc.
//
// 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... | 40.810345 | 100 | 0.734474 |
2ada6ea91bc6d592b48e4c8ecdf2c475590f6524 | 594 | swift | Swift | Example/Pods/LithoUtils/LithoUtils/Classes/Base/Extensions/UIViewController+BarButtonItem.swift | LithoByte/litho-onboarding | a2463559bcaac548404e45ef3109f948924c6710 | [
"MIT"
] | null | null | null | Example/Pods/LithoUtils/LithoUtils/Classes/Base/Extensions/UIViewController+BarButtonItem.swift | LithoByte/litho-onboarding | a2463559bcaac548404e45ef3109f948924c6710 | [
"MIT"
] | 1 | 2022-01-15T15:53:44.000Z | 2022-01-15T15:53:44.000Z | Example/Pods/LithoUtils/LithoUtils/Classes/Base/Extensions/UIViewController+BarButtonItem.swift | LithoByte/litho-onboarding | a2463559bcaac548404e45ef3109f948924c6710 | [
"MIT"
] | 1 | 2021-06-29T20:43:07.000Z | 2021-06-29T20:43:07.000Z | //
// UIViewController+PushPop.swift
// FunNet
//
// Created by Calvin Collins on 5/17/21.
//
import Foundation
public extension UIViewController {
func barButtonItem(for imageName: String, selector: Selector) -> UIBarButtonItem {
let button = UIButton()
button.frame = CGRect(x: 0, y: 0, width:... | 27 | 86 | 0.654882 |
71e243140310dbc868442ebb0c4493d5cf29492e | 2,707 | sql | SQL | procedures/saveServantInfo.sql | sir-nutty/myChaldea-DB | 796d9f76d7dd64eff2923c92f0031589573d9c60 | [
"MIT"
] | null | null | null | procedures/saveServantInfo.sql | sir-nutty/myChaldea-DB | 796d9f76d7dd64eff2923c92f0031589573d9c60 | [
"MIT"
] | null | null | null | procedures/saveServantInfo.sql | sir-nutty/myChaldea-DB | 796d9f76d7dd64eff2923c92f0031589573d9c60 | [
"MIT"
] | null | null | null | CREATE DEFINER=`admin`@`10.150.0.2` PROCEDURE `saveServantInfo`(IN
user_uid VARCHAR(100),
servantName VARCHAR(100),
servantID SMALLINT,
servantType VARCHAR(30),
servantLevel TINYINT,
servantWiki VARCHAR(100),
servantFandom VARCHAR(100))
BEGIN
/*Changelog:
- 02/02/2021: Added isAdmin check.*/
... | 52.057692 | 174 | 0.700406 |
c44a1b24d5e4d5ee1672425fd139d9d9f7c35368 | 412 | c | C | gurba/lib/domains/angmar/rooms/fairyland/dragonroom.c | DEFCON-MUD/defcon-28-mud-source | b25b5bd15fee6a4acda5119ea864bde4dff62714 | [
"Unlicense"
] | 4 | 2021-07-21T17:49:01.000Z | 2022-03-11T20:50:59.000Z | gurba/lib/domains/angmar/rooms/fairyland/dragonroom.c | DEFCON-MUD/defcon-28-mud-source | b25b5bd15fee6a4acda5119ea864bde4dff62714 | [
"Unlicense"
] | null | null | null | gurba/lib/domains/angmar/rooms/fairyland/dragonroom.c | DEFCON-MUD/defcon-28-mud-source | b25b5bd15fee6a4acda5119ea864bde4dff62714 | [
"Unlicense"
] | 1 | 2021-12-31T00:55:05.000Z | 2021-12-31T00:55:05.000Z | #include "../../domain.h"
inherit "/std/room";
void setup(void) {
add_area(AREA);
add_area(FAIRYLAND_AREA);
set_short("In the dragon's cave");
set_long("This is where the great dragon lives and hoards treasures.");
add_exit("south", FAIRYLAND_ROOMS + "/tunnel.c");
add_item("treasures", "The usual... | 22.888889 | 80 | 0.674757 |
509626b37ede7bc4efa90c1fb9aeb9886b866911 | 94 | sql | SQL | src/test/resources/sql/insert/e81f1a77.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/insert/e81f1a77.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/insert/e81f1a77.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:updatable_views.sql ln:63 expect:true
INSERT INTO rw_view14 VALUES (null, 3, 'Row 3')
| 31.333333 | 47 | 0.744681 |
f0479a9ba57488e4e40422bc6a88fb25ecd174c8 | 239 | js | JavaScript | data/js/00/16/8c/00/00/00.24.js | p-g-krish/deepmac-tracker | 44d625a6b1ec30bf52f8d12a44b0afc594eb5f94 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | data/js/00/16/8c/00/00/00.24.js | p-g-krish/deepmac-tracker | 44d625a6b1ec30bf52f8d12a44b0afc594eb5f94 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | data/js/00/16/8c/00/00/00.24.js | p-g-krish/deepmac-tracker | 44d625a6b1ec30bf52f8d12a44b0afc594eb5f94 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | deepmacDetailCallback("00168c000000/24",[{"d":"2005-11-24","t":"add","a":"Havreveien 49\nOslo 0680\n\n","c":"NORWAY","o":"DSL Partner AS"},{"d":"2015-08-27","t":"change","a":"Havreveien 49 Oslo NO 0680","c":"NO","o":"DSL Partner AS"}]);
| 119.5 | 238 | 0.615063 |
2792d5670ef1ed1f896d65a746a2a44ed31a56f0 | 4,309 | css | CSS | ph-css/src/test/resources/testfiles/css30/good/artificial/test-supports.css | GhatnekarPreeti/ph-css | 78a0667970fdddb4431ad51e6a173473cdade922 | [
"Apache-2.0"
] | 118 | 2015-02-14T13:43:21.000Z | 2022-01-31T02:31:33.000Z | ph-css/src/test/resources/testfiles/css30/good/artificial/test-supports.css | GhatnekarPreeti/ph-css | 78a0667970fdddb4431ad51e6a173473cdade922 | [
"Apache-2.0"
] | 76 | 2015-01-13T16:08:02.000Z | 2022-03-30T13:01:28.000Z | ph-css/src/test/resources/testfiles/css30/good/artificial/test-supports.css | GhatnekarPreeti/ph-css | 78a0667970fdddb4431ad51e6a173473cdade922 | [
"Apache-2.0"
] | 27 | 2015-05-17T02:36:53.000Z | 2022-01-07T13:02:35.000Z | /**
* Copyright (C) 2014-2021 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 32.89313 | 129 | 0.614296 |
8e72b939b9ab2f9814c732a73d6f82fa50944096 | 4,609 | rb | Ruby | lib/sso/client/passport_verifier.rb | thejamespinto/sso | 61c6b4736cc5939ed05d27d4f2a5ad0ced7873eb | [
"MIT"
] | 7 | 2016-09-19T17:00:51.000Z | 2020-06-23T16:11:57.000Z | lib/sso/client/passport_verifier.rb | viniciuscbm/sso | 61c6b4736cc5939ed05d27d4f2a5ad0ced7873eb | [
"MIT"
] | null | null | null | lib/sso/client/passport_verifier.rb | viniciuscbm/sso | 61c6b4736cc5939ed05d27d4f2a5ad0ced7873eb | [
"MIT"
] | 4 | 2016-08-20T01:02:14.000Z | 2020-01-23T06:38:25.000Z | module SSO
module Client
class PassportVerifier
include ::SSO::Benchmarking
attr_reader :passport_id, :passport_state, :passport_secret, :user_ip, :user_agent, :device_id
def initialize(passport_id:, passport_state:, passport_secret:, user_ip:, user_agent: nil, device_id: nil)
@passpor... | 30.124183 | 132 | 0.658711 |
e72d543325127793a428caa4bb50e28f374dcb4c | 11,270 | lua | Lua | Board.lua | AhmedDawoud3/Chess-Love2D | c2555dd61d13d4e1fd2e8b218f874fab012b8c86 | [
"MIT"
] | null | null | null | Board.lua | AhmedDawoud3/Chess-Love2D | c2555dd61d13d4e1fd2e8b218f874fab012b8c86 | [
"MIT"
] | null | null | null | Board.lua | AhmedDawoud3/Chess-Love2D | c2555dd61d13d4e1fd2e8b218f874fab012b8c86 | [
"MIT"
] | null | null | null | lightCol = {241 / 255, 217 / 255, 192 / 255, 1}
darkCol = {169 / 255, 122 / 255, 101 / 255, 1}
WIDTH = 960
HEIGHT = 960
squareTileWidth = WIDTH / 8
squareTileHeight = HEIGHT / 8
local queenShadow = 0
local rookShadow = 0
local knightShadow = 0
local bishopShadow = 0
function CreateGraphicalBoard()
for file = 0, 7 ... | 43.682171 | 120 | 0.607986 |
800a1b2d1968d08abf4b654c0619fa4e8ebc053a | 1,156 | sql | SQL | internal/db/migrations/static/20201114152815_add_vip_level.down.sql | zikaeroh/hortbot | a2209124c539f7937928364166120d674c34e2c7 | [
"MIT"
] | 23 | 2019-05-29T05:54:42.000Z | 2022-01-26T01:31:22.000Z | internal/db/migrations/static/20201114152815_add_vip_level.down.sql | ChloeDawn/hortbot | 6a8ca310ee59a8662149c10526657765111666b2 | [
"MIT"
] | null | null | null | internal/db/migrations/static/20201114152815_add_vip_level.down.sql | ChloeDawn/hortbot | 6a8ca310ee59a8662149c10526657765111666b2 | [
"MIT"
] | 4 | 2019-05-30T21:56:21.000Z | 2021-09-08T12:52:14.000Z | -- https://stackoverflow.com/a/10404041
BEGIN;
-- Upgrade all VIP restricted items to moderators before removing them.
UPDATE channels SET mode = 'moderator' WHERE mode = 'vip';
UPDATE channels SET roll_level = 'moderator' WHERE roll_level = 'vip';
UPDATE channels SET filter_exempt_level = 'moderator' WHERE filter_ex... | 35.030303 | 132 | 0.772491 |
158d62d773088b25683a33a7c49561650829a42e | 2,815 | lua | Lua | QuickApp/Windy Webcams/Installation.lua | st4rg33k/Fibaro | d082036e4c0db285b2826fe349eea2d2998b75dc | [
"Apache-2.0"
] | null | null | null | QuickApp/Windy Webcams/Installation.lua | st4rg33k/Fibaro | d082036e4c0db285b2826fe349eea2d2998b75dc | [
"Apache-2.0"
] | null | null | null | QuickApp/Windy Webcams/Installation.lua | st4rg33k/Fibaro | d082036e4c0db285b2826fe349eea2d2998b75dc | [
"Apache-2.0"
] | 1 | 2021-12-10T10:22:17.000Z | 2021-12-10T10:22:17.000Z | --[[
Copyright [2021] [Julien Wetzel]
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 t... | 32.732558 | 99 | 0.647957 |
5fc9b90a2adff63bf9000d9863ef98da0d7d8370 | 282 | c | C | spm_module/zephyr/spm/src/main.c | alexismarquet/MSE-TM-nRF9160 | 87c44559eb524903ce39a1924d2c7b730d8b41d7 | [
"MIT"
] | 1 | 2022-01-25T08:36:49.000Z | 2022-01-25T08:36:49.000Z | spm_module/zephyr/spm/src/main.c | alexismarquet/MSE-TM-nRF9160 | 87c44559eb524903ce39a1924d2c7b730d8b41d7 | [
"MIT"
] | null | null | null | spm_module/zephyr/spm/src/main.c | alexismarquet/MSE-TM-nRF9160 | 87c44559eb524903ce39a1924d2c7b730d8b41d7 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2018 Nordic Semiconductor ASA.
*
* SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic
*/
#include <spm.h>
#include <cortex_m/tz.h>
#include <sys/printk.h>
#include <stdio.h>
#include "secure_services.h"
void main(void)
{
spm_config();
spm_jump();
}
| 14.842105 | 58 | 0.691489 |
ddbe66f7afe9613cbc34551b2c2bb4bc4e6d2ba9 | 55 | kt | Kotlin | framework/kotlin-simple-architecture-client/src/commonMain/kotlin/kim/jeonghyeon/client/UiManager.kt | dss99911/kotlin-simple-architecture | e9da57fdab9c9c1169fab422fac7432143e2c02c | [
"Apache-2.0"
] | 33 | 2020-10-19T23:35:44.000Z | 2022-01-28T07:29:33.000Z | framework/kotlin-simple-architecture-client/src/commonMain/kotlin/kim/jeonghyeon/client/UiManager.kt | dss99911/simple-android-architecture | e9da57fdab9c9c1169fab422fac7432143e2c02c | [
"Apache-2.0"
] | null | null | null | framework/kotlin-simple-architecture-client/src/commonMain/kotlin/kim/jeonghyeon/client/UiManager.kt | dss99911/simple-android-architecture | e9da57fdab9c9c1169fab422fac7432143e2c02c | [
"Apache-2.0"
] | 1 | 2021-01-21T06:10:04.000Z | 2021-01-21T06:10:04.000Z | package kim.jeonghyeon.client
expect class UiManager() | 18.333333 | 29 | 0.836364 |
bbdb03c3f539663a7877265fcd39ede110c4a621 | 1,141 | kt | Kotlin | main/src/test/kotlin/de/richargh/sandbox/spock/strongtypes/PersonTest.kt | Richargh/spock-strong-types-krdl-kt-sandbox | 5e4307dc43eda04f61de83c141267f9a7eb8fe54 | [
"MIT"
] | null | null | null | main/src/test/kotlin/de/richargh/sandbox/spock/strongtypes/PersonTest.kt | Richargh/spock-strong-types-krdl-kt-sandbox | 5e4307dc43eda04f61de83c141267f9a7eb8fe54 | [
"MIT"
] | null | null | null | main/src/test/kotlin/de/richargh/sandbox/spock/strongtypes/PersonTest.kt | Richargh/spock-strong-types-krdl-kt-sandbox | 5e4307dc43eda04f61de83c141267f9a7eb8fe54 | [
"MIT"
] | null | null | null | package de.richargh.sandbox.spock.strongtypes
import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.catchThrowable
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.CsvSource
import org.junit.jupiter.params.provider.ValueSource
internal class... | 25.931818 | 77 | 0.624014 |
3fc171b9b325566c525080e05a124b9b072d68fb | 629 | h | C | platforms/posix/network.h | nicholastmosher/flipper | 50ff6884c1c4636b1e8381042adf340b2caf4cc9 | [
"Apache-2.0"
] | null | null | null | platforms/posix/network.h | nicholastmosher/flipper | 50ff6884c1c4636b1e8381042adf340b2caf4cc9 | [
"Apache-2.0"
] | 1 | 2021-09-19T21:46:06.000Z | 2021-09-19T21:57:18.000Z | platforms/posix/network.h | nicholastmosher/flipper | 50ff6884c1c4636b1e8381042adf340b2caf4cc9 | [
"Apache-2.0"
] | 2 | 2021-08-19T03:43:22.000Z | 2021-09-12T03:08:14.000Z | /* network.h - Define and implement the network endpoint. */
#ifndef __lf_network_h__
#define __lf_network_h__
/* POSIX network includes. */
#include <arpa/inet.h>
#include <netdb.h>
/* The default port over which FMR can be accessed. */
#define LF_UDP_PORT 3258
struct _lf_network_context {
int fd;
char hos... | 24.192308 | 76 | 0.758347 |
46d3f8054ea932b294c1b2bd7d43ef3917e078f7 | 681 | css | CSS | style.css | rpgenesis/rpgenesis.github.io | 91270d00851973afdd5d5f4b4779d190eab0ec59 | [
"MIT"
] | null | null | null | style.css | rpgenesis/rpgenesis.github.io | 91270d00851973afdd5d5f4b4779d190eab0ec59 | [
"MIT"
] | null | null | null | style.css | rpgenesis/rpgenesis.github.io | 91270d00851973afdd5d5f4b4779d190eab0ec59 | [
"MIT"
] | null | null | null | @font-face {
font-family: 'regular';
src: url('font/regular.otf');
}
@font-face {
font-family: 'bold';
src: url('font/bold.otf');
}
body{
font-family: 'regular', sans-serif;
background-color: white;
color: black;
}
h1, h2, h3{
font-family: 'bold', sans-serif;
background-colo... | 17.921053 | 44 | 0.571219 |
82a93d2fcdd435d51c9ebdcd9cc35b8cba112d0a | 1,328 | kt | Kotlin | community/src/main/java/com/ekoapp/ekosdk/uikit/community/mycommunity/adapter/EkoMyCommunityPreviewAdapter.kt | amadeus-n/ASC-UIKit-Android | d4fe097da96f71ab281c9b39fafdaa901aed377c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | community/src/main/java/com/ekoapp/ekosdk/uikit/community/mycommunity/adapter/EkoMyCommunityPreviewAdapter.kt | amadeus-n/ASC-UIKit-Android | d4fe097da96f71ab281c9b39fafdaa901aed377c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | community/src/main/java/com/ekoapp/ekosdk/uikit/community/mycommunity/adapter/EkoMyCommunityPreviewAdapter.kt | amadeus-n/ASC-UIKit-Android | d4fe097da96f71ab281c9b39fafdaa901aed377c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2022-03-09T08:37:39.000Z | 2022-03-09T08:37:39.000Z | package com.ekoapp.ekosdk.uikit.community.mycommunity.adapter
import android.view.View
import com.ekoapp.ekosdk.community.EkoCommunity
import com.ekoapp.ekosdk.uikit.base.EkoBaseRecyclerViewPagedAdapter
import com.ekoapp.ekosdk.uikit.community.R
import com.ekoapp.ekosdk.uikit.community.mycommunity.listener.IMyCommunit... | 34.947368 | 97 | 0.715361 |
259a3130814cd9d84237d4a26dc24b1985fbb094 | 3,223 | sql | SQL | database/database.sql | provy24/DigitalBank | 8f1c606648cb871245e3ca64b6b7d4a45400093d | [
"MIT"
] | 5 | 2019-10-05T11:23:06.000Z | 2022-02-19T10:35:50.000Z | database/database.sql | provy24/DigitalBank | 8f1c606648cb871245e3ca64b6b7d4a45400093d | [
"MIT"
] | null | null | null | database/database.sql | provy24/DigitalBank | 8f1c606648cb871245e3ca64b6b7d4a45400093d | [
"MIT"
] | 5 | 2020-11-18T03:03:28.000Z | 2021-08-09T19:22:39.000Z | /*
SQLyog Enterprise - MySQL GUI v8.02 RC
MySQL - 5.5.0-m2-community : Database - database
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/... | 40.2875 | 717 | 0.655911 |
0100a426cf0058ccd6227e3c42ec6418225e68bc | 4,258 | swift | Swift | CompareImageLib/CompareImageLib/TestImageVC.swift | letoosh/BBMetalImage | ebbc0e76d40739edbf60d2e50b95847b69894fe1 | [
"MIT"
] | 815 | 2019-04-20T09:24:12.000Z | 2022-03-23T15:11:43.000Z | CompareImageLib/CompareImageLib/TestImageVC.swift | letoosh/BBMetalImage | ebbc0e76d40739edbf60d2e50b95847b69894fe1 | [
"MIT"
] | 100 | 2019-04-25T04:06:37.000Z | 2021-12-15T02:41:32.000Z | CompareImageLib/CompareImageLib/TestImageVC.swift | letoosh/BBMetalImage | ebbc0e76d40739edbf60d2e50b95847b69894fe1 | [
"MIT"
] | 109 | 2019-04-20T09:24:14.000Z | 2022-03-08T07:40:26.000Z | //
// TestImageVC.swift
// CompareImageLib
//
// Created by Kaibo Lu on 4/16/19.
// Copyright © 2019 Kaibo Lu. All rights reserved.
//
import UIKit
import BBMetalImage
import GPUImage
enum TestLib {
case BBMetalImage
case GPUImage
}
class TestImageVC: UIViewController {
private let type: TestLib
... | 35.781513 | 133 | 0.62635 |
3d19332a22192561ab737454551cd9cb20965063 | 7,098 | rs | Rust | tokio-util/src/codec/decoder.rs | hamza1311/tokio | 7f17822ed9943b7bd0703258268feb4f70edac51 | [
"MIT"
] | 1 | 2020-12-25T15:29:23.000Z | 2020-12-25T15:29:23.000Z | tokio-util/src/codec/decoder.rs | hamza1311/tokio | 7f17822ed9943b7bd0703258268feb4f70edac51 | [
"MIT"
] | 1 | 2022-01-19T02:23:41.000Z | 2022-01-19T02:23:41.000Z | tokio-util/src/codec/decoder.rs | hamza1311/tokio | 7f17822ed9943b7bd0703258268feb4f70edac51 | [
"MIT"
] | null | null | null | use crate::codec::Framed;
use tokio::io::{AsyncRead, AsyncWrite};
use bytes::BytesMut;
use std::io;
/// Decoding of frames via buffers.
///
/// This trait is used when constructing an instance of [`Framed`] or
/// [`FramedRead`]. An implementation of `Decoder` takes a byte stream that has
/// already been buffered i... | 42.759036 | 97 | 0.625951 |
7ffd3e245679b40972adf4173f307e81b785856c | 4,085 | go | Go | firefly/firefly.go | dtimmer1/Firefly | 1e24e7e45e67335c2f43a79c63f1c9a4e7dcc547 | [
"MIT"
] | null | null | null | firefly/firefly.go | dtimmer1/Firefly | 1e24e7e45e67335c2f43a79c63f1c9a4e7dcc547 | [
"MIT"
] | null | null | null | firefly/firefly.go | dtimmer1/Firefly | 1e24e7e45e67335c2f43a79c63f1c9a4e7dcc547 | [
"MIT"
] | null | null | null | package firefly
import (
"encoding/json"
"fmt"
"log"
"net/http"
"os"
"strconv"
"strings"
"time"
"gopkg.in/yaml.v3"
)
// YAML struct
type Config struct {
Temp_max int `yaml:"temp_max"`
Temp_min int `yaml:"temp_min"`
Wspeed_max int `yaml:"wspeed_max"`
Wspeed_min... | 22.694444 | 97 | 0.662179 |
4ac3050ee1afc7cc157d450e529e2b9b151e51c2 | 2,092 | swift | Swift | playgrounds/ChangingGradientView.playground/Contents.swift | Changzw/every-case-demo | 0ba08146fee2904bd2151fcea8041f03b8b86e71 | [
"Apache-2.0"
] | null | null | null | playgrounds/ChangingGradientView.playground/Contents.swift | Changzw/every-case-demo | 0ba08146fee2904bd2151fcea8041f03b8b86e71 | [
"Apache-2.0"
] | null | null | null | playgrounds/ChangingGradientView.playground/Contents.swift | Changzw/every-case-demo | 0ba08146fee2904bd2151fcea8041f03b8b86e71 | [
"Apache-2.0"
] | null | null | null | //: A UIKit based Playground for presenting user interface
import UIKit
import PlaygroundSupport
extension UIColor {
convenience init(AHEX string: String) {
var hex = string.hasPrefix("#")
? String(string.dropFirst())
: string
guard hex.count == 8 || hex.count == 6
else {
self.init(... | 31.69697 | 109 | 0.611377 |
b432acd9ad27ed9e0d4f97803faf88967fd548db | 486 | sql | SQL | kata-files/lesson2/hsql/expected/MYLARGESCHEMA/sp/SP275.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 22 | 2017-09-28T21:35:04.000Z | 2022-02-12T06:24:28.000Z | kata-files/lesson2/hsql/expected/MYLARGESCHEMA/sp/SP275.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 6 | 2017-07-01T13:52:34.000Z | 2018-09-13T15:43:47.000Z | kata-files/lesson2/hsql/expected/MYLARGESCHEMA/sp/SP275.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 11 | 2017-04-30T18:39:09.000Z | 2021-08-22T16:21:11.000Z | CREATE PROCEDURE SP275(OUT MYCOUNT INTEGER) SPECIFIC SP275_96309 LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA NEW SAVEPOINT LEVEL BEGIN ATOMIC DECLARE MYVAR INT;SELECT COUNT(*)INTO MYCOUNT FROM TABLE437;SELECT COUNT(*)INTO MYCOUNT FROM TABLE469;SELECT COUNT(*)INTO MYCOUNT FROM TABLE344;SELECT COUNT(*)INTO MYCOUNT FROM... | 243 | 483 | 0.816872 |
28b82db5b75374eb4a06fe5bed027894bb5594fb | 399 | rb | Ruby | spec/hubbah/configuration_spec.rb | LaunchAcademy/hubbah | 87dbb4c3f22a83560f45f9a7e4f2dc6d1014dbba | [
"MIT"
] | null | null | null | spec/hubbah/configuration_spec.rb | LaunchAcademy/hubbah | 87dbb4c3f22a83560f45f9a7e4f2dc6d1014dbba | [
"MIT"
] | null | null | null | spec/hubbah/configuration_spec.rb | LaunchAcademy/hubbah | 87dbb4c3f22a83560f45f9a7e4f2dc6d1014dbba | [
"MIT"
] | null | null | null | require 'spec_helper'
describe Hubbah::Configuration do
it 'assigns an api key' do
key = 'blah'
config = Hubbah::Configuration.new do |c|
c.api_key = key
end
expect(config.api_key).to eq(key)
end
it 'assigns a hub_id' do
hub_id = '342'
config = Hubbah::Configuration.new do |c|
... | 19 | 45 | 0.639098 |
c3ace8ba54a76ce1d4317369067e467e8db166ed | 1,154 | go | Go | cmd/output.go | mickep76/grpc-exec-example | fd6794a634bdbb6b5f12e173017729bdeb3ba2b8 | [
"Apache-2.0"
] | 3 | 2018-07-07T16:52:43.000Z | 2018-10-15T14:00:00.000Z | cmd/output.go | mickep76/grpc-exec-example | fd6794a634bdbb6b5f12e173017729bdeb3ba2b8 | [
"Apache-2.0"
] | null | null | null | cmd/output.go | mickep76/grpc-exec-example | fd6794a634bdbb6b5f12e173017729bdeb3ba2b8 | [
"Apache-2.0"
] | null | null | null | package cmd
import (
"bufio"
"bytes"
"io"
"time"
)
type Reader struct {
reader io.Reader
BytesRead int
}
func newReader(r io.Reader) *Reader {
return &Reader{reader: r}
}
func (r *Reader) Read(p []byte) (n int, err error) {
n, err = r.reader.Read(p)
r.BytesRead += n
return n, err
}
type Message struct... | 16.724638 | 87 | 0.633449 |
6ec1e28f15df4ee664d5f64ce43bc3eeeca735b6 | 6,450 | kt | Kotlin | app/src/main/java/com/patrykkosieradzki/qrcodereader/ui/home/HomeActivity.kt | k0siara/QRCodeReader | 2a1e3167e0501c5401fd20f8ed8d179eeb9ce388 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/patrykkosieradzki/qrcodereader/ui/home/HomeActivity.kt | k0siara/QRCodeReader | 2a1e3167e0501c5401fd20f8ed8d179eeb9ce388 | [
"Apache-2.0"
] | null | null | null | app/src/main/java/com/patrykkosieradzki/qrcodereader/ui/home/HomeActivity.kt | k0siara/QRCodeReader | 2a1e3167e0501c5401fd20f8ed8d179eeb9ce388 | [
"Apache-2.0"
] | null | null | null | package com.patrykkosieradzki.qrcodereader.ui.home
import android.content.Intent
import android.os.Bundle
import android.os.Handler
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.DefaultItemAnimator
import android.support.v7.widget.DividerItemDecoration
import android.support.v7.widge... | 30.861244 | 114 | 0.641395 |
44174c8d7c14740f8a0100aefc35b36e10920dcb | 61,951 | sql | SQL | src/cargas/datawarehouse/ciudad.sql | LucianoFromTrelew/datawarehouse-patsur | 02e7b33fcf8c28c84890b70ad15cd15bf136b68d | [
"MIT"
] | null | null | null | src/cargas/datawarehouse/ciudad.sql | LucianoFromTrelew/datawarehouse-patsur | 02e7b33fcf8c28c84890b70ad15cd15bf136b68d | [
"MIT"
] | 10 | 2018-06-11T20:47:18.000Z | 2018-07-03T02:12:47.000Z | src/cargas/datawarehouse/ciudad.sql | LucianoFromTrelew/datawarehouse-patsur | 02e7b33fcf8c28c84890b70ad15cd15bf136b68d | [
"MIT"
] | null | null | null | -- Script sacado de:
-- http://www.agevaled.com/wp-content/uploads/provincias%20y%20localidades.txt
INSERT INTO ciudad VALUES
(1, 1, '25 de Mayo'),
(2, 1, '3 de febrero'),
(3, 1, 'A. Alsina'),
(4, 1, 'A. Gonzáles Cháves'),
(5, 1, 'Aguas Verdes'),
(6, 1, 'Alberti'),
(7, 1, 'Arrecifes'),
(8, 1, 'Ayacucho'),
(9, 1, 'Azul... | 25.94263 | 78 | 0.578247 |
0bd91a13afb2dd6291bdba1efa68818edee4d17d | 1,061 | js | JavaScript | src/components/GlobalState.js | chris--jones/thisisme | c0eb58ba5b3e1fea2aa73f6b0330e9c6d1197346 | [
"MIT"
] | 1 | 2020-11-05T22:01:56.000Z | 2020-11-05T22:01:56.000Z | src/components/GlobalState.js | chris--jones/thisisme | c0eb58ba5b3e1fea2aa73f6b0330e9c6d1197346 | [
"MIT"
] | null | null | null | src/components/GlobalState.js | chris--jones/thisisme | c0eb58ba5b3e1fea2aa73f6b0330e9c6d1197346 | [
"MIT"
] | null | null | null | import React, { createContext, useState } from 'react';
const localStorageKey = 'thisisme';
const getFromStorage = () => JSON.parse(localStorage.getItem(localStorageKey));
const setToStorage = (value) => {
localStorage.setItem(
localStorageKey,
JSON.stringify(value),
);
};
const DEFAULT_STATE = {
pers... | 23.577778 | 79 | 0.652215 |
d4bd9a409d16a816a81c5633968d9565bd83f21c | 2,798 | rs | Rust | index/src/parse_movie.rs | simonhdickson/carolus | 34e93eb0c1d7123ffc243087f28e6fbbc4b12d67 | [
"MIT"
] | null | null | null | index/src/parse_movie.rs | simonhdickson/carolus | 34e93eb0c1d7123ffc243087f28e6fbbc4b12d67 | [
"MIT"
] | null | null | null | index/src/parse_movie.rs | simonhdickson/carolus | 34e93eb0c1d7123ffc243087f28e6fbbc4b12d67 | [
"MIT"
] | null | null | null | use std::path::Path;
use failure::{Error, format_err};
use lazy_static::lazy_static;
use regex::Regex;
use data::Movie;
pub fn parse<'a>(search_path: &Path, path: &'a Path) -> Result<Movie, Error> {
let (title, year) = parse_title(search_path, path)?;
Ok(Movie {
title: title.to_owned(),
year... | 34.121951 | 114 | 0.545747 |
48d4eeaee19f39347a5ae452e1fc6d055bc562a6 | 731 | h | C | ctags/main/promise.h | wonwooddo/vim_setup | 7555031a846ceb2986f491fd1738a5b5263af2f1 | [
"MIT"
] | null | null | null | ctags/main/promise.h | wonwooddo/vim_setup | 7555031a846ceb2986f491fd1738a5b5263af2f1 | [
"MIT"
] | null | null | null | ctags/main/promise.h | wonwooddo/vim_setup | 7555031a846ceb2986f491fd1738a5b5263af2f1 | [
"MIT"
] | null | null | null | /*
*
* Copyright (c) 2016, Red Hat, Inc.
* Copyright (c) 2016, Masatake YAMATO
*
* Author: Masatake YAMATO <yamato@redhat.com>
*
* This source code is released for free distribution under the terms of the
* GNU General Public License version 2 or (at your option) any later version.
*
*/
#ifndef CTAGS_M... | 26.107143 | 80 | 0.725034 |
b2d1a8016c0b95e209c421ed0aa8314cc552c1ba | 491 | py | Python | art/migrations/0007_alter_artimage_project.py | rrozander/Art-Website | 2cedba90f2adc30d9e83e957903e890af7863eac | [
"MIT"
] | null | null | null | art/migrations/0007_alter_artimage_project.py | rrozander/Art-Website | 2cedba90f2adc30d9e83e957903e890af7863eac | [
"MIT"
] | null | null | null | art/migrations/0007_alter_artimage_project.py | rrozander/Art-Website | 2cedba90f2adc30d9e83e957903e890af7863eac | [
"MIT"
] | null | null | null | # Generated by Django 3.2.12 on 2022-03-01 23:06
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('art', '0006_auto_20220301_1452'),
]
operations = [
migrations.AlterField(
model_name='artimage... | 24.55 | 122 | 0.643585 |
74e762f1fb6ae93285c3c8b6eaa1677c595214a5 | 2,136 | swift | Swift | Sources/qiskit/sdk/InstructionComponent.swift | QISKit/qiskit-sdk-swift | d0c10c6f76bf8bdfa44def116abd497cac41db0c | [
"Apache-2.0"
] | 20 | 2017-08-19T07:24:08.000Z | 2018-05-31T07:45:38.000Z | Sources/qiskit/sdk/InstructionComponent.swift | Qiskit/qiskit-sdk-swift | d0c10c6f76bf8bdfa44def116abd497cac41db0c | [
"Apache-2.0"
] | 9 | 2017-12-28T15:27:15.000Z | 2018-07-05T15:03:24.000Z | Sources/qiskit/sdk/InstructionComponent.swift | qiskit-community/qiskit-swift | d0c10c6f76bf8bdfa44def116abd497cac41db0c | [
"Apache-2.0"
] | 5 | 2020-01-03T16:12:08.000Z | 2021-12-07T00:15:50.000Z | // Copyright 2017 IBM RESEARCH. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | 31.411765 | 101 | 0.618446 |
85d2fe4781a4ed767199e41fa7312cf94501c88c | 388 | c | C | course/1. CodeWithHarry/0. resources/Chapter 3/03_if_else_if_1.c | sajalT05/C | 472878cf45eb2871369309064d725db4aee88ee8 | [
"MIT"
] | null | null | null | course/1. CodeWithHarry/0. resources/Chapter 3/03_if_else_if_1.c | sajalT05/C | 472878cf45eb2871369309064d725db4aee88ee8 | [
"MIT"
] | null | null | null | course/1. CodeWithHarry/0. resources/Chapter 3/03_if_else_if_1.c | sajalT05/C | 472878cf45eb2871369309064d725db4aee88ee8 | [
"MIT"
] | null | null | null | #include<stdio.h>
int main(){
int num;
printf("Enter your number\n");
scanf("%d", &num);
if(num==1){
printf("Your number is 1\n");
}
else if (num == 2)
{
printf("Your number is 2\n");
}
else if (num == 3)
{
printf("Your number is 3\n");
}
else{
... | 14.923077 | 39 | 0.443299 |
9bde5822066d96cc11e9c7ed8192a4d6c7c7ce88 | 74 | js | JavaScript | snake_game/target/doc/graphics/radians/sidebar-items.js | abarrerah/Frontier | e0a16eb9aa736c1289391177d1067b61ff924572 | [
"MIT"
] | null | null | null | snake_game/target/doc/graphics/radians/sidebar-items.js | abarrerah/Frontier | e0a16eb9aa736c1289391177d1067b61ff924572 | [
"MIT"
] | null | null | null | snake_game/target/doc/graphics/radians/sidebar-items.js | abarrerah/Frontier | e0a16eb9aa736c1289391177d1067b61ff924572 | [
"MIT"
] | null | null | null | initSidebarItems({"trait":[["Radians","Useful constants for radians."]]}); | 74 | 74 | 0.716216 |
f0974f8bbfc9adc801311973c854f8e4983ed43b | 110 | sql | SQL | microservicio/infraestructura/src/main/resources/sql/reserva/listar.sql | javierSceiba/Buceo | fe3902ed1809e59ae6772d085c7b497c26a7d524 | [
"Apache-2.0"
] | null | null | null | microservicio/infraestructura/src/main/resources/sql/reserva/listar.sql | javierSceiba/Buceo | fe3902ed1809e59ae6772d085c7b497c26a7d524 | [
"Apache-2.0"
] | null | null | null | microservicio/infraestructura/src/main/resources/sql/reserva/listar.sql | javierSceiba/Buceo | fe3902ed1809e59ae6772d085c7b497c26a7d524 | [
"Apache-2.0"
] | null | null | null | select id,nombre_cliente,tipo_usuario,numero_documento,costo_reserva,fecha_reserva
from reserva where id = :id | 55 | 82 | 0.872727 |
439f75cd416e99b1c57b8ac90639577947743105 | 403 | sql | SQL | Tests/materials/ms-sql/sqlsrvanalysissrvcs/MonitoringSSAS/config_data_server/AddLinkedServer.sql | RomanBelkov/YaccConstructor | f3422cf5d152a63ceff13609c5bfd271958bf345 | [
"Apache-2.0"
] | null | null | null | Tests/materials/ms-sql/sqlsrvanalysissrvcs/MonitoringSSAS/config_data_server/AddLinkedServer.sql | RomanBelkov/YaccConstructor | f3422cf5d152a63ceff13609c5bfd271958bf345 | [
"Apache-2.0"
] | null | null | null | Tests/materials/ms-sql/sqlsrvanalysissrvcs/MonitoringSSAS/config_data_server/AddLinkedServer.sql | RomanBelkov/YaccConstructor | f3422cf5d152a63ceff13609c5bfd271958bf345 | [
"Apache-2.0"
] | 1 | 2020-01-21T17:39:33.000Z | 2020-01-21T17:39:33.000Z | EXEC master.dbo.sp_addlinkedserver
@server = N'SSAS2008' -- linked server friendly name
, @srvproduct=N'MSOLAP'
, @provider=N'MSOLAP'
, @datasrc=N'SSASServer' -- Server Name
, @catalog=N'YourDatabaseNameHere' -- Database Name
go
EXEC master.dbo.sp_addlinkedsrvlogin
@rmtsrvname=N'SSAS2008'
, @us... | 23.705882 | 56 | 0.692308 |
653275e0a6bf64ffd7bef701a34270c76bd37631 | 1,854 | py | Python | clisk/player/player.py | etano/clisk | 70067eb98568a97d896ee486bae56b49c77bcb11 | [
"MIT"
] | null | null | null | clisk/player/player.py | etano/clisk | 70067eb98568a97d896ee486bae56b49c77bcb11 | [
"MIT"
] | null | null | null | clisk/player/player.py | etano/clisk | 70067eb98568a97d896ee486bae56b49c77bcb11 | [
"MIT"
] | null | null | null | class Player(object):
"""Player class
Attributes:
name (str): Player name
"""
def __init__(self, name):
"""Initialize player
Args:
name (str): Player name
"""
self.name = name
def place_troops(self, board, n_troops):
"""Plac... | 26.112676 | 95 | 0.553937 |
20fa7f9ba0e03337c15cff23e4fd4d56e191ff9f | 865 | css | CSS | public/css/style.css | LettersforBlackLives/slack-invite-automation | 7526798569e9a4da4127a1707506a508a53f736e | [
"MIT"
] | null | null | null | public/css/style.css | LettersforBlackLives/slack-invite-automation | 7526798569e9a4da4127a1707506a508a53f736e | [
"MIT"
] | null | null | null | public/css/style.css | LettersforBlackLives/slack-invite-automation | 7526798569e9a4da4127a1707506a508a53f736e | [
"MIT"
] | null | null | null | @charset "UTF-8";
header {
text-align: center;
}
header h1, header h2 {
color: #000;
}
button {
font-size: 1.15rem;
cursor: pointer;
}
/* Accordion styles via https://codepen.io/raubaca/pen/PZzpVe */
.onboarding {
/* overflow: hidden; */
}
.onboarding__step {
overflow: hidden;
}
.onboarding__step > h2 {... | 18.804348 | 74 | 0.67052 |
0e50a2347df3737ed30a4926e9617c5efead9a23 | 1,620 | html | HTML | testes/LP/LP001/index.html | Luc4sFreire/html-css | e7116e2fb41700961f3701aab7f94107b24bd6f4 | [
"MIT"
] | null | null | null | testes/LP/LP001/index.html | Luc4sFreire/html-css | e7116e2fb41700961f3701aab7f94107b24bd6f4 | [
"MIT"
] | null | null | null | testes/LP/LP001/index.html | Luc4sFreire/html-css | e7116e2fb41700961f3701aab7f94107b24bd6f4 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Teste de Landing Pages</title>
<link rel="stylesheet" href="estilo/principal.css">
</head>
<body>
... | 40.5 | 134 | 0.582099 |
43a5562a14702b4fc51c7509a5011fd3afd8d942 | 9,708 | go | Go | delivery/consumer_test.go | openrelayxyz/cardinal-streams | 74f712e2933ab8ce06f965ff1fafa4011a06b115 | [
"MIT"
] | 1 | 2022-02-21T12:23:20.000Z | 2022-02-21T12:23:20.000Z | delivery/consumer_test.go | openrelayxyz/cardinal-streams | 74f712e2933ab8ce06f965ff1fafa4011a06b115 | [
"MIT"
] | null | null | null | delivery/consumer_test.go | openrelayxyz/cardinal-streams | 74f712e2933ab8ce06f965ff1fafa4011a06b115 | [
"MIT"
] | 1 | 2022-03-28T20:50:54.000Z | 2022-03-28T20:50:54.000Z | package delivery
import (
"time"
"testing"
"math/big"
"math/rand"
"github.com/openrelayxyz/cardinal-types"
// "strings"
"regexp"
"runtime"
)
type testResumptionMessage struct{
Message
offset int64
source string
}
func (r *testResumptionMessage) Offset() int64 { return r.offset }
func (r *testRe... | 34.063158 | 154 | 0.607437 |
8eaac5799c4b40a970d0a2fa06742d97d7284f0e | 2,078 | rb | Ruby | lib/rmega/progress.rb | personal-social-media/rmega | 007041cb4d568f430cd8e385d86da1d20a86ac42 | [
"MIT"
] | 130 | 2015-01-28T22:32:43.000Z | 2022-03-26T17:40:32.000Z | lib/rmega/progress.rb | personal-social-media/rmega | 007041cb4d568f430cd8e385d86da1d20a86ac42 | [
"MIT"
] | 30 | 2015-07-06T14:02:36.000Z | 2022-01-18T07:29:51.000Z | lib/rmega/progress.rb | personal-social-media/rmega | 007041cb4d568f430cd8e385d86da1d20a86ac42 | [
"MIT"
] | 29 | 2015-02-15T09:56:57.000Z | 2022-03-13T22:03:26.000Z | module Rmega
class Progress
include Options
def initialize(total, options = {})
@total = total
@caption = options[:caption]
@bytes = 0
@real_bytes = 0
@mutex = Mutex.new
@start_time = Time.now
if show? and options[:filename]
puts options[:filename]
end... | 21.873684 | 106 | 0.567372 |
0bc479f4978e5e07aa1b333d7f9dc6715c0c2486 | 992 | js | JavaScript | src/lib/core/Text/Headers/H4/index.test.js | Entrenarme/entrenarme-ui | 293853c633c8d337deeb61f51130388144482547 | [
"MIT"
] | null | null | null | src/lib/core/Text/Headers/H4/index.test.js | Entrenarme/entrenarme-ui | 293853c633c8d337deeb61f51130388144482547 | [
"MIT"
] | 10 | 2018-07-16T08:52:06.000Z | 2018-08-29T06:52:35.000Z | src/lib/core/Text/Headers/H4/index.test.js | Entrenarme/entrenarme-ui | 293853c633c8d337deeb61f51130388144482547 | [
"MIT"
] | null | null | null | import * as React from 'react';
import { render } from 'react-testing-library';
import 'react-testing-library/cleanup-after-each';
import H4 from './index';
test('renders "Heading" with no props', () => {
const { container } = render(<H4>Heading</H4>);
expect(container.firstChild).toMatchSnapshot();
});
test('re... | 32 | 68 | 0.673387 |
70a26e43e3009a00192b577abf0c163115a4ad86 | 3,671 | kt | Kotlin | rulebot/src/main/kotlin/com/kyledahlin/rulebot/bot/Rule.kt | kadahlin/RuleDiscordBot | 2944d8c36d9b6adbeceab406e4ee08b247c66034 | [
"Apache-2.0"
] | 2 | 2019-03-24T18:47:23.000Z | 2019-09-10T06:43:19.000Z | rulebot/src/main/kotlin/com/kyledahlin/rulebot/bot/Rule.kt | kadahlin/RuleDiscordBot | 2944d8c36d9b6adbeceab406e4ee08b247c66034 | [
"Apache-2.0"
] | 1 | 2020-03-16T21:24:29.000Z | 2020-03-16T21:24:29.000Z | rulebot/src/main/kotlin/com/kyledahlin/rulebot/bot/Rule.kt | kadahlin/RuleDiscordBot | 2944d8c36d9b6adbeceab406e4ee08b247c66034 | [
"Apache-2.0"
] | null | null | null | /*
*Copyright 2020 Kyle Dahlin
*
*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, sof... | 31.646552 | 123 | 0.717788 |
5b4b213c64d17b6b738668d2d8b58d7122c9d93a | 375 | kt | Kotlin | core/src/test/java/com/epam/coroutinecache/utils/MockDataString.kt | prudhvir3ddy/CoroutinesCache | b728e8d5ed0c1198dca3befaa1b4298bda8ea7c5 | [
"Apache-2.0"
] | 169 | 2019-02-06T09:30:50.000Z | 2022-03-17T17:40:59.000Z | core/src/test/java/com/epam/coroutinecache/utils/MockDataString.kt | prudhvir3ddy/CoroutinesCache | b728e8d5ed0c1198dca3befaa1b4298bda8ea7c5 | [
"Apache-2.0"
] | 21 | 2019-03-10T13:58:30.000Z | 2020-08-05T23:12:20.000Z | core/src/test/java/com/epam/coroutinecache/utils/MockDataString.kt | prudhvir3ddy/CoroutinesCache | b728e8d5ed0c1198dca3befaa1b4298bda8ea7c5 | [
"Apache-2.0"
] | 13 | 2019-02-14T14:35:17.000Z | 2021-09-03T18:33:16.000Z | package com.epam.coroutinecache.utils
class MockDataString(
private val message: String
) {
constructor() : this("test")
fun getMessage(): String = message
override fun equals(other: Any?): Boolean {
return other != null && other is MockDataString && other.message == this.message
}
... | 23.4375 | 88 | 0.661333 |
8510211d34de6fcbd6d6494d8102b08f9270a84b | 358 | kt | Kotlin | src/dev/lunarcoffee/blazelight/model/internal/forums/DefaultCategory.kt | LunarCoffee/Blazelight | 3f0a227fe8d48cbeece5d677e8e36974d00e4e9c | [
"MIT"
] | 1 | 2019-11-05T18:48:28.000Z | 2019-11-05T18:48:28.000Z | src/dev/lunarcoffee/blazelight/model/internal/forums/DefaultCategory.kt | LunarCoffee/Blazelight | 3f0a227fe8d48cbeece5d677e8e36974d00e4e9c | [
"MIT"
] | null | null | null | src/dev/lunarcoffee/blazelight/model/internal/forums/DefaultCategory.kt | LunarCoffee/Blazelight | 3f0a227fe8d48cbeece5d677e8e36974d00e4e9c | [
"MIT"
] | null | null | null | package dev.lunarcoffee.blazelight.model.internal.forums
import dev.lunarcoffee.blazelight.model.internal.std.util.UniqueIDGenerator
class DefaultCategory(override val name: String) : Category {
override val forumIds = mutableListOf<Long>()
override val creationTime = System.currentTimeMillis()
override ... | 32.545455 | 75 | 0.793296 |
c346c434560987ccc5d3653cb1889deda04482d1 | 403 | sql | SQL | DBLibTest/tempsql.sql | MBeanwenshengming/linuxgameserver | f03bf6ba0d625609c9654ddf0dc821386337e7dc | [
"MIT"
] | 5 | 2018-04-02T07:16:20.000Z | 2021-08-01T05:25:37.000Z | src/DBLibTest/tempsql.sql | MBeanwenshengming/EpollNetWorkAndDBLib | e8da0fbf449113cdf21808c6032451e5f0063e8d | [
"MIT"
] | null | null | null | src/DBLibTest/tempsql.sql | MBeanwenshengming/EpollNetWorkAndDBLib | e8da0fbf449113cdf21808c6032451e5f0063e8d | [
"MIT"
] | 2 | 2015-08-21T07:31:41.000Z | 2018-05-10T12:36:32.000Z | delimiter //
create procedure addrole (accountid bigint, roleidvalue int, rolenamevalue varchar(20), classidvalue int, out addresult int)
begin
if exists(select * from tb_role where rolename=rolenamevalue) then
begin
set addresult = -1;
end;
else
begin
insert into tb_role values(accountid, roleidvalue, role... | 21.210526 | 124 | 0.751861 |
1eeb84e786fb66185a84f0953c22486d0abeb86d | 1,524 | kt | Kotlin | presentation/src/main/java/com/intact/moviesbox/presentation/mapper/NowPlayingDomainPresentationMapper.kt | EtsTest-AndroidApps/MovieBox | e9a4b67e87ffec4b26fc29b1e3adab07343b9c51 | [
"Apache-2.0"
] | 11 | 2020-04-17T18:30:22.000Z | 2021-10-03T21:19:17.000Z | presentation/src/main/java/com/intact/moviesbox/presentation/mapper/NowPlayingDomainPresentationMapper.kt | DevAnuragGarg/FilmiReview-Android-Architecture | 6cfe0a54ff7936c1539b06130265cf270ad944cb | [
"Apache-2.0"
] | 1 | 2020-04-08T00:31:50.000Z | 2020-04-19T07:14:19.000Z | presentation/src/main/java/com/intact/moviesbox/presentation/mapper/NowPlayingDomainPresentationMapper.kt | DevAnuragGarg/FilmiReview-Android-Architecture | 6cfe0a54ff7936c1539b06130265cf270ad944cb | [
"Apache-2.0"
] | 5 | 2020-02-25T05:54:53.000Z | 2022-02-11T01:01:37.000Z | package com.intact.moviesbox.presentation.mapper
import com.intact.moviesbox.domain.entities.MovieDomainDTO
import com.intact.moviesbox.domain.entities.NowPlayingMoviesDomainDTO
import com.intact.moviesbox.presentation.model.MovieDTO
import com.intact.moviesbox.presentation.model.NowPlayingMoviesDTO
import javax.injec... | 33.130435 | 82 | 0.698163 |
f314715c9e3ac2b5283ead4b783012cbce9d8dd4 | 1,932 | kt | Kotlin | src/main/assembler/Parser.kt | Corithm/toy-computer | f682a1b5f0127c1f656bd22b7b49047f47570209 | [
"Apache-2.0"
] | null | null | null | src/main/assembler/Parser.kt | Corithm/toy-computer | f682a1b5f0127c1f656bd22b7b49047f47570209 | [
"Apache-2.0"
] | null | null | null | src/main/assembler/Parser.kt | Corithm/toy-computer | f682a1b5f0127c1f656bd22b7b49047f47570209 | [
"Apache-2.0"
] | null | null | null | package main.assembler
import java.io.BufferedReader
import java.io.FileReader
/**
* Parser implementation.
*
* p. 113 - 114
*/
class Parser(fileName: String)
{
private val reader: BufferedReader = BufferedReader(FileReader(fileName))
private var currentCommand: String? = null
val IGNORED: Int = 0
... | 23.851852 | 100 | 0.549172 |
c46ca2af756239dbea116e6403b49fd5c624c78e | 31,269 | h | C | groups/bsl/bslstl/bslstl_function_rep.h | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | null | null | null | groups/bsl/bslstl/bslstl_function_rep.h | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | null | null | null | groups/bsl/bslstl/bslstl_function_rep.h | eddiepierce/bde | 45953ece9dd1cd8732f01a1cd24bbe838791d298 | [
"Apache-2.0"
] | null | null | null | // bslstl_function_rep.h -*-C++-*-
#ifndef INCLUDED_BSLSTL_FUNCTION_REP
#define INCLUDED_BSLSTL_FUNCTION_REP
#include <bsls_ident.h>
BSLS_IDENT("$Id: $")
//@PURPOSE: Provide a non-template, common implementation for 'bsl::function'.
//
//@CLASSES:
// bslstl::Function_Rep: ... | 42.485054 | 79 | 0.635837 |
beea0e51837f6e2f03602d0b75071ea645a5af86 | 12,668 | html | HTML | ux/index.html | jleoramirezm/jleoramirezm.github.io | c3a9cb87b2c9f60a58dd9d2335b62bfc02ee1576 | [
"Apache-2.0"
] | null | null | null | ux/index.html | jleoramirezm/jleoramirezm.github.io | c3a9cb87b2c9f60a58dd9d2335b62bfc02ee1576 | [
"Apache-2.0"
] | null | null | null | ux/index.html | jleoramirezm/jleoramirezm.github.io | c3a9cb87b2c9f60a58dd9d2335b62bfc02ee1576 | [
"Apache-2.0"
] | null | null | null | <?php
session_start();
include("library/class_email_sender.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>UX-Coming Soon HTML Template</title>
<link name="author" href="Faisal Russel(russel365)" /... | 50.672 | 681 | 0.598674 |
5bdb9e2100f4cfd164af89a8a98bf110bfbdf5d8 | 6,270 | h | C | include/schema/factory/CommonFactory.h | th2-net/th2-common-cpp | 9b2df017851507923edde5a0e0c675c142450998 | [
"Apache-2.0"
] | null | null | null | include/schema/factory/CommonFactory.h | th2-net/th2-common-cpp | 9b2df017851507923edde5a0e0c675c142450998 | [
"Apache-2.0"
] | null | null | null | include/schema/factory/CommonFactory.h | th2-net/th2-common-cpp | 9b2df017851507923edde5a0e0c675c142450998 | [
"Apache-2.0"
] | 4 | 2020-12-15T20:31:28.000Z | 2021-03-25T16:00:07.000Z | /*
* Copyright 2020-2020 Exactpro (Exactpro Systems Limited)
*
* 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... | 40.714286 | 120 | 0.645774 |
0cf776032667c66aa9047465a936c18e4c0e130b | 99 | py | Python | mysite/ChainLicense/apps.py | Hwieun/ChainLicense | 35d552ff1cfd056584a54b946999ff287e87d8ad | [
"Apache-2.0"
] | 2 | 2019-09-23T01:55:46.000Z | 2019-11-08T16:33:47.000Z | mysite/ChainLicense/apps.py | Hwieun/ChainLicense | 35d552ff1cfd056584a54b946999ff287e87d8ad | [
"Apache-2.0"
] | 1 | 2019-10-07T01:11:55.000Z | 2019-10-07T01:11:55.000Z | mysite/ChainLicense/apps.py | Hwieun/ChainLicense | 35d552ff1cfd056584a54b946999ff287e87d8ad | [
"Apache-2.0"
] | 1 | 2019-09-24T06:22:30.000Z | 2019-09-24T06:22:30.000Z | from django.apps import AppConfig
class ChainlicenseConfig(AppConfig):
name = 'ChainLicense'
| 16.5 | 36 | 0.777778 |
4e14fcd278e7d37d654e64a8eb6e893bfc7f3147 | 1,270 | lua | Lua | game/rules/items/init.lua | tredfern/terminus | 69f7313ecf2363978d72507295645a0982923617 | [
"MIT"
] | 4 | 2021-01-31T21:50:50.000Z | 2022-02-04T04:04:47.000Z | game/rules/items/init.lua | tredfern/terminus | 69f7313ecf2363978d72507295645a0982923617 | [
"MIT"
] | 172 | 2021-02-03T00:13:15.000Z | 2021-07-28T01:59:35.000Z | game/rules/items/init.lua | tredfern/terminus | 69f7313ecf2363978d72507295645a0982923617 | [
"MIT"
] | null | null | null | -- Copyright (c) 2021 Trevor Redfern
--
-- This software is released under the MIT License.
-- https://opensource.org/licenses/MIT
local Items = {
actions = {},
selectors = {},
}
function Items.actions.add(item, position)
local World = require "game.rules.world"
item.position = position
return ... | 25.918367 | 64 | 0.720472 |
580511b8fe54f90638879f395d10fa13de13a82f | 65,303 | c | C | build/ImageMagick-7.1.0-2/IMDelegates/ghostscript-9.54.0/cups/libs/cups/adminutil.c | roMummy/imagemagick_lib_ios | 0e0e6fa77e06b471f5019d5b1b28caabd08d5e6a | [
"ImageMagick"
] | null | null | null | build/ImageMagick-7.1.0-2/IMDelegates/ghostscript-9.54.0/cups/libs/cups/adminutil.c | roMummy/imagemagick_lib_ios | 0e0e6fa77e06b471f5019d5b1b28caabd08d5e6a | [
"ImageMagick"
] | null | null | null | build/ImageMagick-7.1.0-2/IMDelegates/ghostscript-9.54.0/cups/libs/cups/adminutil.c | roMummy/imagemagick_lib_ios | 0e0e6fa77e06b471f5019d5b1b28caabd08d5e6a | [
"ImageMagick"
] | null | null | null | /*
* "$Id: adminutil.c 10996 2013-05-29 11:51:34Z msweet $"
*
* Administration utility API definitions for CUPS.
*
* Copyright 2007-2013 by Apple Inc.
* Copyright 2001-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
* property of Apple Inc. and ... | 27.883433 | 90 | 0.576849 |
0baa80eb9ba40c6d66b4f05785427f91545460d9 | 81 | py | Python | Extensions/BabaGUI/config.py | siva-msft/baba-is-auto | 3237b5b70167130558827979bde7dcee14ef39f3 | [
"MIT"
] | 108 | 2019-09-11T06:31:35.000Z | 2022-03-28T13:02:56.000Z | Extensions/BabaGUI/config.py | siva-msft/baba-is-auto | 3237b5b70167130558827979bde7dcee14ef39f3 | [
"MIT"
] | 29 | 2019-09-12T00:28:04.000Z | 2022-02-20T14:56:27.000Z | Extensions/BabaGUI/config.py | utilForever/baba-is-auto | 11937742e25b37b1e27de87fe74d10f09062d6ce | [
"MIT"
] | 14 | 2020-02-24T05:41:43.000Z | 2022-03-28T12:43:34.000Z | import pygame
FPS = 60
BLOCK_SIZE = 48
COLOR_BACKGROUND = pygame.Color(0, 0, 0)
| 13.5 | 40 | 0.728395 |
463a7364d36163580f073e78a02f742e2e4d4340 | 486 | kt | Kotlin | app/src/main/java/io/horizontalsystems/bankwallet/modules/releasenotes/ReleaseNotesModule.kt | quetzalcroix/vextabit-wallet-android | e6baef3c8530608ad7ed33a8b104382c7a54d55e | [
"MIT"
] | 317 | 2019-05-16T09:26:08.000Z | 2022-03-31T19:39:53.000Z | app/src/main/java/io/horizontalsystems/bankwallet/modules/releasenotes/ReleaseNotesModule.kt | quetzalcroix/vextabit-wallet-android | e6baef3c8530608ad7ed33a8b104382c7a54d55e | [
"MIT"
] | 1,757 | 2019-05-13T05:57:04.000Z | 2022-03-31T14:19:34.000Z | app/src/main/java/io/horizontalsystems/bankwallet/modules/releasenotes/ReleaseNotesModule.kt | quetzalcroix/vextabit-wallet-android | e6baef3c8530608ad7ed33a8b104382c7a54d55e | [
"MIT"
] | 183 | 2019-05-14T07:07:30.000Z | 2022-03-31T00:02:11.000Z | package io.horizontalsystems.bankwallet.modules.releasenotes
import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import io.horizontalsystems.bankwallet.core.App
object ReleaseNotesModule {
class Factory : ViewModelProvider.Factory {
@Suppress("UNCHECKED_CAST")
override ... | 32.4 | 93 | 0.755144 |
e9d2cd3416d0cb812f1dcf6c53b4e079d29b31c4 | 923 | rb | Ruby | spec/controllers/authentication_concern_spec.rb | danrabinowitz/omniauth-rails | ffd1227c9acb76675ab9febc448d372128a751bd | [
"MIT"
] | 2 | 2016-09-12T09:03:31.000Z | 2016-10-06T22:55:41.000Z | spec/controllers/authentication_concern_spec.rb | danrabinowitz/omniauth-rails | ffd1227c9acb76675ab9febc448d372128a751bd | [
"MIT"
] | 1 | 2016-09-12T18:45:41.000Z | 2016-09-12T18:45:41.000Z | spec/controllers/authentication_concern_spec.rb | danrabinowitz/omniauth-rails | ffd1227c9acb76675ab9febc448d372128a751bd | [
"MIT"
] | null | null | null | # frozen_string_literal: true
require "rails_helper_for_engine"
RSpec.describe Omniauth::Rails::AuthenticationConcern do
controller(ApplicationController) do
require_authentication
def fake_action
head :ok
end
end
before do
routes.draw do
get "fake_action" => "anonymous#fake_action... | 22.512195 | 79 | 0.687974 |
c639d62e57f1a17228f0557f165909260d0ac201 | 3,207 | lua | Lua | dot_dotfiles/awesomewm/dot_config/awesome/util/tabs.lua | TheRealOne78/dots | 52c59dae1fccb7392ceeb16ac564f6a18ee4a159 | [
"MIT"
] | 758 | 2016-11-19T22:52:34.000Z | 2022-03-29T00:43:57.000Z | dot_dotfiles/awesomewm/dot_config/awesome/util/tabs.lua | TheRealOne78/dots | 52c59dae1fccb7392ceeb16ac564f6a18ee4a159 | [
"MIT"
] | 27 | 2017-02-09T23:28:58.000Z | 2022-03-22T21:35:24.000Z | dot_dotfiles/awesomewm/dot_config/awesome/util/tabs.lua | TheRealOne78/dots | 52c59dae1fccb7392ceeb16ac564f6a18ee4a159 | [
"MIT"
] | 82 | 2016-12-23T04:42:00.000Z | 2022-03-29T19:25:16.000Z | local wibox = require("wibox")
local widget = require("util.widgets")
local helpers = require("helpers")
local font = require("util.font")
local mat_bg = require("utils.material.background")
-- opacity state for button dark theme
-- https://material.io/design/color/dark-theme.html#states
local o = { fg={} }
o["fg"]["d... | 27.410256 | 86 | 0.665108 |
15c75b19508b0bf233e22734ecdab13f50ed18f0 | 2,683 | lua | Lua | Player.lua | Kraton9000/Ninja_Run | a745bbca0359f8325c5026d2babe55f640bd8a67 | [
"Adobe-2006",
"Adobe-Glyph"
] | null | null | null | Player.lua | Kraton9000/Ninja_Run | a745bbca0359f8325c5026d2babe55f640bd8a67 | [
"Adobe-2006",
"Adobe-Glyph"
] | null | null | null | Player.lua | Kraton9000/Ninja_Run | a745bbca0359f8325c5026d2babe55f640bd8a67 | [
"Adobe-2006",
"Adobe-Glyph"
] | null | null | null | require "30log-global"
Player = class("Player")
function Player:init(character, stance, stanceLimit, x, y, spriteSpeed, spriteTimer)
self.character = character
self.stance = stance
self.stanceLimit = stanceLimit
self.stanceCount = 1
self.x = x
self.y = y
self.spriteSpeed = spriteSpeed
self.spriteTimer = sprit... | 35.773333 | 179 | 0.723444 |
be3230b883782f6f195f3381ddc4efd312eee058 | 521 | asm | Assembly | programs/oeis/117/A117966.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/117/A117966.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/117/A117966.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A117966: Balanced ternary enumeration (based on balanced ternary representation) of integers; write n in ternary and then replace 2's with (-1)'s.
; 0,1,-1,3,4,2,-3,-2,-4,9,10,8,12,13,11,6,7,5,-9,-8,-10,-6,-5,-7,-12,-11,-13,27,28,26,30,31,29,24,25,23,36,37,35,39,40,38,33,34,32,18,19,17,21,22,20,15,16,14,-27,-26,-28,-... | 74.428571 | 322 | 0.619962 |
7fdb4bb3796a15dd2d5f087bfd6d13c9be3503dd | 232 | swift | Swift | crashes-fuzzing/04228-swift-boundgenerictype-get.swift | radex/swift-compiler-crashes | 41a18a98ae38e40384a38695805745d509b6979e | [
"MIT"
] | null | null | null | crashes-fuzzing/04228-swift-boundgenerictype-get.swift | radex/swift-compiler-crashes | 41a18a98ae38e40384a38695805745d509b6979e | [
"MIT"
] | null | null | null | crashes-fuzzing/04228-swift-boundgenerictype-get.swift | radex/swift-compiler-crashes | 41a18a98ae38e40384a38695805745d509b6979e | [
"MIT"
] | null | null | null | // Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
class a<T{{}let t:a,A{struct Q<d where T:C{struct S<T where T:b | 46.4 | 87 | 0.75 |
d68898fe5a863b939eddb223a5b2f44fdde028ed | 227 | asm | Assembly | libsrc/games/pc88/bit_close.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/games/pc88/bit_close.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/games/pc88/bit_close.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; $Id: bit_close.asm $
;
; NEC PC-8801 - 1 bit sound functions
;
; void bit_close();
;
; Stefano Bodrato - 2018
;
SECTION code_clib
PUBLIC bit_close
PUBLIC _bit_close
.bit_close
._bit_close
ret
| 12.611111 | 37 | 0.621145 |
d80b7c0c538923010a717c0d08eea7be06fcc715 | 1,749 | kt | Kotlin | src/main/kotlin/com/atlassian/performance/tools/jiraactions/api/page/WebDriverExtension.kt | wyrzyk/jira-actions | 5dce12b2ccda3d24faa98f839e36c7f5303a673a | [
"Apache-2.0"
] | 19 | 2019-01-25T21:19:56.000Z | 2022-03-10T03:21:31.000Z | src/main/kotlin/com/atlassian/performance/tools/jiraactions/api/page/WebDriverExtension.kt | wyrzyk/jira-actions | 5dce12b2ccda3d24faa98f839e36c7f5303a673a | [
"Apache-2.0"
] | 39 | 2019-01-30T14:25:07.000Z | 2021-08-02T13:55:53.000Z | src/main/kotlin/com/atlassian/performance/tools/jiraactions/api/page/WebDriverExtension.kt | wyrzyk/jira-actions | 5dce12b2ccda3d24faa98f839e36c7f5303a673a | [
"Apache-2.0"
] | 24 | 2019-01-28T11:35:24.000Z | 2021-09-06T22:43:55.000Z | @file:JvmName("WebDriverUtils")
package com.atlassian.performance.tools.jiraactions.api.page
import com.atlassian.performance.seleniumjs.NativeExpectedCondition
import com.atlassian.performance.seleniumjs.NativeExpectedConditions
import org.openqa.selenium.By
import org.openqa.selenium.JavascriptExecutor
import org.o... | 26.907692 | 106 | 0.747284 |
7f72013a470803d654c8ae9eac111e174cd2a237 | 49,310 | html | HTML | website/2D/Vpp/0.02/5.0/index.html | RnoB/VisualCollective | 4afbbb26571f8c7509a53dd4319929c96f1ab08a | [
"MIT"
] | 5 | 2019-07-29T19:29:42.000Z | 2022-01-16T10:03:54.000Z | website/2D/Vpp/0.02/5.0/index.html | RnoB/VisualCollective | 4afbbb26571f8c7509a53dd4319929c96f1ab08a | [
"MIT"
] | 1 | 2020-09-24T15:08:11.000Z | 2020-09-25T09:46:53.000Z | website/2D/Vpp/0.02/5.0/index.html | RnoB/VisualCollective | 4afbbb26571f8c7509a53dd4319929c96f1ab08a | [
"MIT"
] | 3 | 2020-09-22T10:19:36.000Z | 2020-10-09T11:37:12.000Z |
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://unred.org/visualmodel/malkoDB.css" />
<title>
MalkoFish
</title>
</head>
<body>
<header>
<a href="../../">MalkoFish</a>
</header>
<p class=subtitle>Representation :</p>
... | 25.803244 | 198 | 0.497749 |
0ba70efe3baee2d8da87ba1e1acd4315cc0ba77e | 132 | js | JavaScript | test/composition/sidestep.js | ambroselittle/compozor | a61ccfde6fa382253ec7d18a1341df8cd198446a | [
"MIT"
] | 3 | 2020-10-17T00:34:40.000Z | 2020-10-30T17:34:41.000Z | test/composition/sidestep.js | ambroselittle/compozor | a61ccfde6fa382253ec7d18a1341df8cd198446a | [
"MIT"
] | null | null | null | test/composition/sidestep.js | ambroselittle/compozor | a61ccfde6fa382253ec7d18a1341df8cd198446a | [
"MIT"
] | null | null | null |
module.exports = {
process: async (data, context) => {
data.sidestep = true;
return { data, context };
}
} | 16.5 | 39 | 0.522727 |
3e8f38557b28b6e4c28ada36bf633fa1e8c0c54d | 1,498 | h | C | pubg/PrivateHeaders/HsUserModel.h | cara-ksa-so4/PUBC | 1065b983d7bb1c4ad2104c2c4943487c7f17fa44 | [
"MIT"
] | 14 | 2019-07-23T20:33:14.000Z | 2022-03-09T23:29:36.000Z | fc/PrivateHeaders/HsUserModel.h | lechium/FControl | 1203a3d6345b5ce9c738d238e0e7075e27c4d21c | [
"MIT"
] | 5 | 2019-07-22T03:59:20.000Z | 2020-03-02T14:50:48.000Z | fc/PrivateHeaders/HsUserModel.h | lechium/FControl | 1203a3d6345b5ce9c738d238e0e7075e27c4d21c | [
"MIT"
] | 8 | 2019-07-23T20:35:34.000Z | 2022-03-03T05:51:30.000Z | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSDictionary, NSString;
@interface HsUserModel : NSObject
{
id <HsPropertyStorage> _storage; // 8 = 0x8
NSString *_appIdentifier; // 16 = 0x10
... | 39.421053 | 98 | 0.738985 |
7925833753e61ac000440d85bba171e7cefb00b9 | 1,748 | swift | Swift | Chika/Source/Welcome.swift | mownier/chika-ios | 099f6cce79a4809b184902afed6b71fb7a70d3eb | [
"MIT"
] | null | null | null | Chika/Source/Welcome.swift | mownier/chika-ios | 099f6cce79a4809b184902afed6b71fb7a70d3eb | [
"MIT"
] | null | null | null | Chika/Source/Welcome.swift | mownier/chika-ios | 099f6cce79a4809b184902afed6b71fb7a70d3eb | [
"MIT"
] | null | null | null | //
// Welcome.swift
// Chika
//
// Created by Mounir Ybanez on 5/26/18.
// Copyright © 2018 Nir. All rights reserved.
//
import ChikaWelcome
var welcomeScene: ChikaWelcome.Scene {
return welcomeScene(
onShowSignIn: { pushSignInScene(from: mainWindow?.rootViewController) },
onShowRegistration: ... | 27.3125 | 119 | 0.676773 |
0ba03ce8194d8f69d2440b3e812b17a12e7fe68b | 582 | js | JavaScript | index.js | dizmo/yeoman-generator-dizmo-i18n | 4f61d50e64114c1bdb4fad4b33301c6d60bd2a35 | [
"0BSD"
] | null | null | null | index.js | dizmo/yeoman-generator-dizmo-i18n | 4f61d50e64114c1bdb4fad4b33301c6d60bd2a35 | [
"0BSD"
] | null | null | null | index.js | dizmo/yeoman-generator-dizmo-i18n | 4f61d50e64114c1bdb4fad4b33301c6d60bd2a35 | [
"0BSD"
] | null | null | null | var i18next = require('i18next'),
i18next_xhr = require('i18next-xhr-backend');
var i18next_detector = {
init: function () {
},
detect: function () {
return viewer.getAttribute('settings/language');
},
cacheUserLanguage: function () {
},
type: 'languageDetector'
};
var i18next_... | 20.785714 | 56 | 0.59622 |
28372b3d571136764476a7ce2f196634259917e4 | 543 | rb | Ruby | source/io_writer.rb | sh1nduu/CompetitiveProgrammingTester | 233ce11a1429fc1b4943457520d3e7c9ad3d9aec | [
"MIT"
] | null | null | null | source/io_writer.rb | sh1nduu/CompetitiveProgrammingTester | 233ce11a1429fc1b4943457520d3e7c9ad3d9aec | [
"MIT"
] | null | null | null | source/io_writer.rb | sh1nduu/CompetitiveProgrammingTester | 233ce11a1429fc1b4943457520d3e7c9ad3d9aec | [
"MIT"
] | null | null | null | module IOWriter
module_function
FG_RED_SQ = "\e[31m".freeze
FG_GREEN_SQ = "\e[32m".freeze
FG_WHITE_SQ = "\e[37m".freeze
END_SQ = "\e[0m".freeze
INDENT = ' '.freeze
def write(message, style = nil, nest = 0)
color_sq = get_color_sq(style)
output_message = "#{INDENT * nest}#{color_sq}#{message}#{E... | 18.724138 | 69 | 0.640884 |
438a8eea0328cbc35cbf886267b5b46f6dafef6c | 281 | go | Go | main.go | baijum/hello-app | 59925bc2bf9505c3ef1cd6dd544e66d7c5de6861 | [
"Apache-2.0"
] | null | null | null | main.go | baijum/hello-app | 59925bc2bf9505c3ef1cd6dd544e66d7c5de6861 | [
"Apache-2.0"
] | null | null | null | main.go | baijum/hello-app | 59925bc2bf9505c3ef1cd6dd544e66d7c5de6861 | [
"Apache-2.0"
] | null | null | null | package main
import (
"net/http"
"os"
)
func rootHandler(w http.ResponseWriter, r *http.Request) {
for _, pair := range os.Environ() {
w.Write([]byte(pair))
w.Write([]byte("\n"))
}
}
func main() {
http.HandleFunc("/", rootHandler)
http.ListenAndServe(":8080", nil)
}
| 14.05 | 58 | 0.629893 |
2d4f90b71a014c3cbf26d20e960159caa45a9262 | 301 | kt | Kotlin | domain/src/main/java/cz/blackchameleon/domain/Developer.kt | klepackovakarolina/trending-projects | 43b8ca613f068f06dbc7c8a20569c0788f0bdf39 | [
"MIT"
] | null | null | null | domain/src/main/java/cz/blackchameleon/domain/Developer.kt | klepackovakarolina/trending-projects | 43b8ca613f068f06dbc7c8a20569c0788f0bdf39 | [
"MIT"
] | null | null | null | domain/src/main/java/cz/blackchameleon/domain/Developer.kt | klepackovakarolina/trending-projects | 43b8ca613f068f06dbc7c8a20569c0788f0bdf39 | [
"MIT"
] | null | null | null | package cz.blackchameleon.domain
/**
* Representation of developer entity
*
* @author Karolina Klepackova on 27.11.2020.
*/
data class Developer(
val username: String,
val name: String,
val url: String,
val sponsorUrl: String,
val avatar: String,
val repo: DeveloperRepo
) | 20.066667 | 45 | 0.69103 |
1bfd179fe502ad9d944f50b6d54f86235fe9bdf7 | 716 | sql | SQL | sql/proftpd.sql | jzajpt/icarus | 1219e514cf66982d35b8d8d9e4e55d98cc956857 | [
"MIT",
"Unlicense"
] | 2 | 2016-05-09T17:03:07.000Z | 2016-07-19T11:27:55.000Z | sql/proftpd.sql | jzajpt/icarus | 1219e514cf66982d35b8d8d9e4e55d98cc956857 | [
"MIT",
"Unlicense"
] | null | null | null | sql/proftpd.sql | jzajpt/icarus | 1219e514cf66982d35b8d8d9e4e55d98cc956857 | [
"MIT",
"Unlicense"
] | null | null | null | drop table if exists proftpd;
create table proftpd(
id int(11) not null auto_increment,
username varchar(30) not null,
password varchar(50) not null,
uid int(5) unsigned default '10000' not null,
gid int(5) unsigned default '10000' not null,
ftpdir varchar(... | 29.833333 | 55 | 0.652235 |
512d4c2d014164499c8202ab470a3987c40e37c1 | 6,861 | sql | SQL | sql/working_record2.sql | oooptt/small-apps | a9c42540376d80079b9cb80a5d2def5783a880b1 | [
"MIT"
] | null | null | null | sql/working_record2.sql | oooptt/small-apps | a9c42540376d80079b9cb80a5d2def5783a880b1 | [
"MIT"
] | null | null | null | sql/working_record2.sql | oooptt/small-apps | a9c42540376d80079b9cb80a5d2def5783a880b1 | [
"MIT"
] | null | null | null | -- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- 主機: 127.0.0.1
-- 產生時間: 2021-09-25 10:52:35
-- 伺服器版本: 10.4.21-MariaDB
-- PHP 版本: 8.0.10
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*... | 54.888 | 130 | 0.575281 |
6634038b6612eed17ec9ece50c04dc5e89f62da1 | 943 | css | CSS | HelloWorld/WebContent/css/userprofile.css | naibao/hahaha | 0f1da2ff27a8688e7ae95b66c2e3e271e0404330 | [
"MIT"
] | 1 | 2018-12-05T03:57:07.000Z | 2018-12-05T03:57:07.000Z | HelloWorld/WebContent/css/userprofile.css | naibao/hahaha | 0f1da2ff27a8688e7ae95b66c2e3e271e0404330 | [
"MIT"
] | null | null | null | HelloWorld/WebContent/css/userprofile.css | naibao/hahaha | 0f1da2ff27a8688e7ae95b66c2e3e271e0404330 | [
"MIT"
] | null | null | null | .form-signin {
width: 100%;
max-width: 330px;
padding: 15px;
margin: auto;
}
.form-signin .checkbox {
font-weight: 400;
}
.form-signin .form-control {
position: relative;
box-sizing: border-box;
height: auto;
padding: 10px;
font-size: 16px;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-... | 15.209677 | 37 | 0.656416 |
75021856f352f2e9a9c9f8bd8e5174645000e55f | 591 | h | C | SmalltalkCollections/Classes/NSSet+SmalltalkCollections.h | tblanchard/SmalltalkCollections4ObjC | 9699a6f5d2f21358af996fb05879cf0735473a33 | [
"MIT"
] | 1 | 2021-08-17T12:37:02.000Z | 2021-08-17T12:37:02.000Z | SmalltalkCollections/Classes/NSSet+SmalltalkCollections.h | tblanchard/SmalltalkCollections4ObjC | 9699a6f5d2f21358af996fb05879cf0735473a33 | [
"MIT"
] | null | null | null | SmalltalkCollections/Classes/NSSet+SmalltalkCollections.h | tblanchard/SmalltalkCollections4ObjC | 9699a6f5d2f21358af996fb05879cf0735473a33 | [
"MIT"
] | null | null | null | //
// Collections.h
// Pods
//
// Created by Todd Blanchard on 12/18/16.
//
// Based in part on a library by Michael Dippery <michael@monkey-robot.com>
//
//
#import <Foundation/Foundation.h>
#import "SmalltalkCollections.h"
@interface NSSet (SmalltalkCollections)
- (instancetype)do:(ElementMutator)block;
- (ins... | 22.730769 | 76 | 0.747885 |
1fa8df285b7e7b77fa61c970072eabcb0debf922 | 2,007 | sql | SQL | scripts/qry_base.sql | hafermoraes/caged_dashboard | 702576075151bf25e4501f2ec5c8be9bc2015da8 | [
"BSD-3-Clause"
] | null | null | null | scripts/qry_base.sql | hafermoraes/caged_dashboard | 702576075151bf25e4501f2ec5c8be9bc2015da8 | [
"BSD-3-Clause"
] | null | null | null | scripts/qry_base.sql | hafermoraes/caged_dashboard | 702576075151bf25e4501f2ec5c8be9bc2015da8 | [
"BSD-3-Clause"
] | null | null | null |
select c.competenciamov as mes
,rg.descricao as regiao
,uf.descricao as uf
,mun.descricao as municipio
,sc.codigo || ' - ' || sc.descricao as secao
,cnae.codigo || ' - ' || cnae.descricao as cnae
,ct.descricao as categoria
,cbo.codigo || ' - ' || cbo.descricao as ocupacao
,ed.desc... | 51.461538 | 96 | 0.606876 |
c43b70c41581931df638a0524ec40e8873c25458 | 2,558 | kt | Kotlin | src/main/java/io/github/intellij/dlanguage/codeinsight/render/BasicRenderer.kt | ErnyTech/intellij-dlanguage | b0fcc09ebe4287d60a1d35ba9e4387564e30a42d | [
"MIT"
] | null | null | null | src/main/java/io/github/intellij/dlanguage/codeinsight/render/BasicRenderer.kt | ErnyTech/intellij-dlanguage | b0fcc09ebe4287d60a1d35ba9e4387564e30a42d | [
"MIT"
] | null | null | null | src/main/java/io/github/intellij/dlanguage/codeinsight/render/BasicRenderer.kt | ErnyTech/intellij-dlanguage | b0fcc09ebe4287d60a1d35ba9e4387564e30a42d | [
"MIT"
] | null | null | null | package io.github.intellij.dlanguage.codeinsight.render
import com.intellij.codeInsight.lookup.LookupElement
import com.intellij.codeInsight.lookup.LookupElementPresentation
import io.github.intellij.dlanguage.codeinsight.dcd.completions.DCDCompletionKind
import io.github.intellij.dlanguage.codeinsight.dcd.completions... | 43.355932 | 93 | 0.685692 |