max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
335 | {
"word": "Devil",
"definitions": [
"Act as a junior assistant for a barrister or other professional.",
"Harass or worry (someone)"
],
"parts-of-speech": "Verb"
} | 81 |
6,059 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <cstdlib>
#include <cstring>
#include <unordered_set>
#include <utility>
#include <vector>
#include "Debug.... | 4,122 |
2,368 | package view_inspector.dagger;
import android.app.Application;
import android.content.SharedPreferences;
import android.database.sqlite.SQLiteOpenHelper;
import android.view.WindowManager;
import com.f2prateek.rx.preferences.Preference;
import com.f2prateek.rx.preferences.RxSharedPreferences;
import dagger.Module;
imp... | 1,462 |
463 | <reponame>pblew/jmockit1
package mockit;
import static org.junit.Assert.*;
import org.junit.*;
public final class TestedClassInjectedFromMockParametersTest
{
enum AnEnum { Abc, Xyz }
public static final class TestedClass {
private int i;
private String s;
private boolean b;
private char... | 978 |
4,901 | /*
* 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,620 |
7,604 | <reponame>yzthr/assimp
/*
* m3d.h
*
* Copyright (C) 2019 bzt (<EMAIL>)
*
* 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... | 132,588 |
526 | <filename>open-metadata-implementation/adapters/open-connectors/governance-daemon-connectors/security-officer-connectors/security-officer-tag-connector/src/main/java/org/odpi/openmetadata/openconnector/governancedarmonconnectors/securityofficerconnectors/securitytagconnector/SecurityTagConnectorProvider.java
/* SPDX-Li... | 558 |
940 | /*
* timer.cpp - Time Manager emulation
*
* Basilisk II (C) 1997-2008 <NAME>
*
* 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 the License, or
* (at your option... | 2,592 |
335 | {
"word": "Vav",
"definitions": [
"The sixth letter of the Hebrew alphabet."
],
"parts-of-speech": "Noun"
} | 60 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-53cv-6j2x-jm64",
"modified": "2022-05-13T01:51:04Z",
"published": "2022-05-13T01:51:04Z",
"aliases": [
"CVE-2018-20422"
],
"details": "Discuz! DiscuzX 3.4, when WeChat login is enabled, allows remote attackers to bypass authentication by leveraging a non-empty ... | 458 |
14,668 | <filename>chrome/browser/ash/system_extensions/system_extensions_status_or.h
// 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 CHROME_BROWSER_ASH_SYSTEM_EXTENSIONS_SYSTEM_EXTENSIONS_STATUS_OR_H_
#... | 851 |
7,320 | <gh_stars>1000+
/*
* Copyright 2016 Google, 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 appl... | 463 |
573 | <gh_stars>100-1000
// Copyright 2015, VIXL authors
// 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 ... | 64,090 |
576 | <reponame>agramfort/scipy-2017-sklearn<gh_stars>100-1000
from sklearn.datasets import load_digits
from sklearn.model_selection import train_test_split, GridSearchCV
from sklearn.ensemble import GradientBoostingClassifier
digits = load_digits()
X_digits, y_digits = digits.data, digits.target
X_digits_train, X_digits_te... | 323 |
711 | package com.java110.common.bmo.logSystemError;
import com.java110.po.logSystemError.LogSystemErrorPo;
import org.springframework.http.ResponseEntity;
public interface IUpdateLogSystemErrorBMO {
/**
* 修改系统异常
* add by wuxw
* @param logSystemErrorPo
* @return
*/
ResponseEntity<String> u... | 146 |
577 | package javatests;
public class JOverload {
// ov_posprecXX
public String ov_posprec1(int a,long b) { return "(int,long)"; }
public String ov_posprec1(long a,int b) { return "(long,int)"; }
public String ov_posprec2(long a,int b) { return "(long,int)"; }
// ov_scalXX
public String ov_scal1(long a) { return ... | 2,700 |
4,197 | # Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
import os
import cv2
import numpy as np
from model_loader import ModelLoader
from skimage.measure import approximate_polygon, find_contours
MASK_THRESHOLD = 0.5
# Ref: https://software.intel.com/en-us/forums/computer-vision/topic/804895
def seg... | 1,313 |
6,210 | <filename>src/java/org/apache/cassandra/serializers/ShortSerializer.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 licenses this file... | 617 |
7,470 | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "gtest/gtest.h"
#include "TestHelpers.h"
#include "hermes/VM/StringPrimitive.h"
#include "hermes/VM/SymbolID.h"
using na... | 1,062 |
1,675 | <gh_stars>1000+
package dev.dworks.apps.anexplorer.ui;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.FrameLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
public class CommonFrameLayout extends FrameLayout {
public CommonFrameLayout(@NonNu... | 216 |
2,219 | // Copyright (c) 2013 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.
// This file contains internal routines that are called by other files in
// base/process/.
#ifndef BASE_PROCESS_INTERNAL_LINUX_H_
#define BASE_PROCE... | 1,823 |
407 | <gh_stars>100-1000
# 전처리 과정 - 불 반전 갯수 계산
segment = [0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, 0x7f, 0x6f]
number = [[0 for _ in range(10)] for _ in range(10)]
for i in range(10):
for j in range(10):
xor = segment[i] ^ segment[j]
while xor:
number[i][j] += (xor % 2)
xor ... | 394 |
3,102 | //==-- fuzzer_initialize.h - Fuzz Clang ------------------------------------==//
//
// 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
//
//===---------------------------... | 163 |
455 | <filename>core/jreleaser-model/src/test/java/org/jreleaser/model/PlatformTest.java
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2020-2022 The JReleaser authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | 752 |
335 | {
"word": "Homecoming",
"definitions": [
"An instance of returning home.",
"A reunion of former students of a university, college, or high school."
],
"parts-of-speech": "Noun"
} | 82 |
1,457 | <reponame>xurui1983/macvim
//
// NSFileManager+Verification.h
// Sparkle
//
// Created by <NAME> on 3/16/06.
// Copyright 2006 <NAME>. All rights reserved.
//
#import <Cocoa/Cocoa.h>
// For the paranoid folks!
@interface NSFileManager (SUVerification)
- (BOOL)validatePath:(NSString *)path withMD5Hash:(NSString *)... | 152 |
454 | <filename>Test/TestFiles/attestationOptionsU2F.json
{
"status":"ok",
"errorMessage":"",
"rp":{
"name":"localhost",
"id":"localhost"},
"user":{
"name":"aseigler",
"id":"ABC",
"displayName":"aseigler"
},
"challenge":"aL2uwApgwumBzTYCcoL0_4DRv_mfYykzgqJBFoJj_WCKNZOpvUQnyjdwMWIWKcY844tyDNLO5... | 226 |
354 | //
// Copyright (c) 2016-2017 <NAME> (<EMAIL> at <EMAIL> dot <EMAIL>)
//
// 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)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOOST_BEAST_WEBSOCKET... | 511 |
8,747 | <gh_stars>1000+
#!/usr/bin/env python
import os
import sys
import unittest
try:
import typing
except ImportError:
pass
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
try:
import spiffsgen
except ImportError:
raise
class SpiffsgenTest(unittest.TestCase):
def test_configs(self): #... | 1,066 |
679 | <filename>main/oox/source/drawingml/diagram/diagramdefinitioncontext.cxx
/**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional informat... | 1,176 |
852 | <reponame>Purva-Chaudhari/cmssw
// -*- C++ -*-
//
// Package: Tracks
// Class : FWPFDetailView
#include "Rtypes.h"
#include "Fireworks/Core/interface/FWDetailViewGL.h"
#include "Fireworks/Core/interface/CSGActionSupervisor.h"
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
class TGLEmbe... | 735 |
420 | <filename>seahub/shortcuts.py
# Copyright (c) 2012-2016 Seafile Ltd.
# encoding: utf-8
def get_first_object_or_none(queryset):
"""
A shortcut to obtain the first object of a queryset if it exists or None
otherwise.
"""
try:
return queryset[:1][0]
except IndexError:
return None
| 129 |
310 | <filename>nncf/torch/quantization/init_range.py
"""
Copyright (c) 2021 Intel Corporation
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... | 4,890 |
1,856 | <filename>RxLifecycleDemo/app/src/main/java/com/yl/rxlifecycledemo/RxLifecycleNaviActivity.java
package com.yl.rxlifecycledemo;
import android.os.Bundle;
import android.util.Log;
import com.trello.navi2.component.NaviActivity;
import com.trello.rxlifecycle2.LifecycleProvider;
import com.trello.rxlifecycle2.android.Ac... | 1,525 |
1,273 | package org.broadinstitute.hellbender.utils.dragstr;
import org.broadinstitute.hellbender.engine.GATKPath;
import org.broadinstitute.hellbender.testutils.BaseTest;
import org.testng.Assert;
import org.testng.annotations.Test;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.i... | 2,419 |
2,195 | <filename>app/src/main/cpp/log.h
#include <android/log.h>
#ifdef LOG_NDEBUG
#define LOGI(...)
#define LOGE(...)
#define LOGV(...)
#define LOGD(...)
#else
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__)
#define LO... | 560 |
358 | <filename>setup.py<gh_stars>100-1000
from setuptools import setup
version_dict = {}
exec(open("./torchbearer/version.py").read(), version_dict)
import sys
if sys.version_info[0] >= 3:
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md')... | 507 |
407 | package com.alibaba.tesla.appmanager.server.repository.domain;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class NamespaceDOExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public NamespaceDOExample() {... | 10,802 |
687 | <filename>demos/stm32f103ve/drivers/drv_clk.c
/*
* Copyright (c) 2006-2019, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2019-10-26 ChenYong first version
* 2020-01-08 xiangxistu add HSI configuration
* 2020-04-20 ch... | 1,671 |
14,668 | <reponame>zealoussnow/chromium<gh_stars>1000+
// Copyright 2017 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 THIRD_PARTY_BLINK_RENDERER_CORE_WORKERS_SHARED_WORKER_REPORTING_PROXY_H_
#define THIRD_PARTY_BLINK_R... | 850 |
1,198 | /*
Copyright 2017-2019 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 agreed t... | 2,000 |
337 | <reponame>qussarah/declare<filename>idea/testData/refactoring/safeDelete/deleteClass/kotlinClassWithJava/classWithDelegationCalls.java
class J extends B {
public J() {
super();
}
} | 77 |
678 | <filename>cl0ver/src/lib/exploit.h
#ifndef EXPLOIT_H
#define EXPLOIT_H
#include <stdbool.h> // bool
#include <mach/mach_types.h> // task_t
void panic_leak(void);
void dump_kernel(const char *path);
task_t get_kernel_task(const char *dir);
bool patch_host_special_port_4(task_t kernel_task);
#endif
| 144 |
2,151 | <reponame>zipated/src
/* Conversion functions for notes.
Copyright (C) 2007, 2009 Red Hat, Inc.
This file is part of elfutils.
This file is free software; you can redistribute it and/or modify
it under the terms of either
* the GNU Lesser General Public License as published by the Free
Softwar... | 666 |
6,304 | <reponame>mohad12211/skia<filename>docs/examples/default.cpp
// Copyright 2020 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#include "tools/fiddle/examples.h"
REG_FIDDLE(default, 256, 256, false, 0) {
void draw(SkCanvas* canvas) {
SkPaint p;
p.... | 201 |
348 | <filename>docs/data/leg-t2/068/06806376.json
{"nom":"Wittenheim","circ":"6ème circonscription","dpt":"Haut-Rhin","inscrits":10221,"abs":6656,"votants":3565,"blancs":186,"nuls":63,"exp":3316,"res":[{"nuance":"REM","nom":"<NAME>","voix":1792},{"nuance":"FN","nom":"M. <NAME>","voix":1524}]} | 120 |
372 | /* Editor Settings: expandtabs and use 4 spaces for indentation
* ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: *
* -*- mode: c, c-basic-offset: 4 -*- */
/*
* Copyright © BeyondTrust Software 2004 - 2019
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | 1,532 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-g893-8gjr-xqxv",
"modified": "2022-05-13T01:24:43Z",
"published": "2022-05-13T01:24:43Z",
"aliases": [
"CVE-2016-2059"
],
"details": "The msm_ipc_router_bind_control_port function in net/ipc_router/ipc_router_core.c in the IPC router kernel module for the Linux... | 760 |
2,151 | <filename>ios/public/provider/chrome/browser/mailto/mailto_handler_provider.h
// 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 IOS_PUBLIC_PROVIDER_CHROME_BROWSER_MAILTO_MAILTO_HANDLER_PROVIDER_H_... | 672 |
326 | <reponame>wanghongxiang2018/postgres-x2
/*-------------------------------------------------------------------------
*
* clogdesc.c
* rmgr descriptor routines for access/transam/clog.c
*
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the Universi... | 350 |
1,085 | <filename>sabot/kernel/src/main/java/com/dremio/exec/planner/logical/rule/LogicalAggregateGroupKeyFixRule.java
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* 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... | 1,521 |
670 | <reponame>MSPaintIDE/MSPaintIDE
package com.uddernetworks.mspaint.texteditor;
import com.uddernetworks.mspaint.main.StartupLogic;
import com.uddernetworks.mspaint.ocr.FontData;
import com.uddernetworks.newocr.detection.SearchImage;
import com.uddernetworks.newocr.recognition.Actions;
import com.uddernetworks.newocr.re... | 1,669 |
1,319 | <filename>ST_DM/GenRegion/src/generate/conf.py
# -*- coding: utf-8 -*-
########################################################################
#
# Copyright (c) 2019 Baidu.com, Inc. All Rights Reserved
#
########################################################################
"""
File: conf.py
Author: duanjianguo(... | 974 |
678 | <filename>Cydia_Build_cpp/apt-extra/config.h<gh_stars>100-1000
#undef WORDS_BIGENDIAN
#define HAVE_TIMEGM
//#cmakedefine HAVE_ZLIB
//#cmakedefine HAVE_BZ2
//#cmakedefine HAVE_LZMA
//#cmakedefine HAVE_LZ4
/* These two are used by the statvfs shim for glibc2.0 and bsd */
/* Define if we have sys/vfs.h */
//#cmakedefin... | 488 |
879 | package com.bookstore.service;
import com.bookstore.entity.Author;
import com.bookstore.repository.AuthorRepository;
import java.util.Random;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
@... | 303 |
1,056 | <filename>enterprise/j2ee.common/src/org/netbeans/modules/j2ee/common/ProjectUtil.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 lice... | 1,771 |
764 | <reponame>freeunion1possible/sia-gateway<gh_stars>100-1000
/*-
* <<
* sag
* ==
* Copyright (C) 2019 sia
* ==
* 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.apach... | 1,013 |
988 | <reponame>Gegy/DataFixerUpper
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
package com.mojang.datafixers.kinds;
import com.google.common.collect.ImmutableList;
import java.util.List;
import java.util.function.Function;
import java.util.stream.Collectors;
public fina... | 920 |
595 | /******************************************************************************
* Copyright (C) 2017 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/***************************************************************... | 3,647 |
480 | /*
* 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/LICENSE-2.0
*
* Unless required by app... | 511 |
676 | <filename>src/openboardview/version.in.h
#pragma once
/**
* Header file template configured by CMake.
*
* Inject any CMake variables into here using @template@ tags.
* Include as "version.h".
*/
#define OBV_NAME "@PROJECT_NAME@"
#define OBV_NAME_LOWER "@PROJECT_NAME_LOWER@"
#define OBV_VERSION "@PROJECT_VERSION@... | 186 |
305 | <filename>src/main/java/org/mamute/auth/rules/ComposedRule.java<gh_stars>100-1000
package org.mamute.auth.rules;
import org.mamute.model.User;
public class ComposedRule<T> implements PermissionRule<T> {
private PermissionRule<T> current;
public ComposedRule(PermissionRule<T> first) {
this.current = first;
}
... | 600 |
578 | <reponame>llitfkitfk/bk-job
/*
* Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available.
*
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
*
* BK-JOB蓝鲸智云作业平台 is licensed under the MIT License.
*
* License for BK-JOB蓝鲸智云作业平台:
* ------------------... | 1,981 |
6,304 | /*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrDisableColorXP_DEFINED
#define GrDisableColorXP_DEFINED
#include "include/core/SkRefCnt.h"
#include "include/gpu/GrTypes.h"
#include "src/gpu/GrXferProcessor.h"
//... | 619 |
922 | from abc import ABC, abstractmethod
from dataclasses import dataclass
from typing import Type, TypeVar, Generic
import numpy as np
from paiargparse import pai_dataclass
from tfaip.util.multiprocessing.parallelmap import parallel_map
from calamari_ocr.utils.image import load_image
@pai_dataclass
@dataclass
class Dat... | 1,512 |
573 | #!/usr/bin/env python
# Copyright 2015, Yahoo Inc.
# Licensed under the terms of the Apache License, Version 2.0. See the LICENSE file associated with the project for terms.
import os
import json
from setuptools import setup
# Package Metadata filename
METADATA_FILENAME = 'lopq/package_metadata.json'
BASEPATH = os.p... | 3,035 |
2,143 | package com.tngtech.archunit.core.domain.testobjects;
public class AllPrimitiveDependencies {
private byte aByte;
private char character;
private short aShort;
private int anInt;
private long aLong;
private float aFloat;
private double aDouble;
private boolean aBoolean;
public AllP... | 587 |
1,964 | // This file is part of nbind, copyright (C) 2014-2015 BusFaster Ltd.
// Released under the MIT license, see LICENSE.
#include <cstring>
class GetterSetter {
public:
GetterSetter() {}
int get_x() {return(x);}
int Gety() {return(y);}
int getZ() const {return(z);}
const char *gett() const {return(t);}
void S... | 317 |
898 | #include "lua_cocos2dx_pluginx_auto.hpp"
#include "PluginManager.h"
#include "ProtocolAnalytics.h"
#include "ProtocolIAP.h"
#include "ProtocolAds.h"
#include "ProtocolShare.h"
#include "ProtocolSocial.h"
#include "ProtocolUser.h"
#include "AgentManager.h"
#include "FacebookAgent.h"
#include "tolua_fix.h"
#include "LuaB... | 37,059 |
7,425 | package master.flame.danmaku.danmaku.model;
public abstract class AbsDanmakuSync {
public static final int SYNC_STATE_HALT = 1;
public static final int SYNC_STATE_PLAYING = 2;
/**
* Get the uptime of timer synchronization
*
* @return
*/
public abstract long getUptimeMillis();
... | 331 |
190,993 | /* Copyright 2021 The TensorFlow 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 a... | 600 |
3,673 |
#include <net/addr.hpp>
// Initialization of static addresses.
namespace net {
const Addr Addr::addr_any{};
const ip4::Addr ip4::Addr::addr_any{0};
const ip4::Addr ip4::Addr::addr_bcast{0xff,0xff,0xff,0xff};
const ip6::Addr ip6::Addr::node_all_nodes(0xFF01, 0, 0, 0, 0, 0, 0, 1);
const ip6::Addr ip6::Addr... | 492 |
5,852 | <reponame>autoantwort/proxygen
/*
* Copyright (c) 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 <folly/FBString.h>
#include <folly/io/Cursor.h>... | 1,591 |
384 | <reponame>jain-tt/exporterhub.io<filename>api/user/migrations/0007_auto_20210330_1335.py<gh_stars>100-1000
# Generated by Django 3.1.6 on 2021-03-30 04:35
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('user', '0006_user_github_id'),
]
operatio... | 303 |
1,143 | // =================================================================================================
// Copyright 2011 Twitter, Inc.
// -------------------------------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use ... | 887 |
348 | {"nom":"Lédenon","circ":"6ème circonscription","dpt":"Gard","inscrits":1163,"abs":582,"votants":581,"blancs":3,"nuls":1,"exp":577,"res":[{"nuance":"REM","nom":"<NAME>","voix":194},{"nuance":"FN","nom":"Mme <NAME>","voix":177},{"nuance":"FI","nom":"Mme <NAME>","voix":78},{"nuance":"LR","nom":"M. <NAME>","voix":55},{"nua... | 290 |
310 | <reponame>MaethorNaur/PolyGlot
/**
* @author <NAME>
* @version 1.0
*/
package org.darisadesigns.polyglotlina.ExternalCode;
import java.awt.geom.AffineTransform;
import javax.swing.text.View;
public final class ScaleTransform implements TextShapeTransform {
private float yScale=1;
private float y... | 548 |
348 | <reponame>chamberone/Leaflet.PixiOverlay
{"nom":"Crégols","circ":"1ère circonscription","dpt":"Lot","inscrits":71,"abs":46,"votants":25,"blancs":7,"nuls":0,"exp":18,"res":[{"nuance":"LR","nom":"<NAME>","voix":10},{"nuance":"REM","nom":"<NAME>","voix":8}]} | 106 |
963 | package com.vladmihalcea.book.hpjp.hibernate.concurrency.version;
import com.vladmihalcea.book.hpjp.util.AbstractTest;
import com.vladmihalcea.book.hpjp.util.providers.Database;
import org.junit.Test;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistenc... | 1,021 |
559 | /**
* Copyright (c) 2014-2017 Netflix, 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 requir... | 5,208 |
495 | <filename>samples/src/main/java/org/m4m/samples/ComposerTranscodeCoreActivity.java<gh_stars>100-1000
/*
* Copyright 2014-2016 Media for Mobile
*
* 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 Licens... | 7,309 |
1,531 | /*
* 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
* distr... | 1,025 |
435 | {
"copyright_text": "Standard YouTube License",
"description": "Large N-body particle datasets present a unique challenge for analysis and visualization. With multi-terabyte datasets becoming increasingly common, the goal of performing large-scale analysis and visualization of such large quantities of data becomes ... | 442 |
1,091 | <gh_stars>1000+
/*
* Copyright 2017-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 r... | 722 |
1,968 | <gh_stars>1000+
//////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: <EMAIL>
//
///////////////////////... | 7,678 |
831 | <filename>android/testSrc/com/android/tools/idea/gradle/project/sync/setup/module/NdkModuleSetupTest.java
/*
* Copyright (C) 2016 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... | 574 |
4,587 | #define KEYDB_REAL_VERSION "255.255.255"
#define KEYDB_VERSION_NUM 0x00ffffff
extern const char *KEYDB_SET_VERSION; // Unlike real version, this can be overriden by the config
| 60 |
14,668 | // Copyright (c) 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 "content/browser/media/capture/crop_id_web_contents_helper.h"
#include <string>
#include <vector>
#include "base/callback.h"
#include "base... | 1,234 |
560 | <filename>app/src/main/java/me/zhanghai/android/douya/item/ui/RecommendationListAdapter.java
/*
* Copyright (c) 2017 <NAME> <<EMAIL>>
* All Rights Reserved.
*/
package me.zhanghai.android.douya.item.ui;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;... | 1,244 |
14,425 | /**
* 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... | 1,122 |
335 | {
"word": "Back",
"definitions": [
"In the opposite direction from the one that one is facing or travelling towards.",
"Expressing movement of the body into a reclining position.",
"At a distance away.",
"Behind.",
"Losing by a specified margin.",
"So as to return... | 208 |
5,169 | {
"name": "Commbox",
"version": "1.0.1",
"summary": "Commbox chat sdk",
"description": "Commbox chat sdk desc",
"homepage": "https://www.commbox.io/",
"license": "MIT",
"authors": {
"<NAME>": "<EMAIL>"
},
"platforms": {
"ios": "12.0"
},
"source": {
"git": "https://6565c619be1ea593e2628... | 244 |
348 | <gh_stars>100-1000
{"nom":"Saint-Gervais-les-Bains","circ":"6ème circonscription","dpt":"Haute-Savoie","inscrits":4751,"abs":2471,"votants":2280,"blancs":28,"nuls":12,"exp":2240,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":834},{"nuance":"LR","nom":"Mme <NAME>","voix":428},{"nuance":"DIV","nom":"<NAME>","voix":289},... | 278 |
788 | /*
* 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 ... | 547 |
302 | ////////////////////////////////////////////////////////////////////////////////////////////////////
// This file is part of CosmoScout VR //
// and may be used under the terms of the MIT license. See the LICENSE file for details. //
// ... | 338 |
479 | <reponame>balag91/gerrit
// Copyright (C) 2015 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
//
// Unles... | 855 |
2,039 | package org.nd4j.jita.allocator.pointers.cuda;
import org.bytedeco.javacpp.Pointer;
import org.nd4j.jita.allocator.pointers.CudaPointer;
/**
* Created by raver119 on 19.04.16.
*/
public class cublasHandle_t extends CudaPointer {
public cublasHandle_t(Pointer pointer) {
super(pointer);
}
}
| 125 |
565 |
#pragma once
#include <string>
#include <vector>
namespace principia {
namespace geometry {
namespace internal_rp2_point {
// An |RP2Point| is an element of ℝP², the real projective plane. |Scalar|
// must be a 1-dimensional vector space over ℝ, typically represented by
// |Quantity| or |double|.
template<typenam... | 919 |
515 | <filename>src/ezdxf/tools/test.py
# Copyright (c) 2011-2021, <NAME>
# License: MIT License
from typing import Sequence, TYPE_CHECKING, Iterable, List, Set
from ezdxf.lldxf.tagger import internal_tag_compiler
if TYPE_CHECKING:
from ezdxf.eztypes import DXFTag, EntityDB, ExtendedTags, DXFEntity
def compile_tags_w... | 585 |
3,428 | <filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/easy-ham-1/01818.25094be6fb43cd96116debebf792807f.json
{"id":"01818","group":"easy-ham-1","checksum":{"type":"MD5","value":"25094be6fb43cd96116debebf792807f"},"text":"From <EMAIL> Mon Sep 2 12:31:10 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: <EMAIL>.<EMA... | 1,089 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.