max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
566 | /**
* This file is part of dvo.
*
* Copyright 2012 <NAME> <<EMAIL>> (Technical University of Munich)
* For more information see <http://vision.in.tum.de/data/software/dvo>.
*
* dvo is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | 11,617 |
355 | //
// CustomView.h
// MacAAA
//
// Created by 老岳 on 16/5/14.
// Copyright © 2016年 LYue. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@protocol CusomViewDelegate;
@interface CustomView : NSView
@property (weak, nonatomic) id<CusomViewDelegate>delegate;
@end
@protocol CusomViewDelegate <NSObject>
- (void)cus... | 157 |
1,368 | from dal import autocomplete
from .models import TModel
class TForm(autocomplete.FutureModelForm):
class Meta:
model = TModel
fields = ('name', 'test')
widgets = {
'test': autocomplete.ModelSelect2(
'select2_one_to_one_autocomplete'
)
}
| 151 |
764 | <filename>erc20/0xFFc63b9146967A1ba33066fB057EE3722221aCf0.json
{"symbol": "A","address": "0xFFc63b9146967A1ba33066fB057EE3722221aCf0","overview":{"en": ""},"email": "<EMAIL>","website": "https://alphaplatform.co/","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/Alpha_Token","telegram": "https://... | 156 |
768 | <gh_stars>100-1000
package net.engio.mbassy.bus.publication;
import net.engio.mbassy.bus.IMessagePublication;
/**
* A publication command is used as an intermediate object created by a call to the message bus' post method.
* It encapsulates the message publication flavors provided by the message bus implementation ... | 172 |
4,036 | <reponame>vadi2/codeql<gh_stars>1000+
package com.semmle.js.extractor;
import com.semmle.js.ast.Comment;
import com.semmle.js.ast.jsdoc.AllLiteral;
import com.semmle.js.ast.jsdoc.ArrayType;
import com.semmle.js.ast.jsdoc.FieldType;
import com.semmle.js.ast.jsdoc.FunctionType;
import com.semmle.js.ast.jsdoc.JSDocCommen... | 3,162 |
353 | import copy
import signal
from unittest import mock
import matplotlib
from matplotlib import pyplot as plt
from matplotlib._pylab_helpers import Gcf
import pytest
@pytest.fixture
def qt_core(request):
backend, = request.node.get_closest_marker('backend').args
qt_compat = pytest.importorskip('m... | 4,230 |
3,097 | //
// YPVideoLaunchViewController.h
// Wuxianda
//
// Created by MichaelPPP on 16/7/14.
// Copyright © 2016年 michaelhuyp. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface YPVideoLaunchViewController : UIViewController
@end
| 88 |
2,151 | <reponame>zipated/src<filename>extensions/browser/extension_service_worker_message_filter.h
// 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.
#ifndef EXTENSIONS_BROWSER_EXTENSION_SERVICE_WORKER_MESSAGE_FI... | 752 |
12,718 | /* Helper macros for pointer arithmetic.
Copyright (C) 2012-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 ... | 889 |
997 | #ifndef PQCLEAN_SNTRUP857_CLEAN_CRYPTO_CORE_WFORCESNTRUP857_H
#define PQCLEAN_SNTRUP857_CLEAN_CRYPTO_CORE_WFORCESNTRUP857_H
#include <stdint.h>
#define PQCLEAN_SNTRUP857_CLEAN_crypto_core_wforcesntrup857_OUTPUTBYTES 857
#define PQCLEAN_SNTRUP857_CLEAN_crypto_core_wforcesntrup857_INPUTBYTES 857
#define PQCLEAN_SNTRUP85... | 269 |
316 | <filename>app/src/main/java/pv/com/pvcloudgo/vc/adapter/CategoryAdapter.java
package pv.com.pvcloudgo.vc.adapter;
import android.content.Context;
import android.graphics.Color;
import android.view.View;
import android.widget.TextView;
import java.util.List;
import pv.com.pvcloudgo.R;
import pv.com.pvcloudgo.model.be... | 839 |
10,225 | <reponame>mweber03/quarkus<gh_stars>1000+
package io.quarkus.funqy.deployment;
import java.util.function.Predicate;
import org.jboss.jandex.DotName;
import org.jboss.jandex.FieldInfo;
import org.jboss.jandex.MethodInfo;
import io.quarkus.deployment.builditem.nativeimage.ReflectiveHierarchyBuildItem;
final class Ref... | 940 |
2,151 | <reponame>saden1/mockito<filename>buildSrc/src/main/groovy/org/mockito/release/notes/vcs/Commit.java
package org.mockito.release.notes.vcs;
import java.util.Collection;
public interface Commit {
/**
* Author identifier. For git it would be 'email'
*/
String getAuthorId();
/**
* Author dis... | 225 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Saint-Gilles-les-Bois","circ":"5ème circonscription","dpt":"Côtes-d'Armor","inscrits":311,"abs":151,"votants":160,"blancs":16,"nuls":5,"exp":139,"res":[{"nuance":"REM","nom":"<NAME>","voix":77},{"nuance":"UDI","nom":"<NAME>","voix":62}]} | 119 |
1,038 | /**
* This package (org.dataalgorithms.chap06.pojo) contains source code
* for chapter 06 of the Data Algorithms book published by O'Reilly.
*
* This package has some very basic classes to understand the concept
* of "time series" data in pojo (plain old java objects).
*
* @author <NAME>
*
*/
package org.da... | 115 |
1,074 | <reponame>CodewareTechnology/RestKit
//
// RKMappingResult.h
// RestKit
//
// Created by <NAME> on 5/7/11.
// Copyright (c) 2009-2012 RestKit. 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 ... | 849 |
2,425 | // Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2016 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of so... | 1,545 |
393 | /*******************************************************************************
* Copyright 2011 <NAME>
* <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
* <p>
* http://www.apache.o... | 393 |
523 | class Singleton(type):
_instances = {}
def __call__(cls, *args, **kwargs):
if cls not in cls._instances:
cls._instances[cls] = super().__call__(*args, **kwargs)
return cls._instances[cls]
class Logger(metaclass=Singleton):
def __init__(self):
print("Creating Logg... | 277 |
1,694 | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.
//
#import <UIKit/UIView.h>
#import "UITextViewDelegate-Protocol.h"
#import "WNParaObjectViewDelegate-Protocol.h"
#import "WNParaTextViewDelega... | 1,608 |
2,151 | <reponame>zipated/src
#!/usr/bin/env python
# Copyright 2017 The PDFium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Verifies exported functions in public/*.h are in fpdf_view_c_api_test.c.
This script gathers a list of function... | 1,588 |
2,253 | /************************************************************************************
* *
* Copyright (c) 2014 - 2018 <NAME> <<EMAIL>> *
* ... | 2,868 |
5,411 | <filename>code/vendor/botan_sv/include/botan/p11_slot.h
/*
* PKCS#11 Slot
* (C) 2016 <NAME>
* (C) 2016 <NAME>
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_P11_SLOT_H_
#define BOTAN_P11_SLOT_H_
#include <string>
#include <vector>
#include <functional>
#include <botan/p11_m... | 855 |
1,389 | <gh_stars>1000+
# Copyright (c) 2019 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.0
#
# Unless r... | 2,737 |
492 | <reponame>kenjitagawa/youtube_video_code<gh_stars>100-1000
from flask import Blueprint
from .extensions import mongo
main = Blueprint('main', __name__)
@main.route('/')
def index():
user_collection = mongo.db.users
user_collection.insert({'name' : 'Cristina'})
user_collection.insert({'name' : ... | 146 |
892 | <filename>advisories/unreviewed/2022/05/GHSA-3wrh-hc8c-4jpw/GHSA-3wrh-hc8c-4jpw.json
{
"schema_version": "1.2.0",
"id": "GHSA-3wrh-hc8c-4jpw",
"modified": "2022-05-11T00:01:55Z",
"published": "2022-05-04T00:00:25Z",
"aliases": [
"CVE-2022-21949"
],
"details": "A Improper Restriction of XML External En... | 509 |
5,079 | <filename>third_party/Paste/paste/progress.py
# (c) 2005 <NAME> and contributors; written for Paste (http://pythonpaste.org)
# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
# (c) 2005 <NAME>
# This module is part of the Python Paste Project and is released under
# the MIT License: h... | 3,304 |
1,391 | #define KUTEN212MAX 7768
extern long tabkuten212[KUTEN212MAX]; /* runes indexed by kuten */
| 37 |
3,897 | <filename>connectivity/nanostack/sal-stack-nanostack/source/Security/protocols/radius_sec_prot/avp_helper.c<gh_stars>1000+
/*
* Copyright (c) 2020, Pelion and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in ... | 3,262 |
645 | // 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.
package org.chromium.distiller;
import com.google.gwt.regexp.shared.RegExp;
/**
* This class detects the page parameter in the query of a potential pag... | 2,968 |
839 | /**
* 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 m... | 767 |
394 | <gh_stars>100-1000
/*
* Copyright (c) 2016, WSO2 Inc. (http://wso2.com) 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-... | 10,099 |
3,212 | /*
* 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 ... | 454 |
372 | <gh_stars>100-1000
/*
* 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 ... | 3,838 |
721 | <reponame>FinalCraftMC/EnderIO<gh_stars>100-1000
package crazypants.enderio.base.recipe;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader... | 777 |
531 | <filename>include/boost/di/aux_/compiler.hpp<gh_stars>100-1000
//
// Copyright (c) 2012-2020 <NAME> (kris at jusiak dot net)
//
// 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_DI_AUX_COMPILER_HPP
#d... | 754 |
460 | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright <NAME> 2005-2009. 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)
//
// See http://www.boost.org/libs/interpro... | 1,418 |
959 | package com.andreabaccega.formedittextvalidator;
import android.widget.EditText;
/**
* A validator that returns true only if the input field contains only numbers
* and the number is within the given range.
*
* @author <NAME> <<EMAIL>>
*/
public class NumericRangeValidator extends Validator {
private int mi... | 285 |
463 | <reponame>ciskoinch8/vimrc<gh_stars>100-1000
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/master/LICENSE
import re
from pathlib import Path
import pytest
from pylint.lint.expand_modules import _basename_in_ignore_list_re, expand... | 950 |
1,778 | <reponame>gardiary/spring-security-oauth<gh_stars>1000+
package com.baeldung.opaque.api;
import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
import static org.apache.commons.lang3.RandomStringUtils.randomNumeric;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
impor... | 615 |
1,475 | <reponame>mhansonp/geode
/*
* 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
*... | 863 |
17,337 | /* This file is auto-generated, do not edit. */
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
#include "cxx.h"
#include "steam_defs.h"
#include "steamclient_private.h"
#include "struct_converters.h"
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
#include "cppISteamInventory_STEAM... | 23,161 |
1,350 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.automation.models;
import com.azure.resourcemanager.automation.fluent.models.TestJobInner;
import java.time.OffsetDateTime;
impo... | 900 |
1,420 | /*
*
* Copyright 2021 Netflix, 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 ap... | 4,037 |
538 | /*
* VGMTrans (c) 2002-2021
* Licensed under the zlib license,
* refer to the included LICENSE.txt file
*/
#include "common.h"
#include "DLSFile.h"
#include "MidiFile.h"
#include "SF2File.h"
#include "VGMColl.h"
#include "VGMSeq.h"
/*
* The following free functions implement
* saving various formats to disk
*/... | 563 |
3,453 | from tensorwatch.watcher_client import WatcherClient
import time
from tensorwatch import utils
utils.set_debug_verbosity(10)
def main():
watcher = WatcherClient()
stream = watcher.create_stream(expr='lambda vars:vars.x**2')
stream.console_debug = True
input('pause')
main()
| 103 |
3,287 | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 8,371 |
1,816 | /*********************************************************
* Copyright (C) 2020 VMware, Inc. All rights reserved.
*
* This program 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 version 2.1 and no ... | 1,003 |
14,668 | // Copyright 2021 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 COMPONENTS_FEED_CORE_V2_PUBLIC_STREAM_TYPE_H_
#define COMPONENTS_FEED_CORE_V2_PUBLIC_STREAM_TYPE_H_
#include <string>
#include "components/feed/... | 663 |
377 | // REQUIRES: system-linux
// RUN: clang -o %t %s -O2
// RUN: llvm-mctoll -d -I /usr/include/stdio.h %t
// RUN: clang -o %t1 %t-dis.ll
// RUN: %t1 2>&1 | FileCheck %s
// CHECK: IMUL32rri 0x98723 by 0xc7f57418
// CHECK-NEXT: Result : 0xdb9f8748 OF = 1 CF = 1
// CHECK-NEXT: IMUL32rri 0x1 by 0xc7f57418
// CHECK-NEXT: Resul... | 1,186 |
2,354 | <reponame>XinChCh/singa
/************************************************************
*
* 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 licen... | 2,165 |
634 | /*
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/
package com.intellij.usages;
import consulo.disposer.Disposable;
import consulo.util.dataholder.Key;
import com.intellij.psi.search.SearchScope;
import com.intellij.usageV... | 1,159 |
709 | <reponame>shwestrick/mpl
#include <assert.h>
#define PART_OF_M2
#include "m2.h"
#define STATIC_LINK_M1
#include "m1.h"
extern PUBLIC void* libm1cSymPublic;
extern PUBLIC void* libm1cFnPublic(void);
PRIVATE void* libm2cSymPrivate = 0;
PUBLIC void* libm2cSymPublic = 0;
PRIVATE void* libm2cFnPrivate(void) {
return... | 437 |
435 | {
"description": "EduSummit 2019 Aftermovie - PyCon SK",
"duration": 178,
"published_at": "2019-08-06T11:51:47.000Z",
"recorded": "2019-03-22",
"speakers": [
"Various speakers"
],
"thumbnail_url": "https://i.ytimg.com/vi/ioJjB5RUqTE/hqdefault.jpg",
"title": "EduSummit 2019 Aftermovie - PyCon SK",
... | 199 |
728 | <reponame>JohannesLichtenberger/sirix<filename>bundles/sirix-core/src/main/java/org/sirix/index/art/KeyIterator.java
package org.sirix.index.art;
final class KeyIterator<K, V> extends PrivateEntryIterator<K, V, K> {
KeyIterator(AdaptiveRadixTree<K, V> tree, LeafNode<K,V> first) {
super(tree, first);
}
@Override
... | 151 |
372 | <gh_stars>100-1000
/*
* Copyright (c) 2005 Massachusetts Institute of Technology
*
* 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 th... | 17,674 |
1,816 | <reponame>dancernetworks/open-vm-tools<filename>open-vm-tools/lib/include/poll.h
/*********************************************************
* Copyright (C) 1998-2020 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser Gene... | 4,263 |
679 | /**************************************************************
*
* 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 y... | 2,938 |
535 | <gh_stars>100-1000
//*****************************************************************************
//
// am_hal_adc.c
//! @file
//!
//! @brief Functions for interfacing with the Analog to Digital Converter.
//!
//! @addtogroup adc2 Analog-to-Digital Converter (ADC)
//! @ingroup apollo2hal
//! @{
//
//*****************... | 5,620 |
3,285 | """
Copyright 2020 The OneFlow 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
Unless required by applicable law or agr... | 940 |
1,021 | <reponame>desruie/OpenTimelineIO<filename>contrib/opentimelineio_contrib/adapters/tests/test_ale_adapter.py
#
# Copyright Contributors to the OpenTimelineIO project
#
# Licensed under the Apache License, Version 2.0 (the "Apache License")
# with the following modification; you may not use this file except in
# complian... | 4,902 |
868 | <reponame>assens/activemq-artemis
/*
* 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... | 919 |
763 | package org.batfish.datamodel.visitors;
import java.util.function.Function;
import javax.annotation.Nonnull;
import org.batfish.datamodel.AclIpSpace;
import org.batfish.datamodel.EmptyIpSpace;
import org.batfish.datamodel.IpIpSpace;
import org.batfish.datamodel.IpSpace;
import org.batfish.datamodel.IpSpaceReference;
i... | 990 |
1,374 | package def.dom;
public class HTMLScriptElement extends HTMLElement {
public java.lang.Boolean async;
/**
* Sets or retrieves the character set used to encode the object.
*/
public java.lang.String charset;
/**
* Sets or retrieves the status of the script.
*/
public java.lang... | 372 |
1,668 | <gh_stars>1000+
from ralph.lib.table.table import Table, TableWithUrl
__all__ = ['Table', 'TableWithUrl']
| 38 |
5,169 | <reponame>Ray0218/Specs<gh_stars>1000+
{
"name": "AFViewHelper",
"version": "4.0.1",
"platforms": {
"ios": "8.0"
},
"license": "MIT",
"summary": "Autolayout and Animation UIVIew Extension for Swift 2.0.",
"homepage": "https://github.com/melvitax/AFViewHelper",
"authors": {
"<NAME>": "<EMAIL>"
... | 254 |
343 | <filename>mayan/apps/document_states/migrations/0025_alter_workflowtransitiontriggerevent_unique_together.py
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('events', '0008_auto_20180315_0029'),
(
'document_states',
'0024_remove_dup... | 250 |
411 | <reponame>basio/graph
/*
* 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 (t... | 1,856 |
853 | <reponame>blin00/tinyssh<filename>tinyssh/subprocess_sign.c
/*
20140117
<NAME>
Public domain.
*/
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include "load.h"
#include "log.h"
#include "open.h"
#include "writeall.h"
#include "purge.h"
#include "global.h"
#include "bug.h"
#include "e.h"
#include "p... | 1,183 |
461 | /*******************************************************************************
* 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... | 546 |
14,668 | <gh_stars>1000+
// Copyright 2021 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 "chromeos/services/libassistant/display_controller.h"
#include <memory>
#include "base/threading/sequenced_task_runner_handle.h... | 2,097 |
4,901 | /*
* 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 u... | 839 |
1,006 | /****************************************************************************
* boards/z80/ez80/z20x/include/board.h
*
* 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 copyri... | 960 |
322 | /*
*
* 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 "L... | 1,025 |
4,071 | <reponame>Ru-Xiang/x-deeplearning<gh_stars>1000+
/*
* \file embedding_op_test.cc
* \brief The embedding op test unit
*/
#include "gtest/gtest.h"
#include <thread>
#include "blaze/test/operator/operator_test_common.h"
#include "blaze/store/mock_sparse_puller.h"
namespace blaze {
namespace store {
SparsePuller *Cr... | 344 |
1,886 | // Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com)
#include "StrictModules/Objects/object_interface.h"
#include "StrictModules/Compiler/abstract_module_loader.h"
#include "StrictModules/Objects/base_object.h"
#include "StrictModules/Objects/objects.h"
#include "StrictModules/Objects/type.h"
... | 2,750 |
1,056 | <gh_stars>1000+
/*
* 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
* ... | 541 |
450 | <filename>tests/core/symbolutil.c<gh_stars>100-1000
/*
* Copyright (C) 2008-2017 <NAME> <<EMAIL>>
* Copyright (C) 2008 <NAME> <<EMAIL>>
*
* Licence: wxWindows Library Licence, Version 3.1
*/
#include "testutil.h"
#ifdef HAVE_DARWIN
# include "tests/stubs/objc/dummyclass.h"
# include <objc/runtime.h>
#endif
#def... | 1,571 |
1,305 | <filename>src/com/sun/image/codec/jpeg/JPEGHuffmanTable.java
/*
*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
/**********************************************************************
********************************... | 5,967 |
435 | <reponame>amaajemyfren/data
{
"copyright_text": "Standard YouTube License",
"description": "PyData Chicago 2016\n\nThis tutorial provides you with a comprehensive introduction to machine learning in Python using the popular scikit-learn library. We will learn how to tackle common problems in predictive modeling and... | 571 |
303 | <filename>www/draw/metadata/5/5586.json
{"id":5586,"line-1":"California","line-2":"United States","attribution":"©2015 DigitalGlobe, U.S. Geological Survey","url":"https://www.google.com/maps/@34.627638,-118.045467,19z/data=!3m1!1e3"} | 89 |
575 | // 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 "components/history/core/browser/android/urls_sql_handler.h"
#include "base/logging.h"
#include "base/stl_util.h"
#include "components/histo... | 2,183 |
480 | #include "fastscaling_private.h"
#include <stdio.h>
#include <string.h>
#ifdef _MSC_VER
#pragma unmanaged
#endif
int Context_error_reason(Context * context)
{
return context->error.reason;
}
void Context_set_last_error(Context * context, StatusCode code, const char * file, int line)
{
context->error.reason ... | 2,796 |
480 | <reponame>Dennisbonke/mlibc
#ifndef _ABIBITS_UID_T_H
#define _ABIBITS_UID_T_H
typedef unsigned int uid_t;
#endif // _ABIBITS_UID_T_H
| 73 |
779 | package org.everit.json.schema;
import static org.everit.json.schema.PrimitiveValidationStrategy.LENIENT;
import static org.everit.json.schema.PrimitiveValidationStrategy.STRICT;
import static org.junit.jupiter.api.Assertions.*;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.mock;
import sta... | 3,673 |
311 | /**
* Copyright 2019 The JoyQueue 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 by applicable law or... | 2,604 |
968 | <filename>taokeeper-monitor/src/main/java/com/taobao/taokeeper/monitor/core/Initialization.java
package com.taobao.taokeeper.monitor.core;
import com.taobao.taokeeper.common.GlobalInstance;
import com.taobao.taokeeper.common.SystemInfo;
import com.taobao.taokeeper.common.constant.SystemConstant;
import com.taobao... | 2,644 |
745 | <gh_stars>100-1000
#ifndef GUARD_MIOPEN_LSTM_VERIFY_GEMM_HPP
#define GUARD_MIOPEN_LSTM_VERIFY_GEMM_HPP
#define ADNN_MM_TRANSPOSE 1
#include <math.h>
#include <cassert>
#include <algorithm>
#include "dropout_gpu_emulator.hpp"
template <typename Tgpu, typename Tref>
void RunLSTMForwardGEMMCPUVerify(miopenHandle_t hand... | 52,075 |
716 | /*
* 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
*
*/
/** \file Provides the front-end access to the run time library structure
* defined in rte_rtns.h
*/
#i... | 15,318 |
436 | /*
* Copyright 2003-2005 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 the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | 1,506 |
797 | /*
The MIT License (MIT)
Copyright (c) 2015 <NAME> and Contributors
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... | 1,686 |
590 | #ifndef __S5P6818_REG_CLK_H__
#define __S5P6818_REG_CLK_H__
/*
* Clock Generator Level 0
*/
#define S5P6818_CLK_CODA960CLKENB (0xC00C0000 + 0x7000)
#define S5P6818_CLK_CRYPTOCLKENB (0xC00C0000 + 0x6000)
#define S5P6818_CLK_I2C0CLKENB (0xC00A0000 + 0xE000)
#define S5P6818_CLK_I2C1CLKENB (0xC00A0000 + 0x... | 3,421 |
707 | <filename>simulation/halsim_ws_core/src/main/native/include/WSProvider_Analog.h
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include <memory>
#includ... | 541 |
964 | [
{
"queryName": "IAM Role Policy passRole Allows All",
"severity": "MEDIUM",
"line": 11
}
]
| 48 |
348 | {"nom":"Monguilhem","circ":"1ère circonscription","dpt":"Gers","inscrits":233,"abs":93,"votants":140,"blancs":12,"nuls":5,"exp":123,"res":[{"nuance":"REM","nom":"<NAME>","voix":76},{"nuance":"SOC","nom":"<NAME>","voix":47}]} | 90 |
665 | <gh_stars>100-1000
/*
* Copyright 2014 Higher Frequency Trading http://www.higherfrequencytrading.com
*
* 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... | 739 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Thollet","circ":"3ème circonscription","dpt":"Vienne","inscrits":152,"abs":79,"votants":73,"blancs":6,"nuls":10,"exp":57,"res":[{"nuance":"REM","nom":"<NAME>","voix":31},{"nuance":"FN","nom":"<NAME>","voix":26}]} | 107 |
591 | <gh_stars>100-1000
package com.lmoroney.codelab1;
import android.app.PendingIntent;
import android.content.Intent;
import android.content.IntentSender;
import android.support.v4.app.FragmentActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
impo... | 750 |
805 | // tfrnnlmbin/lattice-lmrescore-tf-rnnlm-pruned.cc
// Copyright (C) 2017 Intellisist, Inc. (Author: <NAME>)
// See ../../COPYING 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... | 3,834 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.