text
stringlengths
2
1.04M
meta
dict
Constructing the translations model manually ============================================ It's also possible to create the translated fields model manually: .. code-block:: python from django.db import models from parler.models import TranslatableModel, TranslatedFieldsModel from parler.fields import Tra...
{ "content_hash": "3a13e27d052f518e3d129d4db10a4d23", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 83, "avg_line_length": 32.46875, "alnum_prop": 0.65832531280077, "repo_name": "HiddenData/django-parler", "id": "8d735100154d6bba5815d39c5e1299b29bbae76f", "size": "1039", ...
class ChartPanel { public: ChartPanel(); virtual ~ChartPanel(); // Public interface ////////////////////////////////////////////////////////////////////////// private: // Data members ////////////////////////////////////////////////////////////////////////// };
{ "content_hash": "f3b331cba13b4283684f006304eecd75", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 75, "avg_line_length": 15.526315789473685, "alnum_prop": 0.2745762711864407, "repo_name": "egorpushkin/neurolab", "id": "9103dea6892af49881e65eb3704e8d70981abba1", "size": ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="generator" content="HTML Tidy for Mac OS, see www.w3.org" /> <!-- testcase: h6_align_left.xml --> <!-- description: HTML 4.0...
{ "content_hash": "65f93cde7b18ea68e07eac618dc208e1", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 97, "avg_line_length": 14.991379310344827, "alnum_prop": 0.6630247268545141, "repo_name": "operasoftware/presto-testo", "id": "3196cc8c9af52bfe8ba79cf460ea7c2741af881b", "...
<html> <head> <script src="../http/tests/inspector/inspector-test.js"></script> <script src="../http/tests/inspector/network-test.js"></script> <script> function readBlob() { var reader = new FileReader(); reader.onloadend = function () { console.log('done'); }; reader.readAsArrayBuffer(new Blob...
{ "content_hash": "59a8b9f855e531b5901f26de4a234114", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 122, "avg_line_length": 26.615384615384617, "alnum_prop": 0.6685934489402697, "repo_name": "jtg-gg/blink", "id": "b727b84ae5e2de4ffd3f5fe0ecb1c20d506c6bdb", "size": "1038",...
package host import ( "bytes" "os/exec" "regexp" "strconv" "time" "github.com/weaveworks/scope/report" ) var ( loadRe = regexp.MustCompile(`load averages: ([0-9\.]+) ([0-9\.]+) ([0-9\.]+)`) uptimeRe = regexp.MustCompile(`up ([0-9]+) day[s]*,[ ]+([0-9]+)\:([0-9][0-9])`) ) // GetKernelReleaseAndVersion retu...
{ "content_hash": "005a0657da449191b09804a50c10d663", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 116, "avg_line_length": 26.162790697674417, "alnum_prop": 0.6502222222222223, "repo_name": "kinvolk/scope", "id": "24caa4b8bc9301b3e0e7d628c7a2fb86d34d4e31", "size": "2250"...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="FpsCounter.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // // </summary> // --------------------------------...
{ "content_hash": "01c28f5969a2b90cf42f0b0b09c897b9", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 120, "avg_line_length": 27.61467889908257, "alnum_prop": 0.4132890365448505, "repo_name": "CobraCalle/helix-toolkit", "id": "51307d128b6b073da2ad5bb077b2022c956ef6e3", "si...
package org.apache.hyracks.dataflow.std.map; import java.util.Random; import org.apache.hyracks.api.dataflow.IDataWriter; import org.apache.hyracks.api.exceptions.HyracksDataException; public class SamplerDeserializedMapperFactory implements IDeserializedMapperFactory { private static final long serialVersionUI...
{ "content_hash": "5359932160c21b991ba0fe5371ee0631", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 102, "avg_line_length": 31.266666666666666, "alnum_prop": 0.6791044776119403, "repo_name": "amoudi87/hyracks", "id": "d0e695c663694f143981f6b9e6f27fbbb16cd120", "size": "17...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <com.sxjs.common.widget.autosc...
{ "content_hash": "09fb323964870a880202e22711f8a8cd", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 72, "avg_line_length": 40.095238095238095, "alnum_prop": 0.7019002375296912, "repo_name": "liu-xiao-dong/JD-Test", "id": "8c8511f1c477220d298d51c3ed2c8c5d667ea6e4", "size":...
package org.apache.hadoop.fs.contract; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.BeforeClass; import org.juni...
{ "content_hash": "ca78cf43747d578079594fba4a9d456e", "timestamp": "", "source": "github", "line_count": 385, "max_line_length": 83, "avg_line_length": 29.083116883116883, "alnum_prop": 0.6730374207376976, "repo_name": "steveloughran/hadoop", "id": "ac9de6d7bfe8c6e1e0d1492a8ec38b97c223f66c", "size":...
package org.jhotdraw.samples.svg; import edu.umd.cs.findbugs.annotations.Nullable; import java.awt.Color; import java.awt.Component; import java.awt.event.ContainerEvent; import java.awt.event.ContainerListener; import java.awt.event.ItemEvent; import java.awt.event.ItemListener; import org.jhotdraw.draw.io.TextInput...
{ "content_hash": "84d7ce30ae9c9033c46e3fb1a59a1d19", "timestamp": "", "source": "github", "line_count": 586, "max_line_length": 139, "avg_line_length": 37.24061433447099, "alnum_prop": 0.625395225221097, "repo_name": "ahmedvc/umple", "id": "b3855dc5bca871eb8ff0d2de2ef31d681715a383", "size": "22173"...
 #pragma once #include <aws/medialive/MediaLive_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/medialive/model/CaptionSelectorSettings.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils name...
{ "content_hash": "c908c66d794971ec0a9fb5aa23ecff01", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 148, "avg_line_length": 35.3068783068783, "alnum_prop": 0.6924921324741495, "repo_name": "cedral/aws-sdk-cpp", "id": "3d0fa63192e08bcea1ad2f3e651ecda2da1ba78b", "size": "6...
package org.apache.sshd.server.x11; /** * Special marker interface used to signal to the forwarding filter that an exception * has been caught on the forwarded channel * * @author <a href="mailto:dev@mina.apache.org">Apache MINA SSHD Project</a> */ public interface X11ForwardingExceptionMarker { // nothing ...
{ "content_hash": "a4318d24fdd3f21b7c35836c5e401b92", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 85, "avg_line_length": 25.23076923076923, "alnum_prop": 0.7408536585365854, "repo_name": "lgoldstein/mina-sshd", "id": "0c2416cf84cf8da5b88b0b14b724345e367041b6", "size": "...
"""EmPOWER cell pool and cell classes.""" from empower.core.serialize import serializable_dict class CellPool(list): """Cell pool. Extends the list in order to add a few filtering and sorting methods """ def sort_by_rsrp(self, ue_id): """Return list sorted by rsrp for the specified address....
{ "content_hash": "5dd5c237046300ce254d308385d901a5", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 72, "avg_line_length": 27.19298245614035, "alnum_prop": 0.5590322580645162, "repo_name": "rriggio/empower-runtime", "id": "23f33be5d7d6fce6738ea6b8225e13cfed4cfe4e", "size...
Kitchen Sync ============ ### Goal Build your first Couchbase Mobile app in just a few minutes! Take an existing Android application and add data persistence along with offline support with Sync-ing abilities! ![Application Architecture](https://raw.githubusercontent.com/couchbaselabs/mini-hacks/master/kitchen-sync/...
{ "content_hash": "3c47f8cd384c1a857c5ddd22dce4cf7d", "timestamp": "", "source": "github", "line_count": 303, "max_line_length": 160, "avg_line_length": 36.62706270627063, "alnum_prop": 0.6498468192467112, "repo_name": "dhartwich1991/mini-hacks", "id": "d2c9595756e7d4ab48222a9b0a5636ee9b991bfb", "si...
package filters import ( "errors" "fmt" "net/http" "time" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apiserver/pkg/authentication/authenticator" "k8s.io/apiserver/pkg/endpoints/handlers/responsewriters" genericapireques...
{ "content_hash": "4b4c4b2baf5f7935bbced2142d188b14", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 142, "avg_line_length": 33.97530864197531, "alnum_prop": 0.7452761627906976, "repo_name": "luxas/kubernetes", "id": "2af72f458f3062837c77069ed01c0951fd62915a", "size": "332...
#ifndef itkLevelSetVelocityNeighborhoodExtractor_h #define itkLevelSetVelocityNeighborhoodExtractor_h #include "itkLevelSetNeighborhoodExtractor.h" namespace itk { /** \class LevelSetVelocityNeighborhoodExtractor * \brief Locate pixels of a particular level set. * * LevelSetVelocityNeighborhoodExtractor extends t...
{ "content_hash": "1cf731bac66fa4d094f9704434d4c361", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 93, "avg_line_length": 33.71212121212121, "alnum_prop": 0.7503370786516854, "repo_name": "zachary-williamson/ITK", "id": "0942434c5aaf29434e8efee6d9db655056bd0333", "size"...
layout: model title: Typo Detector for Icelandic author: John Snow Labs name: distilbert_token_classifier_typo_detector date: 2022-01-19 tags: [typo, distilbert, icelandic, token_classification, is, open_source] task: Named Entity Recognition language: is edition: Spark NLP 3.3.4 spark_version: 3.0 supported: true anno...
{ "content_hash": "495dc534557b03cf03ff0599720f1b04", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 310, "avg_line_length": 30.322834645669293, "alnum_prop": 0.7115035055829655, "repo_name": "JohnSnowLabs/spark-nlp", "id": "5870be75188027a8aef987f91c384dcdfd64f7df", "siz...
class TagsController < ApplicationController def auto_complete_responder tags = Tag.find(:all, :conditions => [ 'name LIKE ?', '%' + params[:tag] + '%'], :order => 'name ASC', :limit => 8) if tags render :partial => 'auto_complete_responder', ...
{ "content_hash": "dc108a02493d61e3277ab898dcf28f75", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 78, "avg_line_length": 25.63157894736842, "alnum_prop": 0.4537987679671458, "repo_name": "prefeiturasp/controladoriacidada", "id": "4cdf3e66e8ce7cbc61765be56cc6e41ca90e67c0",...
"""Tools to work with checkpoints.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import six from tensorflow.python.ops import io_ops from tensorflow.python.ops import state_ops from tensorflow.python.ops import variable_scope as vs from tensorflow.pyt...
{ "content_hash": "ed06d7f30cdd00d65a5c2f31c9c37a4a", "timestamp": "", "source": "github", "line_count": 314, "max_line_length": 102, "avg_line_length": 39.554140127388536, "alnum_prop": 0.6485507246376812, "repo_name": "vrv/tensorflow", "id": "ffa39b77930ca42c735caf4bc76c4bdcf783a8dd", "size": "131...
using UnityEngine; using System.Collections; public class PackMunition : MonoBehaviour { public int nombreDeMunitions; void Start () { } void Update () { } void OnTriggerEnter(Collider col) { if (col.tag == "Player") { col.GetComponent<Joueur>().Munition += nombr...
{ "content_hash": "13578c1f8abc916c31c6f9f4437eb5a6", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 69, "avg_line_length": 14.296296296296296, "alnum_prop": 0.582901554404145, "repo_name": "KevinBulme/PillsWar", "id": "2d7083bb65a072bb006c6d38d1a86c23f000f13c", "size": "3...
"""Node classes for the AST for a Mojo IDL file.""" # Note: For convenience of testing, you probably want to define __eq__() methods # for all node types; it's okay to be slightly lax (e.g., not compare filename # and lineno). You may also define __repr__() to help with analyzing test # failures, especially for more c...
{ "content_hash": "af48331556017e8e95aec9764bf77081", "timestamp": "", "source": "github", "line_count": 414, "max_line_length": 80, "avg_line_length": 35.28502415458937, "alnum_prop": 0.6645673603504929, "repo_name": "endlessm/chromium-browser", "id": "c9b6605cf43a4a1a25efefbbbb4ce52ac3477f8e", "si...
//----------------------------------------------------------------------- // <copyright file="EsentDatabaseException.cs" company="The Phantom Coder"> // Copyright The Phantom Coder. All rights reserved. // </copyright> //---------------------------------------------------------------------- namespace Daytona.Store...
{ "content_hash": "d4ec9cf0a613522279e8d40225e10069", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 112, "avg_line_length": 35.421052631578945, "alnum_prop": 0.5661218424962853, "repo_name": "nanderto/Daytona", "id": "ae64daadcb72181347a8249cdbca0c766b1a712e", "size": "20...
/* card marking write barrier. a card is a byte storing a mark flag, and the offset (in cells) of the first object in the card. the mark flag is set by the write barrier when an object in the card has a slot written to. the offset of the first object is set by the allocator. */ /* if CARD_POINTS_TO_NURSERY is set, C...
{ "content_hash": "4180b2921dc55c0d4e147753cacecb52", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 105, "avg_line_length": 31.833333333333332, "alnum_prop": 0.7010947168015231, "repo_name": "jwmerrill/factor", "id": "be75d189de4f7bd2a8b52bdb7a5cd52cc76e70de", "size": "21...
class Nanoc::Extra::Checking::Checks::StaleTest < Nanoc::TestCase def check_class Nanoc::Extra::Checking::Checks::Stale end def calc_issues site = Nanoc::Int::SiteLoader.new.new_from_cwd runner = Nanoc::Extra::Checking::Runner.new(site) runner.run_checks([check_class]) end def test_run_ok ...
{ "content_hash": "11521d8d9b9954665222cc997dcc1485", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 122, "avg_line_length": 31.476923076923075, "alnum_prop": 0.6070381231671554, "repo_name": "barraq/nanoc", "id": "0fde96f4c7878fdb886243fcfc0eb208af28fb66", "size": "2046",...
class GURL; @class NSDictionary; namespace web { struct FaviconStatus; struct Referrer; struct SSLStatus; // A NavigationItem is a data structure that captures all the information // required to recreate a browsing state. It represents one point in the // chain of navigation managed by a NavigationManager. class Nav...
{ "content_hash": "7dec359ca80f97df531877e131de8fea", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 80, "avg_line_length": 43.63934426229508, "alnum_prop": 0.7092411720510894, "repo_name": "endlessm/chromium-browser", "id": "271ef2ffd7eab3509fadd0c38c45e6263aabbefd", "si...
namespace Microsoft.Azure.Management.DataFactory.Models { using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// <summary> /// MariaDB server linked service. /// </summary> ...
{ "content_hash": "d58f4b5143964c8c53917d35a09ccb28", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 567, "avg_line_length": 44.51063829787234, "alnum_prop": 0.6453154875717018, "repo_name": "shahabhijeet/azure-sdk-for-net", "id": "e4db1314305e99fbc4053a70013a728251046257", ...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2013 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/license...
{ "content_hash": "22669b686706ef4058261a73b7ca202b", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 451, "avg_line_length": 48.622950819672134, "alnum_prop": 0.6844234659474039, "repo_name": "NorthFoxz/react-native-camera-android", "id": "a361cef0654efc7fae877e71e25beebd410...
<!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 (1.8.0_101) on Mon Sep 19 15:00:28 UTC 2016 --> <title>org.springframework.aop (Spring Framework 4.3.3.RELEASE API)</title><script>var _hmt = _hmt || ...
{ "content_hash": "c6fe2f1cebd9c26dc30577196af533a0", "timestamp": "", "source": "github", "line_count": 316, "max_line_length": 323, "avg_line_length": 45.37341772151899, "alnum_prop": 0.702887431998884, "repo_name": "piterlin/piterlin.github.io", "id": "a7c4883501f243db0fc96f1c32ef1f4bdfae9a35", "...
<div class='vzb-dialog-modal'> <span class="thumb-tack-class thumb-tack-class-ico-pin fa" data-dialogtype="axesmc" data-click="pinDialog"></span> <span class="thumb-tack-class thumb-tack-class-ico-drag fa" data-dialogtype="axesmc" data-click="dragDialog"></span> <div class="vzb-dialog-title"> <%=t (...
{ "content_hash": "b8db3700feef0aa16de4362c3c239c9b", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 120, "avg_line_length": 45.02439024390244, "alnum_prop": 0.5411700975081257, "repo_name": "alliance-timur/vizabi", "id": "1c5274acfecf1c08ee5a7c4203c2541010ee2af5", "size":...
$(document).ready(function() { $("label").inFieldLabels(); $("select").each().change(function(){ $('label[for="reason"]').hide(); }); });
{ "content_hash": "ec73273f0acd7fc86871937b5c26d1b9", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 39, "avg_line_length": 24.833333333333332, "alnum_prop": 0.5436241610738255, "repo_name": "ner0tic/daviddurost.net", "id": "e5cc3a019bbb3791ff681ec92454872df62492de", "size"...
data Enc a = Single a | Multiple Int a deriving (Show) encodeDirect :: Eq a => [a] -> [Enc a] encodeDirect [] = [] encodeDirect (x:xs) = encodeDirect' (Single x) xs where encodeDirect' x [] = [x] encodeDirect' (Single x) (y:ys) | x == y = encodeDirect' (Multiple 2 x) ys encode...
{ "content_hash": "a042c31d9b9b9f50dc9b5ea9538c4cb1", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 64, "avg_line_length": 43.27272727272727, "alnum_prop": 0.5546218487394958, "repo_name": "alephnil/h99", "id": "fd94b8e621bd1112e77c82fbec8d11646196f835", "size": "476", ...
Softmax Function ---------------- .. automodule:: Term_1.TensorFlow_3.softmax_7 :members: :undoc-members: :show-inheritance: :private-members:
{ "content_hash": "7abdcacb38180234e937e155baf44fde", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 45, "avg_line_length": 19.375, "alnum_prop": 0.6258064516129033, "repo_name": "akshaybabloo/Car-ND", "id": "4c0bbdf55ceb474682af3b3e680a555dffd59624", "size": "155", "bina...
@implementation UserTrainDB //重写初始化 - (instancetype)init { self = [super init]; if (self) { self.dataBase = [FMDBManager shareInstanceWithDBName:DATABASENAME].dataBase; } return self; } //创建表 - (void)createDataTable { //查询数据表中的元素个数 FMResultSet *set = [self.dataBase executeQuery:[N...
{ "content_hash": "29e0671d1a642b7d2e4fe64dd530dc3d", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 184, "avg_line_length": 30.759493670886076, "alnum_prop": 0.6502057613168725, "repo_name": "MoDaBao/No-Fat", "id": "9386acd26c84a54d63a47dcbe1799fdd949d2864", "size": "2778...
<!doctype html> <html lang="es"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="Somos una comunidad que reúne a varias comunidades de El Salvador enfocadas en diferentes tecnologías."> <meta name="viewport" content="width=device-wi...
{ "content_hash": "a318ef1c3cc05d262c809ddd7082f250", "timestamp": "", "source": "github", "line_count": 206, "max_line_length": 400, "avg_line_length": 49.21844660194175, "alnum_prop": 0.6009468389387513, "repo_name": "devs-sv/devs-landing", "id": "f79e3275c2b50af5e2deb91ba023039bf91620bb", "size":...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.ctrip.framework.xpipe.redis</groupId> <artifactId>r...
{ "content_hash": "bdba03198bc2e865ca278e756e332eb4", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 104, "avg_line_length": 29.523364485981308, "alnum_prop": 0.7027540360873694, "repo_name": "ctripcorp/x-pipe", "id": "b51a5f41eaee23e400a51279d07b81b0ab1deafc", "size": "3...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const faWandMagicSparkles: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const...
{ "content_hash": "b4e0947971f0a69ad8ee91fc46b8ddae", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 93, "avg_line_length": 41.72727272727273, "alnum_prop": 0.7995642701525054, "repo_name": "GoogleCloudPlatform/prometheus-engine", "id": "80c87d00d1dee7ba5fe2111332866f8d076cc...
// *********************************************************************** // Copyright (c) 2007 Charlie Poole, Rob Prouse // // 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 restr...
{ "content_hash": "d53b4b3e3833da19b934461611dfe0b6", "timestamp": "", "source": "github", "line_count": 357, "max_line_length": 159, "avg_line_length": 37.787114845938376, "alnum_prop": 0.5320978502594514, "repo_name": "ggeurts/nunit", "id": "5f3c70e1723603f3ea17c257d2b543a5c6a27cd5", "size": "1349...
include(Platform/AIX-XL-Fortran)
{ "content_hash": "4a469c2923ecff35492e887aea9d2362", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 32, "avg_line_length": 34, "alnum_prop": 0.7941176470588235, "repo_name": "dava/dava.engine", "id": "3d1f297e1635149a891df65da595ecdf3df3adec", "size": "34", "binary": fal...
<!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_65) on Thu Jan 22 19:02:37 GMT 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class org.a...
{ "content_hash": "ecfbf2305a229bbdf7ef4391936c2c11", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 211, "avg_line_length": 42.87179487179487, "alnum_prop": 0.6385566188197768, "repo_name": "stain/incubator-taverna-site", "id": "e781d90db3778658ab6aea4d5b7b283ffc139538", ...
using System; using Xunit; using Quartz.DynamoDB.DataModel.Storage; using Quartz.DynamoDB.DataModel; using System.Linq; using System.Collections.Generic; using Amazon.DynamoDBv2.Model; namespace Quartz.DynamoDB.Tests.Integration.Repository { /// <summary> /// Contains tests for the repository class. /// </...
{ "content_hash": "7c4c3cb27a11406cddf1480da917d814", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 107, "avg_line_length": 31.53205128205128, "alnum_prop": 0.5377109168530189, "repo_name": "lukeryannetnz/quartznet-dynamodb", "id": "1567f66f9e981fc4687b8eeb2691fd4058885985...
import React from 'react'; import ProfileEditor from './profile-editor.react'; import RequestSubmitButton from '../common/request-submit-button.react'; import RequestMessage from '../common/request-message.react' import {requestStates} from '../../../core/request-states'; import {StandardAjaxRequest} from '../../utils...
{ "content_hash": "68d6777fa9a8e0a2054362b4dd4d948d", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 72, "avg_line_length": 27.98936170212766, "alnum_prop": 0.5389585708855948, "repo_name": "NYCSwan/whats-up", "id": "3a980610a04a52f14b5acf388429becd03ae46a1", "size": "2631...
// // eLongHotelDetailModel.h // ElongClient // // Created by Dawn on 15/1/22. // Copyright (c) 2015年 elong. All rights reserved. // #import "eLongResponseBaseModel.h" #import "eLongHotelDetailGroupModel.h" @interface eLongHotelDetailModel : eLongResponseBaseModel /** * 酒店名称 */ @property (nonatomic,copy) NSStr...
{ "content_hash": "df07be119ea617cac4638866ba58d4cc", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 86, "avg_line_length": 17.48087431693989, "alnum_prop": 0.6905282900906533, "repo_name": "sky15179/Debug", "id": "c0e5b45a64d49c5e95c1b5d1fbc474d0660ee033", "size": "3631"...
package org.everit.password.encryptor.pbkdf2.ecm.internal; import java.util.Dictionary; import java.util.Hashtable; import org.everit.credential.encryptor.CredentialEncryptor; import org.everit.credential.encryptor.CredentialMatcher; import org.everit.osgi.ecm.annotation.Activate; import org.everit.osgi.ecm.annotati...
{ "content_hash": "95951fa348ae31e76eb4af2463611800", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 100, "avg_line_length": 46.2, "alnum_prop": 0.758893280632411, "repo_name": "everit-org/password-encryptor-pbkdf2-ecm", "id": "b0a21c40e611ed6c3014f44630a8fc98681123ce", "...
@interface RTActivityPoint : NSObject @property (nonatomic, strong) NSNumber *value; @property (nonatomic, strong) NSDate *timestamp; - (instancetype)initWithValue:(NSInteger)value timestamp:(NSDate *)ts; @end
{ "content_hash": "e4374f5c0f95f05bfc1a9aa98bbde0f6", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 70, "avg_line_length": 26.625, "alnum_prop": 0.7746478873239436, "repo_name": "radianttap/RTGraphLayout", "id": "9d07672306a62fa2ceaff1e9861c6b1dd0d75405", "size": "403", ...
<?php namespace Propel\Tests\Runtime\ActiveQuery; use Propel\Tests\Helpers\Namespaces\NamespacesTestBase; use Propel\Runtime\ActiveQuery\ModelCriteria; /** * Test class for ModelCriteria with namespaces. * * @author Pierre-Yves LEBECQ <py.lebecq@gmail.com> */ class ModelCriteriaWithNamespaceTest extends Names...
{ "content_hash": "f5767683d725b85af7b6d839d2fc037c", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 154, "avg_line_length": 43.095238095238095, "alnum_prop": 0.6662983425414365, "repo_name": "kitsunde/Propel2", "id": "3e87d1559ae131e406aa985c3e5bc767d2feae72", "size": "29...
Some example direct detection experiment files.
{ "content_hash": "72fb259338b13e1b9dc6194a5ed7f602", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 47, "avg_line_length": 47, "alnum_prop": 0.8723404255319149, "repo_name": "bradkav/AntiparticleDM", "id": "85aa6b3a2f485999857fe208fbe77e0de39c6dc8", "size": "58", "binary...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE401_Memory_Leak__malloc_realloc_twoIntsStruct_02.c Label Definition File: CWE401_Memory_Leak__malloc_realloc.label.xml Template File: point-flaw-02.tmpl.c */ /* * @description * CWE: 401 Memory Leak * Sinks: * GoodSink: Ensure the memory block pointed to ...
{ "content_hash": "77179068fb805566e7ed72ed353ea917", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 93, "avg_line_length": 30.263513513513512, "alnum_prop": 0.5385130609511052, "repo_name": "JianpingZeng/xcc", "id": "09f2105e1dbaefa5229a2d9c2d1d689e0806b5a7", "size": "44...
window.onload = function() { checkDefaultValues(); printTest( new CPPEmitter(), document.body.children[0], document.body.children[1], document.body.children[2]); printTest( new JavaEmitter(), document.body.children[0], document.body.children[1], document.body.ch...
{ "content_hash": "0757b318164e4f9bf640b71169c97919", "timestamp": "", "source": "github", "line_count": 545, "max_line_length": 96, "avg_line_length": 31.605504587155963, "alnum_prop": 0.6183454281567489, "repo_name": "facebook/css-layout", "id": "12e76f33baeda6420ad830eb4d65abc89c5bbb9a", "size": ...
module ActiveRecord module ConnectionAdapters module Redshift module OID # :nodoc: class Decimal < Type::Decimal # :nodoc: def infinity(options = {}) BigDecimal.new("Infinity") * (options[:negative] ? -1 : 1) end end end end end end
{ "content_hash": "ecd5f75a862c33c348de336ebf6aca27", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 70, "avg_line_length": 23.46153846153846, "alnum_prop": 0.5639344262295082, "repo_name": "khwangster/activerecord4-redshift-adapter", "id": "57d3d1b803bfbcf7dff77354dec847a90...
// // Copyright (c) 2008-2018 the Urho3D project. // // 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, m...
{ "content_hash": "498b72e12897b6fe77339c88415c9d56", "timestamp": "", "source": "github", "line_count": 254, "max_line_length": 124, "avg_line_length": 38.92125984251968, "alnum_prop": 0.6708476633623306, "repo_name": "kostik1337/Urho3D", "id": "82aa7595552f97358cfc06d78d3b4a4d810bb526", "size": "9...
package me.wayne.leetcodetop100.listnode; import me.wayne.leetcodetop100.ListNode; /** * 给你链表的头结点 head ,请将其按 升序 排列并返回 排序后的链表 。 * <p> * https://leetcode-cn.com/problems/sort-list/ */ public class LC148_SortList { public ListNode sortList(ListNode head) { if (head == null || head.next == null) { ...
{ "content_hash": "0187aea81a5a525a538fcac39e8035a4", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 64, "avg_line_length": 26.557142857142857, "alnum_prop": 0.4658418504572351, "repo_name": "wmh-demos/Secret", "id": "374b18a98ac5e150fd5e0011055336a569bd76c9", "size": "191...
<?php /* * 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. */ global $Tools_model; ?> <div class="row"> <div class="col s12" style="font-weight: bold;font-size: 120%;">Sent detail.</di...
{ "content_hash": "40d10ffe26c31f70532987b419cf2913", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 86, "avg_line_length": 32.76923076923077, "alnum_prop": 0.5334507042253521, "repo_name": "thanaphutBenz/sourcing", "id": "f4a84bda8362c870001953c34de38e47a3be3440", "size":...
// Copyright 2012 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unl...
{ "content_hash": "f590ab52d825aed333c4f2084912b429", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 78, "avg_line_length": 29.60759493670886, "alnum_prop": 0.6930312099187687, "repo_name": "be1be1/appinventor-polyu", "id": "4a8928efa07ec13cc0a26cd316dff9c52d2c0e38", "size...
package org.apache.camel.language; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Base annotation for language expressions. */ @Retention(RetentionPolicy.R...
{ "content_hash": "a70afbdfefb5bbf3706308cce7b5452c", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 74, "avg_line_length": 26.526315789473685, "alnum_prop": 0.7956349206349206, "repo_name": "kevinearls/camel", "id": "bcc94f6eafb2fa3d8b6f073cdfea119d4eec0c92", "size": "130...
package cn.intelvision.response.vqds; import cn.intelvision.response.ZenoResponse; /** * Created by pc on 2016/3/16. */ public class VqdsRemoveImageResponse extends ZenoResponse { private boolean success; private int removed; public boolean isSuccess() { return success; } public int g...
{ "content_hash": "9b4ff8cf1f38eae85ec32cd18156699c", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 59, "avg_line_length": 17.476190476190474, "alnum_prop": 0.6784741144414169, "repo_name": "zeno-tech/intelvision-sdk-java", "id": "8d2fcc9b53dbd990820108b1115338f28243662b", ...
package ru.org.codingteam.keter.game case class Faction(name: String)
{ "content_hash": "0f1a82fc8ea98111fad4305b678eac4a", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 36, "avg_line_length": 23.333333333333332, "alnum_prop": 0.8142857142857143, "repo_name": "codingteam/Keter", "id": "cc9be47f0f9f2b0c70de49d517e5796c07a24936", "size": "70",...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; using System.Web.Mvc; namespace AdsListing.Models { public class EditUserViewModel { public ApplicationUser User { get; set; } public string Password { get; set; } [Displ...
{ "content_hash": "f46ccf6c870f9f1362acb6668ae969d3", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 72, "avg_line_length": 24, "alnum_prop": 0.6685606060606061, "repo_name": "kemeh/AdsListing.NET", "id": "b19b4e7fd314ab12f6e6296f113e5ea19796e9b4", "size": "530", "binary...
@extends('backend::layout') @section('page_header', trans("backend.profile.profile")) @section('page_description', trans("backend.profile.edit")) @section('content') <div class="panel panel-default"> {!! Form::model($admin, ['method' => 'PATCH', 'route' => ['zxadmin.update']]) !!} <div class="panel-body"> ...
{ "content_hash": "71aec033829d80211c36cacb36f153e0", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 141, "avg_line_length": 46.82222222222222, "alnum_prop": 0.5733270052206929, "repo_name": "indesign47/core", "id": "a186e7fd84278c344906c15210100bccd9fae808", "size": "2107...
In this example we will walk you through the use of pretraining to transfer learned weights from a trained model to a new model. The code for transfering pretrained weights for a fully-connected network is in `fnet_pretraining.py`. To run this example, execute the following command in your shell ``` python fcnet_pret...
{ "content_hash": "e100dd418fee61a99b795ef273a1a301", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 64, "avg_line_length": 33.5, "alnum_prop": 0.7910447761194029, "repo_name": "deepchem/deepchem", "id": "393466fe90db4b74a8254436cff6e84115fed999", "size": "358", "binary"...
@implementation UIImage (UIImage_ImmediateLoading) + (UIImage *)imageImmediateLoadWithContentsOfFile:(NSString *)path { return [[UIImage alloc] initImmediateLoadWithContentsOfFile:path]; } - (UIImage *)initImmediateLoadWithContentsOfFile:(NSString *)path { UIImage *image = [[UIImage alloc] initWithContentsOfF...
{ "content_hash": "2c9707ed5e7c7d6c737cfe9c26903a4f", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 113, "avg_line_length": 44.6, "alnum_prop": 0.6385650224215247, "repo_name": "NghiaTranUIT/energy", "id": "fa3b884caf345006241ae302930e5a728ff0be65", "size": "2359", "bin...
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" > <suite name="Super Regression" verbose="1" parallel="true"> <test name="test1"> <groups> <define name="all"> <include name="unit"/> </define> <run> <include name="all"/> </run> </groups> <classes> ...
{ "content_hash": "118c0dd41f08c52c936e91f4cf9f55f0", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 87, "avg_line_length": 25.647058823529413, "alnum_prop": 0.591743119266055, "repo_name": "mtang35/uberscrum-services", "id": "ad5df2e4e7ea0edef8e037cafd01dd7197a2e50e", "si...
/////////////////////////////////////////////////////////////////////////////// // // @@@ START COPYRIGHT @@@ // // 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 o...
{ "content_hash": "49e29b28d35b50223c215ac1dfa86fbc", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 83, "avg_line_length": 41.707692307692305, "alnum_prop": 0.4953891552932497, "repo_name": "mashengchen/incubator-trafodion", "id": "5659f31692ab94557ca2866ba9157939107f88f4"...
package org.hope6537.note.design.visitor.example; /** * 抽象元素 */ public abstract class AbstractElement { public abstract void doSomething(); public abstract void accept(Visitor visitor); }
{ "content_hash": "4c2bf42be5a266cd9246a84a79b710a9", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 49, "avg_line_length": 16.833333333333332, "alnum_prop": 0.7277227722772277, "repo_name": "Hope6537/hope-tactical-equipment", "id": "966d4735258e46d597c4a541e5af6ff3bcef303b"...
<?php namespace ApiPlatform\Core\Hal\Serializer; use ApiPlatform\Core\Api\ResourceClassResolverInterface; use ApiPlatform\Core\DataProvider\PaginatorInterface; use ApiPlatform\Core\Serializer\ContextTrait; use ApiPlatform\Core\Util\IriHelper; use Symfony\Component\Serializer\Normalizer\NormalizerAwareInterface; use...
{ "content_hash": "460d4a9150c3adf1f3105f1448802ce2", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 149, "avg_line_length": 35.083333333333336, "alnum_prop": 0.6078120876220638, "repo_name": "yoan-durand/test-api-platform", "id": "a418f3fd1cd7bb8492fc6d7a09f7eea80c4a844b",...
'use strict'; var assert = require('assert'), sinon = require('sinon'), http = require('http'), init = require('./init'), common = require('../../lib/routes/common'), refresh = require('../../lib/routes/refresh'); /* jshint unused: false */ suite('refresh', function () { test('test_get_re...
{ "content_hash": "ffebe8b6f16558406a3d64dc93fc8b71", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 72, "avg_line_length": 23.640625, "alnum_prop": 0.5565102445472571, "repo_name": "Fiware/ops.Health", "id": "ab8c404694b355e7235a02345639074917de36d0", "size": "2139", "b...
<?php declare(strict_types = 1); namespace Go\Aop\Framework; use RuntimeException; class AfterThrowingInterceptorTest extends AbstractInterceptorTest { public function testAdviceIsNotCalledAfterInvocation() { $sequence = []; $advice = $this->getAdvice($sequence); $invocation ...
{ "content_hash": "af10dd5194384086ff21c61f5f5b47fb", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 114, "avg_line_length": 31.45, "alnum_prop": 0.6391096979332274, "repo_name": "goaop/framework", "id": "3123c4dbb6283b7c32c6643d0d823948862d880b", "size": "1476", "binary...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace _05.CompareElementWithNeighbours { class CompareElementWithNeighbours { static void Main(string[] args) { } } }
{ "content_hash": "a9613075ea4cef0651211e521bc57fde", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 42, "avg_line_length": 18.4, "alnum_prop": 0.6920289855072463, "repo_name": "PolyaNM/TelerikAcademy", "id": "e7716ac853298a303464b58839bb9f7619c198b3", "size": "278", "bi...
function problem1(form) { var numbers=[]; var counter; for (counter=0;counter<20;counter+=1){ numbers.push(counter * 5); console.log(counter +" - >" + numbers[counter]); } } function problem2(form) { var isEqual = false; var line1= form.secondArray1.value; var line2= form.se...
{ "content_hash": "2f60fb928566a18a91ae6a3abe5874b9", "timestamp": "", "source": "github", "line_count": 217, "max_line_length": 159, "avg_line_length": 28.17511520737327, "alnum_prop": 0.543179587831207, "repo_name": "emilti/Telerik-Academy-My-Courses", "id": "ca54724d469b848f0127b6ada5f7c6e5cebb5e3b...
package com.thinkbiganalytics.policy.rest.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * Represents a given validation policy/rule that should be applied to a given field upon ingest. * Refer to the {@link FieldValidationRuleBuilder} for building this object */ @JsonIgnoreProperties(i...
{ "content_hash": "b33d59b84e63fc279288a27eb65c3d20", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 97, "avg_line_length": 28.857142857142858, "alnum_prop": 0.806930693069307, "repo_name": "claudiu-stanciu/kylo", "id": "10f53a6a64a56e09135ac5beaf72ae2de360548c", "size": "...
module.exports = (docLevel, level) => docLevel.split('.').length === (level + 1);
{ "content_hash": "f3d2ffe409df2d49e431812c9811a253", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 81, "avg_line_length": 82, "alnum_prop": 0.6219512195121951, "repo_name": "WarpWorks/warpjs", "id": "9261994dc773fa569d46606a318b4527ba6aec25", "size": "82", "binary": fal...
ACCEPTED #### According to Index Fungorum #### Published in Can. J. Bot. 67(5): 1554 (1989) #### Original name Phaeosphaeria pulchra Shoemaker & C.E. Babc. ### Remarks null
{ "content_hash": "ce77f1a3e251ceeee2fc0504954ee704", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 44, "avg_line_length": 13.538461538461538, "alnum_prop": 0.6761363636363636, "repo_name": "mdoering/backbone", "id": "95d383c5903a1c82f37c6aa8ed0aa1f747c0a704", "size": "24...
package com.huawei.esdk.tp.professional.local.impl.autogen; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xm...
{ "content_hash": "77df81d487fb9233895160a46b399b9c", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 135, "avg_line_length": 28.78846153846154, "alnum_prop": 0.6526386105544422, "repo_name": "eSDK/esdk_tp_native_java", "id": "03dfac201ed69396efa7092b1c57feb3ed9bce5a", "si...
.class public final Lcom/htc/protobuf/RpcUtil; .super Ljava/lang/Object; .source "RpcUtil.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/htc/protobuf/RpcUtil$AlreadyCalledException; } .end annotation # direct methods .method private constructor <init>()V ...
{ "content_hash": "728983c7a8d1f2b185ee0c890b20c40d", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 148, "avg_line_length": 29.94, "alnum_prop": 0.642618570474282, "repo_name": "baidurom/devices-onex", "id": "dd67db3352b4a8768b70f7bf6b81dd75cf387dde", "size": "4491", "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>paramcoq: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
{ "content_hash": "c7bc1553a233f8a43ac18a301c2648fa", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 185, "avg_line_length": 40.78915662650602, "alnum_prop": 0.534780682321666, "repo_name": "coq-bench/coq-bench.github.io", "id": "3a55702a8d19c3cb699c44efb8c4a09866719228", ...
cask 'font-hermeneus-one' do version '1.2' sha256 'c76245c77bcbe570e9146352de5bf6ae9a3c1c475ddd36cb6c50272e4000e4c1' url 'http://www.impallari.com/media/uploads/commentsources/comment-239-source.zip' name 'Hermeneus' homepage 'http://www.impallari.com/projects/overview/hermeneus' font "HermeneusOne-v#{ver...
{ "content_hash": "d0cc770b323c5619dd1206aa46d2acba", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 84, "avg_line_length": 35.6, "alnum_prop": 0.7921348314606742, "repo_name": "caskroom/homebrew-fonts", "id": "2020b9962511cbf2d321a9058b60c2ae4df1e97e", "size": "356", "b...
""" (c) Copyright 2016 Hewlett-Packard Enterprise Development Company, L.P. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applic...
{ "content_hash": "b94c46d8d2ea610d4943804150dec01b", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 72, "avg_line_length": 29.785714285714285, "alnum_prop": 0.6510791366906474, "repo_name": "szaher/freezer-api", "id": "ba40e97b0773421195b9390864b2e64c0500ea97", "size": "1...
// Copyright (C) 2006-2010 Jim Tilander. See COPYING for and README for more details. using System; using EnvDTE; using System.Threading; using System.Collections.Generic; namespace Aurora { public static class AsyncProcess { private static int s_defaultTimeout = 30000; // in ms public d...
{ "content_hash": "39a20d904db8528a9913bb1b58f6c672", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 168, "avg_line_length": 30.04471544715447, "alnum_prop": 0.5633879042078204, "repo_name": "Nexuapex/niftyplugins", "id": "f70d1eceedba847f74e77f827cf3409bd1a0d276", "size"...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Comments; /** * CommentsSearch represents the model behind the search form about `app\models\Comments`. */ class CommentsSearch extends Comments { /** * @inheritdoc */ public function rules() ...
{ "content_hash": "8cf178b7d55227e646e0a44ace9309fa", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 106, "avg_line_length": 22.87142857142857, "alnum_prop": 0.5315427857589007, "repo_name": "cybercog/mysommelier", "id": "b4fadb1592715a53db591f82dfc1b28cb344adf1", "size": ...
import { ApplicationRef, enableProdMode } from '@angular/core' import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { AppModule } from './app/app.module'; import { environment } from './environments/environment'; if (environment.production) { enableProdMode(); } platformBrowserDynamic...
{ "content_hash": "5a384c9bccf668ed1a54661f116285c5", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 90, "avg_line_length": 33.310344827586206, "alnum_prop": 0.7194616977225673, "repo_name": "psichi/chix-ui", "id": "912efc71a7cee25679ecca52de3a27443fce1005", "size": "966",...
body { font-family: Helvetica, Arial, sans-serif; background: #FFFFFF; background-image: url(http://www.pptbackgrounds.net/uploads/violet-blestyashki-line-backgrounds-wallpapers.jpg); background-repeat:no-repeat; background-position:center; background-attachment: fixed; } h1 { color: #990033; font: ...
{ "content_hash": "6bd8f0805a4a9b1ff043425dd2743bb3", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 114, "avg_line_length": 20.054945054945055, "alnum_prop": 0.6449315068493151, "repo_name": "alu0100603866/TransformacionesArbolPL0", "id": "520c7f89e91724a8d47f588eadfc71ff96...
#ifndef __HOOKPRIVATEINCLUDES_H_VERSION__ #define __HOOKPRIVATEINCLUDES_H_VERSION__ 100 #define METHOD_ENTRY_DETOUR_LENGTH 20 #define TAG_SAVED_BYTES ('aBS') #define JMP 0xe9 typedef struct _HOOK { PVOID pOriginalFunction; /**< Address of the original function, function which is hooked*/ PVOID pNewFunc...
{ "content_hash": "8b8550071667f85970dbeb4fdd7d8b7e", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 128, "avg_line_length": 37.42424242424242, "alnum_prop": 0.7279352226720648, "repo_name": "allewwaly/dementia-forensics", "id": "ec7f4952765dd0011643cce229a318432bcb0c6f", ...
<!DOCTYPE html> <html> <head> <title>ScheduleChartView Sample</title> <link rel="Stylesheet" href="app.css" type="text/css" /> <script src="Scripts/DlhSoft.ProjectData.GanttChart.HTML.Controls.js" type="text/javascript"></script> <script src="Scripts/DlhSoft.Data.HTML.Controls.js" type="text/javascript...
{ "content_hash": "95c1d6f9889de961b674d4186e6b310c", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 204, "avg_line_length": 70.86046511627907, "alnum_prop": 0.6314407614046603, "repo_name": "DlhSoftTeam/GanttChartHyperLibrary-Demos", "id": "0db424e7dc5e6fe0bdd6422c85d068cfe...
* 2 channel isolator * Used with SOIC8 footprint on M2FC, M2R successfully * Farnell 1078200 (A grade) * Farnell 1078201 (B grade) * Farnell 1078202 (C grade) ### ADuM5201 * 2 channel isolator with isolated DC/DC converter * Used with SOIC16W footprint on M2RL successfully * Farnell 2067772 (A grade) * Farnell 2067773...
{ "content_hash": "f2c4615f8fd29633606ea5c47dd8892b", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 53, "avg_line_length": 30.09090909090909, "alnum_prop": 0.7552870090634441, "repo_name": "JMW95/agg-kicad", "id": "9d4624610b08b606774b6aed0fe4c137bbf249ce", "size": "362",...
 #include <aws/s3/model/PutBucketLoggingRequest.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <aws/core/http/URI.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> using namespace Aws::S3::Model; using namespace Aws::Utils:...
{ "content_hash": "a6e3d69cc43152dd895967f911658050", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 98, "avg_line_length": 26.9390243902439, "alnum_prop": 0.6912630149388864, "repo_name": "jt70471/aws-sdk-cpp", "id": "cfd236509f774adffeec4d11647c3411a9093ffd", "size": "23...
<?xml version="1.0"?> <ruleset name="Custom ruleset" xmlns="http://pmd.sourceforge.net/ruleset/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd"> <description> CDN...
{ "content_hash": "3b8b27883b293756bb578765922af772", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 116, "avg_line_length": 41.753846153846155, "alnum_prop": 0.6547531319086219, "repo_name": "jensborch/kontentsu", "id": "b0362e68e1e340b9e2b16e158af74b1babf240d0", "size": ...
<?php namespace PHPExiftool\Driver\Tag\Canon; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class SelfTimer extends AbstractTag { protected $Id = 2; protected $Name = 'SelfTimer'; protected $FullName = 'Canon::CameraSettings'; ...
{ "content_hash": "a7a2f6ff9816fc0253d3b5482c7361e0", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 50, "avg_line_length": 15.894736842105264, "alnum_prop": 0.6639072847682119, "repo_name": "bburnichon/PHPExiftool", "id": "005d0c7b1d837832594afa978b156917b08aec42", "size"...
<?php namespace Test\Preview; /** * Class BitmapTest * * @group DB * * @package Test\Preview */ class BitmapTest extends Provider { public function setUp(): void { parent::setUp(); $fileName = 'testimage.eps'; $this->imgPath = $this->prepareTestFile($fileName, \OC::$SERVERROOT . '/tests/data/' . $fileN...
{ "content_hash": "e1c538ffb281e4b0dcf35677b77f0ec2", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 100, "avg_line_length": 18.52173913043478, "alnum_prop": 0.6455399061032864, "repo_name": "phil-davis/core", "id": "2c808cffb787308cda9c529c5f081b746c056fef", "size": "1172...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>SMTP::MXconnect()</title> <style> body, pre { font-family: Verdana; font-size: 10pt; } a { color: blue; text-decoration: none } a:hover { text-decoration: underline } </style> </head> <body bgcolor="#f1f3f5" topmargin="10" leftmargin...
{ "content_hash": "0aafb2b78bafd925a0d31c40a7be0757", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 167, "avg_line_length": 25.05263157894737, "alnum_prop": 0.6617647058823529, "repo_name": "cognitoedtech/assy", "id": "1cb2be12104627b16e94fca9e6af8c8302016d65", "size": "1...
package com.uiguard.logger.imp; import java.io.File; import java.io.IOException; import org.apache.log4j.FileAppender; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.apache.log4j.varia.LevelRangeFilter; import com.uiguard.utils.setting.UiGu...
{ "content_hash": "02c5878d8ff29b3a6fc88306ec78dc9e", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 112, "avg_line_length": 34.02040816326531, "alnum_prop": 0.7438512297540492, "repo_name": "uiguard/uiguard", "id": "404cb52b9c7b6752d68559875dcc4007830dc70e", "size": "1667...
/* * * assign.c * */ #define ASSIGN_CODE /* * * Includes. * */ #include <stdio.h> #include <stdlib.h> #include <assert.h> #include "types.h" #include "assign.h" #include "channel.h" #include "vcg.h" #include "hcg.h" /* * * Code. * */ void AllocAssign(void) { ulong net; /* * Allocate co...
{ "content_hash": "897761038ed993750a8a4f639e3a261f", "timestamp": "", "source": "github", "line_count": 655, "max_line_length": 109, "avg_line_length": 18.981679389312976, "alnum_prop": 0.5543312153140835, "repo_name": "ucsd-progsys/csolve-bak", "id": "207d4fbfeefc3b74bbc6aad2eb856384f0f87ff3", "si...
from __future__ import print_function from builtins import str import sys import os from vmrunner import vmrunner import socket # Get an auto-created VM from the vmrunner vm = vmrunner.vms[0] def UDP_test(): print("<Test.py> Performing UDP tests") HOST, PORT = "10.0.0.55", 4242 sock = socket.socket # SOCK_DGR...
{ "content_hash": "5f14a29b5e7985980153bd332ef47376", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 74, "avg_line_length": 30.14423076923077, "alnum_prop": 0.6669856459330143, "repo_name": "AnnikaH/IncludeOS", "id": "c54983496ec661a763e20c172925247bf3c68e69", "size": "31...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" > <ImageView android:layout_width="32dp" android:layout...
{ "content_hash": "c9c70f67e7b6c5492e9a7df9aa1b3ccd", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 86, "avg_line_length": 41.73684210526316, "alnum_prop": 0.6002522068095839, "repo_name": "creaITve/apps-android-tbrc-works", "id": "ea7e22d76fc4cfd9da0a27d5ceac7d84973e4ea2",...
'use strict'; var test = require('tap').test var vminfo = require('../').sysinfo.vminfo function inspect(obj, depth) { console.error(require('util').inspect(obj, false, depth || 5, true)); } test('\nvminfo', function (t) { var r = vminfo(); t.ok(isFinite(r.nrDirty), 'has number nrDirty') t.ok(isFinite(r.nr...
{ "content_hash": "b459e785c16c3a5a33f5be10d1c9c048", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 71, "avg_line_length": 32.59090909090909, "alnum_prop": 0.6708507670850767, "repo_name": "thlorenz/procps", "id": "6de2966c9d148e2b996fb0a2de72b29673fba3de", "size": "717",...
// Copyright (C) 2004, 2006 International Business Machines and others. // All Rights Reserved. // This code is published under the Common Public License. // // $Id: IpIpoptApplication.hpp 759 2006-07-07 03:07:08Z andreasw $ // // Authors: Carl Laird, Andreas Waechter IBM 2004-08-13 #ifndef __IPIPOPTAPPLICATIO...
{ "content_hash": "bb1b12b399b25f6fd6ca5a22d0ba1fee", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 111, "avg_line_length": 31.505434782608695, "alnum_prop": 0.6793168880455408, "repo_name": "chrisdembia/simbody", "id": "536eaee6b5cf111a08f91bcf0c615e84ed3aa751", "size":...
from .models import Place, Location, Activity from django.core import serializers from django.http import HttpResponse from collections import Counter from json import dumps # Create your views here. def get_locations(request): location = request.GET.get('id') locations = Location.objects.filter(activites_id=...
{ "content_hash": "c7027cd7bfaec80d2bb72a6f12ca3b2b", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 66, "avg_line_length": 31.542857142857144, "alnum_prop": 0.6512681159420289, "repo_name": "silentninja/trippal", "id": "7af34513f79d318e03bf8ead3e1d575333604b48", "size": "...
package org.apache.hadoop.raid; import java.io.IOException; import java.io.InputStream; import junit.framework.TestCase; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; public class TestParallelReader extends TestCase { public static final Log LOG = LogFactory.getLog(TestParal...
{ "content_hash": "1388b73b1cf2e4faf46f2935238480f8", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 76, "avg_line_length": 25.625, "alnum_prop": 0.6390243902439025, "repo_name": "iVCE/RDFS", "id": "532716e9e6fdd0c1dc402da5735c1ae10ba7f51d", "size": "3266", "binary": fal...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.lyn.mywidget; public final class R { public static final class attr { } public static final class col...
{ "content_hash": "1632540258cbbc39840aec30555ba97c", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 83, "avg_line_length": 40.464285714285715, "alnum_prop": 0.6746101794645484, "repo_name": "Nancy-Leeee/summer", "id": "dbf2e45242874d06190be1f0eb47d71ae354fc0b", "size": "3...
class CreateFacebookUserInfos < ActiveRecord::Migration def change create_table :facebook_user_infos do |t| t.integer :user_id, null: false t.integer :facebook_user_id, null: false t.string :username, null: false t.string :first_name t.string :last_name t.string :email t....
{ "content_hash": "fc078f9d0d5edc0f6ac4e0c2ed410ab9", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 67, "avg_line_length": 28.526315789473685, "alnum_prop": 0.6549815498154982, "repo_name": "natefinch/discourse", "id": "aa9c29099d35801bf977f18e689eb2b3ae4ddb97", "size": "...
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v14.1.0 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** The base frameworks, eg React & Angular 2, override this b...
{ "content_hash": "51cd39a20584b625674651362d366b4c", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 120, "avg_line_length": 41.095238095238095, "alnum_prop": 0.7282734646581692, "repo_name": "sufuf3/cdnjs", "id": "f4643bee5ce27b07c365672ed17b503265677c1a", "size": "1726",...
#import "AppDelegate.h" #import <React/RCTBundleURLProvider.h> #import <React/RCTRootView.h> @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSURL *jsCodeLocation; jsCodeLocation = [[RCTBundleURLProvider sharedSettings]...
{ "content_hash": "f52de3fe9d2112aeaa76df19c21b79cd", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 118, "avg_line_length": 35.86666666666667, "alnum_prop": 0.6821561338289963, "repo_name": "soulmachine/react-native-starter-kit", "id": "821ed56d6e992c7b6a5b4e5263b016a76fb68...