max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
2,268 | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// cglmprogram.h
// GLMgr buffers (index / vertex)
// ... maybe add PBO later as well
//===============================================================================
#ifndef CGLMBUFFER_H
#define CGLMBUFFER_H
#pragma once
//============... | 2,000 |
657 | <gh_stars>100-1000
/*
* Copyright (c) 2017 <NAME> <https://github.com/bschwind>
* Copyright (c) 2019 <NAME> <<EMAIL>>
*
* 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 ret... | 1,456 |
335 | {
"word": "Hyperparasite",
"definitions": [
"A parasite whose host is itself a parasite."
],
"parts-of-speech": "Noun"
} | 63 |
792 | {
"name": "<NAME>",
"location": "Cluj",
"country": "RO",
"region": "Europe",
"organizers": ["alexandra21p","danacalcaianu","sergiucc","Mankirk","sebikovacs","alexnm"],
"website": "http://nodeschool.io/cluj",
"twitter": "",
"repo": "http://github.com/nodeschool/cluj"
}
| 122 |
1,863 | <filename>PhysX_3.4/Source/LowLevelCloth/src/windows/CuDeviceVector.h
//
// 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 the above copyright
// notice, this list of... | 2,430 |
412 | #include <assert.h>
void main()
{
switch(0)
{
int a;
default:
a = 0;
if(a)
assert(0);
}
switch(1)
{
int b;
b = 42;
}
int *p = (void *)0;
switch(2)
{
int c;
case 3:
p = &c;
case 2:
break;
}
assert(p == 0);
switch(3)
{
int d;
case 3:
p = ... | 315 |
631 | <filename>opengl_helper/data_set.py
import abc
from typing import Callable, List, Tuple
from opengl_helper.shader import BaseShader
from opengl_helper.vertex_data_handler import VertexDataHandler, LayeredVertexDataHandler, OverflowingVertexDataHandler
from rendering.rendering_config import RenderingConfig
class Base... | 1,535 |
388 | package com.amazonaws.services.kinesis.producer;
import com.amazonaws.services.schemaregistry.common.configs.GlueSchemaRegistryConfiguration;
import com.amazonaws.services.schemaregistry.serializers.GlueSchemaRegistrySerializer;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.jun... | 530 |
1,093 | <reponame>rahulsai9550/c
/*
============================================================================
Name : TCP_Sender.h
Author : GodisC00L
Description : Simple TCP sender. Expected input {IP address, port, number of parts, file name}
================================================================... | 205 |
2,460 | /**
* Copyright (C) 2015 Red Hat, Inc.
*
* 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... | 1,152 |
356 | <filename>command.c
/*
+----------------------------------------------------------------------+
| Copyright (c) 1997-2017 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, ... | 1,019 |
558 | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2013, <NAME>, FU Berlin
// All rights reserved.
//
// Redistribution and use in s... | 1,566 |
491 | #!/usr/bin/env python3
#
# Copyright 2020 Xiaomi Corporation (authors: <NAME>)
#
# See ../../../LICENSE for clarification regarding multiple 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... | 1,078 |
332 | <filename>spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/admin/deployment/zk/ZKStreamDeploymentHandler.java<gh_stars>100-1000
/*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with... | 2,285 |
476 | {
"title": "SQL",
"description": "Our project utilizes a database via SQL",
"tags" : "WebApp, API, MessageServer",
"minimum_risk_required" : "Low Risk",
"questions": {
"General": [
"We are not writing SQL and are utilizing the already-existing database abstraction functions available in our developm... | 147 |
348 | <gh_stars>100-1000
{"nom":"Orus","circ":"1ère circonscription","dpt":"Ariège","inscrits":30,"abs":13,"votants":17,"blancs":1,"nuls":0,"exp":16,"res":[{"nuance":"REM","nom":"<NAME>","voix":12},{"nuance":"FI","nom":"<NAME>","voix":4}]} | 96 |
969 | <filename>src/app/musicplayer/util/Resources.java
package app.musicplayer.util;
public final class Resources {
public static final String FXML = "/app/musicplayer/view/";
public static final String IMG = "/app/musicplayer/util/img/";
public static final String CSS = "/app/musicplayer/util/css/";
publi... | 176 |
453 | <filename>ChaseWhisply/src/main/java/fr/tvbarthel/games/chasewhisply/beta/BetaUtils.java
package fr.tvbarthel.games.chasewhisply.beta;
public class BetaUtils {
public static final String KEY_SHARED_PREFERENCES = "BetaKeySharedPreferences";
public static final String KEY_SENSOR_DELAY = "BetaKeySensorDelay";
... | 148 |
580 | <filename>codechef/flow006.cpp
//https://www.codechef.com/problems/FLOW006
#include <iostream>
using namespace std;
int main()
{
int t, total;
long long n = 12345;
cin >> t;
while (t--)
{
total = 0;
cin >> n;
while (n != 0)
{
total += n % 10;
... | 216 |
3,195 | from __future__ import division
from __future__ import print_function
import mxnext as X
import math
import mxnet as mx
from utils.patch_config import patch_config_as_nothrow
class RepPoints(object):
def __init__(self):
pass
@staticmethod
def get_train_symbol(backbone, neck, head):
labe... | 15,356 |
488 | <filename>src/haru/hpdf_encoder.h
/*
* << Haru Free PDF Library >> -- hpdf_encoder.h
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 <NAME> <<EMAIL>>
* Copyright (c) 2007-2008 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose... | 5,059 |
2,296 | <filename>src/ir_MagiQuest.hpp
/*
* ir_MagiQuest.hpp
*
* Contains functions for receiving and sending LG IR Protocol in "raw" and standard format with 16 or 8 bit address and 8 bit command
* Based off the Magiquest fork of Arduino-IRremote by mpflaga https://github.com/mpflaga/Arduino-IRremote/
*
* This file i... | 2,682 |
643 | // Generated automatically from org.apache.logging.log4j.util.StringMap for testing purposes
package org.apache.logging.log4j.util;
import org.apache.logging.log4j.util.ReadOnlyStringMap;
public interface StringMap extends ReadOnlyStringMap
{
boolean equals(Object p0);
boolean isFrozen();
int hashCode();... | 160 |
558 | <filename>syncer-jedis/src/main/java/syncer/jedis/commands/BasicCommands.java
package syncer.jedis.commands;
import syncer.jedis.DebugParams;
public interface BasicCommands {
/**
* This command is often used to test if a connection is still alive, or to measure latency.
*
* @return PONG
*/
String pin... | 1,868 |
563 | <gh_stars>100-1000
package com.gentics.mesh.rest.client;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.gentics.mesh.json.JsonUtil;
import java.io.IOException;
/**
* Represents an event from the Mesh eventbus.
*/
public class EventbusEvent {
priva... | 490 |
386 | <reponame>bradleyhenke/cortex<gh_stars>100-1000
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2007-2010, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that... | 1,245 |
854 | <reponame>rakhi2001/ecom7
__________________________________________________________________________________________________
sample 2 ms submission
class Solution {
public int largest1BorderedSquare(int[][] grid) {
int[][] toright = new int[grid.length][grid[0].length];
int[][] tobottom = new int[gr... | 1,652 |
5,169 | <gh_stars>1000+
{
"name": "WaveTab",
"version": "1.0.0",
"summary": "A wave UITabBarController.",
"description": "A UITabBarController that moves like a wave as the user switches between tabs",
"homepage": "https://github.com/mapierce/WaveTab",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"a... | 279 |
416 | from netaddr import valid_mac, valid_eui64
def test_valid_mac():
assert valid_mac('00-B0-D0-86-BB-F7')
assert not valid_mac('00-1B-77-49-54-FD-12-34')
def test_valid_eui64():
assert valid_eui64('00-1B-77-49-54-FD-12-34')
assert not valid_eui64('00-B0-D0-86-BB-F7')
| 140 |
460 | #include "../../../src/xmlpatterns/schema/qxsdschemaresolver_p.h"
| 28 |
724 | <reponame>This-50m/vega
# -*- 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 hope that it will be useful,
# but WITHOUT ANY WAR... | 834 |
3,428 | <gh_stars>1000+
{"id":"02201","group":"easy-ham-1","checksum":{"type":"MD5","value":"1eb2f7b1a998eb4e08c50f05312b48bd"},"text":"From <EMAIL> Thu Oct 3 12:24:10 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>ass<EMAIL>int.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP i... | 594 |
320 | <filename>MoPubSDKTests/MPVASTCompanionAdViewDelegateHandler.h
//
// MPVASTCompanionAdViewDelegateHandler.h
//
// Copyright 2018-2021 Twitter, Inc.
// Licensed under the MoPub SDK License Agreement
// http://www.mopub.com/legal/sdk-license-agreement/
//
#import <Foundation/Foundation.h>
#import "MPVASTCompanionAdV... | 355 |
30,023 | """Provides the ezviz DataUpdateCoordinator."""
from datetime import timedelta
import logging
from async_timeout import timeout
from pyezviz.client import EzvizClient
from pyezviz.exceptions import HTTPError, InvalidURL, PyEzvizError
from homeassistant.core import HomeAssistant
from homeassistant.helpers.update_coord... | 544 |
852 | <filename>L1Trigger/L1THGCalUtilities/python/caloTruthCells_cff.py
import FWCore.ParameterSet.Config as cms
from L1Trigger.L1THGCalUtilities.caloTruthCellsProducer_cfi import caloTruthCellsProducer
caloTruthCells = cms.Sequence(caloTruthCellsProducer)
if caloTruthCellsProducer.makeCellsCollection:
## cluster and... | 766 |
5,079 | import unittest
from nose.plugins.base import IPluginInterface
class TestPluginInterfaces(unittest.TestCase):
def test_api_methods_present(self):
from nose.loader import TestLoader
from nose.selector import Selector
exclude = [ 'loadTestsFromGenerator',
'load... | 713 |
884 | <gh_stars>100-1000
{
"documentVersion": "1.0",
"jsonSchemaSemanticVersion": "1.0.0",
"manifestName": "Miscellaneous",
"entities": [
{
"type": "LocalEntity",
"entityName": "WorkflowInstantFlowEndpoints",
"entityPath": "WorkflowInstantFlowEndpoints.1.0.1.cdm.json/WorkflowInstantFlowEndpoints... | 138 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-g3fq-3v3g-mh32",
"modified": "2021-04-13T18:40:52Z",
"published": "2021-04-16T19:52:58Z",
"aliases": [
"CVE-2021-29438"
],
"summary": "Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in @nextcloud/dialogs",
"details": "### Impact... | 892 |
1,935 | /*
Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
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, mo... | 1,850 |
563 | package com.gentics.mesh.search.verticle.eventhandler;
import static com.gentics.mesh.core.rest.MeshEvent.INDEX_CHECK_REQUEST;
import static com.gentics.mesh.core.rest.MeshEvent.INDEX_CHECK_START;
import static com.gentics.mesh.core.rest.MeshEvent.INDEX_CHECK_FINISHED;
import java.util.Collection;
import java.util.Co... | 677 |
688 | <reponame>YuiZh0u/TextGAN-PyTorch<filename>models/generator.py
# -*- coding: utf-8 -*-
# @Author : William
# @Project : TextGAN-william
# @FileName : config.py
# @Time : Created at 2019-03-18
# @Blog : http://zhiweil.ml/
# @Description :
# Copyrights (C) 2018. All Rights Reserved.
import... | 1,967 |
333 | <gh_stars>100-1000
#ifndef RS_GENERAL_ROW_PURGE_HPP
#define RS_GENERAL_ROW_PURGE_HPP
#include "rcConnect.h"
#include "generalRowPurge.h"
int rsGeneralRowPurge( rsComm_t *rsComm, generalRowPurgeInp_t *generalRowPurgeInp );
int _rsGeneralRowPurge( rsComm_t *rsComm, generalRowPurgeInp_t *generalRowPurgeInp );
#endif
| 136 |
938 | {
"multipart": [
{ "apply": { "model": "tconstruct:block/clear_stained_glass/pane_post" }},
{ "when": { "north": true },
"apply": { "model": "tconstruct:block/clear_stained_glass/pane_side" }
},
{ "when": { "east": true },
"apply": { "model": "tconstruct:block/clear_stained_glass/pane_side... | 474 |
725 | <reponame>trisadmeslek/V-Sekai-Blender-tools
# MIT License
# Copyright (c) 2018 Hotox
# 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 r... | 11,277 |
348 | {"nom":"Volpajola","circ":"2ème circonscription","dpt":"Haute-Corse","inscrits":373,"abs":193,"votants":180,"blancs":3,"nuls":4,"exp":173,"res":[{"nuance":"REG","nom":"<NAME>","voix":106},{"nuance":"REM","nom":"<NAME>","voix":67}]} | 92 |
2,959 | //
// ExtendedAttributeDataDocument.h
// HexFiend_2
//
// Created by <NAME> on 2/3/19.
// Copyright © 2019 ridiculous_fish. All rights reserved.
//
#import "BaseDataDocument.h"
@interface ExtendedAttributeDataDocument : BaseDataDocument
- (instancetype)initWithAttributeName:(NSString *)name forURL:(NSURL *)url;
... | 105 |
2,151 | // Copyright (c) 2012 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 "remoting/host/win/launch_process_with_token.h"
#include <windows.h>
#include <utility>
#include "base/logging.h"
#include "base/win/scope... | 2,583 |
889 | <reponame>limberc/HyperGAN
{
"description": "Example of using efficient attention (128x128)",
"discriminator":
{
"class": "class:hypergan.discriminators.configurable_discriminator.ConfigurableDiscriminator",
"layers":[
"conv 64 stride=2 padding=0", "relu",
"add self (efficient_attention)",
... | 1,180 |
10,225 | package io.quarkus.it.bootstrap.config.extension;
import java.util.Collections;
import org.eclipse.microprofile.config.spi.ConfigSource;
import org.eclipse.microprofile.config.spi.ConfigSourceProvider;
import io.quarkus.runtime.RuntimeValue;
import io.quarkus.runtime.annotations.Recorder;
@Recorder
public class Dum... | 242 |
446 | /*
* 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 ... | 917 |
1,056 | /*
* 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 ... | 3,600 |
346 | <reponame>ZJCRT/drishti<gh_stars>100-1000
// This example program shows how to use dlib's implementation of the paper:
// One Millisecond Face Alignment with an Ensemble of Regression Trees by
// <NAME> and <NAME>, CVPR 2014
//
// http://www.csc.kth.se/~vahidk/papers/KazemiCVPR14.pdf
//
// Changelog:
// - suppor... | 6,887 |
823 | from io import BytesIO
try:
from clickhouse_cityhash.cityhash import CityHash128
except ImportError:
raise RuntimeError(
'Package clickhouse-cityhash is required to use compression'
)
from .native import BlockOutputStream, BlockInputStream
from ..bufferedreader import CompressedBufferedReader
from... | 1,141 |
796 | <reponame>ProtectorYT364/BlockLauncher<gh_stars>100-1000
package net.zhuoweizhang.mcpelauncher.texture;
import java.io.*;
import android.graphics.*;
public class PNGImageLoader implements ImageLoader {
public Bitmap load(InputStream is) {
return BitmapFactory.decodeStream(is);
}
public void save(Bitmap bmp, Ou... | 141 |
1,133 | /**
*
* PixelFlow | Copyright (C) 2017 <NAME> - www.thomasdiewald.com
*
* https://github.com/diwi/PixelFlow.git
*
* A Processing/Java library for high performance GPU-Computing.
* MIT License: https://opensource.org/licenses/MIT
*
*/
package Shadertoy.Shadertoy_AbstractCorridor;
import com.jogamp.openg... | 1,110 |
382 | <reponame>kevinvandenbreemen/SwiftJava
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// interface javax.swing.event.MouseInputListener ///
package org.swiftjava.javax_swing;
@SuppressWarnings("JniMissingFunction")
public class MouseInputListenerProxy implements javax.swing... | 985 |
1,788 | package com.fingerchar.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUti... | 4,628 |
533 | <gh_stars>100-1000
#include "framework/operators/fusion_ops/dense_dense.h"
namespace anakin {
namespace ops {
#define INSTANCE_DENSEDENSE(Ttype, Ptype) \
template<> \
void DenseDense<Ttype, Ptype>::operator()(OpContext<Ttype>& ctx, \
const std::vector<Tensor4dPtr<Ttype> >& ins, \
std::vector<Tensor4d... | 3,746 |
49,742 | package com.thealgorithms.datastructures.queues;
/**
* A [deque](https://en.wikipedia.org/wiki/Double-ended_queue) is short for a
* double ended queue pronounced "deck" and sometimes referred to as a head-tail
* linked list. A deque is a data structure based on a doubly linked list, but
* only supports adding and ... | 3,208 |
332 | package com.alibaba.datax.core.job.scheduler.processinner;
import com.alibaba.datax.common.exception.DataXException;
import com.alibaba.datax.common.util.Configuration;
import com.alibaba.datax.core.job.scheduler.AbstractScheduler;
import com.alibaba.datax.core.statistics.container.communicator.AbstractContainerCommun... | 966 |
13,846 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
package com.microsoft.signalr;
/**
* A callback that takes no parameters.
*/
public interface Action {
// We can't use the @FunctionalInterface annotation because it's only
... | 102 |
1,848 |
struct S2 {
unsigned : 11
};
| 15 |
1,355 | // Copyright (c) 2018 <NAME>
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
// Jet public headers
#include <jet/logging.h>
#include <jet/macros.h>
#ifdef JET_WINDOWS
# i... | 210 |
711 | package com.java110.community.listener.inspectionPlanStaff;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.community.dao.IInspectionPlanStaffServiceDao;
import com.java110.core.annotation.Java110Listener;
import com.java110.core.context.DataFlowContext;
import com.jav... | 2,910 |
4,262 | /*
* 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 ... | 1,024 |
428 | <reponame>cping/LGame<gh_stars>100-1000
/**
* Copyright 2008 - 2019 The Loon Game Engine 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/LI... | 1,186 |
6,181 | //=====================================================================
// Copyright 2019 (c), Advanced Micro Devices, Inc. All rights reserved.
//
// 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 So... | 4,107 |
5,813 | /*
* 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 ... | 433 |
3,897 | <reponame>mcheah-bose/mbed-os<filename>connectivity/FEATURE_BLE/libraries/TARGET_CORDIO_LL/stack/controller/sources/ble/lhci/lhci_evt_cis_slave.c<gh_stars>1000+
/*************************************************************************************************/
/*!
* \file
*
* \brief LL HCI event module implementa... | 1,160 |
1,073 | <filename>tools/clang/test/Analysis/Inputs/system-header-simulator-for-objc-dealloc.h
#pragma clang system_header
#define nil ((id)0)
typedef signed char BOOL;
@protocol NSObject
- (BOOL)isEqual:(id)object;
- (Class)class;
@end
@interface NSObject <NSObject> {}
+ (instancetype)alloc;
- (void)dealloc;
- (id)init;
- (... | 296 |
1,127 | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "kernel_base_opencl.h"
namespace kernel_selector {
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// tile_params
////////////////////... | 352 |
1,192 | <reponame>clayne/DirectXShaderCompiler<gh_stars>1000+
// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s
#pragma clang diagnostic pop // expected-warning{{pragma diagnostic pop could not pop, no matching push}}
#pragma clang diagnostic puhs // expected-warning {{pragma diagnostic expected 'error', 'warning', 'igno... | 231 |
2,151 | // 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.
#ifndef CHROME_BROWSER_VR_SEQUENCE_H_
#define CHROME_BROWSER_VR_SEQUENCE_H_
#include <list>
#include "base/bind.h"
#include "base/callback.h"
namespace ... | 378 |
2,151 | <gh_stars>1000+
/*
* 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 obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | 2,107 |
563 | <gh_stars>100-1000
from .ner.module import NER
__all__ = ['NER']
| 26 |
2,322 | /*
* Copyright 2016 <NAME> for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This l... | 798 |
483 | #include "stdinc.h"
#include "byte_pattern.h"
namespace MapJustify {
/*-----------------------------------------------*/
uintptr_t map1_v125_end;
uintptr_t map1_v125_end2;
__declspec(naked) void map1_v125_start()
{
__asm {
cmp al, ESCAPE_SEQ_1;
jz r_2;
cmp al, ESCAPE_SEQ_2;
jz r_2;
cmp al, ESC... | 2,266 |
1,210 | <reponame>randolphwong/mcsema
// Boost random_generator.hpp header file ----------------------------------------------//
// Copyright 2010 <NAME>.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_... | 1,535 |
524 | """openid.py: an openid library for web.py
Notes:
- This will create a file called .openid_secret_key in the
current directory with your secret key in it. If someone
has access to this file they can log in as any user. And
if the app can't find this file for any reason (e.g. you
moved the app somewhe... | 1,551 |
510 | <reponame>xhuohai/nncase<gh_stars>100-1000
/* Copyright 2019-2021 Canaan Inc.
*
* 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
*
* Un... | 515 |
4,212 | <reponame>beiMingSoft/coobjc
//
// KMGillSansLabel.h
//
//
// Created by <NAME> on 24/06/2013.
// Copyright (c) 2013 iKode Ltd. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KMGillSansLabel : UILabel
@end
@interface KMGillSansBoldLabel : KMGillSansLabel
- (void)setFontSize:(CGFloat)size;
@end
@i... | 250 |
775 | <gh_stars>100-1000
/*
* tkCursor.c --
*
* This file maintains a database of read-only cursors for the Tk
* toolkit. This allows cursors to be shared between widgets and
* also avoids round-trips to the X server.
*
* Copyright 1990 Regents of the University of California
* Permission to use, copy, modify, and ... | 7,545 |
945 | {
"csla": {
"propertyChangedMode": "Windows",
"propertyInfoFactory": "test1,test2",
"reader": "testReader",
"serializationFormatter": "testSerializationFormatter",
"mobileFactoryLoader": "csla.netcore.test.Configuration.TestMobileFactoryLoader, csla.netcore.test, Version=1.0.0.0, Culture=neutral,... | 234 |
1,467 | <filename>.changes/2.4.12.json
{
"date": "2019-02-20",
"version": "2.4.12",
"entries": [
{
"category": "AWS Direct Connect",
"type": "feature",
"description": "Documentation updates for AWS Direct Connect"
},
{
"category": "AWS CodeComm... | 538 |
595 | <gh_stars>100-1000
//
// PBBudgetMonth.h
// Predicitve Budget
//
// Created by <NAME> on 2015. 02. 12..
// Copyright (c) 2015. DroidZONE. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "PBBudget.h"
#import "PBMonthlyCategoryBudget.h"
@interface PBBudgetMonth : NSObject
@property (nonatomic, wea... | 285 |
1,178 | <reponame>leozz37/makani
/*
* Copyright 2020 Makani Technologies LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | 738 |
777 | <filename>components/favicon_base/large_icon_url_parser.cc
// Copyright 2015 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 "components/favicon_base/large_icon_url_parser.h"
#include "base/logging.h"
#include ... | 547 |
454 | <reponame>agave233/PaddleHelix
# Copyright (c) 2020 PaddlePaddle 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,954 |
4,829 | <filename>td/telegram/FullMessageId.h<gh_stars>1000+
//
// Copyright <NAME> (<EMAIL>), <NAME> (<EMAIL>) 2014-2021
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#pragma once
#include "td/telegram/DialogId.h"... | 645 |
372 | /*
* 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 writing, software distributed under t... | 1,183 |
30,023 | <reponame>MrDelik/core
"""Support for LightwaveRF switches."""
from __future__ import annotations
from homeassistant.components.switch import SwitchEntity
from homeassistant.const import CONF_NAME
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from ho... | 647 |
381 | <gh_stars>100-1000
from rpython.flowspace.model import Constant
from rpython.rtyper.lltypesystem import lltype, llmemory, rdict
from rpython.rtyper.lltypesystem.llmemory import weakref_create, weakref_deref
from rpython.rtyper import rclass
from rpython.rtyper.rclass import getinstancerepr
from rpython.rtyper.rmodel im... | 3,407 |
575 | // 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.
#include "chrome/browser/ash/scanning/scan_service.h"
#include <cstdint>
#include <map>
#include <string>
#include <vector>
#include "ash/content/scanni... | 9,129 |
1,602 | import xmltool
from xmltool import *
import codetools
from codetools import *
import copy
'''
About this script:
This script was developed to be a magic bullet for taking LAPACK fortran
and LAPACKE C code and documentation and turning it into the
ChaLAPACK and LAPACK interface modules.
It is not intended to be 'g... | 70,171 |
1,874 | {
"keypair": {
"fingerprint": "44:fe:29:6e:23:14:b9:53:5b:65:82:58:1c:fe:5a:c3",
"name": "keypair-<KEY>",
"public_key": "<KEY>-Nova\n",
"user_id": "fake",
"deleted": false,
"created_at": "2014-05-07T12:06:13.681238",
"updated_at": null,
"deleted_at": n... | 213 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Bestiac","circ":"1ère circonscription","dpt":"Ariège","inscrits":31,"abs":9,"votants":22,"blancs":2,"nuls":0,"exp":20,"res":[{"nuance":"FI","nom":"<NAME>","voix":15},{"nuance":"REM","nom":"<NAME>","voix":5}]} | 106 |
1,144 | package de.metas.handlingunits.storage.impl;
/*
* #%L
* de.metas.handlingunits.base
* %%
* Copyright (C) 2015 metas GmbH
* %%
* This program 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 Software Foundation, either vers... | 851 |
794 | //
// CAScanQRcode.cpp
// CrossApp
//
// Created by mac on 2021/3/12.
// Copyright © 2021 cocos2d-x. All rights reserved.
//
#include "platform/CAScanQRcode.h"
#include "basics/CAApplication.h"
#include "platform/android/jni/JniHelper.h"
#include <jni.h>
static std::function<void(const std::string&)> s_ResultScan... | 576 |
835 | # -*- coding: utf-8 -*-
import pytest
import requests
from verta.environment import Python
pytestmark = pytest.mark.not_oss # skip if run in oss setup. Applied to entire module
class TestFromRun:
def test_from_run(self, experiment_run, model_for_deployment, registered_model):
np = pytest.importorskip... | 1,001 |
534 | /*
* Copyright (C) 2016 ceabie (https://github.com/ceabie/)
*
* 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... | 879 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.