text stringlengths 2 1.04M | meta dict |
|---|---|
puremvc.define(
{
name: "controller.EnteringOpenedStateCommand",
parent: puremvc.SimpleCommand
},
{
execute: function(notification) {
this.sendNotification(ApplicationFacade.WRITE, "entering StateMachineDemo.STATE_OPENED\n");
}
},
{
}
); | {
"content_hash": "1fb31dc69a12d6ce11dfb559657ecf12",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 102,
"avg_line_length": 18.928571428571427,
"alnum_prop": 0.6943396226415094,
"repo_name": "PureMVC/puremvc-js-demo-lockabledoor",
"id": "ebb625d74c0317e7256dd3b797354c946461... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0) on Fri Feb 01 09:13:21 EST 2013 -->
<title>Uses of Class org.drip.analytics.holset.ZUSHoliday</title>
<meta name="date" content="2013-... | {
"content_hash": "84c0072f44970911e2f0b5ff6c4b1cdc",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 135,
"avg_line_length": 35.982608695652175,
"alnum_prop": 0.61164813919768,
"repo_name": "Lakshmik/RootFinder",
"id": "cc8950e8d1d6a1da0cdd38e52804273337445f35",
"size": "... |
namespace DynDNS_Updater
{
partial class SettingsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | {
"content_hash": "7a47dabf7398a051c81893dcf23c2743",
"timestamp": "",
"source": "github",
"line_count": 331,
"max_line_length": 144,
"avg_line_length": 48.353474320241695,
"alnum_prop": 0.6,
"repo_name": "MaxMorgenstern/DynDNS-Updater",
"id": "5f4313db3825437608d2dc017d75a68827155bce",
"size": "160... |
import glob
import os
import sys
from lib.util import execute
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
def main():
os.chdir(SOURCE_ROOT)
eslint = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'eslint')
if sys.platform in ['win32', 'cygwin']:
eslint += '.cmd'
settin... | {
"content_hash": "b9a167f05f86a647bbe6af5bfde3c580",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 73,
"avg_line_length": 24.24137931034483,
"alnum_prop": 0.6500711237553343,
"repo_name": "Evercoder/electron",
"id": "8fa2c3a7e3a7f4fcbed4f69d0d6ddebb0d79ee6d",
"size": "72... |
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace Google.Ads.GoogleAds.V10.Resources {
/// <summary>Holder for reflection information generated from google/ads/googleads/v10/re... | {
"content_hash": "686fb6411e9caf8498cb99a20b68623c",
"timestamp": "",
"source": "github",
"line_count": 375,
"max_line_length": 306,
"avg_line_length": 42.128,
"alnum_prop": 0.6912267375617167,
"repo_name": "googleads/google-ads-dotnet",
"id": "ee515e8aabc9788a368430b3f239b725cdde1ca3",
"size": "16... |
package org.apache.syncope.client.enduser.panels.any;
import java.util.ArrayList;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.apache.syncope.client.enduser.SyncopeEnduserSession;
import org.apache.syncope.client.ui.commons.ajax.markup.html.LabelInfo;
import org.apache.syncope.client... | {
"content_hash": "573284372abdfc2fa87d9182ba531f2a",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 104,
"avg_line_length": 38.73913043478261,
"alnum_prop": 0.6730265619154508,
"repo_name": "apache/syncope",
"id": "1897edb42c1ed1891b082ea69d78097963ff6d9d",
"size": "3480"... |
[](https://travis-ci.org/google/shaderc "Linux and Mac Build Status")
[](https://ci.appveyor.com/project/dneto0/shaderc "Windows Build Status")
[![Coverage... | {
"content_hash": "e0a2435ca017be0e7c7948a93775203d",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 167,
"avg_line_length": 38.46153846153846,
"alnum_prop": 0.7577333333333334,
"repo_name": "qrealka/skia-hc",
"id": "146d64fc8b01e364fb4db478ce62d294a8594b06",
"size": "751... |
package org.ayo.http.worker;
import android.util.Log;
import com.zhy.http.okhttp.OkHttpUtils;
import com.zhy.http.okhttp.builder.OkHttpRequestBuilder;
import com.zhy.http.okhttp.builder.PostFormBuilder;
import com.zhy.http.okhttp.callback.StringCallback;
import org.ayo.http.AyoRequest;
import org.ayo.http.AyoRespons... | {
"content_hash": "bb5780e860aaeb4b5b5cf70f35d524c7",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 131,
"avg_line_length": 34.36923076923077,
"alnum_prop": 0.5614741868099075,
"repo_name": "cowthan/AyoWeibo",
"id": "49f281868ff4daffa9d89f510c68ed56d136a68c",
"size": "68... |
package net.javatutorial.tutorials;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Enumeration;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
impor... | {
"content_hash": "10035663b35a15e3e13387eb11d5702b",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 80,
"avg_line_length": 32.43636363636364,
"alnum_prop": 0.6782511210762332,
"repo_name": "JavaTutorialNetwork/Tutorials",
"id": "51c2e3f47047deb57563fd058c2c6da09acd7bdd",
... |
This project is done as a part of python course for academic credits.
## Project Objective (This info also present in main.py)
3) An index file contains a list of text file paths to be considered ( one per line ). Build a file list that
contains respective dictionary of words which are grouped by the starting alphabe... | {
"content_hash": "4159b29ca875d2a6d72ceaad0865a666",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 109,
"avg_line_length": 42.476190476190474,
"alnum_prop": 0.7488789237668162,
"repo_name": "karthikeyan5/word-search",
"id": "9332c25c5a6298010900627503d7cd731ff5c019",
"si... |
<?php
/**
* Class MinMax provides an api to check min and max
* attributes for array, int, and string
*/
class MinMaxFix
{
/**
* Restrict the number of items in an array
*
* @param array $array {@min 2}{@max 5}{@fix true}
*
* @return array
*/
function postArray(array $array)
... | {
"content_hash": "196e278a40916b27e122b965fe978857",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 68,
"avg_line_length": 17.818181818181817,
"alnum_prop": 0.5102040816326531,
"repo_name": "dc-deal/SporeDotNetRepo",
"id": "7fb1eaf340b2ce18d236d09b57d7afc28ec1acb9",
"size... |
// Type definitions for Victory 0.9.2
// Project: https://github.com/FormidableLabs/victory
// Definitions by: Alexey Svetliakov <https://github.com/asvetliakov>
// snerks <https://github.com/snerks>
// Krzysztof Cebula <https://github.com/Havret>
// Definitions: https://github.com/Defin... | {
"content_hash": "70a84642edceef45186e0dd677884a66",
"timestamp": "",
"source": "github",
"line_count": 1683,
"max_line_length": 158,
"avg_line_length": 49.08853238265003,
"alnum_prop": 0.6014694490171395,
"repo_name": "one-pieces/DefinitelyTyped",
"id": "1ce04d2436d64b3a2479e7172026d242b0bb05d2",
... |
sap.ui.define([],
function() {
"use strict";
/**
* MonthPicker renderer.
* @namespace
*/
var MonthPickerRenderer = {
};
/**
* Renders the HTML for the given control, using the provided {@link sap.ui.core.RenderManager}.
*
* @param {sap.ui.core.RenderManager} oRm the RenderManager that can be used... | {
"content_hash": "df4c8f8689d77903ff304184e5ce4a68",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 117,
"avg_line_length": 25.06153846153846,
"alnum_prop": 0.6362799263351749,
"repo_name": "nzamani/openui5",
"id": "a2c968d8983e46810e3a55aeb5bf1680a9c455ee",
"size": "328... |
import socket
from qpid.util import connect
TRANSPORTS = {}
class SocketTransport:
def __init__(self, conn, host, port):
self.socket = connect(host, port)
if conn.tcp_nodelay:
self.socket.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
def fileno(self):
return self.socket.fileno()
class... | {
"content_hash": "0e2c3fd26786cbce182724779edd1a83",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 120,
"avg_line_length": 29.52995391705069,
"alnum_prop": 0.615792759051186,
"repo_name": "irinabov/debian-qpid-python",
"id": "c4e7c6834ee64bf00638ec3a94d102252c95f277",
"... |
template<class T1, class T2>
constexpr bool test_divide_constexpr(
T1 v1,
T2 v2,
char expected_result
){
using namespace boost::safe_numerics;
// if we don't expect the operation to pass, we can't
// check the constexpr version of the calculation so
// just return success.
if(expected_re... | {
"content_hash": "774059fe42a1ad7dba42c5af27823366",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 57,
"avg_line_length": 27.42105263157895,
"alnum_prop": 0.6333973128598849,
"repo_name": "graetzer/arangodb",
"id": "4ec0ef8f0de32b42d9859ea93b9f7111f614559f",
"size": "847... |
// cs1729.cs
class Test
{
static int Main()
{
// Class Test has only a default constructor, which takes no arguments.
Test test1 = new Test(2); // CS1729
// The following line resolves the error.
Test test2 = new Test();
// Class Parent has only one constructor, which takes two int paramet... | {
"content_hash": "5004253b2b81d17697a39f43efb68a50",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 83,
"avg_line_length": 29.902439024390244,
"alnum_prop": 0.6867862969004894,
"repo_name": "Kittyfisto/.NETBuild",
"id": "165208db46ccefa483cfea9c8cb5393e9641ee55",
"size": ... |
package tk.cephlab.ea.internal;
import java.io.File;
import tk.cephlab.ea.api.EAPlugin;
import cpw.mods.fml.common.DummyModContainer;
import cpw.mods.fml.common.ModContainer;
import cpw.mods.fml.common.ModMetadata;
public class EAPluginContainer
{
public EAPlugin plugin;
public ModContainer container;
public E... | {
"content_hash": "f8e8fff28ac003dc605bb15de2252163",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 61,
"avg_line_length": 23.724137931034484,
"alnum_prop": 0.752906976744186,
"repo_name": "Cephrus/Elite-Armageddon",
"id": "f903c3b68f6dbfcb0b927486378c8487db9a2ac0",
"size... |
class Nis::Struct
# @attr [String] data
# @see https://nemproject.github.io/#unconfirmedTransactionMetaData
class UnconfirmedTransactionMetaData
include Nis::Util::Assignable
attr_accessor :data
def self.build(attrs)
new(attrs)
end
def to_s
@data
end
end
end
| {
"content_hash": "4665765cbfbbca25f42635b0d40d997d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 69,
"avg_line_length": 19.0625,
"alnum_prop": 0.6754098360655738,
"repo_name": "44uk/nis-ruby",
"id": "d3b9a4ed0013d809de727d7dd493268d02b3d81d",
"size": "305",
"binary":... |
/*
* change_detection.cpp
*
* Created on: 28.1.2016
* Author: ivelas
*/
#include <v4r/change_detection/impl/change_detection.hpp>
template class V4R_EXPORTS v4r::ChangeDetector<pcl::PointXYZRGB>;
| {
"content_hash": "7017220248b3888d371a2d33be73e7e8",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 65,
"avg_line_length": 20.9,
"alnum_prop": 0.7033492822966507,
"repo_name": "ThoMut/v4r",
"id": "d650482ca2b55447948a630ba59782741a215c5a",
"size": "209",
"binary": false... |
package io.carvill.foundation.logger;
import java.util.Date;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang3.StringUtils;
public interface RequestLogger {
String log(Integer idTenant, Integer idUser, String url, String method, String ip, String agent, Date today);
default Str... | {
"content_hash": "82938b3e5cf2b5454b76664aab2d799a",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 113,
"avg_line_length": 34.793103448275865,
"alnum_prop": 0.709613478691774,
"repo_name": "carvill/foundation",
"id": "298d6a958b84e4120575221dbde2411b9a8b17a1",
"size": "1... |
namespace base {
class SingleThreadTaskRunner;
}
namespace remoting::protocol {
// FakeStreamSocket implement P2PStreamSocket interface. All data written to
// FakeStreamSocket is stored in a buffer returned by written_data(). Read()
// reads data from another buffer that can be set with AppendInputData().
// Pending... | {
"content_hash": "7184654b5fcddf5fd26c7586c63ec34a",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 80,
"avg_line_length": 35.12676056338028,
"alnum_prop": 0.7185244587008821,
"repo_name": "nwjs/chromium.src",
"id": "1e90660b88361188e03e57d17d991145eeb01379",
"size": "55... |
<!DOCTYPE html>
<!--
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.
-->
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" cont... | {
"content_hash": "2214ae23cf9659fc38a46dae9031e4d0",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 78,
"avg_line_length": 29,
"alnum_prop": 0.6508620689655172,
"repo_name": "isacandrei/E-PhD",
"id": "284ab3cdca57dd37caf115fcb81a9343035f952c",
"size": "464",
"binary": f... |
package k.grid.webapi
import k.grid.webapi.jsobj.{GridMemoryInfo, MachineMemoryInfo}
import k.grid.{Grid, GridJvm}
import play.api.libs.json.Json
import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.Future
/**
* Created by michael on 3/20/16.
*/
object JsonApi {
def getJvmsJson: S... | {
"content_hash": "039748ca3198053ddfe61a933df72302",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 91,
"avg_line_length": 24.390625,
"alnum_prop": 0.5310698270339526,
"repo_name": "thomsonreuters/CM-Well",
"id": "6045e7d61fa46c01273552eca49bafc0f289c5b1",
"size": "2176",... |
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System.ComponentModel.Composition;
using System.Windows.Forms;
namespace DemoMap
{
/// <summary>
/// This is the main window of the D... | {
"content_hash": "7f6dd3b3bee8851af0dc76e9bb62287e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 105,
"avg_line_length": 28.75862068965517,
"alnum_prop": 0.5935251798561151,
"repo_name": "CGX-GROUP/DotSpatial",
"id": "164d7d7faed6f4813ad9a7176d3839ab5f9fa2a5",
"size": ... |
from django.core.management.base import BaseCommand, CommandError
class Command(BaseCommand):
help = "Dance around like a madman."
args = ''
requires_system_checks = '__all__'
def add_arguments(self, parser):
parser.add_argument("integer", nargs='?', type=int, default=0)
parser.add_ar... | {
"content_hash": "6c78eae42ee8efb969a9f4ec9595c441",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 93,
"avg_line_length": 40.91304347826087,
"alnum_prop": 0.6057385759829969,
"repo_name": "koordinates/django",
"id": "efa1bc0d8a4f21ed621a55673e63f7bf56dd4671",
"size": "94... |
'''
Created on 2014��11��12��
@author: ���
'''
class ModuleFactory():
_builders = {}
def registerModuleBuilder(self, module_type, module_builder):
self._builders[module_type] = module_builder;
def buildModule(self, module_type, module_config, context=None):
builder = sel... | {
"content_hash": "959685b5d71136cb50101ab4099a6307",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 68,
"avg_line_length": 22.794117647058822,
"alnum_prop": 0.6025806451612903,
"repo_name": "kevenli/FeedIn",
"id": "3a4187ed314224ca2b53cb4d2919c7ec6e8e46b0",
"size": "817",... |
package akkaviz.serialization.serializers
import akka.actor.ActorRef
import akkaviz.serialization.{AkkaVizSerializer, SerializationContext}
import upickle.Js
case object ActorRefSerializer extends AkkaVizSerializer {
override def serialize(obj: Any, context: SerializationContext): Js.Value = {
obj match {
... | {
"content_hash": "4d54b033aeb9cb3cb3e1f4fc352f5d3a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 79,
"avg_line_length": 26.869565217391305,
"alnum_prop": 0.6682847896440129,
"repo_name": "blstream/akka-viz",
"id": "162c8aeb1164b1b7e3c6d2211d8b58d79c139b1c",
"size": "61... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
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 Lic... | {
"content_hash": "3e41e2eaebfd5550848483228772337c",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 201,
"avg_line_length": 36.9625,
"alnum_prop": 0.6317213391951302,
"repo_name": "cunningt/camel",
"id": "63506fc9e3a5b940feeb24c746cafc97ea324047",
"size": "2957",
"binar... |
class ExpectedExpense < ActiveRecord::Base
validates :description, :value, :initial_date, presence: true
before_save :adjust_dates
has_many :expenses
def truncated_description
self.description[0..20]
end
def adjust_dates
self.initial_date = self.initial_date.beginning_of_month
self.final_date ... | {
"content_hash": "5be27612a4674cdda8414ab87eb96133",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 123,
"avg_line_length": 33.95652173913044,
"alnum_prop": 0.678617157490397,
"repo_name": "alfredosegundo/budgetonrails",
"id": "6c605c037d45d7d9a3b38a497f659968d495868d",
"... |
AuditLogValues object retains the operation result (1 entity) of addJob/get method.
### Service
+ [AuditLogService](../../services/AuditLogService.md)
### Namespace
[AuditLogService#Namespace](../../services/AuditLogService.md#namespace)
### Inheritance
+ [ReturnValue](../Common/ReturnValue.md)
<table>
<tr>
<th>... | {
"content_hash": "7b0bc29476506a10cd48e98b36fb9ed3",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 333,
"avg_line_length": 31.814814814814813,
"alnum_prop": 0.6763678696158324,
"repo_name": "yahoojp-marketing/sponsored-search-api-documents",
"id": "2d8befec3bef4f552e454a73... |
package org.cagrid.gme.service.exception;
import org.cagrid.core.common.FaultException;
import org.cagrid.gme.types.InvalidSchemaSubmissionFault;
public class InvalidSchemaSubmissionException extends Exception implements
FaultException<InvalidSchemaSubmissionFault> {
private final InvalidSchemaSubmissionFault ... | {
"content_hash": "8ef5a74134ebcdb14d26e53f85591b74",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 94,
"avg_line_length": 27.45,
"alnum_prop": 0.8233151183970856,
"repo_name": "NCIP/cagrid2",
"id": "8aefffab38fa9be4f03e5f01a44138e7f73f72d6",
"size": "549",
"binary": fa... |
package io.fabric8.kubernetes.api.support;
import io.fabric8.kubernetes.api.model.*;
import io.fabric8.openshift.api.model.*;
import java.util.HashMap;
import java.util.Map;
/**
* Maps the Kubernetes kinds to the Jackson DTO classes
*/
public class KindToClassMapping {
private static Map<String,Class<?>> map ... | {
"content_hash": "b85282b1d52ddd603bb7a018e437ddf3",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 96,
"avg_line_length": 52.67836257309941,
"alnum_prop": 0.6887211367673179,
"repo_name": "KurtStam/fabric8",
"id": "21621396e7916771db29ae53b1cd13b90a2969bd",
"size": "964... |
package command
import (
"context"
"errors"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"sort"
"strings"
"github.com/hashicorp/terraform/backend"
"github.com/hashicorp/terraform/command/clistate"
"github.com/hashicorp/terraform/state"
"github.com/hashicorp/terraform/terraform"
)
// backendMigrateState handles... | {
"content_hash": "1a86c86cf683289829bcd145db444b86",
"timestamp": "",
"source": "github",
"line_count": 484,
"max_line_length": 105,
"avg_line_length": 31.516528925619834,
"alnum_prop": 0.7203356496656614,
"repo_name": "mattatcha/terraform-provider-convox",
"id": "0c3610a8a13df23646c82ca7d6a184e43088... |
'''
Copyright (c) 2017 Brandon Butch
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, distri... | {
"content_hash": "ca58d99a5a5bc04698275cae3cb76652",
"timestamp": "",
"source": "github",
"line_count": 567,
"max_line_length": 157,
"avg_line_length": 51.232804232804234,
"alnum_prop": 0.5810527040517746,
"repo_name": "bbutch/gtrade",
"id": "6452b2ac350dd7eef9fdcb9ca159a2e2a117afe0",
"size": "2909... |
package org.thinkinghub.gateway.oauth.entity;
public enum UserType {
NORMAL, VIP
}
| {
"content_hash": "4f95603dac29ed93a13485a38d904132",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 45,
"avg_line_length": 17.6,
"alnum_prop": 0.75,
"repo_name": "perrywang/OAuthGateway",
"id": "76243c353f6b63c17be55516a3001410e07f8b9e",
"size": "88",
"binary": false,
... |
package houseprices.elasticsearch
import org.elasticsearch.action.bulk.BulkProcessor
import org.elasticsearch.action.bulk.BulkRequest
import org.elasticsearch.action.bulk.BulkResponse
object NoopListener extends BulkProcessor.Listener {
def beforeBulk(id: Long, re: BulkRequest): Unit = {
}
def afterBulk(id: L... | {
"content_hash": "0458c427f04c83f122bd7f012226a2fe",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 72,
"avg_line_length": 25.166666666666668,
"alnum_prop": 0.7593818984547461,
"repo_name": "ayubmalik/houseprices",
"id": "7ffc693659378d365595a7f428b899652a38b677",
"size":... |
package com.alibaba.csp.sentinel.adapter.motan.config;
import com.alibaba.csp.sentinel.adapter.motan.fallback.DefaultMotanFallback;
import com.alibaba.csp.sentinel.adapter.motan.fallback.MotanFallback;
import com.alibaba.csp.sentinel.config.SentinelConfig;
import com.alibaba.csp.sentinel.util.AssertUtil;
import com.a... | {
"content_hash": "a8c2b49b774a7b1ea2bebfc6d523d667",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 124,
"avg_line_length": 41.975,
"alnum_prop": 0.7462775461584277,
"repo_name": "alibaba/Sentinel",
"id": "a4e34ca09ac6a5879432f0f62c64419acf81bb82",
"size": "3974",
"bina... |
layout: "fluid/docs_base"
version: "2.0.0"
versionHref: "/docs/v3/2.0.0"
path: ""
category: api
id: "ionicmodule"
title: "IonicModule"
header_sub_title: "Ionic API Documentation"
doc: "IonicModule"
docType: "class"
---
<h1 class="api-title">
<a class="anchor" name="ionic-module" href="#ionic-module"></a>
Ion... | {
"content_hash": "c6ce876779803638aa25174acc53303b",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 300,
"avg_line_length": 18.431952662721894,
"alnum_prop": 0.5942215088282504,
"repo_name": "driftyco/ionic-site",
"id": "5495b3b3140ad9776594d2d55853fb08492602f4",
"size":... |
#import <iWorkImport/TSDImager.h>
// Not exported
@interface TPThumbnailImager : TSDImager
{
}
- (void)canvasWillLayout:(id)arg1;
@end
| {
"content_hash": "419b331592aeb6f6e1a30e6d1549ae76",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 40,
"avg_line_length": 10.846153846153847,
"alnum_prop": 0.723404255319149,
"repo_name": "matthewsot/CocoaSharp",
"id": "8377bf814f661afb3e3f0c4cc2e611d5280ac61a",
"size": ... |
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
IQNetworkTask *task = [[IQNetworkQueue sharedQueue] downloadTaskWithURL:[NSURL URLWithString:@"http://www.hdwallpapersimages.com/wp-content/uploads/2014/01/Winter-Tiger-Wild-Cat-Images.jpg"]];
... | {
"content_hash": "1b7c9306f71ebb2961ee4a11a7f5a6e5",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 196,
"avg_line_length": 29.637931034482758,
"alnum_prop": 0.6538685282140779,
"repo_name": "hackiftekhar/IQNetworkKit",
"id": "2c1447e51ef208762d3cb660d91a3e4158c818a1",
"s... |
VulkanShader::VulkanShader(VkDevice* device) :
_device(device)
{
}
void VulkanShader::BuildShaderModuleWithSpv(uint32_t *vertShaderText, size_t vertexSPVSize, uint32_t *fragShaderText, size_t fragmentSPVSize)
{
// Fill in the control structure to push the necessary
// details of the shader.
_shaderStages[0].sTy... | {
"content_hash": "46096389ce8c7edb87abcb5a431123a3",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 141,
"avg_line_length": 36.70220588235294,
"alnum_prop": 0.780026044275268,
"repo_name": "NikolaGrujic91/VulkanViewer",
"id": "5c2619bab9443162fb8899d524223483a032c85c",
"... |
<?php
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit0d1d3c13f80202964b8b82ff7f2fb863
{
private static $loader;
public static function loadClassLoader($class)
{
if ('Composer\Autoload\ClassLoader' === $class) {
require __DIR__ . '/ClassLoader.php';
}
... | {
"content_hash": "986b96f69b88d08816dedc5fdb7e0555",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 160,
"avg_line_length": 34.48571428571429,
"alnum_prop": 0.6043910521955261,
"repo_name": "hieupham0206/yii-cloudteam-app",
"id": "783a4736f48818befdc5557e4242babc514c4ee7",
... |
layout: post
title: "pyqt5 sip swig callback"
description: "combine python to clang or c++"
category:
tags: [python, bluetooth, sip, pyqt, swig]
---
{% include JB/setup %}
## swig
1. wxWidows(python) uses swig to communite with wxwidget(Clang)
2. PyQT(python) use its sip to commuite with QT (Clang)
3. python use b... | {
"content_hash": "9b4b222de5069f2da44ce7a5a0e48a20",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 65,
"avg_line_length": 23.24390243902439,
"alnum_prop": 0.6768100734522561,
"repo_name": "notmikeb/notmikeb.github.io",
"id": "a06aedc43c3bd375513be14782b2d5d3ca02e846",
"s... |
export { ListDropdown as default } from "./"; | {
"content_hash": "4e6601b4f761f01f5a0f9c6e4a47de90",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 45,
"avg_line_length": 45,
"alnum_prop": 0.6888888888888889,
"repo_name": "markogresak/DefinitelyTyped",
"id": "947e4b7dad1746372f5874781031917c0db3d585",
"size": "45",
"b... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_91) on Tue Dec 29 12:43:42 AEDT 2015 -->
<title>RIPEMD128 (Bouncy Castle Library 1.54 API Specification)</title>
<meta name="date" cont... | {
"content_hash": "a588936cf36cc29271cc1675b24682d9",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 237,
"avg_line_length": 37.782805429864254,
"alnum_prop": 0.6429940119760479,
"repo_name": "GaloisInc/hacrypto",
"id": "42d6270d27b940166a5cd244f5b1a38cf90514bc",
"size": ... |
require 'test_helper'
class User < ActiveRecord::Base
end
class NoteWithUser < ActiveRecord::Base
set_table_name "notes"
has_many :memos, :class_name => "MemoWithUser", :foreign_key => "note_id"
named_scope :new_arrivals, {:order => "updated_at desc"}
def destroy_without_callbacks
unless new_record?
... | {
"content_hash": "eb6ca38b12df255becf96b10d3482612",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 189,
"avg_line_length": 32.660633484162894,
"alnum_prop": 0.7105846494873926,
"repo_name": "chyk/record_with_operator",
"id": "949806c7fadeed1fc9262192065a8ff189678a46",
"... |
#ifndef RSW_H_
#define RSW_H_
/*
Used to store an RSW record when it's read off of disk into memory.
Only the fields that are needed for determining matched pairs and supporting
reads are kept.
*/
class RSW {
public:
const char *id; // pointer to id of strand
char side; // from left or right side of ... | {
"content_hash": "0c5ecc4fad6822d4fdc01c8a67bc1e28",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 89,
"avg_line_length": 28.544117647058822,
"alnum_prop": 0.6790314270994333,
"repo_name": "xuric/read-split-run",
"id": "0ed47880aeef70ac98d992c5d10a5fb0a6f1c73d",
"size":... |
import PropTypes from 'prop-types';
import React from 'react';
import Editor from '../editor';
import SyntaxSelect from '../syntax-select';
import WarningList from '../warning-list';
import styles from './index.css';
const Linter = ({
onCodeChange,
onConfigChange,
onSyntaxChange,
code,
config,
syntax,
invalid... | {
"content_hash": "5d6a3e4a6eea2594a917fbe848d230a1",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 84,
"avg_line_length": 23.371134020618555,
"alnum_prop": 0.6872518747243053,
"repo_name": "stylelint/stylelint-demo",
"id": "9410b961266e235744897ebcc026d70db40b5ac7",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>direction/unicode-bidi: default direction, bidi-override</title>
<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
<style type="text/css">
.test span { unicode-bidi: bidi-override; }
/* the following styles are not part of t... | {
"content_hash": "f27f0cef95361991e1867667f428630c",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 112,
"avg_line_length": 28.652173913043477,
"alnum_prop": 0.6479514415781487,
"repo_name": "crosswalk-project/blink-crosswalk",
"id": "874fced5b0d5cf1f5788ef5a420fdb199661f55... |
package org.intellij.lang.xpath.xslt.run;
import com.intellij.execution.ExecutionException;
import com.intellij.execution.Executor;
import com.intellij.execution.configurations.*;
import com.intellij.execution.filters.RegexpFilter;
import com.intellij.execution.filters.TextConsoleBuilder;
import com.intellij.executio... | {
"content_hash": "43b1329f250fa3f75afbeb141679f7a2",
"timestamp": "",
"source": "github",
"line_count": 531,
"max_line_length": 166,
"avg_line_length": 38.50094161958569,
"alnum_prop": 0.6443455292506359,
"repo_name": "fitermay/intellij-community",
"id": "faab7a69ea42dfdb77b197729863d0c84956afdf",
... |
<?php
namespace Box\Mod\Invoice;
use Box\InjectionAwareInterface;
class ServiceInvoiceItem implements InjectionAwareInterface
{
/**
* @var \Box_Di
*/
protected $di = null;
/**
* @param \Box_Di $di
*/
public function setDi($di)
{
$this->di = $di;
}
/**
* ... | {
"content_hash": "5867bb52d94d178269e9746755a8a6f2",
"timestamp": "",
"source": "github",
"line_count": 313,
"max_line_length": 139,
"avg_line_length": 36.26837060702876,
"alnum_prop": 0.4973572938689218,
"repo_name": "viqsoft/boxbilling",
"id": "169b3282b3e1839b712ddcb4e04b42a8c9fc237f",
"size": "... |
@interface RootViewController : UITabBarController
@end
| {
"content_hash": "59f909134e837e6dc6e3faf8419e0933",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 50,
"avg_line_length": 19,
"alnum_prop": 0.8421052631578947,
"repo_name": "Mrh08512/Fashion_Show",
"id": "ca4cff41f69b0c6ea2453cae7dcf7bb25b101788",
"size": "220",
"binary... |
import numpy as np
from sklearn.cluster import KMeans
import csv
from sklearn.datasets import fetch_20newsgroups
from sklearn.feature_extraction.text import CountVectorizer
from sklearn import tree
from sklearn.cross_validation import train_test_split
from sklearn.cross_validation import ShuffleSplit
from sklearn.utils... | {
"content_hash": "b2063158637fd82eff843122348bd606",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 106,
"avg_line_length": 30.160194174757283,
"alnum_prop": 0.5974569451150813,
"repo_name": "HugoLG/SFCrimeClassification",
"id": "e16992da471ea14d5af06611499974ef38cb7dd0",
... |
<!-- HTML_DOC -->
<p>AWS CloudTrail is a service that enables governance, compliance, operational auditing, and risk auditing of your AWS account. With CloudTrail, you can log, continuously monitor, and retain account activity related to actions across your AWS infrastructure. CloudTrail provides event history of your ... | {
"content_hash": "342437ace66565abef093d644da096f7",
"timestamp": "",
"source": "github",
"line_count": 745,
"max_line_length": 677,
"avg_line_length": 47.74630872483222,
"alnum_prop": 0.7249725900312052,
"repo_name": "demisto/content",
"id": "d482f8aed8127f679d21911e26da19e1caad816c",
"size": "355... |
<?xml version="1.0" encoding="utf-8"?>
<django-objects version="1.0">
<object pk="1" model="auth.user">
<field type="CharField" name="username">admin</field>
<field type="CharField" name="first_name"></field>
<field type="CharField" name="last_name"></field>
<field type="CharField" n... | {
"content_hash": "6609478573e2d0b985bbbb6db6e07144",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 107,
"avg_line_length": 59.94117647058823,
"alnum_prop": 0.6565260058881256,
"repo_name": "pigletto/django-lfs",
"id": "aff8c231a4b9c4e9171f654cd4306b9cadfe1502",
"size": "... |
package com.cisco.oss.foundation.directory.lb;
/**
* LoadBalancerManager interface for the service lookup.
*
*/
public class LoadBalancerManager {
private final RoundRobinLoadBalancer roundRobinLoadBalancer;
/**
* Default Constructor
*/
public LoadBalancerManager() {
roundRobinLoad... | {
"content_hash": "1bb6ef23780ba8a2305bb517984c45f5",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 115,
"avg_line_length": 22.92105263157895,
"alnum_prop": 0.7026406429391504,
"repo_name": "foundation-runtime/service-directory",
"id": "87eb91a07c6f8fd9987c3a5391aeaf960bf2b... |
FROM balenalib/raspberrypi400-64-debian:buster-build
ENV NODE_VERSION 17.6.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --batch --ke... | {
"content_hash": "49517fee9ccc4c7df0720ebbd8ecb988",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 693,
"avg_line_length": 67.34146341463415,
"alnum_prop": 0.7095255342267295,
"repo_name": "resin-io-library/base-images",
"id": "d4e5ce4ee89b784a2e9b9afe9d31d822fa5e1cbd",
... |
class ApiUser
include RoleControl::Actor
attr_reader :user
delegate :memberships_for, :owns?, :id, :languages, :user_groups,
:project_preferences, :collection_preferences, :classifications,
:user_groups, :has_finished?, :memberships, :uploaded_subjects_count,
to: :user, allow_nil: true
def initia... | {
"content_hash": "bfd7bcb367d684e782b1cacc403101e3",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 73,
"avg_line_length": 19.233333333333334,
"alnum_prop": 0.658578856152513,
"repo_name": "marten/Panoptes",
"id": "154d260cf48eb3d70147f471d9bf2e68bee24a96",
"size": "577",... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2020 Google LLC
~
~ 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
~
~ https://www.apache.org/licenses/LICENSE-2.0
~
... | {
"content_hash": "7b7d676891e3ce90bfcc0fa3668daaad",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 146,
"avg_line_length": 30.630434782608695,
"alnum_prop": 0.6863023420865862,
"repo_name": "google/exposure-notifications-android",
"id": "de72b1fe97e7b893db76bb15fcdb189081f... |
<?xml version="1.0" encoding="UTF-8" ?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
<persistence-unit ... | {
"content_hash": "d2e9b72afcbee1e31b26d4f79e33e138",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 41.95238095238095,
"alnum_prop": 0.738933030646992,
"repo_name": "DFStoneburner/spring-gae",
"id": "cc958f18d043f30ea61bec9953c0560d20c5d102",
"size"... |
layout: bidder
title: Logan
description: Prebid Logan Bidder Adapter
biddercode: logan
usp_supported: true
schain_supported: true
media_types: banner, video, native
gdpr: true
pbjs: true
---
### Bid Params
{: .table .table-bordered .table-striped }
| Name | Scope | Description ... | {
"content_hash": "3704874b5c0f85b6ab82ade0f0ea4574",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 113,
"avg_line_length": 34.470588235294116,
"alnum_prop": 0.48976109215017066,
"repo_name": "prebid/prebid.github.io",
"id": "01fb0f3af20d7ee9960fa474a40e2b8e68e98996",
"si... |
namespace gl
{
void *Shader::mFragmentCompiler = NULL;
void *Shader::mVertexCompiler = NULL;
Shader::Shader(ResourceManager *manager, GLuint handle) : mHandle(handle), mResourceManager(manager)
{
mSource = NULL;
mHlsl = NULL;
mInfoLog = NULL;
uncompile();
initializeCompiler();
mRefCount = 0;
... | {
"content_hash": "dbb7c7ae68600d2185ad7d13b8cab13d",
"timestamp": "",
"source": "github",
"line_count": 566,
"max_line_length": 155,
"avg_line_length": 22.137809187279153,
"alnum_prop": 0.5722266560255387,
"repo_name": "leighpauls/k2cro4",
"id": "57fd3d5794ce18aec8a834bea1dea47b058939fb",
"size": "... |
#ifndef _ALTOVA_INCLUDED_AIMXML_ALTOVA_xs_ALTOVA_Cint
#define _ALTOVA_INCLUDED_AIMXML_ALTOVA_xs_ALTOVA_Cint
namespace AIMXML
{
namespace xs
{
class Cint : public TypeBase
{
public:
AIMXML_EXPORT Cint(xercesc::DOMNode* const& init);
AIMXML_EXPORT Cint(Cint const& init);
void operator=(Cint c... | {
"content_hash": "bb5b5d44c2b5b11dd7587e822a397e71",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 117,
"avg_line_length": 22.58974358974359,
"alnum_prop": 0.6821793416572077,
"repo_name": "NCIP/annotation-and-image-markup",
"id": "79c300006bec6df447621eb49c3b5bc4a46e4881"... |
import 'angular';
import { TaskItemComponent } from './task-item';
describe('TaskForm component', () => {
let $controller;
let model;
let scope;
beforeEach(() => {
angular.module('test', [])
.component('taskItem', TaskItemComponent);
angular.mock.module('test');
inject(($rootScope, _$com... | {
"content_hash": "0cd10a2fc2ff97e94f440ec04e6fa4e3",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 102,
"avg_line_length": 26.568627450980394,
"alnum_prop": 0.6369003690036901,
"repo_name": "r-park/todo-angular-redux",
"id": "b36bc1c83008f6f181dd988b5f37a3f03d45c7d2",
"s... |
package org.elasticsearch.indices.memory.breaker;
import org.elasticsearch.ExceptionsHelper;
import org.elasticsearch.action.admin.cluster.node.stats.NodeStats;
import org.elasticsearch.action.admin.cluster.node.stats.NodesStatsResponse;
import org.elasticsearch.action.bulk.BulkItemResponse;
import org.elasticsearch... | {
"content_hash": "c6deb05f0aa292363c8ab81c8009f0ed",
"timestamp": "",
"source": "github",
"line_count": 461,
"max_line_length": 140,
"avg_line_length": 51.99132321041215,
"alnum_prop": 0.663593124165554,
"repo_name": "dpursehouse/elasticsearch",
"id": "361bca6076af4b40a39abe6b59f6e2d072b27b13",
"si... |
// ** NOTES **
// Vector code CANNOT be inlined in header file because of dependencies
// across vector classes (error generated: "Use of undeclared class..")
//
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <memory.h>
#include <math.h>
#ifndef VECTOR_DEF
#define VECTOR_DEF
... | {
"content_hash": "0bf8d9a564426a1e5f2e6d5bc7c52c77",
"timestamp": "",
"source": "github",
"line_count": 765,
"max_line_length": 76,
"avg_line_length": 33.76993464052288,
"alnum_prop": 0.6778663776418673,
"repo_name": "sabov/jedi",
"id": "b0e36b46761b8e8be9f7f4d0314fde252be22919",
"size": "26836",
... |
ActiveRecord::Schema.define(:version => 20132406101010) do
create_table "documents", :force => true do |t|
t.string "name"
t.text "content"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "grants", :force => true do |t|
t.integer "grant... | {
"content_hash": "e00cee83f59b7fb650e04dc8c60b607c",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 137,
"avg_line_length": 30.071428571428573,
"alnum_prop": 0.6092636579572447,
"repo_name": "jayniz/granted",
"id": "e8126df2e6a6a05ba03eb467be764ff4b37882ca",
"size": "1577... |
cask "typeface" do
version "3.4.1,3046"
sha256 "7706eca286f2b59d97a1e217ca64b44b9dd25f4fdc2acdefe463091eb1b2a3dd"
url "https://dcdn.typefaceapp.com/Typeface-#{version.before_comma}-#{version.after_comma}/Typeface-#{version.before_comma}-#{version.after_comma}.dmg"
name "Typeface"
desc "Font manager applicati... | {
"content_hash": "9f0cd12b6ac5fa0197899592f612e5cb",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 152,
"avg_line_length": 30.1875,
"alnum_prop": 0.7453416149068323,
"repo_name": "scottsuch/homebrew-cask",
"id": "63a0065307aa3e7f71f63a07e6e6b6bd182a856d",
"size": "483",
... |
/*
* scoremodelcoexpressioncontinuous2.h
*
* Created on: 17-jan-2012
* Authors: M. El-Kebir and M.E. van der Wees
*/
#ifndef SCOREMODELCOEXPRESSIONCONTINUOUS2_H_
#define SCOREMODELCOEXPRESSIONCONTINUOUS2_H_
#include <assert.h>
#include <string>
#include <lemon/core.h>
#include "score/scoremodel.h"
#include ... | {
"content_hash": "62be3771b222163fe3796ac14f166632",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 171,
"avg_line_length": 30.47222222222222,
"alnum_prop": 0.7240960194469767,
"repo_name": "ls-cwi/natalie",
"id": "7c84a9b04cab2a405f5de7fb33e979b203743a03",
"size": "3291... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | {
"content_hash": "bbea0585e32c8216f237cfd8c82c3c22",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 240,
"avg_line_length": 41.4792899408284,
"alnum_prop": 0.5116975748930099,
"repo_name": "coq-bench/coq-bench.github.io-old",
"id": "790f9c180ac24b6ce3c3bb638a86f6609770423f... |
namespace System.Security.Cryptography
{
using Microsoft.Win32.SafeHandles;
using System.Diagnostics;
public sealed partial class ECDsaCng : ECDsa
{
/// <summary>
/// Gets the key that will be used by the ECDsa object for any cryptographic operation that it uses.
/// Thi... | {
"content_hash": "cd803ec9619c3caf29e9714ffc100f6f",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 130,
"avg_line_length": 38.45,
"alnum_prop": 0.5173385348938014,
"repo_name": "BrennanConroy/corefx",
"id": "42bc482fd482b0752636a82385f41ab709bd4843",
"size": "4818",
"... |
//
// MKBuyReleaseEscrow.m
// BitMarkets
//
// Created by Steve Dekorte on 5/6/14.
// Copyright (c) 2014 voluntary.net. All rights reserved.
//
#import "MKBuyReleaseEscrow.h"
#import "MKBuy.h"
#import "MKRootNode.h"
#import "MKBuyPostRefundMsg.h"
#import "MKBuyPostPaymentMsg.h"
@implementation MKBuyReleaseEscrow
... | {
"content_hash": "359399be4c9ded28cf084c0119b2f83e",
"timestamp": "",
"source": "github",
"line_count": 347,
"max_line_length": 193,
"avg_line_length": 24.380403458213255,
"alnum_prop": 0.6440898345153664,
"repo_name": "xeddmc/Bitmarkets",
"id": "bd42809d3624e0287649b12253278ab9f7e9f6aa",
"size": "... |
#ifndef _PERIODICTHREAD_H_
#define _PERIODICTHREAD_H_
#include <cstdint>
#include <vector>
#include <memory>
#include "Macros.h"
#include "Thread.h"
namespace APP {
class Task;
class PeriodicThread : public OS::Thread {
NO_COPY_CONSTRUCTORS (PeriodicThread);
public:
/**
* Constructor, inWaitTime in... | {
"content_hash": "b9b88321fea1e71568dac8a06e19a224",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 85,
"avg_line_length": 17.314814814814813,
"alnum_prop": 0.6213903743315508,
"repo_name": "Eelco81/server-test-project",
"id": "81dec5d44bb988ec76016e45e9c30b8c9291a4c7",
"... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/renderer/dispatcher.h"
#include "base/bind.h"
#include "base/callback.h"
#include "base/command_line.h"
#include "base/debug/alias.h... | {
"content_hash": "37239a693c4d722caf32c9ba52757011",
"timestamp": "",
"source": "github",
"line_count": 1434,
"max_line_length": 85,
"avg_line_length": 41.46025104602511,
"alnum_prop": 0.686984895885895,
"repo_name": "jaruba/chromium.src",
"id": "946184a20138e0ed0b2ea414ccdd02e3467497eb",
"size": "... |
cask 'clockify' do
version '2.4.5'
sha256 '74ee5f0d57853ed4b16e613ec4a2ada7c448500914613c0abb61b8afd7c26704'
# clockify-resources.s3.eu-central-1.amazonaws.com was verified as official when first introduced to the cask
url 'https://clockify-resources.s3.eu-central-1.amazonaws.com/downloads/ClockifyDesktop.zip'... | {
"content_hash": "39db11d556d17b41be18a2a0f77b3be1",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 111,
"avg_line_length": 37.93333333333333,
"alnum_prop": 0.7750439367311072,
"repo_name": "lantrix/homebrew-cask",
"id": "75e8501123f2267b02609ba4b2eb7000edcb7fa9",
"size":... |
<?php
namespace Kuxin\Helper;
/**
* Class Json
*
* @package Kuxin\Helper
* @author Pakey <pakey@qq.com>
*/
class Json
{
/**
* @param $data
* @param int $format
* @return string
*/
public static function encode($data, $format = JSON_UNESCAPED_UNICODE)
{
return jso... | {
"content_hash": "662dbfb60f241352652ae6fd03e760f1",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 74,
"avg_line_length": 16.87878787878788,
"alnum_prop": 0.5296229802513465,
"repo_name": "pakey/PTFrameWork",
"id": "eccecd2dd7c0c043749202efea2664f4f28f8458",
"size": "557... |
#!/usr/bin/python3.4
# -*-coding:Utf-8 -*
'''A script to be executed by Blender Python API to return Blender version'''
import bpy
print('<?xml version="1.0" encoding="UTF-8"?>')
print('<root>')
version = bpy.app.version
print('<version version="'+str(version[0])+'.'+str(version[1])+'-'\
+bpy.app.version_char+'"... | {
"content_hash": "44395e56da4a5817b0a4d2dabcf50283",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 77,
"avg_line_length": 31.181818181818183,
"alnum_prop": 0.6326530612244898,
"repo_name": "CaptainDesAstres/Blender-Render-Manager",
"id": "685e54775f4685cf891d06f406ca5e6313... |
// SDLEncodedSyncPDataResponse.h
//
#import "SDLRPCResponse.h"
NS_ASSUME_NONNULL_BEGIN
/**
The response to SDLEncodedSyncPData
**DEPRECATED**
*/
@interface SDLEncodedSyncPDataResponse : SDLRPCResponse
@end
NS_ASSUME_NONNULL_END
| {
"content_hash": "49930130d0358f9f435f6e0044df6834",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 55,
"avg_line_length": 13.277777777777779,
"alnum_prop": 0.7615062761506276,
"repo_name": "kshala-ford/sdl_ios",
"id": "8536ad33eb76f8c6f94c84d9cfd4379e38fd3105",
"size": "... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Dwm... | {
"content_hash": "824f9a0dc23ea1245de447a660ab8f93",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.388888888888886,
"alnum_prop": 0.7524682651622003,
"repo_name": "melanchall/drywetmidi",
"id": "4f179d041a416525b720e4628c2e47a5da96092f",
"size":... |
FROM rust:1.36
WORKDIR /saphir
ADD . .
RUN cargo clean
RUN cargo build --release
EXPOSE 8080
ENTRYPOINT [ "./target/release/saphir-techempower" ]
| {
"content_hash": "7db3a7e4bf7eb57f1744a660e4b6dfec",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 52,
"avg_line_length": 12.583333333333334,
"alnum_prop": 0.7284768211920529,
"repo_name": "zloster/FrameworkBenchmarks",
"id": "a0b7ad57e0fba09925d0e59bbedf0ba76808d768",
"... |
require "json"
require "pathname"
require "google/gax"
require "google/monitoring/v3/metric_service_pb"
module Google
module Cloud
module Monitoring
module V3
# Manages metric descriptors, monitored resource descriptors, and
# time series data.
#
# @!attribute [r] metric_se... | {
"content_hash": "7cea39038eb884518e6d7a9103d99e05",
"timestamp": "",
"source": "github",
"line_count": 627,
"max_line_length": 133,
"avg_line_length": 46.05422647527911,
"alnum_prop": 0.5838066214157085,
"repo_name": "landrito/api-client-staging",
"id": "561c447faea7e41343d05d5abf4ffbc5a6b6a288",
... |
title: Platform Deprecation
date: 2014-02-21 18:20:03 Z
categories:
- build
tags:
- PhoneGap Build
author: Dave Johnson
---
It’s been almost a year since PhoneGap announced they would be [dropping support](https://phonegap.com/blog/2013/05/16/cordova-will-no-longer-support-bb/) for some platforms in versions of PhoneG... | {
"content_hash": "011128b8ec7d6b33b7742221c9f78202",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 457,
"avg_line_length": 74.88888888888889,
"alnum_prop": 0.7893175074183977,
"repo_name": "phonegap/reblog",
"id": "7c89043344bc54ac7e9b72626e53ed370be6f8f7",
"size": "1354... |
@interface XPNavigationController ()
@end
@implementation XPNavigationController
// 当前类或者他的子类第一次使用的时候才会调用
+ (void)initialize
{
UINavigationBar *bar = [UINavigationBar appearance];
bar.barTintColor = [UIColor colorWithRed:255/255.0 green:113/255.0 blue:1/255.0 alpha:1];
// 设置导航条标题颜色及字体
NSMutableD... | {
"content_hash": "c1486be580c68863184b6b0f924fee33",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 110,
"avg_line_length": 34.3921568627451,
"alnum_prop": 0.7297605473204105,
"repo_name": "YWLHXP/PlatinumTaoTravel",
"id": "45029ae8ddaadf55bb97d400f18e86e9aa2ccb85",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="elem_padding_top">5dp</dimen>
<dimen name="elem_padding_bottom">5dp</dimen>
<dimen name="elem_padding_left">5dp</dimen>
<dimen name="elem_padding_right">5dp</dimen>
</resources> | {
"content_hash": "09cb932f7085132f7a669c3f5a2dfec4",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 49,
"avg_line_length": 28.77777777777778,
"alnum_prop": 0.6640926640926641,
"repo_name": "gmyboy/FastGo",
"id": "23671521cfef10494f5dbc63a03611aee82de1b2",
"size": "259",
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/black">
<Button
android:layout_width="match_pare... | {
"content_hash": "4420897de4e624e3f02b8c17bd999377",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 72,
"avg_line_length": 37.63157894736842,
"alnum_prop": 0.6741258741258741,
"repo_name": "ONSemiconductor/MatrixAndroidAPITests",
"id": "1e41b0e50a6160c6d4e26740f5dd81cfd291b... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.10.0-rc1-master-8285e2d
*/
(function( window, angular, undefined ){
"use strict";
/*
* @ngdoc module
* @name material.components.sticky
* @description
*
* Sticky effects for md
*/
angular.module('material.components.sti... | {
"content_hash": "e6a9ff73b0451aa9859024187d2ce3de",
"timestamp": "",
"source": "github",
"line_count": 315,
"max_line_length": 89,
"avg_line_length": 30.787301587301588,
"alnum_prop": 0.6018766756032171,
"repo_name": "pilmee/demo_sm",
"id": "864bd153cb5e87f71602c11b68febdc86208591b",
"size": "9698... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-field-extra: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | {
"content_hash": "0709be2082766f20714720a654bed888",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 554,
"avg_line_length": 47.27777777777778,
"alnum_prop": 0.5601253427340384,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "f819a0519c26badc80e05edab2f52bfd95f80fd2",
... |
rdkit.Chem.rdReducedGraphs module
=================================
.. automodule:: rdkit.Chem.rdReducedGraphs
:members:
:undoc-members:
:show-inheritance:
| {
"content_hash": "a1a507b041ada19e4b838487ca3b8926",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 42,
"avg_line_length": 21.25,
"alnum_prop": 0.5764705882352941,
"repo_name": "bp-kelley/rdkit",
"id": "91689a894a074f7c51b274e79ef4a45003098c4d",
"size": "170",
"binary": ... |
package org.fusesource.camel.component.sap;
import org.apache.camel.Consumer;
import org.apache.camel.Processor;
import org.apache.camel.Producer;
import org.apache.camel.impl.DefaultEndpoint;
import org.apache.camel.spi.Metadata;
import org.apache.camel.spi.UriEndpoint;
import org.apache.camel.spi.UriParam;
import o... | {
"content_hash": "6d6c8a660b60c4cc68f3716ec401fb3a",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 250,
"avg_line_length": 34.21686746987952,
"alnum_prop": 0.7758802816901409,
"repo_name": "rmarting/fuse",
"id": "58f7cbe865664386810c1acf77451c07d2b759b1",
"size": "6311"... |
package org.keycloak.testsuite.adapter.page;
import java.net.URL;
import org.jboss.arquillian.container.test.api.OperateOnDeployment;
import org.jboss.arquillian.graphene.findby.FindByJQuery;
import org.jboss.arquillian.test.api.ArquillianResource;
import org.keycloak.testsuite.page.AbstractPageWithInjectedUrl;
import... | {
"content_hash": "eb068b077c6a835860c23672c6350bbd",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 75,
"avg_line_length": 27.4375,
"alnum_prop": 0.7302961275626424,
"repo_name": "eugene-chow/keycloak",
"id": "beaa8fac584ffe3da63c3a2d8fc00cfb4a283850",
"size": "2195",
"... |
'use strict';
function LetterCtrl($scope) {
$scope.welcome = "欢迎";
console.log("yes");
}
module.exports = ['$scope', LetterCtrl] | {
"content_hash": "65bbd04826c0b7acdd415e0e2c4a86dc",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 39,
"avg_line_length": 16.333333333333332,
"alnum_prop": 0.5918367346938775,
"repo_name": "heimeixn/gt-fe1",
"id": "4c67289974c9d19bf5604a4b82b5526b636ca85f",
"size": "151",... |
@interface ROKOShareNavigationScheme : ROKOComponentScheme
@property (assign, nonatomic) bool closeButtonEnabled;
@property (strong, nonatomic) ROKOImageDataObject *closeButtonImageFile;
@property (strong, nonatomic) ROKOFontDataObject *closeButtonTextFont;
@property (assign, nonatomic) bool doneButtonEnabled;
@proper... | {
"content_hash": "743e5865928c1e1a3571dd45bb598ca1",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 72,
"avg_line_length": 49.214285714285715,
"alnum_prop": 0.8316400580551524,
"repo_name": "ROKOLabs/ROKO.Mobi.iOS",
"id": "c0bc702f98846e7cfaa59d18a161ae525bbdbe81",
"size"... |
import { computed } from '@ember/object';
/**
* A computed property transforms an objects function into a property.
* By default the function backing the computed property will only be called once and the result
* will be cached. You can specify various properties that your computed property is dependent on.
* Thi... | {
"content_hash": "60af39f8ecf360667b7d05f66cd92dae",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 100,
"avg_line_length": 41.298701298701296,
"alnum_prop": 0.7446540880503144,
"repo_name": "AgentME/DefinitelyTyped",
"id": "e63ee86294673d053800977f207d1bb4899273a4",
"siz... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycol. Res. 94(3): 424 (1990)
#### Original name
Cheiromoniliophora elegans Tzean & J.L. Chen, 1990
### Remarks
null | {
"content_hash": "98981290e644f8c0fab4542e7e595610",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 50,
"avg_line_length": 15.76923076923077,
"alnum_prop": 0.697560975609756,
"repo_name": "mdoering/backbone",
"id": "4ea23f64476c82a7cbe929c542363320d85361a9",
"size": "279"... |
import manager from './manager'
export default [
...manager
]
| {
"content_hash": "ef2f3835a43eca071b5eb162a242240a",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 31,
"avg_line_length": 13,
"alnum_prop": 0.676923076923077,
"repo_name": "lcw2004/one",
"id": "b98f53bbc512ad3b39e92531ce2e107a41d518b3",
"size": "65",
"binary": false,
... |
require 'ruby_test'
require 'xgen/sql'
class SQLTest < RubyTest
include XGen::SQL
def assert_done(t)
assert !t.more?
assert_nil t.next_token
end
def test_tokenizer
t = Tokenizer.new('clicked = 1')
assert_equal 'clicked', t.next_token
assert_equal '=', t.next_token
assert_equal 1, t.n... | {
"content_hash": "8da92105cdca6604a1a850a232a1893d",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 111,
"avg_line_length": 28.71875,
"alnum_prop": 0.5919477693144722,
"repo_name": "babble/babble",
"id": "b5da21a6cc882adaf4959184c6f35ccfa56c38f6",
"size": "5221",
"bina... |
using MateCat.Net.Enums;
using System;
namespace MateCat.Net.Tests.Models
{
public class CreateProjectTestModel : TestModel
{
public CreateProjectTestModel()
{
ProjectName = String.Format("{0}_{1: yyyyMMdd HHmmss}", GetConfigurationSettingValue("ProjectName"), DateTime.UtcNow);
... | {
"content_hash": "6070be617c0c5a21596af2fb01cbc11e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 136,
"avg_line_length": 40.80555555555556,
"alnum_prop": 0.6984343090537781,
"repo_name": "IvAlex1986/MateCat.Net",
"id": "8f7460a5dcc5f34fa470e33e48c8cfb33fd679a6",
"size"... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__wchar_t_declare_cpy_01.c
Label Definition File: CWE124_Buffer_Underwrite.stack.label.xml
Template File: sources-sink-01.tmpl.c
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated memor... | {
"content_hash": "afa81ba0c593540d4e0c0539dfe1fb5b",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 91,
"avg_line_length": 28.322916666666668,
"alnum_prop": 0.6300110334681869,
"repo_name": "maurer/tiamat",
"id": "ae87321fba985609e22b6407bbf9f4d641a81c2f",
"size": "2719",... |
#include <aws/datasync/model/VerifyMode.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
namespace Aws
{
namespace DataSync
{
namespace Model
{
namespace VerifyModeMapper
{
... | {
"content_hash": "d436326b8db73be7eedf7d58607abc53",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 110,
"avg_line_length": 30.013513513513512,
"alnum_prop": 0.6042323277802791,
"repo_name": "jt70471/aws-sdk-cpp",
"id": "ca979ab697ffd3b0288280cdf8daf835c4a73109",
"size": ... |
SELECT * FROM t1 | {
"content_hash": "e91034b229e113a36254bd02fccc4157",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 16,
"avg_line_length": 16,
"alnum_prop": 0.75,
"repo_name": "bkiers/sqlite-parser",
"id": "e60adeee14f10feaeada287655a1ed8ba2bf9c4b",
"size": "65",
"binary": false,
"cop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.