max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
3,227 | <filename>sandbox.config.json
{
"infiniteLoopProtection": true,
"hardReloadOnChange": false,
"template": "node",
"container": {
"port": 3000,
"startScript": "start:codesandbox"
}
}
| 77 |
312 | /*******************************************************************************
Copyright (c) 2018 Eclipse RDF4J contributors.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Distribution License v1.0
which accompanies this distribution, and is ava... | 799 |
903 | <reponame>TsSaltan/jphp
package org.develnext.jphp.core.tokenizer.token.stmt;
import org.develnext.jphp.core.tokenizer.TokenType;
import org.develnext.jphp.core.tokenizer.TokenMeta;
import org.develnext.jphp.core.tokenizer.token.expr.value.VariableExprToken;
import java.util.Set;
public class DoStmtToken extends Stm... | 399 |
986 | <reponame>exNTLDR/audacity
/*
** Copyright (C) 1999-2018 <NAME> <<EMAIL>>
**
** 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; either version 2.1 of the License, or
** (at your option) a... | 3,958 |
496 | #include "simit-test.h"
#include "init.h"
#include "graph.h"
#include "tensor.h"
#include "program.h"
#include "error.h"
using namespace std;
using namespace simit;
TEST(assembly, vertices) {
Set V;
ElementRef v0 = V.add();
ElementRef v1 = V.add();
ElementRef v2 = V.add();
FieldRef<int> a = V.addField<int>... | 5,371 |
27,296 | import time
import platform
import subprocess
import selenium
from selenium.webdriver.common.action_chains import ActionChains
import logging
import os
import sys
import shutil
import tempfile
from subprocess import Popen, PIPE
def find_executable(executable, path=None):
"""Find if 'executable' can be run. Looks ... | 5,529 |
335 | <gh_stars>100-1000
{
"word": "Lek",
"definitions": [
"Take part in a communal display on a lek."
],
"parts-of-speech": "Verb"
} | 72 |
416 | <reponame>Zi0P4tch0/sdks<filename>iPhoneOS14.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h<gh_stars>100-1000
/* NSValueTransformer.h
Copyright (c) 2002-2019, Apple Inc. All rights reserved.
*/
#import <Foundation/NSObject.h>
@class NSArray<ObjectType>, NSString;
NS_ASSUME_... | 1,219 |
552 | <reponame>asheraryam/ETEngine<filename>Engine/source/EtPipeline/Content/EditorAssetDatabase.h
#pragma once
#include "EditorAsset.h"
#include <EtCore/Content/AssetDatabaseInterface.h>
#include <EtCore/FileSystem/Package/PackageDescriptor.h>
namespace et { namespace core {
class Directory;
class AssetDatabase;
}
RE... | 892 |
480 | <reponame>weicao/galaxysql
/*
* Copyright [2013-2021], Alibaba Group Holding Limited
*
* 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/LICENS... | 585 |
2,151 | /* Written by Dr <NAME> (<EMAIL>) for the OpenSSL
* project 2006.
*/
/* ====================================================================
* Copyright (c) 2006 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided... | 9,497 |
13,006 | <filename>deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/misc/DummyConfig.java
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of t... | 680 |
32,544 | <reponame>DBatOWL/tutorials<filename>spring-core-2/src/main/java/com/baeldung/bean/injection/Ship.java<gh_stars>1000+
package com.baeldung.bean.injection;
import org.springframework.beans.factory.annotation.Autowired;
public class Ship {
@Autowired
private Helm helm;
public Ship() {
helm = new H... | 237 |
848 | /*
* Copyright 2019 Xilinx 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 agreed to ... | 470 |
370 | /*
Copyright <NAME> 2014
Copyright <NAME> 2014
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 MSGPACK_PREDEF_OS_HAIKU_H
#define MSGPACK_PREDEF_OS_HAIKU_H
#include "../version_number.h"
#include "../make.h"
... | 468 |
1,681 | package com.easytoolsoft.easyreport.mybatis.service;
import java.util.List;
import com.easytoolsoft.easyreport.mybatis.data.SelectRepository;
import com.easytoolsoft.easyreport.mybatis.pager.PageInfo;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @... | 814 |
435 | <filename>pycon-ar-2013/videos/me-voy-a-hacer-pypy-por-natalia-bidart-pycon-2013-dia-1-auditorio-aep.json
{
"description": "Help us caption & translate this video!\n\nhttp://amara.org/v/DKoA/",
"language": "spa",
"recorded": "2013-10-24",
"speakers": [
"<NAME>"
],
"thumbnail_url": "https://i.ytimg.com/v... | 235 |
312 | /*******************************************************************************
* Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies th... | 333 |
664 | #include "libtorrent/storage.hpp"
#include "libtorrent/disk_io_job.hpp"
#include "test.hpp"
#include <boost/atomic.hpp>
using namespace libtorrent;
TORRENT_TEST(empty_fence)
{
libtorrent::disk_job_fence fence;
counters cnt;
disk_io_job test_job[10];
// issue 5 jobs. None of them should be blocked by a fence
i... | 2,251 |
379 | // Copyright © 2012, Université catholique de Louvain
// 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 the above copyright notice,
// this... | 1,253 |
3,089 | /*!
http://www.w3.org/TR/SVG/coords.html#InterfaceSVGTransform
// Transform Types
const unsigned short SVG_TRANSFORM_UNKNOWN = 0;
const unsigned short SVG_TRANSFORM_MATRIX = 1;
const unsigned short SVG_TRANSFORM_TRANSLATE = 2;
const unsigned short SVG_TRANSFORM_SCALE = 3;
const unsigned short SVG_TRANSFORM_ROT... | 598 |
8,865 | <filename>atlas-gradle-plugin/atlas-plugin/src/main/java/com/taobao/android/builder/insant/InstantInfo.java
package com.taobao.android.builder.insant;
/**
* InstantInfo
*
* @author zhayu.ll
* @date 18/10/26
*/
public class InstantInfo {
public String fileName;
public String baseVersion;
public Stri... | 138 |
492 | #include <THC/THC.h>
#include "shift_cuda.h"
#include "cuda/shift_kernel_cuda.h"
extern THCState *state;
void shift_featuremap_cuda_forward(THCudaTensor *data, THCudaIntTensor *shift, THCudaTensor *out)
{
THArgCheck(THCudaTensor_isContiguous(state, data), 1, "data tensor has to be contiguous");
THArgCheck(THCu... | 1,015 |
439 | <gh_stars>100-1000
#ifndef GyverDimmer_h
#define GyverDimmer_h
#include <Arduino.h>
#include "FastIO.h"
// брезенхем одноканальный
template < uint8_t _D_PIN >
class DimmerBres {
public:
DimmerBres() {
pinMode(_D_PIN, OUTPUT);
fastWrite(_D_PIN, LOW);
}
void write(uint8_t dim) {
dimmer = dim;
}
void tick() { ... | 1,285 |
978 | """
Reference: <NAME> et al., "Deep Matrix Factorization Models for Recommender Systems." In IJCAI2017.
@author: wubin
"""
import tensorflow as tf
import numpy as np
from time import time
from util import learner, tool
from model.AbstractRecommender import AbstractRecommender
from util import timer
class DMF(Abstra... | 4,219 |
320 | <reponame>pubnative/hybid-ios-mopub-mediation-demo<gh_stars>100-1000
//
// MPVASTMediaFile.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 <UIKit/UIKit.h>
#import "MPVASTMod... | 497 |
436 | <filename>src/main/java/com/jdon/jivejdon/infrastructure/repository/dao/MessageDaoFacade.java
/*
* Copyright 2003-2006 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 L... | 832 |
1,244 | <reponame>ngzhian/emscripten<filename>system/lib/libc/musl/src/locale/iswalpha_l.c
#include <wctype.h>
int iswalpha_l(wint_t c, locale_t l)
{
return iswalpha(c);
}
| 81 |
1,851 | <reponame>yoelhawa/viro
//
// VROAudioPlayeriOS.h
// ViroRenderer
//
// Created by <NAME> on 11/6/16.
// Copyright © 2016 Viro Media. 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"),... | 1,189 |
4,391 | # This sample tests the type checker's "type var scoring" mechanism
# whereby it attempts to solve type variables with the simplest
# possible solution.
from typing import Union, List, TypeVar, Type
T = TypeVar("T")
def to_list1(obj_type: Type[T], obj: Union[List[T], T]) -> List[T]:
return []
def to_list2(obj... | 271 |
734 | <filename>modules/tracktion_engine/utilities/tracktion_CpuMeasurement.h
/*
,--. ,--. ,--. ,--.
,-' '-.,--.--.,--,--.,---.| |,-.,-' '-.`--' ,---. ,--,--, Copyright 2018
'-. .-'| .--' ,-. | .--'| /'-. .-',--.| .-. || \ Tracktion Software
| | | | \ '-' \ `--... | 1,138 |
2,494 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
*/
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.... | 1,880 |
820 | <reponame>microsoft/msticpy
# -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# ---------------------------------------------------------... | 1,227 |
2,236 | <reponame>jungyoonoh/baekjoon-1
# Authored by : yj2221
# Co-authored by : -
# Link : http://boj.kr/18c501c01b3d4d91aa311c9c4d952e67
import sys
def input():
return sys.stdin.readline().rstrip()
n, k = map(int, input().split())
rocks = list(map(int, input().split()))
dp = [99999999] * n
dp[0] = 0
for i in range(n-... | 278 |
424 | <reponame>tsegismont/vertx-sql-client
/*
* Copyright (C) 2017 <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 require... | 758 |
348 | {"nom":"Taizé-Aizie","circ":"3ème circonscription","dpt":"Charente","inscrits":447,"abs":229,"votants":218,"blancs":10,"nuls":6,"exp":202,"res":[{"nuance":"SOC","nom":"M. <NAME>","voix":110},{"nuance":"REM","nom":"<NAME>","voix":92}]} | 96 |
387 | /*
* Stack-less Just-In-Time compiler
*
* Copyright 2009-2012 <NAME> (<EMAIL>). 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 ... | 4,537 |
1,306 | /*
* Copyright (C) 2012 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 required by app... | 877 |
354 | <gh_stars>100-1000
#include <iostream>
using namespace std;
int main()
{
int swapNibbles(int n);
int n, result;
cout << "Enter a number: ";
cin >> n;
result = swapNibbles(n);
cout << result;
return 0;
}
int swapNibbles(int n)
{
return (((n & 0x0F) << 4) | ((n & 0xF0) >> 4));
} | 145 |
349 | <filename>src/base/devices/posix/epiphany/loader.h
#pragma once
struct team;
struct prog;
extern int epiphany_load(struct team *team, int start, int count,
struct prog *prog, const char *function,
int argn, const p_arg_t *args);
extern void epiphany_start(struct team *... | 209 |
643 | #
# Copyright (c) 2020 JinTian.
#
# This file is part of alfred
# (see http://jinfagang.github.io).
#
# 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 ... | 974 |
5,941 | <reponame>zouhirzz/FreeRDP
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Multimedia Redirection Virtual Channel Types
*
* Copyright 2011 <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 co... | 665 |
1,831 | /**
* Copyright (c) 2020-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <string>
#include <folly/io/Cursor.h>
#include <folly/io/IOBuf.... | 2,367 |
1,338 | <gh_stars>1000+
/*
* Copyright 2007-2009 <NAME> <<EMAIL>>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "ImportPLItemsCommand.h"
#include <new>
#include <stdio.h>
#include <Autolock.h>
#include <Catalog.h>
#include <Locale.h>
#include "Playlist.h"
#include "PlaylistItem.h"
... | 1,494 |
341 | {
"schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"additionalRowClass": "=if([$DueDate] <= @now, 'sp-field-severity--severeWarning', '')"
}
| 72 |
977 |
#ifndef REALM_NOINST_SERVER_LEGACY_MIGRATION_HPP
#define REALM_NOINST_SERVER_LEGACY_MIGRATION_HPP
#include <string>
#include <realm/util/logger.hpp>
namespace realm {
namespace _impl {
/// If not already done, migrate legacy format server-side Realm files. This
/// migration step introduces stable identifiers, and... | 194 |
5,813 | <filename>server/src/main/java/org/apache/druid/server/initialization/ZkPathsConfig.java
/*
* 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 li... | 1,394 |
3,227 | // Copyright (c) 2013 INRIA Sophia-Antipolis (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org)
//
// $URL$
// $Id$
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
//
// Author(s) : <NAME>
// <NAME>
#ifndef CGAL_INTERNAL_SCALE_COORDINATES_ADAPTO... | 3,811 |
335 | {
"word": "Fab",
"definitions": [
"A microchip manufacturing plant.",
"A process in a microchip manufacturing plant."
],
"parts-of-speech": "Noun"
} | 75 |
1,414 | <filename>Real-Time Corruptor/BizHawk_RTC/libmupen64plus/mupen64plus-video-rice/src/FrameBuffer.h
/*
Copyright (C) 2002 Rice1964
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 version 2
of th... | 2,158 |
2,670 | <reponame>hmarr/dependabot-core
{
"name": "test",
"version": "1.0.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "test",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"polling-to-event": "^2.1.0"
}
},
"node_modules/debug": {
... | 1,717 |
5,938 | # Copyright 2017 Google 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 required by applicable law or ... | 349 |
609 |
// keyboard.c
// See:
// https://www.gnu.org/software/libc/manual/html_node/Canonical-or-Not.html
//
#include <kernel.h>
// quando tem uma interrupção de mouse eu desligo o teclado e espero por ack
// mas quando tem uma interrupção de teclado, então eu desligo o mouse mas não espero o ack.
__VOID_IRQ
irq1_KEY... | 699 |
1,091 | /*
* Copyright 2016-present Open Networking Foundation
*
* 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 appli... | 797 |
2,535 | <gh_stars>1000+
/** @file pgm.h
** @brief Portable graymap format (PGM) parser
** @author <NAME>
**/
/*
Copyright (C) 2007-12 <NAME> and <NAME>.
All rights reserved.
This file is part of the VLFeat library and is made available under
the terms of the BSD license (see the COPYING file).
*/
#ifndef VL_PGM_H
#define... | 1,159 |
7,931 | <filename>zbar/src/main/jni/libiconv-1.15/lib/mac_greek.h
/*
* Copyright (C) 1999-2001, 2016 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV Library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Library General Public
*... | 3,016 |
1,056 | <filename>platform/api.annotations.common/src/org/netbeans/api/annotations/common/NullUnknown.java
/*
* 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. ... | 557 |
789 | import subprocess
import os
def download_task_model(task):
m_path = os.path.join('/home/ubuntu/s3', "model_log_final", task,
"logs/model.permanent-ckpt")
dirs, fname = os.path.split(m_path)
dst_dir = dirs.replace('/home/ubuntu/s3', "s3://taskonomy-unpacked-oregon")
... | 560 |
790 | from django.contrib.localflavor.sk.forms import (SKRegionSelect,
SKPostalCodeField, SKDistrictSelect)
from django.test import SimpleTestCase
class SKLocalFlavorTests(SimpleTestCase):
def test_SKRegionSelect(self):
f = SKRegionSelect()
out = u'''<select name="regions">
<option value="BB">Bansk... | 1,650 |
1,602 | # Check the various features of the GoogleTest format.
#
# RUN: not %{lit} -j 1 -v %{inputs}/googletest-upstream-format > %t.out
# RUN: FileCheck < %t.out %s
#
# END.
# CHECK: -- Testing:
# CHECK: PASS: googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestA
# CHECK: FAIL: googletest-upstr... | 402 |
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.network.generated;
import com.azure.core.util.Context;
/** Samples for VirtualApplianceSites Get. */
public final class Virtual... | 354 |
418 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 4.0.0-a53ec6ee1b on 2019-05-07.
# 2019, SMART Health IT.
import os
import io
import unittest
import json
from . import familymemberhistory
from .fhirdate import FHIRDate
class FamilyMemberHistoryTests(unittest.TestCase):
def instantiate_fro... | 2,129 |
1,247 | <filename>goodskill-web/src/main/java/org/seckill/web/dto/RoleDto.java
package org.seckill.web.dto;
import lombok.Data;
import java.io.Serializable;
@Data
public class RoleDto implements Serializable {
private Integer roleId;
private String roleName;
} | 97 |
577 | /**
* Copyright 2009, Google Inc. All rights reserved.
* Licensed to PSF under a Contributor Agreement.
*/
package org.python.indexer.demos;
import org.python.indexer.StyleRun;
import java.util.ArrayList;
import java.util.List;
import java.util.HashSet;
import java.util.Set;
import java.util.SortedSet;
import jav... | 2,345 |
410 | <filename>ios/Pods/Google-Mobile-Ads-SDK/Frameworks/frameworks/GoogleMobileAds.framework/Versions/A/Headers/GADCorrelatorAdLoaderOptions.h
//
// GADCorrelatorAdLoaderOptions.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google Inc. All rights reserved.
//
#import <GoogleMobileAds/GADAdLoader.h>
#import <GoogleMob... | 249 |
354 | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2021, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without m... | 2,219 |
16,989 | <gh_stars>1000+
// Copyright 2021 The Bazel 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 ... | 2,448 |
382 |
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// interface java.awt.event.ComponentListener ///
package org.swiftjava.java_awt;
@SuppressWarnings("JniMissingFunction")
public class ComponentListenerProxy implements java.awt.event.ComponentListener {
// address of prox... | 635 |
5,169 | {
"name": "NSColorComponents",
"version": "1.0.0",
"summary": "A Swift extension to NSColor that provides easy access to its RGB and HSB components.",
"homepage": "https://github.com/UsabilityEtc/nscolor-components",
"license": "MIT",
"authors": {
"<NAME>": "<EMAIL>"
},
"platforms": {
"osx": "10... | 193 |
582 | #!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
Copyright (c) 2014-2016 pocsuite developers (https://seebug.org)
See the file 'docs/COPYING' for copying permission
"""
from pocsuite_cli import modulePath
from .lib.core.consoles import PocsuiteInterpreter
from .lib.core.data import kb
from .lib.core.data import paths... | 231 |
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.
// ------------------------------------------------------------
#pragma once
namespace Data
{... | 867 |
428 | <reponame>cping/LGame
package loon.opengl.d3d.materials;
public class IntAttribute extends Material.Attribute {
public static final String CullFaceAlias = "cullface";
public static final long CullFace = register(CullFaceAlias);
public static IntAttribute createCullFace(int value) {
return new IntAttribute(Cul... | 232 |
704 | """Base Tests."""
from pathlib import Path
from unittest import mock
def test_imports():
import muffin
assert muffin.Request
assert muffin.Response
assert muffin.ResponseError
assert muffin.ResponseFile
assert muffin.ResponseHTML
assert muffin.ResponseJSON
assert muffin.ResponseRedir... | 3,447 |
348 | {"nom":"Villelongue-de-la-Salanque","circ":"2ème circonscription","dpt":"Pyrénées-Orientales","inscrits":2405,"abs":1199,"votants":1206,"blancs":18,"nuls":4,"exp":1184,"res":[{"nuance":"FN","nom":"<NAME>","voix":355},{"nuance":"MDM","nom":"Mme <NAME>","voix":336},{"nuance":"LR","nom":"M. <NAME>","voix":136},{"nuance":"... | 330 |
450 | /*
* 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 ... | 4,891 |
640 | #ifndef __MICROC_H__
#define __MICROC_H__
/*
* <NAME> Systems Micro C compatibility lib
*/
#include <stdlib.h>
#include <fcntl.h>
#include <ctype.h>
#include <setjmp.h>
#include <string.h>
#include <time.h>
#include <sound.h>
#include <math.h>
#undef abort
#define abort(a) exit(puts_cons(a)&0)
#define getstr(s,l)... | 358 |
336 | from pythonforandroid.recipe import PythonRecipe
class PycryptodomeXRecipe(PythonRecipe):
version = '3.6.3'
url = ('https://files.pythonhosted.org/packages/e6/5a/'
'cf2bd33574f8f8711bad12baee7ef5c9c53a09c338cec241abfc0ba0cf63/'
'pycryptodomex-3.6.3.tar.gz')
md5sum = 'ed1dc06ca4ba6a05... | 197 |
537 | <reponame>wangxuan-cn/SMSGate
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
//... | 1,619 |
335 | <gh_stars>100-1000
{
"word": "Microscopic",
"definitions": [
"So small as to be visible only with a microscope.",
"Extremely small.",
"Concerned with minute detail.",
"Relating to a microscope."
],
"parts-of-speech": "Adjective"
} | 117 |
1,682 | /*
Copyright (c) 2012 LinkedIn Corp.
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... | 1,020 |
1,007 | <reponame>cjztool/btrace
/*
* Copyright (C) 2021 ByteDance 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... | 711 |
14,668 | // Copyright 2014 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_UI_PASSWORDS_MANAGE_PASSWORDS_TEST_H_
#define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_TEST_H_
#include <memory>
#include <vec... | 1,077 |
575 | // 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 "components/arc/bluetooth/bluetooth_mojom_traits.h"
#include <initializer_list>
#include <map>
#include <string>
#include <utility>
#include <ve... | 3,448 |
1,511 | /***************************************************************
* Project:
* CPLD SlaveSerial Configuration via embedded microprocessor.
*
* Copyright info:
*
* This is free software; you can redistribute it and/or modify
* it as you like.
*
* This program is distributed in the hope that it will be us... | 122 |
313 | <reponame>gabrielfougeron/SuiteSparse
//------------------------------------------------------------------------------
// GB_AxB_saxpy3_symbolic: symbolic analysis for GB_AxB_saxpy3
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2022, All Rig... | 7,875 |
2,338 | #ifdef __APPLE__
// ucontext.h is deprecated on macOS, so tests that include it may stop working
// someday. We define _XOPEN_SOURCE to keep using ucontext.h for now.
#ifdef _STRUCT_UCONTEXT
#error incomplete ucontext_t already defined, change #include order
#endif
#define _XOPEN_SOURCE 700
#pragma clang diagnostic ign... | 117 |
2,460 | <gh_stars>1000+
/**
* 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 a... | 1,334 |
3,151 | # Copyright (c) 2019-present, HuggingFace Inc.
# All rights reserved. This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
import json
import logging
import os
import socket
import tarfile
import tempfile
from datetime import datetime
from multi... | 1,613 |
1,686 | <reponame>p0tr3c-terraform/driftctl
{
"Typ": "<KEY>",
"Val": "<KEY>",
"Err": null
} | 44 |
11,719 | // Copyright (C) 2003 <NAME> (<EMAIL>)
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_SEQUENCE_COMPARe_ABSTRACT_
#ifdef DLIB_SEQUENCE_COMPARe_ABSTRACT_
#include "sequence_kernel_abstract.h"
#include "../algs.h"
namespace dlib
{
template <
typename seq_base
... | 939 |
7,892 | <gh_stars>1000+
/**********************************************************************
Audacity: A Digital Audio Editor
AVCodecID.h
<NAME>
**********************************************************************/
#pragma once
enum AudacityAVCodecIDValue {
AUDACITY_AV_CODEC_ID_NONE,
AUDACITY_AV_CODEC_... | 8,430 |
2,151 | /*
* Copyright (C) 2012 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 required by app... | 875 |
399 | <gh_stars>100-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
... | 523 |
2,151 | <filename>content/common/ax_content_node_data.h
// 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.
#ifndef CONTENT_COMMON_AX_CONTENT_NODE_DATA_H_
#define CONTENT_COMMON_AX_CONTENT_NODE_DATA_H_
#include <s... | 772 |
6,989 | <reponame>HeyLey/catboost<filename>catboost/cuda/targets/pointwise_target_impl.cpp
#include "pointwise_target_impl.h"
namespace NCatboostCuda {
}
| 58 |
445 | package pl.allegro.tech.build.axion.release.domain;
import com.github.zafarkhaja.semver.Version;
import pl.allegro.tech.build.axion.release.domain.properties.NextVersionProperties;
import pl.allegro.tech.build.axion.release.domain.properties.TagProperties;
import pl.allegro.tech.build.axion.release.domain.properties.V... | 2,220 |
372 | /* Editor Settings: expandtabs and use 4 spaces for indentation
* ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: *
*/
/*
* Copyright © BeyondTrust Software 2004 - 2019
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compli... | 16,769 |
605 | <filename>mq-cloud/src/main/java/com/sohu/tv/mq/cloud/dao/ConsumerStatDao.java<gh_stars>100-1000
package com.sohu.tv.mq.cloud.dao;
import java.util.List;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;
import org.apache.ibat... | 1,742 |
428 | // pure_api.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "resource.h"
#include "agg_scanline_p.h"
#include "agg_renderer_scanline.h"
#include "agg_pixfmt_rgba.h"
#include "agg_rasterizer_scanline_aa.h"
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; ... | 4,777 |
338 |
from .sklearn_registration import * | 11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.