max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
435 | <filename>pycon-ar-2018/videos/redes-neuronales-con-python-usando-keras-por-juan-pedro-fisanotti.json
{
"copyright_text": "Creative Commons Attribution license (reuse allowed)",
"description": "Cerebros artificiales??? No tanto, pero igualmente una herramienta muy poderosa. Las redes neuronales son uno de los campo... | 598 |
643 | #ifndef PIPES_SWITCH_HPP
#define PIPES_SWITCH_HPP
#include "pipes/helpers/assignable.hpp"
#include "pipes/helpers/meta.hpp"
#include "pipes/base.hpp"
namespace pipes
{
template<typename Predicate, typename Pipeline>
struct case_branch
{
detail::assignable<Predicate> predicate;
Pipelin... | 867 |
2,161 | <reponame>Symmetry-International/m2cgen
from contextlib import contextmanager
from m2cgen.ast import CompOpType
from m2cgen.interpreters.code_generator import CodeTemplate, FunctionalCodeGenerator
class FSharpCodeGenerator(FunctionalCodeGenerator):
tpl_function_signature = CodeTemplate("let {function_name} =")
... | 595 |
488 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#define PTR_SIZE 100
#define PTR2_SIZE 10
#define PTR3_SIZE 10
#define OUT_OF_BOUNDS_EXCESS 1
struct User{
float* user_ptr1;
};
struct VoidStr{
void **ptr2ptr;
void *L;
void *H;
void *lock; // Should this be an array o... | 2,015 |
348 | <filename>docs/data/leg-t2/024/02404471.json
{"nom":"Sainte-Nathalène","circ":"4ème circonscription","dpt":"Dordogne","inscrits":495,"abs":247,"votants":248,"blancs":22,"nuls":5,"exp":221,"res":[{"nuance":"REM","nom":"<NAME>","voix":117},{"nuance":"FI","nom":"<NAME>","voix":104}]} | 117 |
1,209 | /*
Fontname: -FreeType-Old Standard TT-Medium-R-Normal--41-410-72-72-P-216-ISO10646-1
Copyright: Copyright (C) 2006-2008 <NAME> <<EMAIL>>
Capital A Height: 29, '1' Height: 28
Calculated Max Values w=41 h=38 x= 5 y=22 dx=44 dy= 0 ascent=31 len=174
Font Bounding box w=107 h=51 x=-33 y=-12
Calculated Min V... | 16,348 |
450 | //===- GlobalLpPool.cpp ---------------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <onnc/IR/Compute/GlobalLpPool.h>
using namespace onnc;
cha... | 375 |
337 | package cn.ycbjie.ycaudioplayer.ui.advert.model.bean;
import java.io.Serializable;
/**
* Created by yc on 2018/2/8.
*/
public class AdvertCommon {
/**
* 返回码,0成功
*/
public String message;
/**
* 返回状态 200代表成功
*/
public int status;
/**
* 具体内容
*/
public Splash spla... | 547 |
846 | from .backgammon.backgammon_env import env, raw_env
| 18 |
2,023 | def allindices(string, sub, listindex, offset):
#call as l = allindices(string, sub, [], 0)
if (string.find(sub) == -1):
return listindex
else:
offset = string.index(sub)+offset
listindex.append(offset)
string = string[(string.index(sub)+1):]
return allindices(string, sub, listindex, offset+1)
| 122 |
2,350 | <gh_stars>1000+
package org.roaringbitmap.realdata;
import com.google.common.collect.ImmutableMap;
import java.util.Map;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.roaringbitmap.RealDataset.*;
public class RealDataBenchmarkWideOrPqTest extends RealDataBenchmarkSanityTest {
pr... | 446 |
654 | // SPDX-License-Identifier: BSD-3-Clause
package org.xbill.DNS;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static ... | 2,663 |
396 | package com.ibm.cns.articles.control;
import org.eclipse.microprofile.config.inject.ConfigProperty;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
import javax.inject.Inject;
@ApplicationScoped
public class DataAccessFacade {
@Inject
@ConfigProperty(name = "inmem... | 247 |
682 | /**CFile****************************************************************
FileName [int2Int.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Interpolation engine.]
Synopsis [Internal declarations.]
Author [<NAME>]
Affiliation [UC Berkeley]
Date [Ver. 1.... | 2,544 |
331 | <reponame>janst97/Monal
//
// MLXMPPActivityItem.h
// Monal
//
// Created by <NAME> on 9/5/19.
// Copyright © 2019 Monal.im. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MLXMPPActivityItem : UIActivityItemProvider
@end
NS_ASSUME_NONNULL_END
| 125 |
342 | <gh_stars>100-1000
#ifndef TOPPRA_SOLVER_SEIDEL_INTERNAL_HPP
#define TOPPRA_SOLVER_SEIDEL_INTERNAL_HPP
#include <toppra/solver/seidel.hpp>
namespace toppra {
namespace solver {
typedef Eigen::Matrix<value_type, 2, 1> Vector2;
typedef Eigen::Matrix<value_type, 1, 2> RowVector2;
typedef Eigen::Matrix<value_type, 3, 1> ... | 2,381 |
5,169 | {
"name": "FoglightAPM",
"version": "6.3.0-alpha.4",
"homepage": "http://documents.software.dell.com/DOC253107",
"license": {
"type": "Commercial",
"file": "FoglightAPM.framework-6.3.0/LICENSE"
},
"authors": {
"<NAME>": "<EMAIL>"
},
"summary": "FoglightAPM SaaS iOS monitoring.",
"source": ... | 406 |
851 | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from torch import optim
# Non-centered RMSprop update with shared statistics (without momentum)
class SharedRMSprop(optim.RMSprop):
"""Implements RMSprop algorithm with shared states... | 1,075 |
312 | //
// Copyright (c) 1990-2011, Scientific Toolworks, Inc.
//
// The License.txt file describes the conditions under which this software may be distributed.
//
// Author: <NAME>
//
// Additions Copyright (c) 2011 Archaeopteryx Software, Inc. d/b/a Wingware
// ScintillaQt.h - Qt specific subclass of ScintillaBas... | 1,551 |
325 | // Tencent is pleased to support the open source community by making Mars available.
// Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
// Licensed under the MIT License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the Licens... | 609 |
319 | <gh_stars>100-1000
/*
* Copyright (c) 2013, Regents of the University of California
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the abo... | 900 |
302 | <gh_stars>100-1000
package com.github.sakserv.minicluster.impl;
import org.apache.commons.lang.StringUtils;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.gateway.GatewayMessages;
import org.apache.hadoop.gateway.config.GatewayConfig;
import org.apache.hadoop.gateway.config.impl.GatewayConfigImp... | 7,032 |
2,206 | /*
*
* Copyright (c) 2006-2020, Speedment, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); You may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... | 2,688 |
2,542 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "stdafx.h"
using nam... | 330 |
17,702 | <reponame>shyamalschandra/CNTK
#pragma once
#include <vector>
#include <memory>
#include "latticearchive.h"
namespace msra { namespace dbn {
// ---------------------------------------------------------------------------
// latticesource -- manages loading of lattices for MMI (in pairs for numer and denom)
// -------... | 937 |
1,073 | <filename>llvm/lib/Target/XCore/XCoreTargetStreamer.h
//===-- XCoreTargetStreamer.h - XCore Target Streamer ----------*- C++ -*--===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-... | 297 |
2,761 | // Scintilla source code edit control
/** @file Geometry.h
** Classes and functions for geometric and colour calculations.
**/
// Copyright 2020 by <NAME> <<EMAIL>>
// The License.txt file describes the conditions under which this software may be distributed.
#ifndef GEOMETRY_H
#define GEOMETRY_H
namespace Scintill... | 3,072 |
1,676 | #ifndef DATAIO_HOMEDATA_H_
#define DATAIO_HOMEDATA_H_
#include "../core/global.h"
namespace HomeData {
//Returns directory for reading files that may have been installed as defaults to
//command line arguments, in order of preference. May throw StringError if filesystem access fails.
std::vector<std::string> ge... | 255 |
1,855 | <reponame>SammyEnigma/NanaZip<filename>SevenZip/CPP/7zip/Compress/ZstdDecoder.h
// (C) 2016 - 2018 <NAME>
#define ZSTD_STATIC_LINKING_ONLY
#include "../../../C/Alloc.h"
#include "../../../C/zstd/zstd.h"
#include "../../../C/zstd/zstd_errors.h"
#include "../../Windows/System.h"
#include "../../Common/Common.h"
#inclu... | 1,007 |
852 | /**
Translates a Ecal record to XML
\version $Id: EcalDAQStripStatusXMLTranslator.h,v 1.1 2011/06/14 fay Exp $
\date 14 Jun 2011
*/
#ifndef __EcalTPGStripStatusXMLTranslator_h_
#define __EcalTPGStripStatusXMLTranslator_h_
#include "CondFormats/EcalObjects/interface/EcalTPGStripStatus.h"
#include "CondTools/E... | 288 |
460 | <reponame>juandesant/astrometry.net<gh_stars>100-1000
# Script for automatically downloading UCAC4 catalogue
# Last revision: Jan 08, 2015
# Author: <NAME>, <EMAIL>
# This file is part of the Astrometry.net suite.
# Copyright 2014 <NAME>.
# The Astrometry.net suite is free software; you can redistribute
# it and/or mo... | 1,286 |
1,845 | <gh_stars>1000+
package org.rajawali3d.examples.examples.materials;
import android.content.Context;
import androidx.annotation.Nullable;
import org.rajawali3d.Object3D;
import org.rajawali3d.examples.R;
import org.rajawali3d.examples.examples.AExampleFragment;
import org.rajawali3d.examples.examples.materials.material... | 762 |
2,996 | <gh_stars>1000+
// Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.world.block;
import gnu.trove.list.TIntList;
import org.terasology.engine.world.BlockEntityRegistry;
/**
* This event informs of the activation of a group of blocks. It is sent against the... | 182 |
460 | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (<EMAIL>)
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Le... | 828 |
2,338 | //===-- llvm/BinaryFormat/XCOFF.cpp - The XCOFF file format -----*- C++/-*-===//
//
// 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
//
//===---------------------------... | 3,870 |
5,169 | {
"name": "SocialSDK_R",
"version": "0.0.5",
"summary": "SocialSDK_R SDK for iOS",
"homepage": "https://github.com/GagSquad/SocialSDK",
"authors": {
"<EMAIL>": "https://github.com/itlijunjie",
"LVJIALIN": "https://github.com/LVJIALIN"
},
"license": {
"type": "WTFPL",
"file": "LICENSE"
},... | 386 |
605 | import os
from clang.cindex import Config
if 'CLANG_LIBRARY_PATH' in os.environ:
Config.set_library_path(os.environ['CLANG_LIBRARY_PATH'])
import gc
import unittest
from clang.cindex import CursorKind
from clang.cindex import TranslationUnit
from clang.cindex import TypeKind
from .util import get_cursor
from .uti... | 7,881 |
687 | <reponame>felixzhuologist/xls
// Copyright 2021 The XLS Authors
//
// 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... | 1,380 |
355 | <filename>gff/convert_genbank_to_gff3.py
#!/usr/bin/env python3
"""
This is a script to convert GenBank flat files to GFF3 format with a specific focus on
initially maintaining as much structural annotation as possible, then expanding into
functional annotation support.
This is not guaranteed to convert all features,... | 5,289 |
1,433 | <filename>src/PhilipsHueDSB/BridgeRT/WidgetPropertyLabel.cpp<gh_stars>1000+
//
// Copyright (c) 2015, Microsoft Corporation
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission no... | 798 |
348 | {"nom":"Saint-Vivien","circ":"2ème circonscription","dpt":"Dordogne","inscrits":219,"abs":114,"votants":105,"blancs":8,"nuls":1,"exp":96,"res":[{"nuance":"REM","nom":"<NAME>","voix":67},{"nuance":"FN","nom":"<NAME>","voix":29}]} | 92 |
3,699 | package com.wugui.datax.admin.tool.meta;
/**
* hive元数据信息
*
* @author jingwk
* @ClassName HiveDatabaseMeta
* @Version 2.0
* @since 2020/01/05 15:45
*/
public class HiveDatabaseMeta extends BaseDatabaseMeta implements DatabaseInterface {
private volatile static HiveDatabaseMeta single;
public static Hive... | 294 |
354 | package com.dalimao.library;
import android.content.Context;
import android.graphics.Point;
import android.os.Bundle;
import android.util.Log;
import android.util.SparseArray;
import android.view.Gravity;
import android.view.MotionEvent;
import android.view.View;
import android.view.WindowManager;
import android.view.... | 14,963 |
711 | package com.java110.po.product;
import java.io.Serializable;
import java.util.Date;
public class ProductPo implements Serializable {
private String productId;
private String unitName;
private String isPostage;
private String statusCd = "0";
private String sort;
private String storeId;
private String barCode;
pri... | 879 |
628 | <gh_stars>100-1000
# Copyright (C) 2021, Mindee.
# This program is licensed under the Apache License version 2.
# See LICENSE or go to <https://www.apache.org/licenses/LICENSE-2.0.txt> for full license details.
import os
os.environ['USE_TF'] = '1'
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "2"
import datetime
import mult... | 5,271 |
854 | <reponame>rakhi2001/ecom7
__________________________________________________________________________________________________
sample 11 ms submission
class Solution {
public List<String> wordSubsets(String[] A, String[] B) {
int[] count = new int[26];
for(String b : B) {
fill(b, count);
... | 1,383 |
14,793 | <filename>weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/messagebuilder/TemplateCardBuilder.java<gh_stars>1000+
package me.chanjar.weixin.cp.bean.messagebuilder;
import me.chanjar.weixin.common.api.WxConsts;
import me.chanjar.weixin.cp.bean.message.WxCpMessage;
import me.chanjar.weixin.cp.bean.templatecard.*;
... | 4,289 |
14,668 | // Copyright 2020 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.
#ifndef CHROME_BROWSER_PERMISSIONS_LAST_TAB_STANDING_TRACKER_OBSERVER_H_
#define CHROME_BROWSER_PERMISSIONS_LAST_TAB_STANDING_TRACKER_OBSERVER_H_
#includ... | 313 |
836 | <filename>runner/android_junit_runner/javatests/androidx/test/internal/runner/listener/ManifestListenerTest.java
/*
* Copyright (C) 2014 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 o... | 422 |
572 | <filename>Embedding/code/Word2Vec.py
from __future__ import print_function
from __future__ import unicode_literals
from __future__ import absolute_import
from __future__ import division
import torch
import torch.nn as nn
import numpy as np
import torch.nn.functional as F
import torch.optim as optim
from torch.utils.da... | 4,691 |
384 | <filename>nautobot/extras/datasources/utils.py<gh_stars>100-1000
import logging
import os
from django.contrib.contenttypes.models import ContentType
from nautobot.extras.choices import LogLevelChoices
logger = logging.getLogger("nautobot.datasources.utils")
def files_from_contenttype_directories(base_path, job_re... | 687 |
4,372 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 612 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.resources.fluentcore.collection;
import reactor.core.publisher.Mono;
/**
* Provides access to update a private endpoint connection.
*/
public interface SupportsUpdatingPrivateEndpointCo... | 392 |
641 | // LPC17xx specific PIO support
#include <string.h>
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
#include "platform.h"
#include "lrotable.h"
#include "platform_conf.h"
#include "auxmods.h"
#include "lpc17xx_pinsel.h"
static int configpin( lua_State* L )
{
pio_type v = ( pio_type )luaL_checkinteger( L, 1... | 1,193 |
4,339 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 2,296 |
619 | <reponame>moredu/upm<filename>include/fti/upm_potentiometer.h
/*
* Authors:
* Copyright (c) 2016 Intel Corporation.
*
* This program and the accompanying materials are made available under the
* terms of the The MIT License which is available at
* https://opensource.org/licenses/MIT.
*
* SPDX-License-Identifier... | 291 |
2,151 | <filename>core/java/android/util/PrefixPrinter.java
/*
* Copyright (C) 2010 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.o... | 497 |
60,067 | #include <c10/util/C++17.h>
| 15 |
2,996 | // Copyright 2021 The Terasology Foundation
// SPDX-License-Identifier: Apache-2.0
package org.terasology.engine.logic.characters;
import org.terasology.engine.entitySystem.event.AbstractValueModifiableEvent;
public class AffectJumpForceEvent extends AbstractValueModifiableEvent {
public AffectJumpForceEvent(floa... | 112 |
335 | {
"word": "Footwork",
"definitions": [
"The manner in which one moves one's feet in various sports, especially in dancing, boxing, and football.",
"Adroit response to sudden danger or new opportunities."
],
"parts-of-speech": "Noun"
} | 93 |
535 | <reponame>Nemo157/mynewt-core
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Versio... | 1,012 |
575 | <reponame>Octachron/lwt<filename>src/unix/unix_c/unix_invalidate_dir.c<gh_stars>100-1000
/* This file is part of Lwt, released under the MIT license. See LICENSE.md for
details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */
#include "lwt_config.h"
#if !defined(LWT_ON_WINDOWS)
#include <caml... | 260 |
336 | #include "platform.h"
#include "DS213HwDriver.h"
extern HwDrvDef Hw;
void SetLogic()
{
#define Mask32(adr, mask, val) *((volatile uint32_t*)adr) &= ~mask; *((volatile uint32_t*)adr) |= val;
#define Write32(adr, val) *((volatile uint32_t*)adr) = val;
Hw.pDevInit(SO_DGTL);
// PA2_T23 TIM2_CR1
Write32(0x40... | 1,606 |
3,893 | <filename>albumentations/augmentations/dropout/channel_dropout.py
import random
from typing import Union, Tuple, Any, Mapping
import numpy as np
from albumentations.core.transforms_interface import (
ImageOnlyTransform,
)
from .functional import channel_dropout
__all__ = ["ChannelDropout"]
class ChannelDropout... | 928 |
428 | <reponame>ilackarms/voxelquest<filename>src/glsl/WaveHeightShader.c
#version 120
varying vec2 TexCoord0;
uniform float waveSpacing;
uniform float curTime;
uniform float cameraZoom;
uniform vec3 cameraPos;
uniform vec2 bufferDim;
uniform vec2 mapDimInPixels;
// world space fbo
uniform sampler2D Texture4;
uniform sam... | 2,287 |
432 | <reponame>lambdaxymox/DragonFlyBSD<gh_stars>100-1000
/* Shrink-wrapping related optimizations.
Copyright (C) 1987-2018 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
S... | 23,136 |
416 | package org.springframework.roo.addon.field.addon;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.springframework.roo.classpath.operations.Cardinality;
/**
* Provides current supported options for "set" and "list" relationships.
*
* @author <NAME>
* @since 2.0
*/
public enum CardinalitySuppo... | 223 |
759 | from .MSA_transformer_block import TiedRowAxialAttention, MSATransformerBlock, MSATransformerEncoder
| 31 |
606 | /*
* Copyright 2016 <NAME>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | 11,660 |
348 | {"nom":"Beyrie-en-Béarn","circ":"1ère circonscription","dpt":"Pyrénées-Atlantiques","inscrits":144,"abs":52,"votants":92,"blancs":2,"nuls":0,"exp":90,"res":[{"nuance":"MDM","nom":"<NAME>","voix":41},{"nuance":"FN","nom":"Mme <NAME>","voix":12},{"nuance":"FI","nom":"Mme <NAME>","voix":12},{"nuance":"LR","nom":"<NAME>","... | 281 |
1,443 | <filename>users/cel.json
{
"copyright": "<NAME>",
"url": "http://celehner.com",
"email": "<EMAIL>",
"gravatar": true
}
| 54 |
432 | <gh_stars>100-1000
package org.openmhealth.shim.googlefit.mapper;
import com.fasterxml.jackson.databind.JsonNode;
import org.openmhealth.schema.domain.omh.DataPoint;
import org.openmhealth.schema.domain.omh.DataPointHeader;
import org.openmhealth.schema.domain.omh.Measure;
import org.openmhealth.schema.domain.omh.Sche... | 1,922 |
1,305 | /*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/*
* Copyright 1999-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except ... | 7,602 |
13,648 | # test ustruct and endian specific things
try:
import ustruct as struct
except:
try:
import struct
except ImportError:
print("SKIP")
raise SystemExit
# unpack/unpack_from with unaligned native type
buf = b'0123456789'
print(struct.unpack('h', memoryview(buf)[1:3]))
print(struct.unp... | 253 |
1,560 | <gh_stars>1000+
#!/usr/bin/env python
import sys
count = 0
while True:
line = sys.stdin.readline()
if ' route' in line:
count += 1
if count % 100 == 0:
sys.stderr.write('received %-10d\n' % count)
sys.stderr.flush()
| 133 |
435 | {
"description": "Brand-new challenges have arisen in the field of three-dimensional space\nand form, such as; architecture, geometry, material, and even energy,\nwhich requires in thorough investigation and understanding of the\noutcomes to discover optimum design solutions. However, without this\nunderstanding, ana... | 577 |
3,055 | /*
Fontname: -FreeType-Old Standard TT-Bold-R-Normal--48-480-72-72-P-259-ISO10646-1
Copyright: Copyright (C) 2006-2008 <NAME> <<EMAIL>>
Glyphs: 191/1376
BBX Build Mode: 0
*/
const uint8_t u8g2_font_osb35_tf[12448] U8G2_FONT_SECTION("u8g2_font_osb35_tf") =
"\277\0\5\4\6\6\5\6\7\65\71\376\364#\366#\370\7\250\2... | 21,531 |
458 | <gh_stars>100-1000
/**
* \file Utility.cpp
* \brief Implementation for GeographicLib::Utility class
*
* Copyright (c) <NAME> (2011-2020) <<EMAIL>> and licensed
* under the MIT/X11 License. For more information, see
* https://geographiclib.sourceforge.io/
*********************************************************... | 661 |
585 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 577 |
503 | /**
* Yobi, Project Hosting SW
*
* Copyright 2014 NAVER Corp.
* http://yobi.io
*
* @Author <NAME>
*
* 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/licen... | 549 |
952 | {
"version": "2019.1.3",
"description": "JetBrains dotTrace Self-profiling API",
"homepage": "https://www.jetbrains.com/profiler/download/#section=selfprofilingapi",
"license": {
"identifier": "Proprietary",
"url": "https://www.jetbrains.com/legal/docs/agreements/dotnet/profiler-ap... | 259 |
3,066 | <filename>server/src/test/java/io/crate/integrationtests/JobLogIntegrationTest.java
/*
* Licensed to Crate.io GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to ... | 3,089 |
929 | #pragma once
////////////////////////////////////////////////////////////////////////////////
// The MIT License (MIT)
//
// Copyright (c) 2018 <NAME> & Animation Compression Library contributors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated docum... | 2,810 |
852 | <gh_stars>100-1000
import FWCore.ParameterSet.Config as cms
# HLT specific quality cuts - referenced by HLTPFTauDiscriminatioByIsolation
# A set of quality cuts used for the PFTaus. Note that the quality cuts are
# different for the signal and isolation regions. (Currently, only in Nhits)
hltPFTauQualityCuts = cms... | 1,099 |
1,408 | /*
* Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef PFC_INIT_M3_H
#define PFC_INIT_M3_H
void pfc_init_m3(void);
#endif /* PFC_INIT_M3_H */
| 101 |
2,151 | <gh_stars>1000+
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/frame/intervention.h"
#include "services/service_manager/public/cpp/connector.h"
#include "thir... | 742 |
319 | /**
* Copyright (c) 2011, The University of Southampton and the individual contributors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain ... | 1,911 |
3,075 | <gh_stars>1000+
package org.powermock.api.mockito.internal.mockcreation;
public class RuntimeExceptionProxy extends RuntimeException {
public RuntimeExceptionProxy(Throwable t) {
super(t);
}
}
| 72 |
1,480 | <reponame>cron-ooo/django-compressor
from django.core.exceptions import ImproperlyConfigured
from django.utils.encoding import smart_str
from django.utils.functional import cached_property
from compressor.exceptions import ParserError
from compressor.parser import ParserBase
class LxmlParser(ParserBase):
"""
... | 696 |
310 | <gh_stars>100-1000
{
"name": "LayerVault",
"description": "A collaboration and presentation service for designers.",
"url": "https://www.layervault.com/"
} | 52 |
1,993 | <filename>brave/src/test/java/brave/internal/codec/WriteBufferTest.java
/*
* Copyright 2013-2020 The OpenZipkin Authors
*
* 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.apac... | 2,283 |
3,372 | /*
* Copyright 2016-2021 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | 21,276 |
552 | /*MIT License
C++ 3D Game Tutorial Series (https://github.com/PardCode/CPP-3D-Game-Tutorial-Series)
Copyright (c) 2019-2020, PardCode
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 rest... | 1,332 |
6,836 | <gh_stars>1000+
"""Shared pytest fixtures.
"""
import pytest
import records
@pytest.fixture(params=[
# request: (sql_url_id, sql_url_template)
('sqlite_memory', 'sqlite:///:memory:'),
('sqlite_file', 'sqlite:///{dbfile}'),
# ('psql', 'postgresql://records:records@localhost/records')
],
ids=lamb... | 461 |
6,304 | <filename>src/third_party/skia/infra/bots/recipe_modules/doxygen/api.py
# Copyright 2018 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.
from recipe_engine import recipe_api
class DoxygenApi(recipe_api.RecipeApi):
def... | 233 |
724 | <filename>vega/algorithms/nas/modnas/callback/predefined/estim_exporter.py
# -*- coding:utf-8 -*-
# Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the MIT License.
# This program is distributed in the... | 1,303 |
17,275 | /*
* The MIT License
*
* Copyright (c) 2004-2009, Sun Microsystems, Inc., <NAME>
*
* 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 t... | 2,225 |
435 | <filename>pydata-warsaw-2019/videos/michel-voss-detection-of-solar-panels-based-on-aerial-images-of-the-city-of-pydata-warsaw-2019.json
{
"description": "The main goal of the article is to present the results of a study on the\nuse of deep learning networks to detect solar panels based on aerial\nimages of Poznan. In... | 638 |
940 | <reponame>w-v/llvm-clang-samples
// Due to the special attributes, this file should be analyzed by Clang in CUDA
// mode. For example, dump the AST with:
//
// $ clang-check inputs/kernel-signatures.c -ast-dump -- -xcuda
//
__attribute__((global)) void ker1(float* farr, double* darr, int n) {
}
__attribute__((device)... | 253 |
1,459 | /** @file
*****************************************************************************
* @author This file is part of libsnark, developed by SCIPR Lab
* and contributors (see AUTHORS).
* @copyright MIT license (see LICENSE file)
********************************************************************... | 740 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.