text stringlengths 2 1.04M | meta dict |
|---|---|
#include "GuardPageAllocator.h"
#include <sys/mman.h>
#include <unistd.h>
#include <mutex>
#include <folly/Singleton.h>
#include <folly/SpinLock.h>
#include <glog/logging.h>
namespace folly { namespace fibers {
/**
* Each stack with a guard page creates two memory mappings.
* Since this is a limited resource, ... | {
"content_hash": "e4a71764ecca87d55cfe4e960aa347dc",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 80,
"avg_line_length": 24.83009708737864,
"alnum_prop": 0.621505376344086,
"repo_name": "colemancda/folly",
"id": "2d69a6427bdf963aa638108ab225dd7e01c6d0f4",
"size": "5710... |
<?php
namespace PHPExiftool\Driver\Tag\XMPXmpDM;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class TracksMarkersName extends AbstractTag
{
protected $Id = 'TracksMarkersName';
protected $Name = 'TracksMarkersName';
protected $... | {
"content_hash": "c8f4cdbcfa7d65cddb61f663f5301cd4",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 51,
"avg_line_length": 17.10810810810811,
"alnum_prop": 0.6729857819905213,
"repo_name": "romainneutron/PHPExiftool",
"id": "955e10eae99e7980150ccece98e84642faee7cf4",
"siz... |
from functools import wraps
import sys
import requests
from mock import MagicMock, Mock, patch
from appvalidator.zip import ZipPackage
from appvalidator.errorbundle import ErrorBundle
from appvalidator.errorbundle.outputhandlers.shellcolors import OutputHandler
def _do_test(path, test, failure=True, set_type=0,
... | {
"content_hash": "59d630a10382f05a2571fda3c25987c7",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 82,
"avg_line_length": 34.32828282828283,
"alnum_prop": 0.5879064293070472,
"repo_name": "mozilla/app-validator",
"id": "7f09c5f546f2873ae6561e93a27d464b5d105bdb",
"size":... |
import unittest2 as unittest
from mythbox.util import run_async
import time
import random
import threading
class Foo(object):
lock = threading.RLock()
gold = None
cnt = 0
@classmethod
def doWorkSerially(cls, i):
Foo.lock.acquire()
Foo.cnt +=1
print('doWorkSerially %s %s... | {
"content_hash": "0495d61a61a4fbeb615d71135ae958f2",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 63,
"avg_line_length": 23.170731707317074,
"alnum_prop": 0.5578947368421052,
"repo_name": "GetSomeBlocks/Score_Soccer",
"id": "64593c70abd027c5cdad2d5a1a8fdfb77d72cedb",
"s... |
package com.yahoo.glimmer.indexing.preprocessor;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.... | {
"content_hash": "c9792d25e447c1987198590dce043863",
"timestamp": "",
"source": "github",
"line_count": 343,
"max_line_length": 159,
"avg_line_length": 38.565597667638485,
"alnum_prop": 0.7460689446628364,
"repo_name": "yahoo/Glimmer",
"id": "1d7494c2b9a43dc966eca5feffae5a957076b200",
"size": "1386... |
// Package logadmin contains mockable logadmin client wrappers.
package logadmin
| {
"content_hash": "cbbb5d6b22fff138e82813a90cd234b0",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 63,
"avg_line_length": 20.75,
"alnum_prop": 0.8192771084337349,
"repo_name": "google/knative-gcp",
"id": "551b661dc25b0434f599368a976e7418ae98fcbc",
"size": "639",
"binary... |
package ipxe
import (
"context"
"errors"
"fmt"
"io"
"net/url"
"path"
"strings"
"github.com/u-root/u-root/pkg/boot"
"github.com/u-root/u-root/pkg/curl"
"github.com/u-root/u-root/pkg/uio"
"github.com/u-root/u-root/pkg/ulog"
)
var (
// ErrNotIpxeScript is returned when the config file is not an
// ipxe scr... | {
"content_hash": "ece261f45dd3376f6b6755939f5a964e",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 116,
"avg_line_length": 23.122093023255815,
"alnum_prop": 0.6414382700528036,
"repo_name": "hugelgupf/u-root",
"id": "ba9dafb42eb43821246d436d748191d5896454d8",
"size": "4... |
<div class="section">
<div class="row center">
<h5 class="header col s12 light">A modern responsive front-end framework based on Material Design</h5>
</div>
<div class="row center">
<a href="#/" id="download-button" class="btn-large waves-effect waves-light">Get Started</a>
</div>
</div>... | {
"content_hash": "c4559e23861d9c227e43a6e4f277e5d3",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 324,
"avg_line_length": 44.26086956521739,
"alnum_prop": 0.6168958742632613,
"repo_name": "wesleyegbertsen/WesCMS",
"id": "a0ab2c8afb3594ade40bc943004d6b44c419fef8",
"size"... |
Engine
======
| {
"content_hash": "c8115f239cde1fb31eb5a3048ff862d5",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 6,
"avg_line_length": 7,
"alnum_prop": 0.42857142857142855,
"repo_name": "Ledge/Engine",
"id": "a4de8c67ffef71f039bc579cad67719c769ac234",
"size": "14",
"binary": false,
... |
'''
Created on 23 Oct 2014
Copyright (c) 2014 Brendan Gray and Sylvermyst Technologies
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 limit... | {
"content_hash": "e7216a585c3dce16356b5645e6bcd8c6",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 109,
"avg_line_length": 39.089285714285715,
"alnum_prop": 0.6665143901324806,
"repo_name": "Sylvermyst-Technologies/Onnapt",
"id": "a54c2da7de6af1501ac06343c5b3ff77d7f0c82e",... |
package webhook
import (
"socialapi/models"
"strconv"
"github.com/koding/bongo"
)
const botNick = "bot"
type Bot struct {
account *models.Account
}
type Message struct {
Body string `json:"body"`
ChannelId int64 `json:"channelId,string"`
ChannelIntegration... | {
"content_hash": "3d9fd3bbdb0a5f8054ae72f4d9cf855b",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 98,
"avg_line_length": 21.784615384615385,
"alnum_prop": 0.6758474576271186,
"repo_name": "jack89129/koding",
"id": "d823d3042554a04b76bff17b56f10d21aed949fe",
"size": "28... |
@implementation RACMulticastConnectionRequest
+ (void)rac_MulticastConnectionRequestWithURLString:(NSString *)urlString rac_SuccessCompleteHandler:(void (^)(NSDictionary *responseObject))successCompleteHandler rac_FailureCompleteHandler:(void (^)(NSError *))failureCompleteHandler{
NSAssert(urlString,@"请... | {
"content_hash": "637146fb0564c27fd528c7d4be646aea",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 236,
"avg_line_length": 34,
"alnum_prop": 0.6213235294117647,
"repo_name": "KBvsMJ/ReactiveCocoaDemo",
"id": "db0bf5113f233ddea9320b7a49d0801787c15e9b",
"size": "2440",
"... |
#ifndef LIEF_PE_DELAY_IMPORT_H
#define LIEF_PE_DELAY_IMPORT_H
#include <string>
#include <iostream>
#include "LIEF/Object.hpp"
#include "LIEF/types.hpp"
#include "LIEF/visibility.h"
#include "LIEF/iterators.hpp"
#include "LIEF/PE/DelayImportEntry.hpp"
namespace LIEF {
namespace PE {
namespace details {
struct del... | {
"content_hash": "cf4323cb998e689aa037df3dde50ea89",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 87,
"avg_line_length": 26.369747899159663,
"alnum_prop": 0.6950286806883366,
"repo_name": "lief-project/LIEF",
"id": "7c343cac4d2a7a34840beba92839733e19e050a1",
"size": "3... |
<?php
namespace Github\Api\Repository\Actions;
use Github\Api\AbstractApi;
/**
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/actions#self-hosted-runners
*/
class SelfHostedRunners extends AbstractApi
{
/**
* @link https://docs.github.com/en/free-pro-team@latest/rest/reference/acti... | {
"content_hash": "0609e3996bed535fa21e9f477c048afd",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 129,
"avg_line_length": 32.50769230769231,
"alnum_prop": 0.6497870326549929,
"repo_name": "getgrav/grav-plugin-github",
"id": "4a20b1169bf8c52649586c01fc35cd921b532631",
"s... |
from base.db import Article, Feed
from base.crawler import CrawlerBase
import logging
from bs4 import BeautifulSoup
from mako.template import Template
l = logging.getLogger(__name__)
class Crawler(CrawlerBase):
def crawl(self):
# Retrieve content of all feeds
feeds_content = self._get_feeds_cont... | {
"content_hash": "861e9e17fc23e3bd2719a3311b5c1e66",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 76,
"avg_line_length": 35.24,
"alnum_prop": 0.5249716231555052,
"repo_name": "nicolasmartinelli/PyIMF",
"id": "aebebbaf575d9069c0c9345fc2b59cd347c7fa5f",
"size": "1809",
... |
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.8.1 at 2019-02-06
| Rendered using Apache Maven Fluido Skin 1.6
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0... | {
"content_hash": "fe8e58f34e9d5194425edaf6f4560893",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 202,
"avg_line_length": 35.57551020408163,
"alnum_prop": 0.5680357962368059,
"repo_name": "play2-maven-plugin/play2-maven-plugin.github.io",
"id": "4e2c6b8f79c3e5867089b1ebc... |
Offsets may be a number, a percentage (e.g. `50%`), or a keyword (e.g.
`center`).
Dimensions may be a number, or a percentage (e.g. `50%`).
Positions are treated almost _exactly_ the same as they are in CSS/CSSOM when
an element has the `position: absolute` CSS property.
When an element is created, it can be given c... | {
"content_hash": "b6f3296109bd66b7ce220df78e3082bc",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 77,
"avg_line_length": 20.826923076923077,
"alnum_prop": 0.6795937211449676,
"repo_name": "piranna/blessed",
"id": "3ce75833b991e19255687c589bffc03baff53f12",
"size": "1101... |
"""
"""
from .device import Device
__all__ = ['Device']
| {
"content_hash": "88183b9a896c9ee22dce75eb06c0c36c",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 26,
"avg_line_length": 11.4,
"alnum_prop": 0.543859649122807,
"repo_name": "sfinucane/deviceutils",
"id": "ff7d3dcfc51c265d8f034ea7777edec19b84ece9",
"size": "79",
"binary... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="Learn more about the Coalition for the Barbados Association of Central Florida last meeting.">
<meta name="keywords" content="CFLBAJANS, Coalition for the Barbados Association of Central Florida, CBAOCF, Bajans in Florida, Central F... | {
"content_hash": "b58317331ec405930f9f153cb441aa8d",
"timestamp": "",
"source": "github",
"line_count": 333,
"max_line_length": 527,
"avg_line_length": 72.49849849849849,
"alnum_prop": 0.38729185651561593,
"repo_name": "CFLBajans/cflbajans",
"id": "83f5442d35596fd2d6f8fdbd7bb7353229b9fa52",
"size":... |
<?php
/** Zend_Search_Lucene_Analysis_Analyzer_Common */
#require_once 'Zend/Search/Lucene/Analysis/Analyzer/Common.php';
/**
* @category Zend
* @package Zend_Search_Lucene
* @subpackage Analysis
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @licens... | {
"content_hash": "43a0965fd079b0549d30f730e774a377",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 117,
"avg_line_length": 31.289719626168225,
"alnum_prop": 0.514336917562724,
"repo_name": "almadaocta/lordbike-production",
"id": "b976c3981df6dcd7b2cfd0274c06797594506475",... |
package com.intellij.diff.actions.impl;
import com.intellij.diff.tools.util.SyncScrollSupport;
import com.intellij.diff.tools.util.base.HighlightingLevel;
import com.intellij.diff.tools.util.base.TextDiffSettingsHolder.TextDiffSettings;
import com.intellij.diff.tools.util.breadcrumbs.BreadcrumbsPlacement;
import com.i... | {
"content_hash": "b14c0ec706c3b8a663bd9e04572bc4e9",
"timestamp": "",
"source": "github",
"line_count": 297,
"max_line_length": 125,
"avg_line_length": 33.841750841750844,
"alnum_prop": 0.687792259476669,
"repo_name": "leafclick/intellij-community",
"id": "5a192fd34c26f8a9c4cb9f7cda4f6a0c3a515e69",
... |
layout: page
title: Walker 15th Anniversary
date: 2016-05-24
author: James Tyler
tags: weekly links, java
status: published
summary: Donec placerat sagittis massa dictum faucibus.
banner: images/banner/leisure-02.jpg
booking:
startDate: 08/07/2019
endDate: 08/10/2019
ctyhocn: AVPTKHX
groupCode: W1A
published: t... | {
"content_hash": "9350598bca7d03ddb6e85f52c5e33b21",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 816,
"avg_line_length": 91.83333333333333,
"alnum_prop": 0.8076225045372051,
"repo_name": "KlishGroup/prose-pogs",
"id": "fcee3c7487a0b9ccca0669bf26b223d7c724b767",
"size":... |
import functools
from pycadf import cadftaxonomy as taxonomy
from six.moves.urllib import parse
from keystone import auth
from keystone.auth import plugins as auth_plugins
from keystone.common import dependency
from keystone import exception
from keystone.federation import constants as federation_constants
from keyst... | {
"content_hash": "b73e8db9e3df55e81f6a6c3a3f56136f",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 79,
"avg_line_length": 40.90717299578059,
"alnum_prop": 0.6258896338318721,
"repo_name": "dims/keystone",
"id": "ad630911cf380c3537ff8e7dbd2556e91643a7e2",
"size": "10241"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content... | {
"content_hash": "73244ba73dcfc9ee03bf4fa0accc14b2",
"timestamp": "",
"source": "github",
"line_count": 496,
"max_line_length": 999,
"avg_line_length": 37.73185483870968,
"alnum_prop": 0.6021907560780123,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "59a8bb746093e0f2a6d1fb2c5ddca067044b95b... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" /><link rel="canonical" href="http://mongoc.org/libbson/current/mongoc_uri_get_auth_source.html"/>
<title>mongoc_uri_get_auth_source() — libmongoc 1.21.2</title>
<link rel="stylesheet" href="_static/r... | {
"content_hash": "001e5662bf177a29b382de7e0eba39c9",
"timestamp": "",
"source": "github",
"line_count": 208,
"max_line_length": 260,
"avg_line_length": 70.41346153846153,
"alnum_prop": 0.6982793936911103,
"repo_name": "treefrogframework/treefrog-framework",
"id": "602a695bde3ea478e7c1d730d89efe47da32... |
{% block content %}
<form id="form-config-service" action="{% url 'cripts.services.views.edit_config' name %}" method="post">
<table class="form" style="width: 75%;">
{{ form }}
</table>
<input class="form_submit_button" type="submit" value="Submit" />
</form>
<span id="servi... | {
"content_hash": "d73243932b50de6aa94f4b044f726003",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 109,
"avg_line_length": 40,
"alnum_prop": 0.5805555555555556,
"repo_name": "lakiw/cripts",
"id": "722970d8b0a8fe9ecf2405cee93b77d0b1d42a09",
"size": "362",
"binary": false... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
<name>HomeCinema-lib</name>
<source-roots>
<ro... | {
"content_hash": "3360358136a3a7b042f7862b45757ef5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 64,
"avg_line_length": 33.8,
"alnum_prop": 0.5364891518737672,
"repo_name": "berthise/HomeCinema",
"id": "3164841aea815b1ffd532c47ef9876246981e5d0",
"size": "507",
"binar... |
// 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.Drawing;
using DotSpatial.Data;
namespace DotSpatial.Symbology
{
/// <summary>
/// Extension methods for <see cref="Extent"/>.
/// ... | {
"content_hash": "90279634f1b8f463640017f673d55b31",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 106,
"avg_line_length": 40.19444444444444,
"alnum_prop": 0.6351071181755356,
"repo_name": "DotSpatial/DotSpatial",
"id": "c3bab007a5001bf8efe8dbf9b5c2a439c2b1d7c2",
"size":... |
"""
===========================================================
Plot sensor denoising using oversampled temporal projection
===========================================================
This demonstrates denoising using the OTP algorithm [1]_ on data with
with sensor artifacts (flux jumps) and random noise.
"""
# Author... | {
"content_hash": "8d8ca7110a6776a007361bbe7b08f6bc",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 79,
"avg_line_length": 40.45238095238095,
"alnum_prop": 0.5968216597998823,
"repo_name": "teonlamont/mne-python",
"id": "b549b0ba6b929c73e451f932e482dc15dca5eac4",
"size": ... |
'use strict'
var EventManager = require('remix-lib').EventManager
function Files (storage) {
var event = new EventManager()
this.event = event
var readonly = {}
this.type = 'browser'
this.exists = function (path) {
var unprefixedpath = this.removePrefix(path)
// NOTE: ignore the config file
if ... | {
"content_hash": "8ce090cd462aa904055e2c7e65b7dca2",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 120,
"avg_line_length": 27.156028368794328,
"alnum_prop": 0.6213110472708279,
"repo_name": "serapath-contribution/browser-solidity",
"id": "ce645a083cf3d2c57d03a10e010c9a0a7... |
from prime import Prime
def ans():
return sum(Prime.gen_nums(2000000))
if __name__ == '__main__':
print(ans())
| {
"content_hash": "61fd9638e357e05d2d29265768e4e423",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 39,
"avg_line_length": 13.666666666666666,
"alnum_prop": 0.5853658536585366,
"repo_name": "mackorone/euler",
"id": "28c1dc5ebadba7cd9fd8f443a25e08e2bf93722d",
"size": "123",... |
package com.nokia.xfolite.xforms.dom;
import java.util.Hashtable;
import com.nokia.xfolite.xml.dom.*;
import com.nokia.xfolite.xml.dom.events.DOMEvent;
import com.nokia.xfolite.xml.xpath.*;
public class ListenElement extends ActionElement {
ListenElement(Document ownerDocument, String aNamespaceURI, String aPref... | {
"content_hash": "87dc9dd0e2f05a7a8d4ac89418b6d414",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 99,
"avg_line_length": 34.359375,
"alnum_prop": 0.571168713051387,
"repo_name": "okoskimi/Xfolite",
"id": "3c7eaef72a8f85cd05b14a8e31fbdb7cfaa94a6b",
"size": "3059",
"bin... |
package com.plusub.lib.example.api;
import android.content.Context;
import com.plusub.lib.example.api.http.subscribers.ProgressSubscriber;
import com.plusub.lib.example.api.http.subscribers.SubscriberOnNextListener;
import com.plusub.lib.example.model.BookEntity;
import java.util.List;
import rx.Observable;
publi... | {
"content_hash": "318f6628c130b481bd3b72190c8cb914",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 153,
"avg_line_length": 29.785714285714285,
"alnum_prop": 0.7601918465227818,
"repo_name": "haodynasty/BaseUtilsLib",
"id": "19951112bc3a5294a23a5b5762c3084a810b770d",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>T19224449255</title>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,600">
<link rel="stylesheet" href="/style.css">
<link rel="s... | {
"content_hash": "974a0210b85368733674e96d54e5dabd",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 107,
"avg_line_length": 32.62264150943396,
"alnum_prop": 0.6564488143435512,
"repo_name": "desparoz/desparoz.github.io",
"id": "c06307dd9e2d1e93ac7e090729989139588e95da",
"... |
require 'rubygems'
require 'sinatra/base'
require 'test/unit'
require 'rack/test'
require 'active_record'
require 'sinatra/simple-authentication'
require 'nokogiri'
module Sinatra
class Base
set :environment, :test
::ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :database => "#{Dir.pwd}/test... | {
"content_hash": "8fb83b53fea423eaa4f864f3fc58f433",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 103,
"avg_line_length": 29.92156862745098,
"alnum_prop": 0.7054390563564875,
"repo_name": "pmonfort/sinatra-simple-authentication",
"id": "bcf0142a42a7c6fb3601ef0bfba9b5e867... |
| `master` | `dev` |
|----------|-------|
|[](https://travis-ci.org/SlaybaughLab/BART)[](https://codecov.io/gh/SlaybaughLab/BART/branch/master)|[
@Target({ ElementType.METHOD })
public @interface Confi... | {
"content_hash": "7f9827bca6d06fb6f8613a9f3c83c6cb",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 65,
"avg_line_length": 30.25,
"alnum_prop": 0.8154269972451791,
"repo_name": "gliviu/java-nonblocking-futures",
"id": "be18c0c42aca312c246bb1ef242b89eff75ed480",
"size": "3... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Package org.apache.poi.xssf.dev (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head... | {
"content_hash": "abae1918b9641c938485790b5f218f72",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 113,
"avg_line_length": 33.282051282051285,
"alnum_prop": 0.6001540832049307,
"repo_name": "Aarhus-BSS/Aarhus-Research-Rebuilt",
"id": "15990014d7ad03a271f8d7687762eaa888a79... |
{% load static %}
{% include 'app/header.html' with title='Login' %}
<body ng-cloak>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]... | {
"content_hash": "4e2d855ca398b6c6db5cb10044232992",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 187,
"avg_line_length": 49.546875,
"alnum_prop": 0.413434247871334,
"repo_name": "andela-osule/photo-editing-application",
"id": "ba999477c06ef6360770a9098e66b584bf593491",
... |
<div class="row post-full">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1 col-xs-12">
<div class="page-header">
<h1>{{ page.title }} {% if page.subtitle %}<br />
<small>{{page.subtitle}}</small>{% endif %}
</h1>
</div>
<div class="date">
<span>{{ page.date | date... | {
"content_hash": "f60237d71b58798e9255f97c5091063d",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 131,
"avg_line_length": 32.3125,
"alnum_prop": 0.5299806576402321,
"repo_name": "isjia/isjia.me",
"id": "84f8869a64855e4ccb85180c6bdaca6a7a14ba77",
"size": "1553",
"binar... |
package com.linkedin.thirdeye.client;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.cache.CacheBuilder;
import com.google.common.cache.CacheBuilderSpec;
import com.google.common.cache.CacheLoader;
import com.google.common.cache.LoadingCache... | {
"content_hash": "a3a152165c8d7b28d4e178086e886918",
"timestamp": "",
"source": "github",
"line_count": 286,
"max_line_length": 115,
"avg_line_length": 35.12587412587413,
"alnum_prop": 0.6934103125622139,
"repo_name": "pinotlytics/pinot",
"id": "a196f7e8a0096323a39446253b6b4ea1dfa88dea",
"size": "1... |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:id="@+id/menu_github"
android:icon="@drawable/ic_github_circle_white_24dp"
android:title="GitHub"
app:showAs... | {
"content_hash": "7b8cb71d8d140757ad30b3c475b55eba",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 64,
"avg_line_length": 35.2,
"alnum_prop": 0.6448863636363636,
"repo_name": "BCsl/GalleryLayoutManager",
"id": "b474eef0c1628fbe3ec0aedb2c5d8d72f7ec3a71",
"size": "352",
... |
namespace Domain {
class Entity
{
public:
int Id;
};
class AggregateRoot: public Entity
{
};
class ValueObject
{
};
class Provider
{
};
class Router: public Provider
{
public:
virtual int Selete() = 0;
};
static Router* router;
class ValueObjectC: public ValueObject
{
public:
ValueObjectC(){};
~ValueObjectC... | {
"content_hash": "9642aa74c87383f9c4643e5cac611b63",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 43,
"avg_line_length": 12.520661157024794,
"alnum_prop": 0.6501650165016502,
"repo_name": "newlee/tequila",
"id": "6e7bd2430493512302fb96a62f066494d4cbc96e",
"size": "1536... |
using System;
using System.Data;
using GeoAPI.Geometries;
namespace DotSpatial.Data
{
/// <summary>
/// A feature doesn't need to be abstract because the geometry is generic and the other
/// properties are all the same. It supports IRenderable so that even if you don't
/// know what type o... | {
"content_hash": "aa47f4c85cda76cab78472282e8a1ace",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 150,
"avg_line_length": 38.25,
"alnum_prop": 0.5903267973856209,
"repo_name": "bdgza/DotSpatial",
"id": "43137cf9e0b4f884a491b6229b5974cbcfd02235",
"size": "4539",
"bina... |
<?php
namespace Anax\Flashingmessage;
/**
* Class for display different type of status updates/messages in session.
* The messages are styled in four different styles for variuos message.
* You can display several massages at the same time.
*
*/
class CStatusMessageTest extends \PHPUnit_Framework_TestCase
{
p... | {
"content_hash": "a385c44db94f244a796559630dacd08a",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 86,
"avg_line_length": 32.410526315789475,
"alnum_prop": 0.6846378694381292,
"repo_name": "emwi/FlashingmessageTest",
"id": "11e231ca56307e244691a428d6322d9e29f4e662",
"siz... |
<?php
/**
* Class Itabs_LogViewer_Helper_Data
*/
class Itabs_LogViewer_Helper_Data extends Mage_Core_Helper_Abstract
{
/**
* Retrieve the current file
*
* @return string|bool
*/
public function getCurrentFile()
{
$file = Mage::app()->getRequest()->getParam('file', false);
... | {
"content_hash": "ef761a32702ee804454d97347a25623b",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 67,
"avg_line_length": 20.183098591549296,
"alnum_prop": 0.5017445917655269,
"repo_name": "itabs/Itabs_LogViewer",
"id": "fef4b7ae9df8cd31e6cd874496a5e23f14ca422d",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Bimbot/1.0</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Mater... | {
"content_hash": "5d0337df50f2bc5f02739b3c000c1772",
"timestamp": "",
"source": "github",
"line_count": 1020,
"max_line_length": 812,
"avg_line_length": 40.61470588235294,
"alnum_prop": 0.5220991141043281,
"repo_name": "ThaDafinser/UserAgentParserComparison",
"id": "37e5bc3b9f33d6779c9bf1d286debe918f... |
/* glpnpp05.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
*
* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
* 2009, 2010, 2011, 2013 Andrew Makhorin, Department for Applied
* Informatics, Moscow Aviation... | {
"content_hash": "56eb724db0b1c0cc497ba849c98144b0",
"timestamp": "",
"source": "github",
"line_count": 810,
"max_line_length": 72,
"avg_line_length": 32.901234567901234,
"alnum_prop": 0.5012757973733584,
"repo_name": "MarhesLab/NeeleyThesisCode",
"id": "8c88185080ab16029275ab3c5c20725142980e0a",
"... |
using System;
using Telerik.Web.UI;
#endregion
namespace DotNetNuke.Web.UI.WebControls
{
public class DnnTreeView : RadTreeView
{
//public DnnTreeView()
//{
// Utilities.ApplySkin(this);
//}
}
} | {
"content_hash": "cbe24072a9f6ad2ca7fb9fddc1ae5c5b",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 42,
"avg_line_length": 13.666666666666666,
"alnum_prop": 0.5853658536585366,
"repo_name": "wael101/Dnn.Platform",
"id": "892c3bd6b96c110ad00db8369fe258e8d103d32b",
"size": ... |
<?php
namespace WorkActivityBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/');
$this->assertContains(... | {
"content_hash": "ad1e5747f9a14c663ebe4c268311d644",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 83,
"avg_line_length": 22.470588235294116,
"alnum_prop": 0.680628272251309,
"repo_name": "VKiril/test-test-test-",
"id": "39299b761fe7f9d8d63158c70b407cd5bac405da",
"size":... |
import React from "react"
const SecondPage = () => (
<div>
<h1>Hi from the second page</h1>
<p>Welcome to page 2</p>
</div>
)
export default SecondPage
| {
"content_hash": "c851a985c6f94ca695331e6af4fb9f02",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 36,
"avg_line_length": 16.6,
"alnum_prop": 0.6204819277108434,
"repo_name": "cheetahM/cheetahM.github.io",
"id": "3d042628c493a66ab40ecc41c1f56522b90dc5ea",
"size": "166",
... |
<!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_45) on Mon Mar 03 10:44:39 EST 2014 -->
<title>Uses of Class org.hibernate.service.internal.JaxbProcessor (Hibernate JavaDocs)</title>
... | {
"content_hash": "08b3052d44b2829ec2daa8952fb68e60",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 151,
"avg_line_length": 38.03448275862069,
"alnum_prop": 0.6194469628286491,
"repo_name": "serious6/HibernateSimpleProject",
"id": "1a272960dd51138d0392a9f2c60bf0a46ff82b54"... |
namespace _01.Konspiration
{
using System;
using System.Linq;
using System.Collections.Generic;
public class Konspiration
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
string[] lines = new string[n];
for (int i = 0; i < n; i++)
... | {
"content_hash": "e8780da7e9c8b65275aea6e4c4587081",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 119,
"avg_line_length": 30.651685393258425,
"alnum_prop": 0.34310850439882695,
"repo_name": "tpopov94/Telerik-Academy-2016",
"id": "336d22eb5744e9f5bf61c7a56440e6c34596857d",... |
package co.cask.tigon.sql.internal;
import co.cask.tigon.sql.flowlet.GDATField;
import co.cask.tigon.sql.flowlet.StreamSchema;
import java.util.List;
/**
* Default StreamSchema.
*/
public class DefaultStreamSchema implements StreamSchema {
private List<GDATField> fields;
private String name;
public Defaul... | {
"content_hash": "c20a0dc78e4e1d68b5d84f8588a7104e",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 67,
"avg_line_length": 18.193548387096776,
"alnum_prop": 0.7145390070921985,
"repo_name": "caskdata/tigon",
"id": "e95680e16b3c7236c3ee5fc5a079c0a48d238b3b",
"size": "1161"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_33) on Fri Jun 22 11:01:54 IST 2012 -->
<TITLE>
de.fuberlin.wiwiss.d2rq.map (D2RQ)
</TITLE>
<META NAME="date" CONTENT="2012-06-22">
<LINK REL ="sty... | {
"content_hash": "e0ac34a6943458bfc0bb5ec9ad8eeb11",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 192,
"avg_line_length": 43.394366197183096,
"alnum_prop": 0.6299902629016553,
"repo_name": "vishalkpp/VirtualSPARQLer",
"id": "3c6570d970762b874b8d720723068adb62e958b2",
"... |
package tudarmstadt.lt.ABSentiment;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bin... | {
"content_hash": "d819e78f4369962b5db0a4ae088a4557",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 268,
"avg_line_length": 34.20627802690583,
"alnum_prop": 0.6367330886208705,
"repo_name": "tudarmstadt-lt/AB-Sentiment",
"id": "6d5dd893956a43641babf01be54ef1472e7724ab",
... |
@class OFRequestHandle;
@protocol OFLeaderboardDelegate;
//////////////////////////////////////////////////////////////////////////////////////////
/// The public interface for OFLeaderboard allows you to query leaderboars and submit
/// new scores to a leaderboard.
///////////////////////////////////////////////////... | {
"content_hash": "c4a8074769f99da7253c95da23460ae7",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 135,
"avg_line_length": 49.33103448275862,
"alnum_prop": 0.454494617642947,
"repo_name": "rauluranga/TotemBalance",
"id": "c6384806d606ba15f8ef8f81feb27e5c288ef74d",
"size... |
namespace StockSharp.Algo.Import
{
using System;
using System.Collections.Generic;
using System.Linq;
using Ecng.Collections;
using Ecng.Common;
using Ecng.ComponentModel;
using Ecng.Serialization;
/// <summary>
/// Importing field description.
/// </summary>
public abstract class FieldMapping : Notifiable... | {
"content_hash": "7923f84d6f248cc85232271d5f15ea55",
"timestamp": "",
"source": "github",
"line_count": 440,
"max_line_length": 118,
"avg_line_length": 24.90909090909091,
"alnum_prop": 0.641514598540146,
"repo_name": "StockSharp/StockSharp",
"id": "73294a1cae9155eab5173c387b485737cd757bda",
"size":... |
'''
Created on Apr 06, 2016
@author: Hisham
'''
from django.conf.urls import patterns, url, include
from messageboard.api import MessageBoardResource
message_board_resource = MessageBoardResource()
urlpatterns = patterns('',
url(r'^api/v1/', include(message_board_resource.urls)),
); | {
"content_hash": "243343f416ff1ede45eb266cc79aa599",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 61,
"avg_line_length": 22.46153846153846,
"alnum_prop": 0.7397260273972602,
"repo_name": "veerandev/demo",
"id": "bcbfdeeff05c19879f26c823d3859d4c905087b5",
"size": "292",
... |
angular.module('lotteryApp', []).controller('lotteryCtrl', function($scope, $http){
$scope.lottery_list = [];
return $http.get('http://192.168.199.239:3001/lottery').success(function(response){
var i$, ref$, len$, list;
$scope.lottery_list = response.result.lottery_list;
console.log($scope.lottery_list)... | {
"content_hash": "576eb02ea86e29cc5c896f4e4cf799f8",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 212,
"avg_line_length": 45.05263157894737,
"alnum_prop": 0.594626168224299,
"repo_name": "zlq32326/ZLQ",
"id": "d437240d03f20aca1057f3c219e01026a2a35423",
"size": "856",
... |
#region Copyright (c) 2015 KEngine / Kelly <http://github.com/mr-kelly>, All rights reserved.
// KEngine - Toolset and framework for Unity3D
// ===================================
//
// Filename: SpriteLoader.cs
// Date: 2015/12/03
// Author: Kelly
// Email: 23110388@qq.com
// Github: https://github.com/mr-kell... | {
"content_hash": "cdd082d7a37318845840f22e8b0b7343",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 94,
"avg_line_length": 29.91025641025641,
"alnum_prop": 0.6245177882554651,
"repo_name": "panshengneng/KXFramework",
"id": "cd6f3aee3bc7a06dcd0e2a1d88a9f73775e61312",
"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("Ch... | {
"content_hash": "4154d7d401e3adb544b3b8197580ccd0",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.25,
"alnum_prop": 0.7466383581033262,
"repo_name": "RAstardzhiev/Software-University-SoftUni",
"id": "6bd22998aedc3d955a312af0b1ecdc7864d8c666",
"... |
FactoryBot.define do
factory :e_way_client_province, class: "EWayClient::Province" do
sequence(:province_id) {|n| n}
sequence(:province_name_eng) {|n| "Eng province #{n}"}
sequence(:province_name_viet) {|n| "Viet province #{n}"}
response_code { "0000" }
end
end
| {
"content_hash": "98e884ccc08d693ab218dc2df968eaf9",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 66,
"avg_line_length": 28.4,
"alnum_prop": 0.647887323943662,
"repo_name": "imacchiato/e_way_client-ruby",
"id": "9fbed503551107307f6f7656067e135dcff4eed3",
"size": "284",
... |
$ps3Installed = $false
$PSVersion,$CLRVersion = powershell -NoProfile -NonInteractive -Command { $PSVersionTable.PSVersion ; $PSVersionTable.CLRVersion }
function Start-TestFixture
{
& (Join-Path -Path $PSScriptRoot -ChildPath '..\Import-CarbonForTest.ps1' -Resolve)
}
function Start-Test
{
$ps3Ins... | {
"content_hash": "ed1647b2e0e2a744cd663733a6f33b0e",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 130,
"avg_line_length": 32.70232558139535,
"alnum_prop": 0.5873986630635756,
"repo_name": "MattHubble/carbon",
"id": "3cad5ab9c746a4caa96313761a7bf5b123cc21dd",
"size": "7... |
layout: post
title: WooCommerce – Remove product category count
color: ''
image:
excerpt: Remove product count from category listings
tag: WooCommerce
redirect_from: /2015/10/remove-product-category-count/
---
Remove product count from category listings
add_filter( 'woocommerce_subcategory_count_html', '__return_... | {
"content_hash": "c0cb25416ff1b178b33e384a30dab949",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 73,
"avg_line_length": 23.714285714285715,
"alnum_prop": 0.7650602409638554,
"repo_name": "mikaelmattsson/mikaelmattsson.github.io",
"id": "aec38c20ae981b8ee1a876b4cb39c7fd00... |
declare namespace uevent {
interface Event {
readonly target: any;
readonly type: string;
readonly args: any[];
isDefaultPrevented(): boolean;
isPropagationStopped(): boolean;
preventDefault();
stopPropagation();
}
interface ValueEvent<T> extends... | {
"content_hash": "ffe5dcb0af6cb0f3cb55c9dd9e7e4907",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 103,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.6069620253164557,
"repo_name": "mistic100/microevent.js",
"id": "76bfa80aee4e3c3730e91e704ee9ca9aaa1d53ae",
"siz... |
package org.ansj.splitWord;
import java.io.IOException;
import java.io.Reader;
import java.util.LinkedList;
import java.util.List;
import org.ansj.domain.Term;
import org.ansj.domain.TermNature;
import org.ansj.domain.TermNatures;
import static org.ansj.library.DATDictionary.*;
import org.ansj.library.UserDefineLibra... | {
"content_hash": "d4803b6c11423c28df14cc6dfa7f79c4",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 99,
"avg_line_length": 19.988,
"alnum_prop": 0.6247748649189514,
"repo_name": "keyeqing/KBExtraction",
"id": "7dd90ab226c31c830c65e73f15ada54c81f5e779",
"size": "5185",
... |
namespace DataSpec::DNAMP3 {
struct ANIM : BigDNA {
AT_DECL_EXPLICIT_DNA
struct IANIM : BigDNAV {
Delete expl;
atUint32 m_version;
IANIM(atUint32 version) : m_version(version) {}
std::vector<std::pair<atUint32, std::tuple<bool, bool, bool>>> bones;
std::vector<atUint32> frames;
std::vecto... | {
"content_hash": "42272a957cddf55555e7bbbb8ffedfb7",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 118,
"avg_line_length": 27.67105263157895,
"alnum_prop": 0.6485972420351879,
"repo_name": "AxioDL/PathShagged",
"id": "d7cd97abaed10ef0221f985f68591db8452d20a8",
"size": "2... |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (16) on Thu Nov 03 10:43:13 MDT 2022 -->
<title>com.easypost.exception.General (com.easypost:easypost-api-client 5.10.0 API)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" con... | {
"content_hash": "5491390ceafe4164e7d361c513f62469",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 163,
"avg_line_length": 45.98076923076923,
"alnum_prop": 0.6859054788791301,
"repo_name": "EasyPost/easypost-java",
"id": "09d058f168f8d2eb47925c9d34a20073de377700",
"size... |
<?php
use Illuminate\Database\Eloquent\Model;
/**
* Class PostNotSluggable
*
* A test model that doesn't use the Sluggable package.
*/
class PostNotSluggable extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'posts';
/**
* Indica... | {
"content_hash": "5951cb4017a9cf202fa3395cf5c4c905",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 55,
"avg_line_length": 17.65625,
"alnum_prop": 0.5823008849557522,
"repo_name": "EspadaV8/eloquent-sluggable",
"id": "1fa916a030d3d36071e42eb1005cc61930753fd1",
"size": "56... |
import { Injectable } from '@angular/core';
import { GlobalState } from '../../../../global.state';
import { Http } from '@angular/http';
@Injectable()
export class CaseDetailModalService {
private demandListMatchStrUrl = this.Global.baseURL + '/api/project/demand';
private caseUrl = this.Global.baseURL + '/api/pr... | {
"content_hash": "cd54a591e5c04686e818761ea393acc0",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 95,
"avg_line_length": 32.61904761904762,
"alnum_prop": 0.6861313868613139,
"repo_name": "DXCChina/pms",
"id": "3c6645932f5476ce570754aa6b9a74177520ab4d",
"size": "1370",
... |
namespace MyStik.TimeTable.Data
{
public class SemesterSubscription : Subscription
{
public virtual SemesterGroup SemesterGroup { get; set; }
}
}
| {
"content_hash": "b87dd0040d719c234d0215fbbecc2c48",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 64,
"avg_line_length": 23.857142857142858,
"alnum_prop": 0.6946107784431138,
"repo_name": "AccelerateX-org/NINE",
"id": "65df0135a214ed0109f8ccedc524b9628ae49fc4",
"size": "... |
#import "UIImageView+WebCache.h"
#import "objc/runtime.h"
#import "UIView+WebCacheOperation.h"
static char imageURLKey;
static char TAG_ACTIVITY_INDICATOR;
static char TAG_ACTIVITY_STYLE;
static char TAG_ACTIVITY_SHOW;
@implementation UIImageView (WebCache)
- (void)sd_setImageWithURL:(NSURL *)url {
[self sd_se... | {
"content_hash": "4d0eb4c1e24a90c246a13c13251a1a37",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 252,
"avg_line_length": 42.88172043010753,
"alnum_prop": 0.6648278167836844,
"repo_name": "AzenXu/SDWebImage",
"id": "93e3bbc47699e5aba2584cc36d636b71671b8703",
"size": "1... |
#ifndef _JEMALLOC_JEMALLOC_TESTER_H_
#define _JEMALLOC_JEMALLOC_TESTER_H_
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#include "jemalloc_test.h"
#include "mempool_tester.h"
#include "lang_def.h"
#include "jemalloc/jemalloc.h"
#include <stdio.h>
#include <stdint.h>
/////////////////////////////... | {
"content_hash": "04eeec1c3d19b8382aa32bfd4b87302f",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 102,
"avg_line_length": 25.285714285714285,
"alnum_prop": 0.5457627118644067,
"repo_name": "shines77/jemalloc-win32",
"id": "1c327197a8de2f5eccdc74dc531e8b86c5fddc98",
"siz... |
//===- ObjCARCContract.cpp - ObjC ARC Optimization ------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | {
"content_hash": "c38e6ee96277bdcb677c13387ae28c0d",
"timestamp": "",
"source": "github",
"line_count": 750,
"max_line_length": 84,
"avg_line_length": 37.95733333333333,
"alnum_prop": 0.6231206969228608,
"repo_name": "endlessm/chromium-browser",
"id": "161bbde50ed6b29f6fc8351675ce64f618ed37e3",
"si... |
package ch.rasc.downloadchart;
public class JpegOptions {
public Integer quality;
}
| {
"content_hash": "56c613f54b684b021977e88c5e25ce71",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 30,
"avg_line_length": 14.5,
"alnum_prop": 0.7816091954022989,
"repo_name": "ralscha/downloadchart",
"id": "c54fb97f4ad40095f7494b7743c8644f754372ad",
"size": "705",
"bina... |
@interface MRAnimation : NSObject
+ (MRAnimation *)manager;
- (void)makeShakeWith:(UIView *)view duration:(CFTimeInterval)duration spacing:(NSTimeInterval)spacing;
- (void)makeRotateWith:(UIView *)view duration:(CFTimeInterval)duration repeatCount:(CGFloat)count axis:(NSString *)axis spacing:(NSTimeInterval)spacing;... | {
"content_hash": "0eb125b8c5017de0ea3e0756abba7c09",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 153,
"avg_line_length": 38.294117647058826,
"alnum_prop": 0.7757296466973886,
"repo_name": "liguotal/Guild",
"id": "8ecf2e24e28493ed194f0284311aca64386d586a",
"size": "878"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Thu Oct 13 19:29:17 UTC 2016 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class liquibase.diff.Obje... | {
"content_hash": "8e3400244cd0baca95e5eb9c726cd4b3",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 230,
"avg_line_length": 43.47586206896552,
"alnum_prop": 0.6451459390862944,
"repo_name": "ErpMicroServices/party-database",
"id": "078eaf10774407ab01cbd471a985b2882aeb4937"... |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Schema = mongoose.Schema,
crypto = require('crypto');
/**
* A Validation function for local strategy properties
*/
var validateLocalStrategyProperty = function(property) {
return ((this.provider !== 'local' && !this.updated) || pro... | {
"content_hash": "f39ae39338ea004a1bde5d54f2bcc701",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 78,
"avg_line_length": 17.364583333333332,
"alnum_prop": 0.6055788842231554,
"repo_name": "kalo09/DoorStep",
"id": "53e5db5b86c0d7199f2eb87f0f54c3fdfb3a5c1f",
"size": "333... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__new_wchar_t_fscanf_81.h
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__new.label.xml
Template File: sources-sinks-81.tmpl.h
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: fscanf Read data from the... | {
"content_hash": "f1806b041d4dd43279a799969dcf7ceb",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 133,
"avg_line_length": 28.1,
"alnum_prop": 0.7105575326215896,
"repo_name": "JianpingZeng/xcc",
"id": "800e2c5a62dfa2b92bffe2b3dba113c6f69047af",
"size": "1686",
"binary... |
typedef BOOL (WINAPI* LPFN_ISWOW64PROCESS)(HANDLE, PBOOL);
typedef const char* (CDECL* LPFN_WINE_GET_VERSION)(void);
static LPFN_ISWOW64PROCESS fnIsWow64Process = NULL;
static LPFN_WINE_GET_VERSION fnWineGetVersion = NULL;
namespace base {
bool is_wow64()
{
if (!fnIsWow64Process) {
fnIsWow64Process = (LPFN_ISW... | {
"content_hash": "9f9bc8fa692b9e7c39e7b9e48527bf85",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 58,
"avg_line_length": 24.305555555555557,
"alnum_prop": 0.6834285714285714,
"repo_name": "aseprite/laf",
"id": "678bb38ce89d04b4dddad97ee298782a86e4481a",
"size": "1114",
... |
package edu.ucdenver.ccp.datasource.identifiers.impl.bio;
import java.util.regex.Pattern;
import edu.ucdenver.ccp.datasource.fileparsers.CcpExtensionOntology;
import edu.ucdenver.ccp.datasource.identifiers.DataSource;
import edu.ucdenver.ccp.datasource.identifiers.Identifier;
import edu.ucdenver.ccp.datasource.ide... | {
"content_hash": "6d9a23e47a7e2038bcaca33f80357e85",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 95,
"avg_line_length": 30.727272727272727,
"alnum_prop": 0.6878698224852071,
"repo_name": "UCDenver-ccp/datasource",
"id": "9b145fb2ad58eb8412d08e7a10a6236d7298551b",
"size... |
import serial
import time
import random
from contextlib import contextmanager
class Gaugediuno(object):
def __init__(self, device=None, baudrate=None):
self.device = device or "/dev/tty.usbmodem1d11"
self.baudrate = baudrate or 28800
@contextmanager
def connect(self):
conn = Serial.init(self.device, self.bau... | {
"content_hash": "f1473fba3b088fd812a7879f09829fea",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 49,
"avg_line_length": 19.764705882352942,
"alnum_prop": 0.6884920634920635,
"repo_name": "clofresh/gaugeduino",
"id": "6332d4875bd37d13648b7e1e462bb6237d908cc1",
"size": "... |
<div>
<h1>{{name}}</h1>
<p><strong>Email:</strong> {{email}}</p>
<p>
<strong>Address:</strong>
{{address.street}}, {{address.city}}, {{address.state}}
</p>
<button class="btn btn-default" (click)="toggleHobbies()">{{showHobbies ? "Hide":"Show"}}</button>
<div *ngIf="showHobbies">
<h3>Hoobies<... | {
"content_hash": "11113fe6d05497e3c5332594c3352160",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 101,
"avg_line_length": 18.10909090909091,
"alnum_prop": 0.552710843373494,
"repo_name": "dexterns88/angular2-practice",
"id": "3d991865ba9c9af31087e7553ef8e54ffb7ca888",
... |
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="Notifications">
<CheckBoxPreference
android:defaultValue="true"
android:key="dailyNotification"
android:summary="Allow W... | {
"content_hash": "fa8f19e077da9ab5d6fd493653e732ab",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 102,
"avg_line_length": 44.30232558139535,
"alnum_prop": 0.647244094488189,
"repo_name": "xbhatnag/WatBalance",
"id": "933d02af7c2ab433678dde06ca1722d416ded9bc",
"size": "1... |
# ----------------------------------------
# DSGN 01: VIEW ENTERPRISE BRANDING AND DESIGN
# ----------------------------------------
param([string]$LogFolderPath)
$UserStory = "DSGN01"
$0 = $myInvocation.MyCommand.Definition
$CommandDirectory = [System.IO.Path]::GetDirectoryName($0)
$values = @{"User Story: " = $U... | {
"content_hash": "bf84152ae00077ad988223ffaabdfebe",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 60,
"avg_line_length": 26.92452830188679,
"alnum_prop": 0.4400840925017519,
"repo_name": "GSoft-SharePoint/Dynamite-Components",
"id": "bc44b567c2ab3368a3c3f16f2e6577548eed91... |
<!DOCTYPE html>
<!--
Copyright (c) 2013 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.
-->
<link rel="import" href="/ui/tracks/container_track.html">
<link rel="import" href="/base/sorted_array_utils.html">
<link rel="import"... | {
"content_hash": "0c68cb99b96257d57878302f385cd99f",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 76,
"avg_line_length": 26.513761467889907,
"alnum_prop": 0.5908304498269896,
"repo_name": "dstockwell/catapult",
"id": "dbb2707ed66933570306350347591e59ffee3a0e",
"size": ... |
from rest_framework import permissions
class IsOwnerOrReadOnly(permissions.BasePermission):
def has_object_permission(self, request, view, obj):
if request.method in permissions.SAFE_METHODS:
return True
return obj.owner == request.user
| {
"content_hash": "dc6631a3632fe76b2138a9b7750d88fc",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 56,
"avg_line_length": 33.875,
"alnum_prop": 0.7195571955719557,
"repo_name": "aginzberg/crowdsource-platform",
"id": "03a2362bf1efba265c40adc606db8d3eca7b2975",
"size": "27... |
module.exports = function(app) {
var express = require('express');
var zuoraRouter = express.Router();
zuoraRouter.post('/rest/v1/payment-methods/credit-cards', function(req, res) {
if (req.headers.signature && req.headers.token) {
res.status(200).send({
paymentMethodId: '2c92c8f83dcbd8b101... | {
"content_hash": "1347e8267eaa3a649c05d0f3f32dfc37",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 80,
"avg_line_length": 28.85,
"alnum_prop": 0.5979202772963604,
"repo_name": "CampusColiving/auth-blueprint-ember-cli",
"id": "2713a4d853677323f1e1585e157b3ec36b4da41b",
"s... |
CONFIG=${1:-config}
CONFIG_FILE="config/$CONFIG.sh"
function prepare_venv() {
python3 -m venv venv && source venv/bin/activate && python3 "$(which pip3)" install -r requirements.txt
}
[ "$NOVENV" == "1" ] || prepare_venv || exit 1
echo "Reading configuration from: $CONFIG_FILE"
# shellcheck source=config/config.sh
... | {
"content_hash": "25e5cdd7363b90979358a84b639b7811",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 238,
"avg_line_length": 31.763157894736842,
"alnum_prop": 0.7290803645401823,
"repo_name": "ldimaggi/fabric8-test",
"id": "629765bca45be0f3e4a6bc1e6e3f875074b90de8",
"size"... |
package de.danoeh.antennapod.adapter;
import android.graphics.drawable.Drawable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.bumptech.glide.Glide;
import com.bumptech.glide.load.resource.drawable.GlideDrawable;
import com.bumptech.glide.request.animation.Glide... | {
"content_hash": "fc1589495ce06010ffe156b78eaee726",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 114,
"avg_line_length": 38.68421052631579,
"alnum_prop": 0.7038548752834467,
"repo_name": "mfietz/AntennaPod",
"id": "ba6e7b25d248c8e6b2e651ab579dfea822c6b7be",
"size": "22... |
<?php
/**
* @file
* Contains \Drupal\Core\Template\TwigExtension.
*
* This provides a Twig extension that registers various Drupal specific
* extensions to Twig.
*
* @see \Drupal\Core\CoreServiceProvider
*/
namespace Drupal\Core\Template;
use Drupal\Core\Routing\UrlGeneratorInterface;
use Drupal\Core\Url;
us... | {
"content_hash": "20ff6a1b6393d87299e088c12b79ba7d",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 163,
"avg_line_length": 32.961089494163424,
"alnum_prop": 0.6515169401487427,
"repo_name": "ital-lion/Drupal4Lions",
"id": "511cefb9327c5c35c131263d7013074dd0e49370",
"siz... |
package io.futuristic.function;
/**
* @autor: julio
*/
public interface FunctionWithException<T, R> {
/**
* Applies this function to the given argument.
*
* @param t the function argument
* @return the function result
*/
R apply(T t) throws Exception;
}
| {
"content_hash": "f95a4720f8bfcb22ffbf6ecd8f7c5f4d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 51,
"avg_line_length": 19.4,
"alnum_prop": 0.6288659793814433,
"repo_name": "julman99/futuristic",
"id": "9a086c7efaf37a04674adb4bc4074992067adfe1",
"size": "291",
"binar... |
using System.Linq;
using RimWorld;
using UnityEngine;
using Verse;
namespace RWP
{
public class Designator_ForcedRepair : Designator
{
public Designator_ForcedRepair()
{
this.defaultLabel = "Designator_ForcedRepair".Translate();
this.defaultDesc = "Designator_ForcedRepairDesc".Translate();
this.icon = ... | {
"content_hash": "e77aeaad6a7ec8af2c390f68ab3305ef",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 99,
"avg_line_length": 21.844660194174757,
"alnum_prop": 0.7,
"repo_name": "DingoDjango/RefactoredWorkPriorities",
"id": "1105e6bcadf121a587c86951a00c51381a1646dc",
"size"... |
#include "OpDumper.h"
#include "RecordedOp.h"
namespace android {
namespace uirenderer {
#define STRINGIFY(n) #n,
static const char* sOpNameLut[] = BUILD_FULL_OP_LUT(STRINGIFY);
void OpDumper::dump(const RecordedOp& op, std::ostream& output, int level) {
for (int i = 0; i < level; i++) {
output << " ... | {
"content_hash": "e329f4859dc17400a8abf0c75ab60074",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 96,
"avg_line_length": 25.025641025641026,
"alnum_prop": 0.6034836065573771,
"repo_name": "xorware/android_frameworks_base",
"id": "ec9ffdeebb4c766a260aed1399f47012d48ce5ba",... |
using content::SiteInstance;
static const int kReadFilePermissions =
base::PLATFORM_FILE_OPEN |
base::PLATFORM_FILE_READ |
base::PLATFORM_FILE_EXCLUSIVE_READ |
base::PLATFORM_FILE_ASYNC;
static const int kEnumerateDirectoryPermissions =
kReadFilePermissions |
base::PLATFORM_FILE_ENUMERATE;
//... | {
"content_hash": "f6b474c5400fb9510ae02d55dad26ce7",
"timestamp": "",
"source": "github",
"line_count": 482,
"max_line_length": 80,
"avg_line_length": 32.68879668049792,
"alnum_prop": 0.6891977659304392,
"repo_name": "paul99/clank",
"id": "4111082194f3ac322a3fcf6982386f80a6742aab",
"size": "16446",... |
/*global describe: true, expect: true, it: true, jasmine: true */
describe("@constant tag", function() {
var docSet = jasmine.getDocSetFromFile('test/fixtures/constanttag.js');
var FOO = docSet.getByLongname('FOO')[0];
var BAR = docSet.getByLongname('BAR')[0];
var BAZ = docSet.getByLongname('BAZ')[... | {
"content_hash": "e1a759557116e3b2b14579b58fc185f3",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 100,
"avg_line_length": 37.833333333333336,
"alnum_prop": 0.5947136563876652,
"repo_name": "rodrigoramos/shaka-player",
"id": "e55778b6b2228f3aadb659219a21b024db9ffd61",
"s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.