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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
07e449867842570ba6b7f7ae2b3f15763d7186bd | 163 | sql | SQL | internal/post/comment/sql/get/postTotalDepth.sql | Allocamelus/Allocamelus | 337956b33afa9a851214a2c4bef90c8ca07a2703 | [
"Apache-2.0"
] | 3 | 2021-09-22T12:30:48.000Z | 2022-03-01T17:14:23.000Z | internal/post/comment/sql/get/postTotalDepth.sql | Allocamelus/Allocamelus | 337956b33afa9a851214a2c4bef90c8ca07a2703 | [
"Apache-2.0"
] | null | null | null | internal/post/comment/sql/get/postTotalDepth.sql | Allocamelus/Allocamelus | 337956b33afa9a851214a2c4bef90c8ca07a2703 | [
"Apache-2.0"
] | null | null | null | SELECT COUNT(*)
FROM PostComments PC
JOIN PostCommentClosures PCC ON (PC.postCommentId = PCC.parent)
WHERE PC.postId = ?
AND PCC.depth <= ?
AND PC.parent = 0 | 27.166667 | 65 | 0.717791 |
643b6b320d6dcee16060090daaeb32870d38900b | 2,905 | rs | Rust | src/lib.rs | KJ002/anagram_solver | 5c8c86fb19211d414acf9593fb4ceb6e2c2d9930 | [
"MIT"
] | null | null | null | src/lib.rs | KJ002/anagram_solver | 5c8c86fb19211d414acf9593fb4ceb6e2c2d9930 | [
"MIT"
] | null | null | null | src/lib.rs | KJ002/anagram_solver | 5c8c86fb19211d414acf9593fb4ceb6e2c2d9930 | [
"MIT"
] | null | null | null | use itertools::Itertools;
use std::cmp::{Ordering, Reverse};
use std::fs;
use std::thread;
use pyo3::prelude::*;
fn contains_any_characters(word: &str, characters: Vec<char>) -> bool {
for character in characters {
if word
.to_lowercase()
.contains(&character.to_lowercase().to_st... | 24.008264 | 82 | 0.549053 |
e725ca8b93021d84822bf6d286bdba3a6bcfd6e6 | 3,120 | js | JavaScript | app/components/Player/PlayerComponent.js | popcorn-official/popcorn-time-desktop | 2dcdc61d0d22ecc6f46d85bd61b6f0c55b6b0d32 | [
"MIT"
] | 9 | 2020-03-28T14:21:31.000Z | 2021-07-30T22:22:00.000Z | app/components/Player/PlayerComponent.js | TriPSs/popcorn-time-desktop | 2dcdc61d0d22ecc6f46d85bd61b6f0c55b6b0d32 | [
"MIT"
] | 21 | 2017-07-10T08:12:09.000Z | 2017-08-18T12:22:47.000Z | app/components/Player/PlayerComponent.js | popcorn-official/popcorn-time-desktop | 2dcdc61d0d22ecc6f46d85bd61b6f0c55b6b0d32 | [
"MIT"
] | 10 | 2020-05-06T07:43:32.000Z | 2022-01-14T16:49:49.000Z | // @flow
import React from 'react'
import classNames from 'classnames'
import Player from 'api/Player'
import * as PlayerConstants from 'api/Player/PlayerConstants'
import * as TorrentConstants from 'api/Torrent/TorrentConstants'
import type { Props } from './PlayerTypes'
import classes from './Player.scss'
import St... | 26.218487 | 108 | 0.583333 |
e7487d72aa592d298641a0dc11a9b25974f77293 | 3,531 | js | JavaScript | kp-portfolio/src/Components/Home.js | javontaymcelroy/kerrymcphearson-portfolio | b08774dc76465f3898ac8a62f8d6157b00f4fc32 | [
"MIT"
] | null | null | null | kp-portfolio/src/Components/Home.js | javontaymcelroy/kerrymcphearson-portfolio | b08774dc76465f3898ac8a62f8d6157b00f4fc32 | [
"MIT"
] | 3 | 2021-03-10T04:49:48.000Z | 2022-02-26T22:34:23.000Z | kp-portfolio/src/Components/Home.js | javontaymcelroy/kerrymcphearson-portfolio | b08774dc76465f3898ac8a62f8d6157b00f4fc32 | [
"MIT"
] | null | null | null | import React from "react";
import { Link } from "react-router-dom";
import triangle from "../Assets/blue_triangle.svg";
import bang from "../Assets/bang.svg";
import chameleon from "../Assets/chameleon.svg";
import wave from "../Assets/wave.svg";
import chevron from "../Assets/chevron.svg";
import cloutcharts from ".... | 35.31 | 80 | 0.542339 |
74cde69693e6901e362741b0beae7bd43f88c587 | 79,566 | js | JavaScript | TYLC/erp-web/target/erpweb/static-resources/public/control.js | zljxh/TYLC | 9497175053d3e7454e9b5128cd31cda608343450 | [
"Apache-2.0"
] | null | null | null | TYLC/erp-web/target/erpweb/static-resources/public/control.js | zljxh/TYLC | 9497175053d3e7454e9b5128cd31cda608343450 | [
"Apache-2.0"
] | null | null | null | TYLC/erp-web/target/erpweb/static-resources/public/control.js | zljxh/TYLC | 9497175053d3e7454e9b5128cd31cda608343450 | [
"Apache-2.0"
] | null | null | null | function getCaiNiaoPrint(t,e){var i,l="<br><font color='#FF00FF'>打印组件未安装!<a href='http://www.taobao.com/market/cainiao/eleprint.php' target='_self'>请点击这里</a>,下载32位安装程序,安装后请刷新页面或重新进入。</font>",n="<br><font color='#FF00FF'>打印组件需要升级!点击这里<a href=' http://www.taobao.com/market/cainiao/eleprint.php' target='_self'>请点击这里</a>,下... | 19,891.5 | 31,988 | 0.786228 |
3c82a08839ee50b014e95e3a5bd6b835a35d1aad | 3,087 | rs | Rust | ssz-rs/examples/another_container.rs | Snowfork/ssz_rs | 8d497a949c320577aa1f741eb9f2958191df905b | [
"MIT"
] | null | null | null | ssz-rs/examples/another_container.rs | Snowfork/ssz_rs | 8d497a949c320577aa1f741eb9f2958191df905b | [
"MIT"
] | 1 | 2022-03-17T07:44:32.000Z | 2022-03-17T07:44:32.000Z | ssz-rs/examples/another_container.rs | Snowfork/ssz_rs | 8d497a949c320577aa1f741eb9f2958191df905b | [
"MIT"
] | null | null | null | use hex;
use ssz_rs::prelude::*;
use ssz_rs::std::{FromIterator, vec};
#[derive(PartialEq, Eq, Debug, Default, SimpleSerialize)]
struct SingleFieldTestStruct {
a: u8,
}
#[derive(PartialEq, Eq, Debug, Default, SimpleSerialize)]
struct SmallTestStruct {
a: u16,
b: u16,
}
#[derive(PartialEq, Eq, Debug, Defa... | 29.4 | 99 | 0.517979 |
a3d9f3b154a2419092578916f94761158d392f17 | 6,373 | kt | Kotlin | gradle-plugin/src/main/kotlin/ws/osiris/gradle/DeployPlugin.kt | AlexRogalskiy/osiris | b71d8e0c0ef325640db7b4d833e7771ec4317464 | [
"Apache-2.0"
] | 43 | 2017-06-05T07:51:52.000Z | 2022-02-23T06:24:20.000Z | gradle-plugin/src/main/kotlin/ws/osiris/gradle/DeployPlugin.kt | cjkent/osiris | 409e4cbdf4e64a1f9cb25e640744c99a14c7a4c7 | [
"Apache-2.0"
] | 683 | 2017-06-30T21:38:10.000Z | 2022-03-02T12:02:38.000Z | gradle-plugin/src/main/kotlin/ws/osiris/gradle/DeployPlugin.kt | AlexRogalskiy/osiris | b71d8e0c0ef325640db7b4d833e7771ec4317464 | [
"Apache-2.0"
] | 2 | 2020-09-27T14:43:02.000Z | 2022-01-05T12:50:36.000Z | package ws.osiris.gradle
import org.gradle.api.DefaultTask
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.tasks.TaskAction
import org.gradle.api.tasks.TaskExecutionException
import org.gradle.api.tasks.bundling.Zip
import ws.osiris.aws.validateName
import ws.osiris.awsdeploy.Deployabl... | 36.626437 | 133 | 0.67786 |
012c90e69a0113de2d3db32365ba3d75e8dc1556 | 977 | rs | Rust | ascod-comm-data/src/driver_messages/driver_output_card5.rs | avs-simulator/ascod-comm | 57cee57d963781d66e11f77c4ebf50e0eb70e2b9 | [
"MIT"
] | null | null | null | ascod-comm-data/src/driver_messages/driver_output_card5.rs | avs-simulator/ascod-comm | 57cee57d963781d66e11f77c4ebf50e0eb70e2b9 | [
"MIT"
] | null | null | null | ascod-comm-data/src/driver_messages/driver_output_card5.rs | avs-simulator/ascod-comm | 57cee57d963781d66e11f77c4ebf50e0eb70e2b9 | [
"MIT"
] | null | null | null | use c2rust_bitfields::BitfieldStruct;
use static_assertions::assert_eq_size;
pub const SIZE_DRIVER_OUTPUT_CARD5: usize = 3;
#[repr(C, packed)]
#[derive(BitfieldStruct, Clone, Debug)]
pub struct DriverOutputCard5 {
#[bitfield(name = "button_hazard_lamp", ty = "libc::uint8_t", bits = "0..=0")]
#[bitfield(name =... | 36.185185 | 96 | 0.647902 |
dd2ce3fef41d57f831a2d5335e441ab5e751ead5 | 621 | go | Go | sealeye-example/versionHidden.go | gholt/sealeye | d7ed141bc5732d242ff85e8cb967ed8d432db0fa | [
"MIT"
] | null | null | null | sealeye-example/versionHidden.go | gholt/sealeye | d7ed141bc5732d242ff85e8cb967ed8d432db0fa | [
"MIT"
] | 1 | 2021-01-08T02:44:22.000Z | 2021-01-08T02:44:22.000Z | sealeye-example/versionHidden.go | gholt/sealeye | d7ed141bc5732d242ff85e8cb967ed8d432db0fa | [
"MIT"
] | null | null | null | package main
import "fmt"
func init() {
version.HiddenSubcommands["hidden"] = versionHidden
}
type versionHiddenCLI struct {
commonOptions
Help string
QuickHelp string
Func func(cli *versionHiddenCLI) int
Args []string
HelpOption bool `option:"?,h,help" help:"Outputs this help text."`
}
va... | 18.818182 | 67 | 0.68599 |
c3dfda3fd9302489e3607feef4f356f8a71fa4c0 | 12,508 | go | Go | session_handshake.go | moroen/dtls | 8868b17f6698d0759906307ebf0cb0aca15ff499 | [
"MIT"
] | null | null | null | session_handshake.go | moroen/dtls | 8868b17f6698d0759906307ebf0cb0aca15ff499 | [
"MIT"
] | null | null | null | session_handshake.go | moroen/dtls | 8868b17f6698d0759906307ebf0cb0aca15ff499 | [
"MIT"
] | null | null | null | package dtls
import (
"bytes"
"encoding/hex"
"errors"
"reflect"
"time"
)
func (s *session) parseRecord(data []byte) (*record, []byte, error) {
rec, rem, err := parseRecord(data)
if err != nil {
logWarn(s.peer.String(), "dtls: parse record: %s", err.Error())
return nil, nil, err
}
if s.decrypt {
if s.... | 28.107865 | 122 | 0.669012 |
751a89d0a39d0abb263a57f4dcd3124976d4f773 | 5,157 | h | C | runa/base/dumper.h | walkinsky8/nana-runner | 103992e07e7e644d349437fdf959364ffe9cb653 | [
"BSL-1.0"
] | 5 | 2017-12-28T08:22:20.000Z | 2022-03-30T01:26:17.000Z | runa/base/dumper.h | walkinsky8/nana-runner | 103992e07e7e644d349437fdf959364ffe9cb653 | [
"BSL-1.0"
] | null | null | null | runa/base/dumper.h | walkinsky8/nana-runner | 103992e07e7e644d349437fdf959364ffe9cb653 | [
"BSL-1.0"
] | null | null | null | /**
* Runa C++ Library
* Copyright (c) 2017-2019 walkinsky:lyh6188(at)hotmail(dot)com
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
// Created on 2017/01/15
#pragma once
#include <runa/base/_config.h>
#incl... | 22.133047 | 91 | 0.453752 |
a4dd3e87d364285ee3ff78901ef235bbe44bfc2a | 334 | sql | SQL | haogrgr-boot-web/src/test/resources/schema/test.sql | haogrgr/haogrgr-boot | c444b07c7302fa205d8b64005fca6b5f397560fa | [
"Apache-2.0"
] | null | null | null | haogrgr-boot-web/src/test/resources/schema/test.sql | haogrgr/haogrgr-boot | c444b07c7302fa205d8b64005fca6b5f397560fa | [
"Apache-2.0"
] | null | null | null | haogrgr-boot-web/src/test/resources/schema/test.sql | haogrgr/haogrgr-boot | c444b07c7302fa205d8b64005fca6b5f397560fa | [
"Apache-2.0"
] | null | null | null | CREATE TABLE `test_model`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`age` int(11) DEFAULT NULL,
`modify_time` datetime DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB
AUTO_INCREMENT = 1
DEFAULT C... | 30.363636 | 48 | 0.628743 |
d3d44f047924582c139b8c7bb1ed3144586cd73e | 1,315 | lua | Lua | application/controller/live_redis_cache.lua | Tinywan/openresty-project-v0.01 | 8b8c6b2f6a7afe2a5f86e36d8e3ed612031cd6ca | [
"MIT"
] | 37 | 2017-09-22T03:05:34.000Z | 2022-02-09T16:34:37.000Z | application/controller/live_redis_cache.lua | Tinywan/openresty-project-v0.01 | 8b8c6b2f6a7afe2a5f86e36d8e3ed612031cd6ca | [
"MIT"
] | null | null | null | application/controller/live_redis_cache.lua | Tinywan/openresty-project-v0.01 | 8b8c6b2f6a7afe2a5f86e36d8e3ed612031cd6ca | [
"MIT"
] | 12 | 2017-12-11T23:38:44.000Z | 2021-11-16T01:28:13.000Z | --[[-----------------------------------------------------------------------
* | Copyright (C) Shaobo Wan (Tinywan)
* | Github: https://github.com/Tinywan
* | Blog: http://www.cnblogs.com/Tinywan
* |------------------------------------------------------------------------
* | Date: 2017/5/19 23:25
* | Function: loca... | 29.886364 | 75 | 0.563498 |
0b28b47566a0388433df755a312dddf760b4c430 | 1,250 | py | Python | onebarangay_psql/users/tests/test_admin.py | PrynsTag/oneBarangay-PostgreSQL | 11d7b97b57603f4c88948905560a22a5314409ce | [
"Apache-2.0"
] | null | null | null | onebarangay_psql/users/tests/test_admin.py | PrynsTag/oneBarangay-PostgreSQL | 11d7b97b57603f4c88948905560a22a5314409ce | [
"Apache-2.0"
] | 43 | 2022-02-07T00:18:35.000Z | 2022-03-21T04:42:48.000Z | onebarangay_psql/users/tests/test_admin.py | PrynsTag/oneBarangay-PostgreSQL | 11d7b97b57603f4c88948905560a22a5314409ce | [
"Apache-2.0"
] | null | null | null | """Create your tests for the admin app here."""
import pytest
from django.contrib.auth import get_user_model
from django.urls import reverse
pytestmark = pytest.mark.django_db
User = get_user_model()
class TestUserAdmin:
"""Test the admin interface."""
def test_changelist(self, admin_client):
"""Tes... | 33.783784 | 79 | 0.668 |
308a4a5ea4ddf912aafbecbe540215deacd15acd | 7,458 | html | HTML | docs/vim.fault.InvalidName.html | cleeistaken/python_vsan_sdk_monitoring | 520cfaddc086b6f8c9a00c2b296649fadaa4f3c6 | [
"MIT"
] | 1 | 2020-03-23T05:20:45.000Z | 2020-03-23T05:20:45.000Z | docs/vim.fault.InvalidName.html | cleeistaken/python_vsan_sdk_monitoring | 520cfaddc086b6f8c9a00c2b296649fadaa4f3c6 | [
"MIT"
] | null | null | null | docs/vim.fault.InvalidName.html | cleeistaken/python_vsan_sdk_monitoring | 520cfaddc086b6f8c9a00c2b296649fadaa4f3c6 | [
"MIT"
] | null | null | null | <html xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vim2="urn:vim2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<script... | 63.20339 | 3,226 | 0.712926 |
650d0ad17e404144a026ce3f06aafc17ea1fda8f | 1,962 | py | Python | sparse gamma def/gamma_def_score.py | blei-lab/ars-reparameterization | b20a84c28537d85e0aaf62cbbaacb6de9370f0a3 | [
"MIT"
] | 33 | 2017-03-11T10:00:32.000Z | 2022-03-08T14:23:45.000Z | ars-reparameterization/sparse gamma def/gamma_def_score.py | astirn/neural-inverse-cdf-sampling | 80eb2eb7cf396a4e53df62bc126e9a1828f55ca9 | [
"MIT"
] | 2 | 2018-02-05T17:14:00.000Z | 2019-08-02T14:37:25.000Z | ars-reparameterization/sparse gamma def/gamma_def_score.py | astirn/neural-inverse-cdf-sampling | 80eb2eb7cf396a4e53df62bc126e9a1828f55ca9 | [
"MIT"
] | 10 | 2017-03-05T13:31:01.000Z | 2020-03-29T01:09:01.000Z | from autograd import grad
import autograd.numpy as np
import autograd.numpy.random as npr
import autograd.scipy.special as sp
from gamma_def import *
# Define helper functions for score fnc estimator
def logQ(sample, alpha, m):
"""
Evaluates log of variational approximation, vectorized.
"""
temp = alp... | 29.727273 | 104 | 0.574414 |
3590c07c413ceb5ce35b81b4a4ffbcc37aa29cf1 | 2,197 | sql | SQL | master2021/company_secProc.sql | MoDELSVGU/SQLSI | 54e8039cad17f69bb9c20847db69c7ac22875405 | [
"MIT"
] | null | null | null | master2021/company_secProc.sql | MoDELSVGU/SQLSI | 54e8039cad17f69bb9c20847db69c7ac22875405 | [
"MIT"
] | null | null | null | master2021/company_secProc.sql | MoDELSVGU/SQLSI | 54e8039cad17f69bb9c20847db69c7ac22875405 | [
"MIT"
] | null | null | null | DROP PROCEDURE IF EXISTS Query1;
/* SELECT email FROM Employee */
DELIMITER //
CREATE PROCEDURE Query1(in kcaller varchar(250), in krole varchar(250))
BEGIN
DECLARE _rollback int DEFAULT 0;
DECLARE EXIT HANDLER FOR SQLEXCEPTION
BEGIN
SET _rollback = 1;
GET STACKED DIAGNOSTICS CONDITION 1 @p1 = RETURNED_SQLSTATE, @p... | 31.84058 | 151 | 0.778334 |
24dd812c61da2358f917e8ca237702104107d23f | 2,931 | go | Go | backend/go/infrastructure/storage/psql.go | webtech-fmi/phonebook | 9841d3653abf4df514737b228a6d0553bb284d94 | [
"MIT"
] | null | null | null | backend/go/infrastructure/storage/psql.go | webtech-fmi/phonebook | 9841d3653abf4df514737b228a6d0553bb284d94 | [
"MIT"
] | null | null | null | backend/go/infrastructure/storage/psql.go | webtech-fmi/phonebook | 9841d3653abf4df514737b228a6d0553bb284d94 | [
"MIT"
] | null | null | null | package storage
import (
"context"
"errors"
"fmt"
db "github.com/go-ozzo/ozzo-dbx"
_ "github.com/lib/pq"
"github.com/webtech-fmi/phonebook/backend/go/infrastructure/log"
)
// psqlConfiguration for creating a database storage
type psqlConfiguration struct {
Host string
Port int
DBName string `mapss... | 22.204545 | 102 | 0.671784 |
0bafe8e2d71b4a839f7f69c774b8f4b694cdaef6 | 2,892 | js | JavaScript | frontend/web/themes/default/js/charging.js | bactv/study.edu | ea22d101081d256b5782408216f9f4191e93d10f | [
"BSD-3-Clause"
] | null | null | null | frontend/web/themes/default/js/charging.js | bactv/study.edu | ea22d101081d256b5782408216f9f4191e93d10f | [
"BSD-3-Clause"
] | null | null | null | frontend/web/themes/default/js/charging.js | bactv/study.edu | ea22d101081d256b5782408216f9f4191e93d10f | [
"BSD-3-Clause"
] | null | null | null | /**
* Created by bactv on 07/05/2017.
*/
$(document).ready(function() {
// tab
$(".btn-pref .btn").click(function () {
$(".btn-pref .btn").removeClass("btn-primary").addClass("btn-default");
// $(".tab").addClass("active"); // instead of this do the below
$(this).removeClass("btn-defau... | 33.241379 | 123 | 0.469917 |
8549db51054909d4e42d25231c4f6e7795d64d77 | 182 | rs | Rust | examples/opb-contract-call-service-provider/contract-service/opb/contracts/target-core/src/state.rs | chenxifun/bsnhub-service-demo | f950066fc24b47b795b28b4ff6bdaa9e0206843a | [
"Apache-2.0"
] | 2 | 2021-04-08T06:15:14.000Z | 2021-07-05T07:49:40.000Z | examples/opb-contract-call-service-provider/contract-service/opb/contracts/target-core/src/state.rs | chenxifun/bsnhub-service-demo | f950066fc24b47b795b28b4ff6bdaa9e0206843a | [
"Apache-2.0"
] | null | null | null | examples/opb-contract-call-service-provider/contract-service/opb/contracts/target-core/src/state.rs | chenxifun/bsnhub-service-demo | f950066fc24b47b795b28b4ff6bdaa9e0206843a | [
"Apache-2.0"
] | 6 | 2020-10-14T07:43:08.000Z | 2022-01-20T01:53:33.000Z | use cw_storage_plus::Map;
// REQUESTS stores the requests whether the response has been executed: <request_id, responded>
pub const REQUESTS: Map<&str, bool> = Map::new("requests"); | 45.5 | 95 | 0.758242 |
8591fd45e7857fc0b8a4444fa86654f5398f24b6 | 1,968 | js | JavaScript | en/doxygen/html/class_appearance_widget.js | dash-docs/dash-docs.github.io | e47f3e97d12464d6cf724c7eb4a22497585c12be | [
"MIT-0",
"MIT"
] | 2 | 2017-12-06T15:58:00.000Z | 2020-02-13T18:01:58.000Z | en/doxygen/html/class_appearance_widget.js | dash-docs/dash-docs.github.io | e47f3e97d12464d6cf724c7eb4a22497585c12be | [
"MIT-0",
"MIT"
] | 1 | 2018-01-17T16:05:18.000Z | 2018-01-24T21:12:03.000Z | en/doxygen/html/class_appearance_widget.js | dash-docs/dash-docs.github.io | e47f3e97d12464d6cf724c7eb4a22497585c12be | [
"MIT-0",
"MIT"
] | 2 | 2018-01-28T20:04:14.000Z | 2019-11-05T00:23:18.000Z | var class_appearance_widget =
[
[ "AppearanceWidget", "class_appearance_widget.html#a0baa4e423f9275af6213eb2a5e088bcb", null ],
[ "~AppearanceWidget", "class_appearance_widget.html#a5a15e9de3c630faa60ac4f5eeed06408", null ],
[ "accept", "class_appearance_widget.html#abbe5467d80f5ec52ac262b6f6113aead", null ... | 85.565217 | 105 | 0.792683 |
bef033be39bedf3b56564a1af2324334eb4122a6 | 3,132 | html | HTML | forget/app/components/forgettingCalculator/forgettingCalculator.html | isaacdomini/branches_front_end_private | 601c8448d5ba15c55aa9e90af44528ee089c656f | [
"Unlicense",
"MIT"
] | 3 | 2018-09-27T17:49:58.000Z | 2020-09-22T08:29:55.000Z | forget/app/components/forgettingCalculator/forgettingCalculator.html | isaacdomini/branches_front_end_private | 601c8448d5ba15c55aa9e90af44528ee089c656f | [
"Unlicense",
"MIT"
] | 2 | 2020-05-07T16:17:20.000Z | 2021-01-05T03:08:53.000Z | forget/app/components/forgettingCalculator/forgettingCalculator.html | isaacdomini/branches_front_end_private | 601c8448d5ba15c55aa9e90af44528ee089c656f | [
"Unlicense",
"MIT"
] | 4 | 2018-09-27T17:50:00.000Z | 2020-06-06T16:20:19.000Z | <div>
<h2>Forgetting Curve Calculator</h2>
<div class="calculators">
<div v-bind:class="{highlight: strengthHighlighted}" v-on:click="setStrengthHighlight">
<div>
<h3>Strength Calculator</h3>
<br>
<div>
If you want to have a ... | 40.153846 | 135 | 0.492656 |
0552f5e8e06e37ddfe49b5f93e3260d16009f8b3 | 992 | rb | Ruby | spec/lib/changed_by_spec.rb | BravoTran/auditable | c309fa345864719718045e9b4f13a0e87a8597a2 | [
"MIT"
] | 13 | 2015-02-26T19:35:43.000Z | 2021-07-18T03:33:17.000Z | spec/lib/changed_by_spec.rb | BravoTran/auditable | c309fa345864719718045e9b4f13a0e87a8597a2 | [
"MIT"
] | null | null | null | spec/lib/changed_by_spec.rb | BravoTran/auditable | c309fa345864719718045e9b4f13a0e87a8597a2 | [
"MIT"
] | 6 | 2015-07-05T10:56:06.000Z | 2022-02-24T22:35:46.000Z | require 'spec_helper'
describe 'Auditable#changed_By' do
describe Survey do
let(:survey) { Survey.create :title => 'Survey', changed_by: User.create( name: 'Surveyor') }
it 'should set changed_by using default' do
survey.audits.last.changed_by.name.should eql 'Surveyor'
end
end
describe Plan... | 24.8 | 97 | 0.677419 |
1638ba286cc1eec20dbd55822cdc91d64552cc05 | 3,157 | h | C | common/melissa_utils.h | melissa-sa/melissa | d07c43a396267d26f52b7b152a385f8a600ac2e8 | [
"BSD-3-Clause"
] | 7 | 2019-09-19T07:16:25.000Z | 2021-05-18T08:27:11.000Z | common/melissa_utils.h | melissa-sa/melissa | d07c43a396267d26f52b7b152a385f8a600ac2e8 | [
"BSD-3-Clause"
] | 4 | 2017-08-09T16:34:41.000Z | 2020-03-12T20:23:46.000Z | common/melissa_utils.h | melissa-sa/melissa | d07c43a396267d26f52b7b152a385f8a600ac2e8 | [
"BSD-3-Clause"
] | 4 | 2019-05-20T10:38:13.000Z | 2020-04-19T08:46:51.000Z | /******************************************************************
* Melissa *
*-----------------------------------------------------------------*
* COPYRIGHT (C) 2017 by INRIA and EDF. ALL RIGHTS RESERVED. *
* ... | 30.95098 | 86 | 0.510611 |
f05136d88821cb5ba7ae7358c44d2b30837eb2b2 | 938 | py | Python | src/ychaos/cli/exceptions/__init__.py | vanderh0ff/ychaos | 5148c889912b744ee73907e4dd30c9ddb851aeb3 | [
"Apache-2.0"
] | 8 | 2021-07-21T15:37:48.000Z | 2022-03-03T14:43:09.000Z | src/ychaos/cli/exceptions/__init__.py | vanderh0ff/ychaos | 5148c889912b744ee73907e4dd30c9ddb851aeb3 | [
"Apache-2.0"
] | 102 | 2021-07-20T16:08:29.000Z | 2022-03-25T07:28:37.000Z | src/ychaos/cli/exceptions/__init__.py | vanderh0ff/ychaos | 5148c889912b744ee73907e4dd30c9ddb851aeb3 | [
"Apache-2.0"
] | 8 | 2021-07-20T13:37:46.000Z | 2022-02-18T01:44:52.000Z | # Copyright 2021, Yahoo
# Licensed under the terms of the Apache 2.0 license. See the LICENSE file in the project root for terms
from abc import abstractmethod
from typing import Any, Dict
class YChaosCLIError(Exception):
exitcode = 1
def __init__(self, app, message, **kwargs):
self.app = app
... | 33.5 | 105 | 0.687633 |
16050092ac6044d4356de0dc5cb5a2733358e7e6 | 515 | h | C | src/Leds.h | Fberbari/AAQuad-Evolution | f814018da1e38333389a09ace3ae72fe93b4eaa8 | [
"MIT"
] | 5 | 2020-02-01T20:11:28.000Z | 2021-09-29T19:57:06.000Z | src/Leds.h | Fberbari/AAQuad-Evolution | f814018da1e38333389a09ace3ae72fe93b4eaa8 | [
"MIT"
] | null | null | null | src/Leds.h | Fberbari/AAQuad-Evolution | f814018da1e38333389a09ace3ae72fe93b4eaa8 | [
"MIT"
] | null | null | null | #ifndef _LEDS_H
#define _LEDS_H
#include "Common.h"
/***********************************************************************************************************************
* Prototypes
**********************************************************************************************************************/
void Leds... | 23.409091 | 120 | 0.405825 |
29e5c756a84a0fef8328e338fe3aa591f9b3fbf3 | 7,032 | lua | Lua | scripts/claim-ground-items.lua | ajs/dfhack-scripts | 6aaf1727614559d5a91a5f5cccc9bcd8a437d768 | [
"MIT"
] | null | null | null | scripts/claim-ground-items.lua | ajs/dfhack-scripts | 6aaf1727614559d5a91a5f5cccc9bcd8a437d768 | [
"MIT"
] | null | null | null | scripts/claim-ground-items.lua | ajs/dfhack-scripts | 6aaf1727614559d5a91a5f5cccc9bcd8a437d768 | [
"MIT"
] | null | null | null | -----
-- Find any unattended items that have flags that prevent being picked up
-- OTHER THAN explicitly being forbidden and make them accessible.
local item_count = 0
for _,item in ipairs(df.global.world.items.all) do
if item.flags.on_ground and not item.flags.forbid then
local name = dfhack.items.... | 35.877551 | 248 | 0.621729 |
121daa4d779fb360ebf7a587538e7944d10e34ea | 7,029 | h | C | include/defs.h | tengcm2015/xv6_rpi2_port | a4247ff6cfd3ba5e5f37134f68959a82e77f4ba8 | [
"MIT"
] | 2 | 2019-08-02T02:40:30.000Z | 2019-08-02T02:43:37.000Z | include/defs.h | tengcm2015/xv6_rpi2_port | a4247ff6cfd3ba5e5f37134f68959a82e77f4ba8 | [
"MIT"
] | null | null | null | include/defs.h | tengcm2015/xv6_rpi2_port | a4247ff6cfd3ba5e5f37134f68959a82e77f4ba8 | [
"MIT"
] | null | null | null | #ifndef DEFS_H
#define DEFS_H
struct buf;
struct context;
struct file;
struct inode;
struct pipe;
struct proc;
struct spinlock;
struct stat;
struct superblock;
struct trapframe;
void OkLoop(void);
void NotOkLoop(void);
// arm.c
uint inw(uint addr);
void outw(uint addr, uint data);
void ... | 30.038462 | 66 | 0.550007 |
7fd3b2d2bf1b371d0081780ffac85d0eab4453e0 | 1,731 | go | Go | service/UserService.go | watter08/NotitiaGolang | cef8ba1c6d92e3700fafc17f9c3d062738c467ad | [
"MIT"
] | 5 | 2017-11-20T17:38:41.000Z | 2021-11-25T09:11:06.000Z | service/UserService.go | watter08/NotitiaGolang | cef8ba1c6d92e3700fafc17f9c3d062738c467ad | [
"MIT"
] | null | null | null | service/UserService.go | watter08/NotitiaGolang | cef8ba1c6d92e3700fafc17f9c3d062738c467ad | [
"MIT"
] | 5 | 2018-09-07T13:27:50.000Z | 2021-03-12T09:54:36.000Z | package service
import (
"go-restful-mvc/model"
)
func NewUser(user *model.User) (int, interface{}) {
// Your db call service implementation instead of resSuccess:=
resSuccess := model.BaseResponse{
Status: 200,
Message: "Success create new user, email: " + user.Email,
}
return 200, resSuccess
}
func Find... | 20.127907 | 63 | 0.641248 |
5810b8eb3ad46fd383f291d1b5a362d6b0b688b6 | 45 | h | C | KiraraScreen/KiraraScreen/_Main.h | stackprobe/Kirara2 | 9f26878aca05ba7257e0cef15489d60e9427ee77 | [
"MIT"
] | null | null | null | KiraraScreen/KiraraScreen/_Main.h | stackprobe/Kirara2 | 9f26878aca05ba7257e0cef15489d60e9427ee77 | [
"MIT"
] | null | null | null | KiraraScreen/KiraraScreen/_Main.h | stackprobe/Kirara2 | 9f26878aca05ba7257e0cef15489d60e9427ee77 | [
"MIT"
] | null | null | null | void Pub_AddInstantMessage_x(char *message);
| 22.5 | 44 | 0.844444 |
38e61b4b282051f06e91701514a13798774af8c3 | 181 | lua | Lua | scripts/UnmuteNotes.lua | StephenWeatherford/dorico-scripts | 1ebb0ee22a1c30c846ffcf6405cff69059ff14c5 | [
"MIT"
] | 1 | 2021-04-01T17:27:49.000Z | 2021-04-01T17:27:49.000Z | scripts/UnmuteNotes.lua | StephenWeatherford/dorico-scripts | 1ebb0ee22a1c30c846ffcf6405cff69059ff14c5 | [
"MIT"
] | null | null | null | scripts/UnmuteNotes.lua | StephenWeatherford/dorico-scripts | 1ebb0ee22a1c30c846ffcf6405cff69059ff14c5 | [
"MIT"
] | null | null | null | local app=DoApp.DoApp()
app:doCommand([[UI.InvokePropertyEnableSwitch?Type=kEventColour&Value=false]])
app:doCommand([[UI.InvokePropertyEnableSwitch?Type=kEventMuted&Value=false]])
| 45.25 | 78 | 0.823204 |
e03d30a72b1a70a57e509e2999282a922a23af53 | 567 | asm | Assembly | oeis/248/A248179.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/248/A248179.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/248/A248179.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A248179: Decimal expansion of (2/27)*(9 + 2*sqrt(3)*Pi).
; Submitted by Jon Maiga
; 1,4,7,2,7,9,9,7,1,7,4,3,7,4,3,0,1,5,5,8,1,9,5,9,0,3,3,6,7,2,9,8,4,6,9,9,2,1,2,6,2,5,1,6,6,5,8,1,8,9,9,5,8,1,1,3,6,4,3,9,3,3,0,4,6,1,6,9,4,3,6,3,6,0,5,6,1,5,7,2,8,1,6,3,7,3,8,8,8,8,3,6,4,9,8,0,4,5,1,9
mov $2,1
mov $3,$0
mul $3,5
lpb $... | 17.71875 | 201 | 0.511464 |
4789381907565dda62e37d95ef8e6c541fa056c7 | 1,330 | html | HTML | public/index.html | gabrielbarragan/workshop1-fetch | a6ebcd16f77d5540e2f5ad0cd9a2b20aa2710d6d | [
"MIT"
] | null | null | null | public/index.html | gabrielbarragan/workshop1-fetch | a6ebcd16f77d5540e2f5ad0cd9a2b20aa2710d6d | [
"MIT"
] | null | null | null | public/index.html | gabrielbarragan/workshop1-fetch | a6ebcd16f77d5540e2f5ad0cd9a2b20aa2710d6d | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="Web site created using create-snowpack-app"
/>
<link
... | 30.227273 | 112 | 0.583459 |
0bb51dc78ddd2967ca706bd880e3869f1feac056 | 4,633 | py | Python | lib/taurus/qt/qtgui/panel/report/basicreport.py | MikeFalowski/taurus | ef041bf35dd847caf08a7efbe072f4020d35522e | [
"CC-BY-3.0"
] | 1 | 2016-10-19T13:54:08.000Z | 2016-10-19T13:54:08.000Z | lib/taurus/qt/qtgui/panel/report/basicreport.py | MikeFalowski/taurus | ef041bf35dd847caf08a7efbe072f4020d35522e | [
"CC-BY-3.0"
] | 27 | 2016-05-25T08:56:58.000Z | 2019-01-21T09:18:08.000Z | lib/taurus/qt/qtgui/panel/report/basicreport.py | MikeFalowski/taurus | ef041bf35dd847caf08a7efbe072f4020d35522e | [
"CC-BY-3.0"
] | 8 | 2015-07-24T09:16:50.000Z | 2018-06-12T12:33:59.000Z | #!/usr/bin/env python
#############################################################################
##
# This file is part of Taurus
##
# http://taurus-scada.org
##
# Copyright 2011 CELLS / ALBA Synchrotron, Bellaterra, Spain
##
# Taurus is free software: you can redistribute it and/or modify
# it under the terms of t... | 29.890323 | 77 | 0.618821 |
9c68062a58c52bec86735b0eb7c560dfe7a5284a | 2,096 | js | JavaScript | waltz-ng/client/common/svelte/calendar-heatmap/calendar-heatmap-utils.js | G-Research/waltz | 512049af0fd117af68f16bf6dd10c12207e8623f | [
"Apache-2.0"
] | 77 | 2016-06-17T11:01:16.000Z | 2020-02-28T04:00:31.000Z | waltz-ng/client/common/svelte/calendar-heatmap/calendar-heatmap-utils.js | khartec/waltz | fdfa6f386b70f2308b9abeecf804be350707b398 | [
"Apache-2.0"
] | 2,778 | 2016-01-21T20:44:52.000Z | 2020-03-09T13:27:07.000Z | waltz-ng/client/common/svelte/calendar-heatmap/calendar-heatmap-utils.js | G-Research/waltz | 512049af0fd117af68f16bf6dd10c12207e8623f | [
"Apache-2.0"
] | 42 | 2016-01-21T21:54:58.000Z | 2020-03-05T21:06:46.000Z | import _ from "lodash";
export function prepareMonthData(data = [], startDate, endDate) {
let months = [];
const startMonth = startDate.getMonth();
const startYear = startDate.getFullYear();
let initialCalendarDate = new Date(startYear, startMonth, 1);
while (initialCalendarDate < endDate) {
... | 23.288889 | 111 | 0.619275 |
168b54e73d5a4d57fae827d58cdc591a06aa87c1 | 1,455 | h | C | include/FrameBuffer.h | danielabbott/Painting-Application-prototype | 96de14a184f8649b609d618c6b24ea6b0c580c68 | [
"MIT"
] | null | null | null | include/FrameBuffer.h | danielabbott/Painting-Application-prototype | 96de14a184f8649b609d618c6b24ea6b0c580c68 | [
"MIT"
] | 1 | 2018-11-04T08:12:43.000Z | 2019-02-10T14:18:23.000Z | include/FrameBuffer.h | danielabbott/Painting-Application-prototype | 96de14a184f8649b609d618c6b24ea6b0c580c68 | [
"MIT"
] | null | null | null | #pragma once
#include <ArrayTexture.h>
// Use glBindFragDataLocation to bind fragment shader outputs to a colour attachment
class ArrayTextureFrameBuffer
{
GLuint frameBufferName = 0;
unsigned int size = 0;
ArrayTexture * arrayTexture;
public:
ArrayTextureFrameBuffer(ArrayTexture & arrayTexture, unsigned int ar... | 25.982143 | 103 | 0.77457 |
59452a77e1114367768125aa4e3d4d08a8301a28 | 4,957 | lua | Lua | projects/tutorials/tutscripts/T009-udp_network.lua | pixeljetstream/luxinia1 | 5d69b2d47d5ed4501dc155cfef999475f2fdfe2a | [
"Unlicense",
"MIT"
] | 31 | 2015-01-05T18:22:15.000Z | 2020-12-07T03:21:50.000Z | projects/tutorials/tutscripts/T009-udp_network.lua | pixeljetstream/luxinia1 | 5d69b2d47d5ed4501dc155cfef999475f2fdfe2a | [
"Unlicense",
"MIT"
] | null | null | null | projects/tutorials/tutscripts/T009-udp_network.lua | pixeljetstream/luxinia1 | 5d69b2d47d5ed4501dc155cfef999475f2fdfe2a | [
"Unlicense",
"MIT"
] | 12 | 2015-01-05T19:17:44.000Z | 2021-01-15T08:56:06.000Z | -- UDP Server/Client application
view = UtilFunctions.simplerenderqueue()
view.rClear:colorvalue(0.0,0.0,0.0,0)
dofile "T009/udp.lua"
mainframe = TitleFrame:new(0,0,180,80,nil,"Main Menu")
mainframe.startserver = mainframe:add(
Button:new(5,25,170,25,"Start server"))
mainframe.startclient = mainframe:add(
Butto... | 26.089474 | 61 | 0.692556 |
1e080f39f9bbb7da23ac802ecb0ec0ceb4e572b4 | 271 | kt | Kotlin | api/src/main/java/com/w3bshark/infinitescroll/api/data/IUser.kt | TylerMcCraw/android-infinite-scroll | 798c178d0c7b14386cd8bccef4257fba71a0dc18 | [
"Apache-2.0"
] | null | null | null | api/src/main/java/com/w3bshark/infinitescroll/api/data/IUser.kt | TylerMcCraw/android-infinite-scroll | 798c178d0c7b14386cd8bccef4257fba71a0dc18 | [
"Apache-2.0"
] | null | null | null | api/src/main/java/com/w3bshark/infinitescroll/api/data/IUser.kt | TylerMcCraw/android-infinite-scroll | 798c178d0c7b14386cd8bccef4257fba71a0dc18 | [
"Apache-2.0"
] | null | null | null | package com.w3bshark.infinitescroll.api.data
/**
* Contract for User data model
*
* Created by Tyler McCraw on 12/12/17.
*/
interface IUser {
var id: Int
var emailAddr: String?
var firstName: String?
var lastName: String?
var photoUrl: String?
}
| 18.066667 | 44 | 0.675277 |
0500b5fed4ac6b499034df8ea3a59ff9f1a083f8 | 349 | lua | Lua | schema/items/ammo/sh_50ammo.lua | VindoesCompooter/Metro-2033 | 792225f9a998eb2e7c249cab2bdcb3c6f582c89c | [
"MIT"
] | 3 | 2019-04-09T09:57:13.000Z | 2019-07-23T22:15:02.000Z | schema/items/ammo/sh_50ammo.lua | VindoesCompooter/Metro-2033 | 792225f9a998eb2e7c249cab2bdcb3c6f582c89c | [
"MIT"
] | 1 | 2021-01-11T22:46:13.000Z | 2021-01-11T22:46:13.000Z | schema/items/ammo/sh_50ammo.lua | VindoesCompooter/Metro-2033 | 792225f9a998eb2e7c249cab2bdcb3c6f582c89c | [
"MIT"
] | 1 | 2021-01-05T13:09:18.000Z | 2021-01-05T13:09:18.000Z | ITEM.name = "Box of .50 AE"
ITEM.model = "models/stalker/ammo/magnum.mdl"
ITEM.exRender = true
ITEM.iconCam = {
pos = Vector(184.46412658691, 155.1947479248, 113.36277008057),
ang = Angle(25, 220, 0),
fov = 2.3932799161492,
}
ITEM.ammo = "z_stalker_deagle"
ITEM.maxQuantity = 24
ITEM.desc = "A Box that contains 24 .... | 26.846154 | 64 | 0.710602 |
4dacb58cc3ab45a68650158ee2d7cd1496eb4815 | 30,028 | html | HTML | open-post.html | rashmiFartode/adminphp | 1beadb9c3f74b6b8f60a27c209d1132612c84435 | [
"MIT"
] | null | null | null | open-post.html | rashmiFartode/adminphp | 1beadb9c3f74b6b8f60a27c209d1132612c84435 | [
"MIT"
] | null | null | null | open-post.html | rashmiFartode/adminphp | 1beadb9c3f74b6b8f60a27c209d1132612c84435 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<!--[if IE 8]>
<html class="ie ie8" lang="en-US">
<![endif]-->
<!--[if !(IE 8)]><!-->
<html lang="en-US" class="cmsms_html">
<!--<![endif]-->
<!-- Mirrored from eco-nature-html.cmsmasters.net/open-post.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 20 Oct 2018 13:11:42 GMT -->
<head>
<meta ch... | 42.592908 | 335 | 0.561476 |
b6665f9dca6ea65d5c622ad75af9d93dfad7fb26 | 166 | rb | Ruby | db/migrate/20180212144913_add_index_to_add_effect_list.rb | white-mns/yojouhan_1_rails | 39a3d7ad3f0665fbcf597fd8ce099ab33819df2d | [
"MIT"
] | null | null | null | db/migrate/20180212144913_add_index_to_add_effect_list.rb | white-mns/yojouhan_1_rails | 39a3d7ad3f0665fbcf597fd8ce099ab33819df2d | [
"MIT"
] | 1 | 2022-02-26T03:38:10.000Z | 2022-02-26T03:38:10.000Z | db/migrate/20180212144913_add_index_to_add_effect_list.rb | white-mns/yojouhan_rails | 39a3d7ad3f0665fbcf597fd8ce099ab33819df2d | [
"MIT"
] | null | null | null | class AddIndexToAddEffectList < ActiveRecord::Migration
def change
add_index :add_effect_lists, :add_effect_id
add_index :add_effect_lists, :name
end
end
| 23.714286 | 55 | 0.789157 |
0cf243e0f912db385063a422e6bbf35dbe9d0972 | 3,663 | py | Python | python/iceberg/api/transforms/transforms.py | moulimukherjee/incubator-iceberg | bf7edc4b325df6dd80d86fea0149d2be0ad09468 | [
"Apache-2.0"
] | 58 | 2019-09-10T20:51:26.000Z | 2022-03-22T11:06:09.000Z | python/iceberg/api/transforms/transforms.py | moulimukherjee/incubator-iceberg | bf7edc4b325df6dd80d86fea0149d2be0ad09468 | [
"Apache-2.0"
] | 292 | 2019-07-23T04:33:18.000Z | 2021-07-26T04:28:22.000Z | python/iceberg/api/transforms/transforms.py | moulimukherjee/incubator-iceberg | bf7edc4b325df6dd80d86fea0149d2be0ad09468 | [
"Apache-2.0"
] | 26 | 2019-08-28T23:59:03.000Z | 2022-03-04T08:54:08.000Z | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | 32.705357 | 78 | 0.65329 |
5f9a6689d5faa88f0c447a73ab24d76a0af2d5cc | 401 | h | C | drivers/marvell/ddr_phy_access.h | sohumango/arm-trusted-firmware | 7fe3a5f49da673a0e958fd6f26d2d492930b8d58 | [
"MIT"
] | 1,408 | 2015-01-26T17:15:15.000Z | 2022-03-31T12:54:11.000Z | drivers/marvell/ddr_phy_access.h | sohumango/arm-trusted-firmware | 7fe3a5f49da673a0e958fd6f26d2d492930b8d58 | [
"MIT"
] | 1,177 | 2015-01-07T12:55:46.000Z | 2022-01-19T10:49:12.000Z | drivers/marvell/ddr_phy_access.h | sohumango/arm-trusted-firmware | 7fe3a5f49da673a0e958fd6f26d2d492930b8d58 | [
"MIT"
] | 959 | 2015-01-08T09:12:45.000Z | 2022-03-28T03:07:50.000Z | /*
* Copyright (C) 2021 Marvell International Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
* https://spdx.org/licenses
*/
#include <plat_marvell.h>
#define DEVICE_BASE 0xF0000000
#define DDR_PHY_OFFSET 0x1000000
#define DDR_PHY_BASE_ADDR (DEVICE_BASE + DDR_PHY_OFFSET)
int mvebu_ddr_phy_write(uintptr_t o... | 25.0625 | 57 | 0.770574 |
d04294208307b11d9d1b6587851d8815b0f5d0f8 | 1,293 | css | CSS | estilo01.css | AdegaxX/Projetos | 2b91b0d4efad6b8b157df0695d9f2a1774e7b681 | [
"MIT"
] | null | null | null | estilo01.css | AdegaxX/Projetos | 2b91b0d4efad6b8b157df0695d9f2a1774e7b681 | [
"MIT"
] | null | null | null | estilo01.css | AdegaxX/Projetos | 2b91b0d4efad6b8b157df0695d9f2a1774e7b681 | [
"MIT"
] | null | null | null | body {
background: black;
font-family: 'Courier New', Courier, monospace;
font-size: 25px;
background-image: url(background1.png);
background-position: center;
background-size: cover;
}
p {
font:normal 25px Verdana;
}
p2 {
font: normal 20px Arial;
}
.cx {
border:0px solid rgb... | 18.211268 | 75 | 0.613302 |
b2df89e53c0696d724b6e84ea61023d0f33bec67 | 597 | py | Python | Pokemon Identifier/app.py | sethuiyer/mlhub | 6be271c0070a0c0bb90dd92aceb344e7415bb1db | [
"MIT"
] | 22 | 2016-12-28T16:14:18.000Z | 2019-09-22T16:39:29.000Z | Pokemon Identifier/app.py | sethuiyer/mlhub | 6be271c0070a0c0bb90dd92aceb344e7415bb1db | [
"MIT"
] | 6 | 2020-03-24T17:48:55.000Z | 2022-03-12T00:04:58.000Z | Pokemon Identifier/app.py | sethuiyer/mlhub | 6be271c0070a0c0bb90dd92aceb344e7415bb1db | [
"MIT"
] | 17 | 2017-01-17T09:45:14.000Z | 2020-04-21T07:19:39.000Z | from poketype import PokemonTypeIdentifier
from flask import Flask, request, make_response,jsonify
import os
id = PokemonTypeIdentifier()
app = Flask(__name__,static_url_path='/static')
@app.route('/findtype',methods=['GET'])
def classify():
poke_name=request.args.get('pokename')
results = id.predict_type(poke... | 33.166667 | 67 | 0.721943 |
accef4e20a9e1d977954ca858b7b5096eb1f323e | 449 | kt | Kotlin | app/src/sharedTest/java/com/artf/chatapp/util/MockitoExt.kt | Yunzehahaha/Android-chat-app-demo | e9bce6a21956b1898da7643b8efff2f594b32b6b | [
"Apache-2.0"
] | null | null | null | app/src/sharedTest/java/com/artf/chatapp/util/MockitoExt.kt | Yunzehahaha/Android-chat-app-demo | e9bce6a21956b1898da7643b8efff2f594b32b6b | [
"Apache-2.0"
] | null | null | null | app/src/sharedTest/java/com/artf/chatapp/util/MockitoExt.kt | Yunzehahaha/Android-chat-app-demo | e9bce6a21956b1898da7643b8efff2f594b32b6b | [
"Apache-2.0"
] | null | null | null | package com.artf.chatapp.util
import org.mockito.ArgumentCaptor
import org.mockito.ArgumentMatchers
import org.mockito.Mockito
inline fun <reified T> any(): T = Mockito.any(T::class.java)
inline fun <reified T> mock(): T = Mockito.mock(T::class.java)
inline fun <reified T> nullable(): T = ArgumentMatchers... | 32.071429 | 100 | 0.739421 |
476b3f3847b6a68a731ca927a38545dab63e167e | 485 | sql | SQL | kata-files/lesson2/postgresql/expected/MYLARGESCHEMA/function/func655.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/func655.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/func655.sql | goldmansachs/obevo-kata | 5596ff44ad560d89d183ac0941b727db1a2a7346 | [
"Apache-2.0"
] | 11 | 2017-04-30T18:39:09.000Z | 2021-08-22T16:21:11.000Z | CREATE FUNCTION func655() RETURNS integer
LANGUAGE plpgsql
AS $$ DECLARE val INTEGER; BEGIN val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE166);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE329);val:=(SELECT COUNT(*)INTO MYCOUNT FROM MYLARGESCHEMA.TABLE115);val:=(SELECT COUNT(*)INTO MYCOU... | 69.285714 | 416 | 0.769072 |
8fb6ba12aca6de210045354c2a7f3acc9bc1dcec | 195 | kt | Kotlin | src/main/java/com/hongwei/model/privilege/Privilege.kt | hongwei-bai/application-file-server | 8c3bf79e40d0043d453afc7c2a733c6c286bd0e8 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/hongwei/model/privilege/Privilege.kt | hongwei-bai/application-file-server | 8c3bf79e40d0043d453afc7c2a733c6c286bd0e8 | [
"Apache-2.0"
] | null | null | null | src/main/java/com/hongwei/model/privilege/Privilege.kt | hongwei-bai/application-file-server | 8c3bf79e40d0043d453afc7c2a733c6c286bd0e8 | [
"Apache-2.0"
] | null | null | null | package com.hongwei.model.privilege
data class Privilege(
val entries: List<String>,
val photo: PhotoPrivilege? = PhotoPrivilege(),
val uploadExercise: Boolean? = false
) | 27.857143 | 54 | 0.687179 |
dc05f837144c2d7be2afc9abddb596a38fe7fcdf | 4,233 | kt | Kotlin | app/src/main/java/vsec/com/slockandroid/Presenters/RegisterLockActivity/RegisterLockPresenter.kt | mragimbo/slock-android | 5770c42e25c889b80d90240dd23b68479c28c002 | [
"MIT"
] | null | null | null | app/src/main/java/vsec/com/slockandroid/Presenters/RegisterLockActivity/RegisterLockPresenter.kt | mragimbo/slock-android | 5770c42e25c889b80d90240dd23b68479c28c002 | [
"MIT"
] | null | null | null | app/src/main/java/vsec/com/slockandroid/Presenters/RegisterLockActivity/RegisterLockPresenter.kt | mragimbo/slock-android | 5770c42e25c889b80d90240dd23b68479c28c002 | [
"MIT"
] | 1 | 2020-02-08T14:00:24.000Z | 2020-02-08T14:00:24.000Z | package vsec.com.slockandroid.Presenters.RegisterLockActivity
import android.app.Activity
import android.bluetooth.BluetoothDevice
import android.content.Context
import android.os.AsyncTask
import vsec.com.slockandroid.Controllers.ApiController
import vsec.com.slockandroid.Controllers.BluetoothController
import vsec.c... | 38.834862 | 201 | 0.677297 |
f0629fcfe39cc2a9911c3a04a0f813fc81ab951d | 916 | js | JavaScript | components/button.js | j-94/chakra-graphcms | 7d63ff01834940b70395ba255ac72d3dc945c348 | [
"MIT"
] | null | null | null | components/button.js | j-94/chakra-graphcms | 7d63ff01834940b70395ba255ac72d3dc945c348 | [
"MIT"
] | null | null | null | components/button.js | j-94/chakra-graphcms | 7d63ff01834940b70395ba255ac72d3dc945c348 | [
"MIT"
] | null | null | null | import { Box, Link as ChakraLink } from '@chakra-ui/react'
import Link from 'next/link'
const linkDefaultStyles = {
width: 'full',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
px: [8, null, 10],
py: [3, null, 4],
fontSize: ['base', null, 'lg'],
fontWeight: 'medium',
borderRadius: ... | 20.818182 | 59 | 0.549127 |
da76de0ab54feb3d2c53c9eee72df659f6c31986 | 48,000 | tab | SQL | preparation/pe/cg_force_field/B-B.tab | jkrajniak/paper-generic-adaptive-resolution-method-for-reverse-mapping-of-polymers-data | 9e967fd74dcb9bca018789e0a8b50105d9fd77df | [
"Unlicense"
] | null | null | null | preparation/pe/cg_force_field/B-B.tab | jkrajniak/paper-generic-adaptive-resolution-method-for-reverse-mapping-of-polymers-data | 9e967fd74dcb9bca018789e0a8b50105d9fd77df | [
"Unlicense"
] | null | null | null | preparation/pe/cg_force_field/B-B.tab | jkrajniak/paper-generic-adaptive-resolution-method-for-reverse-mapping-of-polymers-data | 9e967fd74dcb9bca018789e0a8b50105d9fd77df | [
"Unlicense"
] | null | null | null | 0.002 12801.791 248435.29
0.004 12312.929 240183.88
0.006 11841.055 231447.24
0.008 11387.14 222225.37
0.01 10952.154 213295.88
0.012 10533.956 205467.49
0.014 10130.284 ... | 47.952048 | 47 | 0.344688 |
f016bcca921752720665dbfae5ff32e58e1d8f2e | 629 | js | JavaScript | src/widget/components/SectionListLink.js | katandcompany/wistiaPlugin | 73b9b3821800fb0df191d11c1719dfb645ece0b4 | [
"MIT"
] | null | null | null | src/widget/components/SectionListLink.js | katandcompany/wistiaPlugin | 73b9b3821800fb0df191d11c1719dfb645ece0b4 | [
"MIT"
] | null | null | null | src/widget/components/SectionListLink.js | katandcompany/wistiaPlugin | 73b9b3821800fb0df191d11c1719dfb645ece0b4 | [
"MIT"
] | null | null | null | import React, { useContext } from 'react';
import { PluginContext } from '../../contexts/PluginContext';
const SectionListLink = ({ sectionId, active }) => {
const { setCurrentFilter } = useContext(PluginContext);
const linkClickEvent = (event) => {
setCurrentFilter(event.currentTarget.getAttribute('id'));
}... | 25.16 | 61 | 0.627981 |
85e81d6c3e8dd1b1505901d4bee866c02485f58e | 314 | h | C | Breakout Clone/ball.h | GEMISIS/Breakout-Clone | b09385449f8b11d43b89d90390653d04b6ebdf9b | [
"MIT"
] | null | null | null | Breakout Clone/ball.h | GEMISIS/Breakout-Clone | b09385449f8b11d43b89d90390653d04b6ebdf9b | [
"MIT"
] | null | null | null | Breakout Clone/ball.h | GEMISIS/Breakout-Clone | b09385449f8b11d43b89d90390653d04b6ebdf9b | [
"MIT"
] | 1 | 2021-11-14T20:12:02.000Z | 2021-11-14T20:12:02.000Z | #pragma once
#include "entity.h"
#include "paddle.h"
class Ball : public Entity
{
public:
Ball()
{
}
Ball(Paddle* paddle, sf::RenderWindow* window);
void Bounce(bool bounceY);
void Reset(sf::RenderWindow* window);
bool Update(sf::RenderWindow* window);
private:
sf::Vector2f velocity;
Paddle* paddle;
}; | 16.526316 | 48 | 0.707006 |
2a284d43516ab7f430c70113eebc373740ba54d3 | 6,016 | html | HTML | index.html | Backlink-gmx/Outdoorrucksack | 6614e01e1632b2577c08831bb344dc4165d7def5 | [
"MIT"
] | null | null | null | index.html | Backlink-gmx/Outdoorrucksack | 6614e01e1632b2577c08831bb344dc4165d7def5 | [
"MIT"
] | null | null | null | index.html | Backlink-gmx/Outdoorrucksack | 6614e01e1632b2577c08831bb344dc4165d7def5 | [
"MIT"
] | null | null | null | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Der passende Outdoorrucksack für die Aktivitäten beim Wandern</title>
<!-- Boo... | 46.276923 | 795 | 0.658743 |
5f5421cf0ee10d7fe2ac56a9d2b4ccca0b3e9675 | 332 | sql | SQL | install/migration/1_6_to_1_7/mssql.sql | ZenPlanner/BugLogHQ | cbd67e44b0c569d649dfeba4c44bb02c5813cc46 | [
"Apache-2.0"
] | null | null | null | install/migration/1_6_to_1_7/mssql.sql | ZenPlanner/BugLogHQ | cbd67e44b0c569d649dfeba4c44bb02c5813cc46 | [
"Apache-2.0"
] | null | null | null | install/migration/1_6_to_1_7/mssql.sql | ZenPlanner/BugLogHQ | cbd67e44b0c569d649dfeba4c44bb02c5813cc46 | [
"Apache-2.0"
] | null | null | null | CREATE TABLE [dbo].[bl_ExtensionLog] (
[ExtensionLogID] int IDENTITY (1,1) NOT NULL,
[extensionID] int NULL,
[createdOn] datetime NOT NULL,
[entryID] int NULL
)
ON [PRIMARY]
GO
ALTER TABLE [dbo].[bl_ExtensionLog]
ADD
CONSTRAINT [DF_bl_ExtensionLog_createdOn]
DEFAULT (getdate()) FOR [cr... | 22.133333 | 51 | 0.683735 |
e3c933775877e1a29db56b69abdf7df09bfbc274 | 1,185 | go | Go | packetizer_test.go | lightsofapollo/rtp | cfeee237106ea293979796c30a3a1e1fbafaa355 | [
"MIT"
] | null | null | null | packetizer_test.go | lightsofapollo/rtp | cfeee237106ea293979796c30a3a1e1fbafaa355 | [
"MIT"
] | null | null | null | packetizer_test.go | lightsofapollo/rtp | cfeee237106ea293979796c30a3a1e1fbafaa355 | [
"MIT"
] | null | null | null | package rtp
import (
"fmt"
"testing"
"time"
"github.com/pion/rtp/codecs"
"github.com/stretchr/testify/assert"
)
func TestNtpConversion(t *testing.T) {
loc := time.FixedZone("UTC-5", -5*60*60)
tests := []struct {
t time.Time
n uint64
}{
{t: time.Date(1985, time.June, 23, 4, 0, 0, 0, loc), n: 0xa0c65b10... | 26.931818 | 103 | 0.662447 |
1b156cb4ea5bde552c19b3569a25db9f053abd1e | 689 | lua | Lua | src/ServerScriptService/temporary/Footsteps/Pitch.server.lua | DevArke/starstream | 79af1414f5140519951ed023883ad2144b36a198 | [
"Apache-2.0"
] | null | null | null | src/ServerScriptService/temporary/Footsteps/Pitch.server.lua | DevArke/starstream | 79af1414f5140519951ed023883ad2144b36a198 | [
"Apache-2.0"
] | null | null | null | src/ServerScriptService/temporary/Footsteps/Pitch.server.lua | DevArke/starstream | 79af1414f5140519951ed023883ad2144b36a198 | [
"Apache-2.0"
] | null | null | null | while wait(.3) do
x = script.Parent:GetChildren()
for i = 1,#x do
if x[i]:IsA("Sound") then
x[i].Pitch = x[i].Pitch - 0.1
end
end
wait(.3)
x = script.Parent:GetChildren()
for i = 1,#x do
if x[i]:IsA("Sound") then
x[i].Pitch = x[i].Pitch - 0.1
end
end
wait(.3)
x = script.Parent:GetChildren... | 14.978261 | 32 | 0.558781 |
da8507dcc8ce5dc0b2b66962fbf1a0eef9a4faf6 | 439 | asm | Assembly | unix-x64/printhex.asm | mazoti/adler32 | a7d27786344277a6fe589ba98c0210d96c88fc8e | [
"BSD-3-Clause"
] | null | null | null | unix-x64/printhex.asm | mazoti/adler32 | a7d27786344277a6fe589ba98c0210d96c88fc8e | [
"BSD-3-Clause"
] | null | null | null | unix-x64/printhex.asm | mazoti/adler32 | a7d27786344277a6fe589ba98c0210d96c88fc8e | [
"BSD-3-Clause"
] | null | null | null | ; void printhex(int stdout_stderr, int number);
global printhex
section .data
hex_table db '0123456789abcdef'
section .text
printhex:
mov rbx,rsp
mov rdx,1 ; write 1 character
divide:
mov rcx,rsi
and rcx,15 ; push mod 16
push rcx
shr rsi,4
jnz divide
print_stack:
mov rax,4... | 14.633333 | 47 | 0.646925 |
74bfc79b9d5b89875ca557b0fc2ae5ce447f5fd4 | 2,102 | js | JavaScript | polymer-app/app/edit/src/d4l-logging/d4l-logging.js | coders-for-labour/dashboard-for-labour | 0d89187c6328834b3281f14fb2d07a5836694f9a | [
"MIT"
] | 5 | 2017-05-21T20:45:11.000Z | 2019-11-15T18:59:08.000Z | polymer-app/app/edit/src/d4l-logging/d4l-logging.js | coders-for-labour/dashboard-for-labour | 0d89187c6328834b3281f14fb2d07a5836694f9a | [
"MIT"
] | 26 | 2017-05-23T11:00:19.000Z | 2022-03-03T22:57:38.000Z | polymer-app/app/edit/src/d4l-logging/d4l-logging.js | coders-for-labour/dashboard-for-labour | 0d89187c6328834b3281f14fb2d07a5836694f9a | [
"MIT"
] | 5 | 2017-05-26T10:46:35.000Z | 2019-11-17T23:56:29.000Z | window.D4L = window.D4L || {};
/**
* @polymerBehavior D4L.Logging
*/
D4L.Logging = {
properties: {
LogLevel: {
type: Object,
value: function() {
return {
ERR: 0,
WARN: 1,
INFO: 2,
VERBOSE: 3,
DEBUG: 4,
SILLY: 5
};
}
... | 26.275 | 84 | 0.553758 |
2822f5e1adedf305c8fcfe5fcfed5e376745113e | 4,574 | lua | Lua | rl_env.lua | lujiaying/visual7w-qa-models | 3aaced3ca4768e0e07c6ff7c9b95d5ed71604ee9 | [
"MIT"
] | 1 | 2020-07-07T10:29:56.000Z | 2020-07-07T10:29:56.000Z | rl_env.lua | lujiaying/visual7w-qa-models | 3aaced3ca4768e0e07c6ff7c9b95d5ed71604ee9 | [
"MIT"
] | null | null | null | rl_env.lua | lujiaying/visual7w-qa-models | 3aaced3ca4768e0e07c6ff7c9b95d5ed71604ee9 | [
"MIT"
] | null | null | null | require 'torch'
require 'nn'
require 'nngraph' require 'loadcaffe'
require 'image'
require 'math'
require 'misc.QADatasetLoader'
require 'modules.QAAttentionModel'
require 'modules.QACriterion'
local utils = require 'misc.utils'
local net_utils = require 'misc.net_utils'
local rl_env = {}
local rnn = nil
local cnn =... | 30.905405 | 163 | 0.69742 |
e76b08a54c94d8717ac6fbf42faf2fa3ed0ac11b | 4,402 | js | JavaScript | src/services/spSearch.js | princeppy/angular-sharepoint-sharecoffee-wrapper | 5a716ac02b77dc11887dd94ef71659a368412a82 | [
"MIT"
] | null | null | null | src/services/spSearch.js | princeppy/angular-sharepoint-sharecoffee-wrapper | 5a716ac02b77dc11887dd94ef71659a368412a82 | [
"MIT"
] | null | null | null | src/services/spSearch.js | princeppy/angular-sharepoint-sharecoffee-wrapper | 5a716ac02b77dc11887dd94ef71659a368412a82 | [
"MIT"
] | null | null | null | (function () {
'use strict';
/**
* @ngdoc service
* @name ExpertsInside.SharePoint.Search.$spSearch
* @requires ExpertsInside.SharePoint.Core.$spRest
* @requires ExpertsInside.SharePoint.Core.$spConvert
*
* @description Query the Search via REST API
*
*/
angular.module('ExpertsInside.Share... | 32.607407 | 103 | 0.570877 |
c336c306f419e04866cddb7769da546b2fe0cd6f | 135 | sql | SQL | sql/wait_chains.sql | th0x4c/coin | d70eb7effd672d66e2fe2a57c6ca7406b74e2f44 | [
"Unlicense"
] | null | null | null | sql/wait_chains.sql | th0x4c/coin | d70eb7effd672d66e2fe2a57c6ca7406b74e2f44 | [
"Unlicense"
] | null | null | null | sql/wait_chains.sql | th0x4c/coin | d70eb7effd672d66e2fe2a57c6ca7406b74e2f44 | [
"Unlicense"
] | null | null | null | select
'WAIT_CHAINS' CNAME, to_char(systimestamp, 'yyyy-mm-dd"T"hh24:mi:ss.ff') CTIMESTAMP,
v$wait_chains.*
from
v$wait_chains
/
| 19.285714 | 86 | 0.725926 |
b61ac5069b04295054cda0ddeb80e56da1902e7c | 76 | sql | SQL | src/test/resources/sql/set/b77b120e.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 66 | 2018-06-15T11:34:03.000Z | 2022-03-16T09:24:49.000Z | src/test/resources/sql/set/b77b120e.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 13 | 2019-03-19T11:56:28.000Z | 2020-08-05T04:20:50.000Z | src/test/resources/sql/set/b77b120e.sql | Shuttl-Tech/antlr_psql | fcf83192300abe723f3fd3709aff5b0c8118ad12 | [
"MIT"
] | 28 | 2019-01-05T19:59:02.000Z | 2022-03-24T11:55:50.000Z | -- file:strings.sql ln:20 expect:true
SET standard_conforming_strings TO on
| 25.333333 | 37 | 0.815789 |
bcf1fe7d405d715c6985568af6bf01b5d95200c4 | 2,253 | swift | Swift | RakutenAdvertisingAttribution/Source/Helpers/DataBuilders/ResolveLinkRequestBuilder.swift | Rakuten-Advertising-Developers/RADAttribution-SDK-iOS | 0ea8aa43c7711794bb85f43cf8f9952590411b7f | [
"MIT"
] | 1 | 2021-10-29T21:53:25.000Z | 2021-10-29T21:53:25.000Z | RakutenAdvertisingAttribution/Source/Helpers/DataBuilders/ResolveLinkRequestBuilder.swift | Rakuten-Advertising-Developers/RADAttribution-SDK-iOS | 0ea8aa43c7711794bb85f43cf8f9952590411b7f | [
"MIT"
] | 1 | 2021-08-18T11:24:54.000Z | 2021-08-18T11:24:54.000Z | RakutenAdvertisingAttribution/Source/Helpers/DataBuilders/ResolveLinkRequestBuilder.swift | Rakuten-Advertising-Developers/RADAttribution-SDK-iOS | 0ea8aa43c7711794bb85f43cf8f9952590411b7f | [
"MIT"
] | 2 | 2021-10-29T21:53:39.000Z | 2022-02-18T14:01:47.000Z | //
// ResolveLinkRequestBuilder.swift
// RakutenAdvertisingAttribution
//
// Created by Durbalo, Andrii on 21.07.2020.
//
import Foundation
typealias ResolveLinkRequestBuilderCompletion = (ResolveLinkRequest) -> Void
class ResolveLinkRequestBuilder {
var deviceDataBuilder: DeviceDataBuilder = DeviceDataBuild... | 38.186441 | 107 | 0.57257 |
967516e82be9ecdb82149ef6fb8f5a617ce39ec4 | 1,738 | kt | Kotlin | retroauth-android/src/main/java/com/andretietz/retroauth/WeakActivityStack.kt | moovel/retroauth | b5334f354c5d04f8f3d39af72cbd6fb79aaa10c3 | [
"Apache-2.0"
] | 279 | 2015-06-29T08:08:16.000Z | 2015-09-24T04:02:06.000Z | retroauth-android/src/main/java/com/andretietz/retroauth/WeakActivityStack.kt | moovel/retroauth | b5334f354c5d04f8f3d39af72cbd6fb79aaa10c3 | [
"Apache-2.0"
] | 51 | 2015-10-24T21:50:13.000Z | 2020-12-22T19:52:33.000Z | retroauth-android/src/main/java/com/andretietz/retroauth/WeakActivityStack.kt | moovel/retroauth | b5334f354c5d04f8f3d39af72cbd6fb79aaa10c3 | [
"Apache-2.0"
] | 34 | 2015-10-06T17:34:48.000Z | 2021-03-19T15:50:14.000Z | /*
* Copyright (c) 2016 Andre Tietz
*
* 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 ... | 24.828571 | 75 | 0.679517 |
f01853fdef99763aa76db241019fe3f05895618d | 4,221 | py | Python | assets/src/ba_data/python/ba/_analytics.py | SahandAslani/ballistica | 7e3814cd2a1920ea8f5820cb1cdbb4dc5420d30e | [
"MIT"
] | 2 | 2020-07-02T22:18:58.000Z | 2020-07-02T22:19:49.000Z | assets/src/ba_data/python/ba/_analytics.py | MalTarDesigns/ballistica | c38ae5c39b3cc7985be166a959245ca060d3bf31 | [
"MIT"
] | null | null | null | assets/src/ba_data/python/ba/_analytics.py | MalTarDesigns/ballistica | c38ae5c39b3cc7985be166a959245ca060d3bf31 | [
"MIT"
] | null | null | null | # Copyright (c) 2011-2020 Eric Froemling
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish,... | 45.880435 | 79 | 0.664298 |
7554f41f3e7bbc3bc80adbb3e76a920df2c5b752 | 123 | rs | Rust | js/slothjs/src/builtin/console.rs | EarlGray/language-snippets | 31e4cd1cd32a444752e47484ff528a50bb6e14f6 | [
"BSD-3-Clause"
] | 22 | 2016-02-21T11:13:12.000Z | 2022-03-04T00:10:51.000Z | js/slothjs/src/builtin/console.rs | EarlGray/language-incubator | c875b0427daa5744fd0547eba5434ac4aa000a43 | [
"BSD-3-Clause"
] | null | null | null | js/slothjs/src/builtin/console.rs | EarlGray/language-incubator | c875b0427daa5744fd0547eba5434ac4aa000a43 | [
"BSD-3-Clause"
] | null | null | null | use crate::error::Exception;
use crate::heap::Heap;
pub fn init(_heap: &mut Heap) -> Result<(), Exception> {
Ok(())
}
| 17.571429 | 56 | 0.617886 |
dd98211ce447a08c1058fcc143c580b080ac9c1b | 2,775 | go | Go | functions/go/set-labels/generated/docs.go | Shell32-Natsu/kpt-functions-catalog | aa471013427a10fc006caeaebbf62e5f75cb84cf | [
"Apache-2.0"
] | null | null | null | functions/go/set-labels/generated/docs.go | Shell32-Natsu/kpt-functions-catalog | aa471013427a10fc006caeaebbf62e5f75cb84cf | [
"Apache-2.0"
] | null | null | null | functions/go/set-labels/generated/docs.go | Shell32-Natsu/kpt-functions-catalog | aa471013427a10fc006caeaebbf62e5f75cb84cf | [
"Apache-2.0"
] | null | null | null |
// Code generated by "mdtogo"; DO NOT EDIT.
package generated
var SetLabelsShort = `The ` + "`" + `set-labels` + "`" + ` function adds a list of labels to all resources. It's a common
practice to add a set of labels for all the resources in a package. Kubernetes
has some [recommended labels].
For example, labels ca... | 39.642857 | 121 | 0.618739 |
85979b8e956cbd77fe4a39c7492a1e66fd7f8325 | 1,584 | js | JavaScript | src/users/UsersContainer.js | grantba/food_nutrition_information_app | 24572ee96078ed6e34e0fd2094081c5d274d1309 | [
"MIT"
] | 1 | 2021-08-23T22:28:00.000Z | 2021-08-23T22:28:00.000Z | src/users/UsersContainer.js | grantba/food_nutrition_information_app | 24572ee96078ed6e34e0fd2094081c5d274d1309 | [
"MIT"
] | null | null | null | src/users/UsersContainer.js | grantba/food_nutrition_information_app | 24572ee96078ed6e34e0fd2094081c5d274d1309 | [
"MIT"
] | null | null | null | import React, { Component } from 'react'
import Login from './Login'
import Signup from './Signup'
import { Route, Switch, Redirect } from 'react-router-dom'
import { connect } from 'react-redux'
import {userLogin, userSignup, editUser, deleteUser} from '../actions/users'
import Homepage from '../components/Homepage'
i... | 37.714286 | 169 | 0.592172 |
ff131c3d80a7b87e808539622fd621ec58f94ef1 | 602 | asm | Assembly | oeis/013/A013757.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/013/A013757.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/013/A013757.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A013757: a(n) = 15^(3*n + 2).
; 225,759375,2562890625,8649755859375,29192926025390625,98526125335693359375,332525673007965087890625,1122274146401882171630859375,3787675244106352329254150390625,12783403948858939111232757568359375,43143988327398919500410556793212890625,145610960604971353313885629177093505859375,4914369... | 54.727273 | 486 | 0.888704 |
b1a49002c21c366e88656aedd415e8c23191cabe | 919 | h | C | PermissionsManager.h | ant-ds/Scroll-Reverser | 9bc0d98aa3af0929a4d435c91aca63d487a4824c | [
"Apache-2.0"
] | null | null | null | PermissionsManager.h | ant-ds/Scroll-Reverser | 9bc0d98aa3af0929a4d435c91aca63d487a4824c | [
"Apache-2.0"
] | null | null | null | PermissionsManager.h | ant-ds/Scroll-Reverser | 9bc0d98aa3af0929a4d435c91aca63d487a4824c | [
"Apache-2.0"
] | null | null | null | //
// PermissionsManager.h
// Scroll Reverser
//
// Created by Nicholas Moore on 21/11/2019.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
extern NSString *const PermissionsManagerKeyAccessibilityEnabled;
extern NSString *const PermissionsManagerKeyInputMonitoringEnabled;
extern NSString *const Per... | 28.71875 | 84 | 0.838955 |
ae0d3d1794bfbcd39384438b73c4f828a5dd067e | 1,629 | sql | SQL | sql/create_indiv_seg_support.sql | crashka/fecdb | b5c35ae782c24fc6a64c989e0107074d1684879f | [
"MIT"
] | null | null | null | sql/create_indiv_seg_support.sql | crashka/fecdb | b5c35ae782c24fc6a64c989e0107074d1684879f | [
"MIT"
] | null | null | null | sql/create_indiv_seg_support.sql | crashka/fecdb | b5c35ae782c24fc6a64c989e0107074d1684879f | [
"MIT"
] | null | null | null | --
-- Individual Segment
--
CREATE TABLE IF NOT EXISTS indiv_seg (
id BIGINT PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY,
name TEXT NOT NULL,
description TEXT
)
WITH (FILLFACTOR=70);
--
-- Individual Segment Members (composed of `indiv` records)
--
CREATE TABLE... | 30.735849 | 102 | 0.668508 |
983ae3c2a36974e4666fe7e248138019fe26e9d6 | 180 | kt | Kotlin | src/main/kotlin/com/sbrati/spring/boot/starter/kotlin/telegram/model/FinishWith.kt | rastiehaiev/spring-boot-starter-kotlin-telegram | 790206a088286766f1061a4ea836ce1c68daff86 | [
"MIT"
] | null | null | null | src/main/kotlin/com/sbrati/spring/boot/starter/kotlin/telegram/model/FinishWith.kt | rastiehaiev/spring-boot-starter-kotlin-telegram | 790206a088286766f1061a4ea836ce1c68daff86 | [
"MIT"
] | null | null | null | src/main/kotlin/com/sbrati/spring/boot/starter/kotlin/telegram/model/FinishWith.kt | rastiehaiev/spring-boot-starter-kotlin-telegram | 790206a088286766f1061a4ea836ce1c68daff86 | [
"MIT"
] | null | null | null | package com.sbrati.spring.boot.starter.kotlin.telegram.model
class FinishWith(val result: Any)
fun finish(operation: () -> Any): FinishWith {
return FinishWith(operation())
} | 25.714286 | 60 | 0.75 |
94f9c794ab77dddf2b8c325a1cce51655137475a | 27,574 | lua | Lua | CBM.lua | zick-elephant/ChessBoardManager-and-stuff | 785bb2eef7f61aaaa631483bde239e3d0521a552 | [
"MIT"
] | null | null | null | CBM.lua | zick-elephant/ChessBoardManager-and-stuff | 785bb2eef7f61aaaa631483bde239e3d0521a552 | [
"MIT"
] | null | null | null | CBM.lua | zick-elephant/ChessBoardManager-and-stuff | 785bb2eef7f61aaaa631483bde239e3d0521a552 | [
"MIT"
] | null | null | null | --
-- Author: zick_elephant
-- Date: 2015-12-15&H:48:59
-- ChessBoardManager,缩写成CBM
CBM = {}
-- 用于在scene之间传输参数的公共变量
CBM.sceneobj = {}
CBM.chosen = {}
CBM.partychangeEvent = {}
function CBM:new(o)
o = o or {}
setmetatable(o,self)
self.__index = self
self.rpvect = {}
self.rpcente... | 26.386603 | 161 | 0.615761 |
05aadeff91ebc19d2bbdd325cc04d4e54dd25e32 | 602 | rb | Ruby | gtkhtml2/src/lib/gtkhtml2.rb | pkorenev/ruby-gnome2 | 08011d8535529a3866f877817f29361b1b0703d7 | [
"Ruby"
] | 2 | 2016-05-08T20:57:12.000Z | 2017-07-28T21:00:42.000Z | gtkhtml2/src/lib/gtkhtml2.rb | pkorenev/ruby-gnome2 | 08011d8535529a3866f877817f29361b1b0703d7 | [
"Ruby"
] | null | null | null | gtkhtml2/src/lib/gtkhtml2.rb | pkorenev/ruby-gnome2 | 08011d8535529a3866f877817f29361b1b0703d7 | [
"Ruby"
] | 2 | 2016-07-23T09:53:08.000Z | 2021-07-13T07:21:05.000Z | require 'gtk2'
require 'gtkhtml2.so'
module Gtk
module Html
LOG_DOMAIN = "GtkHtml"
end
class HtmlDocument
LOG_DOMAIN = "HtmlDocument"
end
class HtmlView
LOG_DOMAIN = "HtmlView"
end
end
GLib::Log.set_log_domain(Gtk::Html::LOG_DOMAIN)
GLib::Log.set_log_domain(Gtk::HtmlDocument::LOG_DOMAIN... | 20.758621 | 55 | 0.749169 |
f6622361acaf9f31964eb7dc2980d3a6d750d796 | 946 | sql | SQL | Introduction to SQL Pt1/1 - SELECT.sql | SimonStride/Presentations | 80e3dbc532b3a0b5b2b546ac8d17ccc2975ed139 | [
"MIT"
] | 1 | 2020-05-28T19:07:01.000Z | 2020-05-28T19:07:01.000Z | Introduction to SQL Pt1/1 - SELECT.sql | SimonStride/Presentations | 80e3dbc532b3a0b5b2b546ac8d17ccc2975ed139 | [
"MIT"
] | 2 | 2019-03-01T22:45:18.000Z | 2019-03-01T22:45:40.000Z | Introduction to SQL Pt1/1 - SELECT.sql | SimonStride/Presentations | 80e3dbc532b3a0b5b2b546ac8d17ccc2975ed139 | [
"MIT"
] | null | null | null | /*
0. Tables and Schemas
Tables are the primary storage mechanism for RDBMS
They may be persisted to disk, or temporary
In SQL server, tables are grouped under Schemas for security and organisation purposes
e.g. Person schema, HumanResources
query a table...
*/
SELECT * FROM HumanResources.Employee
/*
SEL... | 15.508197 | 93 | 0.762156 |
f173cecffef6f16ea1b4be4f0e1224b5000cfd01 | 884 | asm | Assembly | programs/oeis/169/A169611.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/169/A169611.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/169/A169611.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A169611: Number of prime divisors of n that are not greater than 3, counted with multiplicity.
; 0,1,1,2,0,2,0,3,2,1,0,3,0,1,1,4,0,3,0,2,1,1,0,4,0,1,3,2,0,2,0,5,1,1,0,4,0,1,1,3,0,2,0,2,2,1,0,5,0,1,1,2,0,4,0,3,1,1,0,3,0,1,2,6,0,2,0,2,1,1,0,5,0,1,1,2,0,2,0,4,4,1,0,3,0,1,1,3,0,3,0,2,1,1,0,6,0,1,2,2,0,2,0,3,1,1,0,5,0,1,1... | 28.516129 | 501 | 0.512443 |
16239ee4af55365eb1e6ee2dadd03a770cd7c9e4 | 3,302 | c | C | thirdparty/ffmpeg/libavformat/epafdec.c | yashrajsingh1998/ApraPipes1 | ec93095613f4345d6044c7012f2d8c3b99f65f03 | [
"MIT"
] | 60 | 2018-11-09T12:08:37.000Z | 2022-03-10T03:14:46.000Z | thirdparty/ffmpeg/libavformat/epafdec.c | yashrajsingh1998/ApraPipes1 | ec93095613f4345d6044c7012f2d8c3b99f65f03 | [
"MIT"
] | 2 | 2022-03-30T14:52:15.000Z | 2022-03-31T11:30:20.000Z | thirdparty/ffmpeg/libavformat/epafdec.c | yashrajsingh1998/ApraPipes1 | ec93095613f4345d6044c7012f2d8c3b99f65f03 | [
"MIT"
] | 23 | 2018-11-23T03:58:40.000Z | 2021-12-11T04:42:19.000Z | /*
* Ensoniq Paris Audio File demuxer
* Copyright (c) 2012 Paul B Mahol
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the L... | 31.150943 | 97 | 0.632647 |
d06434b20ccaff1086ea060f423824569f7d8964 | 915 | css | CSS | public/css/nanoscroller.css | klmnkien2/mototours | 919dec470347676ca7aae51d7bc7d45f30a1a0ea | [
"MIT"
] | null | null | null | public/css/nanoscroller.css | klmnkien2/mototours | 919dec470347676ca7aae51d7bc7d45f30a1a0ea | [
"MIT"
] | null | null | null | public/css/nanoscroller.css | klmnkien2/mototours | 919dec470347676ca7aae51d7bc7d45f30a1a0ea | [
"MIT"
] | null | null | null | /** initial setup **/
.nano{position:relative;width:100%;height:100%;overflow:hidden;}
.nano > .nano-content{position:absolute;overflow:scroll;overflow-x:hidden;top:0;right:0;bottom:0;left:0;}
.nano > .nano-content:focus{outline:thin dotted;}
.nano > .nano-content::-webkit-scrollbar{display:none;}
.has-scrollbar > .nan... | 101.666667 | 273 | 0.756284 |
af9e064486c56dd056fb3d373603ea6a870cdb9b | 4,466 | rb | Ruby | ruby_quiz/quiz74_sols/solutions/Joern Dinkla/net.dinkla.ruby.quiz.74/test/tc_markov-chain.rb | J-Y/RubyQuiz | c85faf572b7e36b19ef49cefc2fd749093139ce7 | [
"MIT"
] | null | null | null | ruby_quiz/quiz74_sols/solutions/Joern Dinkla/net.dinkla.ruby.quiz.74/test/tc_markov-chain.rb | J-Y/RubyQuiz | c85faf572b7e36b19ef49cefc2fd749093139ce7 | [
"MIT"
] | null | null | null | ruby_quiz/quiz74_sols/solutions/Joern Dinkla/net.dinkla.ruby.quiz.74/test/tc_markov-chain.rb | J-Y/RubyQuiz | c85faf572b7e36b19ef49cefc2fd749093139ce7 | [
"MIT"
] | null | null | null | #
require 'test/unit'
require 'markov-chain'
# extend the class for testing
class MarkovChain
attr_reader :absolute, :relative, :sum_edges, :dirty
end
#
class TestMarkovChain < Test::Unit::TestCase
def setup()
@mc1 = MarkovChain.new()
@mc2 = MarkovChain.new()
@mc2.add(1,2)
@mc3 = MarkovChain.new... | 27.73913 | 145 | 0.549933 |
21d6edef49faa1211bf0b2ef37c21c7121eaf29b | 1,536 | html | HTML | index.html | Ewpratten/webcrypt | 1c9265f63b5edb69ca9afc8c68bd01e4b63cf8f5 | [
"MIT"
] | null | null | null | index.html | Ewpratten/webcrypt | 1c9265f63b5edb69ca9afc8c68bd01e4b63cf8f5 | [
"MIT"
] | null | null | null | index.html | Ewpratten/webcrypt | 1c9265f63b5edb69ca9afc8c68bd01e4b63cf8f5 | [
"MIT"
] | null | null | null | <head>
<title>webcrypt loading...</title>
<style>
body {
background: #eaecfa;
}
.loader {
width: 250px;
height: 50px;
line-height: 50px;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
font-family: helvetica, arial, sans-serif;
text-transform: upper... | 19.2 | 136 | 0.663411 |
5fca30f0d555f33405f2b6e322387d2612c0a7e0 | 3,219 | h | C | Source/SOrb/UI/InGame/Spells/SoUISpellSelection.h | LaudateCorpus1/WarriOrb | 7c20320484957e1a7fe0c09ab520967849ba65f1 | [
"MIT"
] | 200 | 2021-03-17T11:15:05.000Z | 2022-03-31T23:45:09.000Z | Source/SOrb/UI/InGame/Spells/SoUISpellSelection.h | LaudateCorpus1/WarriOrb | 7c20320484957e1a7fe0c09ab520967849ba65f1 | [
"MIT"
] | null | null | null | Source/SOrb/UI/InGame/Spells/SoUISpellSelection.h | LaudateCorpus1/WarriOrb | 7c20320484957e1a7fe0c09ab520967849ba65f1 | [
"MIT"
] | 38 | 2021-03-17T13:29:18.000Z | 2022-03-04T19:32:52.000Z | // Copyright (c) Csaba Molnar & Daniel Butum. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UI/InGame/SoUIGameActivity.h"
#include "Items/SoItem.h"
#include "SoUISpellSelection.generated.h"
class UWrapBox;
class USoItemTemplateRuneStone;
class UHorizontalBox;
class UFMODEvent;
UCLASS()
class... | 26.825 | 91 | 0.789997 |
e9b4b49b4317df17b767d90f986a6e81853588aa | 272 | swift | Swift | Sources/awesome-mac-os-apps-helper/Params.swift | lzmartinico/awesome-mac-os-apps-helper | e2536368879334056079fc5eb30b8f1f175a66d3 | [
"MIT"
] | 1 | 2019-07-24T09:26:02.000Z | 2019-07-24T09:26:02.000Z | Sources/awesome-mac-os-apps-helper/Params.swift | lzmartinico/awesome-mac-os-apps-helper | e2536368879334056079fc5eb30b8f1f175a66d3 | [
"MIT"
] | 1 | 2018-11-08T10:58:25.000Z | 2018-11-08T10:58:25.000Z | Sources/awesome-mac-os-apps-helper/Params.swift | lzmartinico/awesome-mac-os-apps-helper | e2536368879334056079fc5eb30b8f1f175a66d3 | [
"MIT"
] | 1 | 2018-10-27T23:35:17.000Z | 2018-10-27T23:35:17.000Z | //
// Params.swift
// awesome-mac-os-apps-helper
//
// Created by Serhii Londar on 10/15/18.
//
import Foundation
struct Params {
static var repositoryURL: String? = nil
static var repositoryDescription: String? = nil
static var language: String? = nil
}
| 18.133333 | 51 | 0.683824 |
16600396c14693c310c67c1706c3ad53a7b127ce | 280 | h | C | ImageMinMaxCoreImageFilter/NLMinMax/NLMinMax/NLMinMaxPlugInLoader.h | demitri/CoreImageMinMaxFilter | 6a77230742fc308dd677e5455a39ccd53cee2cc4 | [
"BSD-3-Clause"
] | 1 | 2019-07-28T05:20:18.000Z | 2019-07-28T05:20:18.000Z | ImageMinMaxCoreImageFilter/NLMinMax/NLMinMax/NLMinMaxPlugInLoader.h | demitri/CoreImageMinMaxFilter | 6a77230742fc308dd677e5455a39ccd53cee2cc4 | [
"BSD-3-Clause"
] | null | null | null | ImageMinMaxCoreImageFilter/NLMinMax/NLMinMax/NLMinMaxPlugInLoader.h | demitri/CoreImageMinMaxFilter | 6a77230742fc308dd677e5455a39ccd53cee2cc4 | [
"BSD-3-Clause"
] | null | null | null | //
// NLMinMaxPlugInLoader.h
// NLMinMax
//
// Created by Demitri Muna on 3/18/17.
// Copyright © 2017 Demitri Muna. All rights reserved.
//
#import <QuartzCore/CoreImage.h>
@interface NLMinMaxPlugInLoader : NSObject <CIPlugInRegistration>
- (BOOL)load:(void *)host;
@end
| 17.5 | 65 | 0.710714 |
dd7075e710a6cdb2bd5fe76c8c7be31cc53952b1 | 1,151 | go | Go | server/approvalrulesprocessing/engine_manual_approval_rules.go | fullstaq-labs/sqedule | 15682b486efe8b76a844ae1d88e136a0388214a2 | [
"Apache-2.0"
] | 6 | 2021-08-23T07:15:37.000Z | 2022-03-13T17:12:21.000Z | server/approvalrulesprocessing/engine_manual_approval_rules.go | fullstaq-labs/sqedule | 15682b486efe8b76a844ae1d88e136a0388214a2 | [
"Apache-2.0"
] | null | null | null | server/approvalrulesprocessing/engine_manual_approval_rules.go | fullstaq-labs/sqedule | 15682b486efe8b76a844ae1d88e136a0388214a2 | [
"Apache-2.0"
] | null | null | null | package approvalrulesprocessing
import (
"github.com/fullstaq-labs/sqedule/server/dbmodels"
"github.com/fullstaq-labs/sqedule/server/dbmodels/releasestate"
)
func (engine Engine) fetchManualApprovalRulePreviousOutcomes() (map[uint64]bool, error) {
// TODO
// outcomes, err := dbmodels.FindAllManualApprovalRuleOutc... | 32.885714 | 191 | 0.789748 |
73efddef6cd10b32a29b6f3f5343fcb2a041be0b | 638 | rs | Rust | src/test/ui/rfc-2005-default-binding-mode/explicit-mut.rs | komaeda/rust | b2c6b8c29f13f8d1f242da89e587960b95337819 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 10 | 2019-04-27T00:58:42.000Z | 2021-11-14T17:09:19.000Z | src/test/ui/rfc-2005-default-binding-mode/explicit-mut.rs | komaeda/rust | b2c6b8c29f13f8d1f242da89e587960b95337819 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 25 | 2018-10-18T13:45:54.000Z | 2019-03-23T19:38:49.000Z | src/test/ui/rfc-2005-default-binding-mode/explicit-mut.rs | komaeda/rust | b2c6b8c29f13f8d1f242da89e587960b95337819 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2020-06-21T06:50:31.000Z | 2020-10-07T12:27:33.000Z | // Verify the binding mode shifts - only when no `&` are auto-dereferenced is the
// final default binding mode mutable.
fn main() {
match &&Some(5i32) {
Some(n) => {
*n += 1; //~ ERROR cannot assign to immutable
let _ = n;
}
None => {},
};
match &mut &Some(... | 22 | 81 | 0.4279 |
012a2eb5118d35818dc9a22b3e8fea8f2cd6e677 | 293 | kt | Kotlin | src/main/kotlin/com/jayrave/moshi/pristineModels/PropertyExtractor.kt | jayrave/moshi-pristine-models | aa60b0e4ff55518a6d5022afd9ec9aa404833783 | [
"Apache-2.0"
] | 19 | 2016-10-25T18:22:44.000Z | 2020-11-25T22:10:13.000Z | src/main/kotlin/com/jayrave/moshi/pristineModels/PropertyExtractor.kt | jayrave/moshi-pristine-models | aa60b0e4ff55518a6d5022afd9ec9aa404833783 | [
"Apache-2.0"
] | 3 | 2016-10-26T06:01:36.000Z | 2017-08-31T18:31:52.000Z | src/main/kotlin/com/jayrave/moshi/pristineModels/PropertyExtractor.kt | jayrave/moshi-pristine-models | aa60b0e4ff55518a6d5022afd9ec9aa404833783 | [
"Apache-2.0"
] | 2 | 2019-01-04T09:54:49.000Z | 2020-12-14T07:51:55.000Z | package com.jayrave.moshi.pristineModels
import java.lang.reflect.Type
interface PropertyExtractor<in T, out F> {
/**
* The type of this property
*/
val type: Type
/**
* To extract the property ([F]) from an instance of [T]
*/
fun extractFrom(t: T): F
} | 18.3125 | 60 | 0.617747 |
758f413263598babc4076a34a698bb2e4db33365 | 3,882 | h | C | System/Library/PrivateFrameworks/GeoServices.framework/GEOPDSearchBrowseCategorySuggestionParameters.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 12 | 2019-06-02T02:42:41.000Z | 2021-04-13T07:22:20.000Z | System/Library/PrivateFrameworks/GeoServices.framework/GEOPDSearchBrowseCategorySuggestionParameters.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/GeoServices.framework/GEOPDSearchBrowseCategorySuggestionParameters.h | lechium/iPhoneOS_12.1.1_Headers | aac688b174273dfcbade13bab104461f463db772 | [
"MIT"
] | 3 | 2019-06-11T02:46:10.000Z | 2019-12-21T14:58:16.000Z | /*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:43:34 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by ... | 43.617978 | 177 | 0.776919 |
00646b21f61da34e5bf632d1aa0523acc111564c | 107 | sql | SQL | sql/171223_1524_add_original_cost.sql | s911415/ntut-db-project-F17u | 15d1870266f14e1da67affae4aadd7b21e6638b4 | [
"MIT"
] | null | null | null | sql/171223_1524_add_original_cost.sql | s911415/ntut-db-project-F17u | 15d1870266f14e1da67affae4aadd7b21e6638b4 | [
"MIT"
] | null | null | null | sql/171223_1524_add_original_cost.sql | s911415/ntut-db-project-F17u | 15d1870266f14e1da67affae4aadd7b21e6638b4 | [
"MIT"
] | null | null | null | ALTER TABLE `order` ADD `original_cost` INT NOT NULL DEFAULT '0' COMMENT '折扣前的原始價錢' AFTER `arrival_time`;
| 53.5 | 106 | 0.757009 |
2e6757230839f45aa1d13c974a288ed6b2f5499b | 6,108 | kt | Kotlin | app/src/main/java/com/raghav/spacedawn/ui/fragments/SearchArticleFragment.kt | avidraghav/SpaceFlightNewsApp | 8bfb05b7daadab9b19332a35ec29ac880d46214a | [
"MIT"
] | 2 | 2021-10-06T03:12:28.000Z | 2022-02-06T03:31:53.000Z | app/src/main/java/com/raghav/spacedawn/ui/fragments/SearchArticleFragment.kt | avidraghav/SpaceFlightNewsApp | 8bfb05b7daadab9b19332a35ec29ac880d46214a | [
"MIT"
] | null | null | null | app/src/main/java/com/raghav/spacedawn/ui/fragments/SearchArticleFragment.kt | avidraghav/SpaceFlightNewsApp | 8bfb05b7daadab9b19332a35ec29ac880d46214a | [
"MIT"
] | null | null | null | package com.raghav.spacedawn.ui.fragments
import android.os.Bundle
import android.util.Log
import android.view.View
import android.widget.AbsListView
import android.widget.Toast
import androidx.core.widget.addTextChangedListener
import androidx.fragment.app.Fragment
import androidx.lifecycle.Observer
import androidx.n... | 38.175 | 98 | 0.625573 |
3e2bcab259b109badf81055d77027b3ec0d8d067 | 429 | h | C | Pod/objcrtxx_defs_cleanup.h | victor-pavlychko/ObjCxxRuntime | 54478ff1a74ab7242b7b8596592ea3b80f7cf7ff | [
"MIT"
] | null | null | null | Pod/objcrtxx_defs_cleanup.h | victor-pavlychko/ObjCxxRuntime | 54478ff1a74ab7242b7b8596592ea3b80f7cf7ff | [
"MIT"
] | null | null | null | Pod/objcrtxx_defs_cleanup.h | victor-pavlychko/ObjCxxRuntime | 54478ff1a74ab7242b7b8596592ea3b80f7cf7ff | [
"MIT"
] | null | null | null | //
// objcrtxx_defs_cleanup.h
//
// Created by Victor Pavlychko on 08.01.2016.
// Copyright © 2016 address.wtf. All rights reserved.
//
#ifdef OBJCRTXX_UMBRELLA_ACTIVE
#undef OBJCRTXX_BEGIN_NAMESPACE
#undef OBJCRTXX_END_NAMESPACE
#undef OBJCRTXX_EXPOSE_LIST_ACCESSORS
#undef OBJCXX_PRIMITIVE_WRAPPER
#undef OBJCR... | 19.5 | 54 | 0.815851 |
cb373f3776c4a27e69e8cf30e5b1c35d6e46b02b | 167 | go | Go | pkg/repository/user/errors.go | HordeGroup/Horde | 1dcbe0dbf0d1fbd217be6a5fb511ecfa8f09ef48 | [
"MIT"
] | 1 | 2020-08-30T08:45:21.000Z | 2020-08-30T08:45:21.000Z | pkg/repository/user/errors.go | HordeGroup/horde | 1dcbe0dbf0d1fbd217be6a5fb511ecfa8f09ef48 | [
"MIT"
] | null | null | null | pkg/repository/user/errors.go | HordeGroup/horde | 1dcbe0dbf0d1fbd217be6a5fb511ecfa8f09ef48 | [
"MIT"
] | null | null | null | package user
import "github.com/pkg/errors"
var (
ErrUserNotFound = errors.New("User Err: Not Found")
ErrUserDuplicate = errors.New("User Err: already exists")
)
| 18.555556 | 58 | 0.730539 |
503e5c546d7eb8c9659d6bad2509bf26a67cef4c | 1,454 | lua | Lua | examples/game_server.lua | samuelwbaird/brogue | 2eb185698f1fe94cc3ed6f72360c29203342fe8b | [
"MIT"
] | 1 | 2020-06-17T06:11:37.000Z | 2020-06-17T06:11:37.000Z | examples/game_server.lua | samuelwbaird/brogue | 2eb185698f1fe94cc3ed6f72360c29203342fe8b | [
"MIT"
] | null | null | null | examples/game_server.lua | samuelwbaird/brogue | 2eb185698f1fe94cc3ed6f72360c29203342fe8b | [
"MIT"
] | null | null | null | -- demonstration game server
-- copyright 2014 Samuel Baird MIT Licence
-- reference the brogue libraries
package.path = '../source/?.lua;' .. package.path
-- demonstrate a game server with the following features
-- sessions using cookies (no real security)
-- long polling status updates
-- rascal proxies used to run... | 25.964286 | 72 | 0.700825 |
f115757d8ba9e30d322754db2bb2dbabe8bc00bd | 158 | rb | Ruby | db/migrate/20161117113809_add_timestamp_to_dataset_settings.rb | Vizzuality/forest-atlas-landpscape-cms | fd33a2b1e6d1f0b7ab496fb33d51d08a650da237 | [
"MIT"
] | 5 | 2016-10-05T04:48:15.000Z | 2019-08-19T02:14:40.000Z | db/migrate/20161117113809_add_timestamp_to_dataset_settings.rb | Vizzuality/forest-atlas-landpscape-cms | fd33a2b1e6d1f0b7ab496fb33d51d08a650da237 | [
"MIT"
] | 100 | 2016-06-23T07:10:01.000Z | 2022-03-30T22:06:27.000Z | db/migrate/20161117113809_add_timestamp_to_dataset_settings.rb | Vizzuality/forest-atlas-landpscape-cms | fd33a2b1e6d1f0b7ab496fb33d51d08a650da237 | [
"MIT"
] | 6 | 2017-02-10T06:56:42.000Z | 2019-06-03T16:33:07.000Z | class AddTimestampToDatasetSettings < ActiveRecord::Migration[5.0]
def change
add_column :dataset_settings, :fields_last_modified, :timestamp
end
end
| 26.333333 | 67 | 0.803797 |
130e52437838727d92184428d6d25abdc4f39066 | 83 | asm | Assembly | assembler/antlr/java/runtime/asm/505.asm | twystd/GA144 | 741d2f2fca82133d594c51807115bd5121aa5350 | [
"Unlicense"
] | 9 | 2015-01-31T11:25:01.000Z | 2021-06-28T19:10:01.000Z | cucumber/505.asm | twystd/GA144 | 741d2f2fca82133d594c51807115bd5121aa5350 | [
"Unlicense"
] | null | null | null | cucumber/505.asm | twystd/GA144 | 741d2f2fca82133d594c51807115bd5121aa5350 | [
"Unlicense"
] | null | null | null | results 0 org
main @b main ;
init down b! main ;
a9H org init ;
| 11.857143 | 23 | 0.518072 |
9a4cbcb4c874185008bbdff4537e187d259d8c80 | 2,865 | css | CSS | css/newcss.css | kakneprateek1/koincompare1 | c69472892352e72d752403472a0297e90aad2d6f | [
"UPL-1.0"
] | null | null | null | css/newcss.css | kakneprateek1/koincompare1 | c69472892352e72d752403472a0297e90aad2d6f | [
"UPL-1.0"
] | null | null | null | css/newcss.css | kakneprateek1/koincompare1 | c69472892352e72d752403472a0297e90aad2d6f | [
"UPL-1.0"
] | null | null | null | /*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : Feb 8, 2018, 3:18:51 PM
Author : pkakne
*/
.image1{
content:url("images/bitcoin.png");
opacity:0.6;
hei... | 13.642857 | 76 | 0.60733 |
8fdd36a4d9ba86d95f2c2391df1d726a06247d52 | 39 | tab | SQL | www/bases-examples_Windows/opac_conf/es/lang.tab | ABCD-Community/development | a639f8a7c7290b19e197515692376d21719c5371 | [
"Unlicense"
] | null | null | null | www/bases-examples_Windows/opac_conf/es/lang.tab | ABCD-Community/development | a639f8a7c7290b19e197515692376d21719c5371 | [
"Unlicense"
] | null | null | null | www/bases-examples_Windows/opac_conf/es/lang.tab | ABCD-Community/development | a639f8a7c7290b19e197515692376d21719c5371 | [
"Unlicense"
] | null | null | null | en=English
es=Spanish
pt=Portuguese
| 9.75 | 14 | 0.769231 |
cbc1133d8015a2f35f39eb794017963c5a5a00e1 | 66 | go | Go | k3/log/log.go | peixy0/ntt | 0820de7d2e4b38b7917f28180bf85d37aba31c31 | [
"BSD-3-Clause"
] | 53 | 2018-05-03T16:52:26.000Z | 2022-03-14T08:08:53.000Z | k3/log/log.go | peixy0/ntt | 0820de7d2e4b38b7917f28180bf85d37aba31c31 | [
"BSD-3-Clause"
] | 113 | 2018-05-06T13:27:40.000Z | 2022-03-30T02:45:59.000Z | k3/log/log.go | peixy0/ntt | 0820de7d2e4b38b7917f28180bf85d37aba31c31 | [
"BSD-3-Clause"
] | 23 | 2018-02-08T14:13:18.000Z | 2022-02-22T08:38:46.000Z | // Package log supports parsing K3 runtime log files.
package log
| 22 | 53 | 0.787879 |
3b510c7ca3b0c73860c3ce02da4556d11213445c | 1,494 | kt | Kotlin | buildSrc/src/main/kotlin/Config.kt | StevenGG19/MovieHunt | 8f957c561defd2c2e0cf87324266fc40404423f2 | [
"MIT"
] | 1 | 2021-07-13T09:16:54.000Z | 2021-07-13T09:16:54.000Z | buildSrc/src/main/kotlin/Config.kt | virendersran01/MovieHunt | 19d4fa80396fd65fc0c67903d1109bb846e296df | [
"MIT"
] | null | null | null | buildSrc/src/main/kotlin/Config.kt | virendersran01/MovieHunt | 19d4fa80396fd65fc0c67903d1109bb846e296df | [
"MIT"
] | null | null | null | import com.android.build.gradle.BaseExtension
import org.gradle.api.JavaVersion
import org.gradle.api.Project
import org.gradle.kotlin.dsl.getByType
object Config {
const val API_ROOT = "\"https://api.themoviedb.org/3/\""
const val IMAGE_API_ROOT = "\"https://image.tmdb.org/t/p/\""
}
fun Project.configAndroid... | 32.478261 | 78 | 0.676707 |
545fa3602157682276f1fc088fdd2cb3a9d2e535 | 5,097 | go | Go | model/mock/interfaces.go | developertask/multiwallet | cbc739f642604647d6698a4a5cb7621dc7f66afa | [
"MIT"
] | null | null | null | model/mock/interfaces.go | developertask/multiwallet | cbc739f642604647d6698a4a5cb7621dc7f66afa | [
"MIT"
] | null | null | null | model/mock/interfaces.go | developertask/multiwallet | cbc739f642604647d6698a4a5cb7621dc7f66afa | [
"MIT"
] | null | null | null | package mock
import (
"encoding/hex"
"errors"
"fmt"
"sync"
gosocketio "github.com/developertask/golang-socketio"
"github.com/developertask/multiwallet/client"
"github.com/developertask/multiwallet/model"
"github.com/btcsuite/btcutil"
)
type MockAPIClient struct {
blockChan chan model.Block
txChan chan m... | 26.968254 | 95 | 0.701982 |