max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
1,861 | <gh_stars>1000+
/*
* 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.
*/
package com.facebook.spectrum;
import static org.fest.assertions.api.Assertions.assertThat;
import org.junit.Test... | 468 |
761 | <reponame>l1kw1d/stashboard
# Copyright (c) 2010 Twilio Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, mo... | 138,126 |
777 | // 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.
package org.chromium.chrome.browser.widget.selection;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import ... | 1,652 |
363 | <reponame>rizhilee/Beautyacticle
package com.nicodelee.beautyarticle.viewhelper.viewtoimage;
import android.annotation.TargetApi;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.os.AsyncTask;
import android.os.Build;
import android.support.design.widget.Coord... | 3,733 |
510 | <reponame>xhuohai/nncase
/* Copyright 2019-2021 Canaan Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 2,265 |
2,611 | # Lint as: python3
# Copyright 2019 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 ... | 2,331 |
745 | <gh_stars>100-1000
#ifndef CK_COMMON_HEADER_HPP
#define CK_COMMON_HEADER_HPP
#include "static_kernel_config.hpp"
#include "static_kernel_utility.hpp"
#include "static_kernel_integral_constant.hpp"
#include "static_kernel_number.hpp"
#include "static_kernel_float_type.hpp"
#include "static_kernel_ck_utils_type.hpp"
#in... | 360 |
3,947 | //
// NSAttributedString+SmallCaps.h
// DTCoreText
//
// Created by <NAME> on 31.01.12.
// Copyright (c) 2012 <EMAIL>. All rights reserved.
//
#import "DTCompatibility.h"
/**
Methods that generated an attributed string with Small Caps, even if the used fonts don't support them natively.
This category works eq... | 262 |
852 | <gh_stars>100-1000
import os, glob
import FWCore.ParameterSet.Config as cms
# input
FastMonitoringService = cms.Service( "FastMonitoringService",
filePerFwkStream = cms.untracked.bool( False ),
fastMonIntervals = cms.untracked.uint32( 2 ),
sleepTime = cms.untracked.int32( 1 )
)
EvFDaqDirector = cms.Servic... | 803 |
335 | {
"word": "Hypnosis",
"definitions": [
"The induction of a state of consciousness in which a person apparently loses the power of voluntary action and is highly responsive to suggestion or direction. Its use in therapy, typically to recover suppressed memories or to allow modification of behaviour, has ... | 118 |
424 | /*
* Copyright (c) 2011-2019 Contributors to the Eclipse Foundation
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
* which is available at https:... | 810 |
680 | // GENERATED FILE - DO NOT MODIFY
#ifndef tensorflow_core_framework_step_stats_proto_H_
#define tensorflow_core_framework_step_stats_proto_H_
#include "tensorflow/core/framework/step_stats.pb.h"
#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/protobuf.h"
#include "tensorflow/core/platfo... | 716 |
1,169 | # Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0
import abc
from typing import (
Any, Dict, Iterator, Optional, Union,
)
from databuilder.models.description_metadata import DescriptionMetadata
from databuilder.models.graph_node import GraphNode
from databuilder.models.graph_... | 6,638 |
1,014 | {
"LECBF": {
"short_name": "LEPANTO CONSOLIDATED MINING",
"long_name": "Lepanto Consolidated Mining Company",
"summary": "Lepanto Consolidated Mining Company engages in the exploration and mining of mineral properties primarily in the Philippines. The company operates through three segme... | 474 |
1,563 | package com.github.mzule.fantasyslide;
import android.support.annotation.Nullable;
import android.view.View;
/**
* Created by CaoDongping on 9/7/16.
*/
public class SimpleFantasyListener implements FantasyListener {
@Override
public boolean onHover(@Nullable View view, int index) {
return false;
... | 174 |
326 | # pylint: disable=unused-argument
"""
Tests for x2sys_init.
"""
import os
from tempfile import TemporaryDirectory
import pytest
from pygmt import x2sys_init
@pytest.fixture(name="mock_x2sys_home")
def fixture_mock_x2sys_home(monkeypatch):
"""
Set the X2SYS_HOME environment variable to the current working dir... | 783 |
953 | #include "Python.h"
void
_Py_critical_section_begin_slow(struct _Py_critical_section *c, _PyMutex *m)
{
PyThreadState *tstate = PyThreadState_GET();
c->mutex = NULL;
c->prev = (uintptr_t)tstate->critical_section;
tstate->critical_section = (uintptr_t)c;
_PyMutex_lock(m);
c->mutex = m;
}
void
... | 1,253 |
590 | #ifndef __SDMMC_H__
#define __SDMMC_H__
#ifdef __cplusplus
extern "C" {
#endif
enum {
/* Class 1 */
MMC_GO_IDLE_STATE = 0,
MMC_SEND_OP_COND = 1,
MMC_ALL_SEND_CID = 2,
MMC_SET_RELATIVE_ADDR = 3,
MMC_SET_DSR = 4,
MMC_SWITCH = 6,
MMC_SELECT_CARD = 7,
MMC_SEND_EXT_CSD = 8,
MMC_SEND_CSD ... | 2,284 |
371 | <reponame>PlexPt/mybatis-plus-generator-ui
package com.github.davidfantasy.mybatisplus.generatorui.service;
import cn.hutool.core.io.FileUtil;
import com.github.davidfantasy.mybatisplus.generatorui.ProjectPathResolver;
import com.github.davidfantasy.mybatisplus.generatorui.common.ServiceException;
import com.google.co... | 1,071 |
370 | /**
* @file video_display/sdL_window.hpp
* @author <NAME> <<EMAIL>>
*/
/*
* Copyright (c) 2010-2021 CESNET, z. s. p. o.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted provided that the following conditions
* are met:
*
* 1. Redi... | 1,946 |
337 | <gh_stars>100-1000
/*
* Copyright 2017 The Polycube 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 appl... | 1,277 |
575 | // 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.
#include "extensions/browser/mock_external_provider.h"
#include <memory>
#include "base/version.h"
#include "extensions/browser/external_install_info.h"... | 1,173 |
582 | <gh_stars>100-1000
/*******************************************************************************
* Copyright 2005-2007, CHISEL Group, University of Victoria, Victoria, BC,
* Canada. All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License ... | 559 |
1,444 | <reponame>GabrielSturtevant/mage
package mage.cards.p;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import ma... | 452 |
30,023 | <filename>homeassistant/components/motioneye/switch.py
"""Switch platform for motionEye."""
from __future__ import annotations
from types import MappingProxyType
from typing import Any
from motioneye_client.client import MotionEyeClient
from motioneye_client.const import (
KEY_MOTION_DETECTION,
KEY_MOVIES,
... | 2,113 |
14,668 | <reponame>zealoussnow/chromium<filename>chrome/browser/incognito/android/java/src/org/chromium/chrome/browser/incognito/IncognitoCctProfileManager.java
// 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.
pa... | 1,431 |
4,416 | class Solution(object):
def kSmallestPairs(self, nums1, nums2, k):
"""
:type nums1: List[int]
:type nums2: List[int]
:type k: int
:rtype: List[List[int]]
"""
# https://discuss.leetcode.com/topic/50450/slow-1-liner-to-fast-solutions
queue = []
d... | 420 |
591 | <reponame>turesnake/tprPixelGames
/*
* ======================= Job_Chunk.h =======================
* -- tpr --
* CREATE -- 2019.04.24
* MODIFY --
* ----------------------------------------------------------
* ... | 1,763 |
580 | <gh_stars>100-1000
// https://leetcode.com/problems/validate-binary-search-tree/submissions/
/*
Time complexity: O(N), because where are just traversing the tree;
It is also optimized becuase if the root is NULL, it will not call recursively
the left and right substree;
Another approach is to check i... | 427 |
5,964 |
#include "base/json/json_util.h"
#include "base/strings/string_util.h"
#include "base/strings/string_piece.h"
#include <vector>
#include <limits>
//#include "third_party/WebKit/Source/wtf/dtoa.h"
// namespace WTF {
// double parseDouble(const unsigned char* string, size_t length, size_t& parsedLength);
//... | 9,526 |
777 | // 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.
package org.chromium.base.metrics;
import org.chromium.base.library_loader.LibraryLoader;
import java.util.ArrayList;
import java.util.List;
import java... | 2,177 |
831 | /*
* The MIT License (MIT)
*
* Copyright (c) 2014-2019 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... | 2,244 |
892 | {
"schema_version": "1.2.0",
"id": "GHSA-rfmq-5r75-j8r9",
"modified": "2022-05-13T01:35:31Z",
"published": "2022-05-13T01:35:31Z",
"aliases": [
"CVE-2018-0252"
],
"details": "A vulnerability in the IP Version 4 (IPv4) fragment reassembly function of Cisco 3500, 5500, and 8500 Series Wireless LAN Contr... | 646 |
1,056 | <filename>platform/settings/src/org/netbeans/api/settings/ConvertAsJavaBean.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 t... | 711 |
4,140 | <reponame>FANsZL/hive
/*
* 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... | 840 |
2,416 | <gh_stars>1000+
/*
* Copyright 2016 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 requi... | 1,808 |
14,668 | <reponame>zealoussnow/chromium
// 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.
#include "components/security_interstitials/content/ssl_error_navigation_throttle.h"
#include "base/bind.h"
#include "base... | 2,415 |
1,338 | <gh_stars>1000+
/*
* Copyright 2009, <NAME>, <EMAIL>.
* Distributed under the terms of the MIT License.
*/
#include <package/hpkg/ErrorOutput.h>
#include <stdio.h>
namespace BPackageKit {
namespace BHPKG {
BErrorOutput::~BErrorOutput()
{
}
void
BErrorOutput::PrintError(const char* format, ...)
{
va_list a... | 170 |
1,085 | <reponame>erdal-pb/dremio-oss
/*
* 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 copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | 945 |
1,217 | <reponame>lishaojiang/GameEngineFromScratch<filename>Test/OgexParserTest.cpp
#include <iostream>
#include <string>
#include "AssetLoader.hpp"
#include "MemoryManager.hpp"
#include "OGEX.hpp"
using namespace My;
using namespace std;
namespace My {
IMemoryManager* g_pMemoryManager = new MemoryManager();
AssetLoader* g... | 439 |
652 | <reponame>yangguanghei/iOS-Component-Pro
//
// WLBaseCollectionView.h
// WLBaseView_Example
//
// Created by 刘光强 on 2018/3/15.
// Copyright © 2018年 guangqiang-liu. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WLBaseCollectionView : UICollectionView
@end
| 111 |
3,212 | <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 "Lic... | 932 |
2,151 | <gh_stars>1000+
// 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.
package org.chromium.chrome.browser.feed;
import com.google.android.libraries.feed.common.functional.Consumer;
import com.google.android.... | 693 |
4,772 | package example.repo;
import example.model.Customer1350;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
public interface Customer1350Repository extends CrudRepository<Customer1350, Long> {
List<Customer1350> findByLastName(String lastName);
}
| 87 |
777 | # 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.
from telemetry.page import page as page_module
from telemetry import story
class DummyPage(page_module.Page):
def __init__(self, page_set):
super(Dum... | 382 |
2,591 | <gh_stars>1000+
/**
* Technically, a Change expresses an intention for alter the structure of the Database. An example would be:
* "Drop all foreign keys from a table". However, it abstracts from the way this is actually archieved: While one
* DBMS might provide a syntax for that (maybe something like "ALTER TABLE m... | 207 |
348 | {"nom":"Décines-Charpieu","circ":"13ème circonscription","dpt":"Rhône","inscrits":17529,"abs":10279,"votants":7250,"blancs":80,"nuls":29,"exp":7141,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":2191},{"nuance":"LR","nom":"<NAME>","voix":1312},{"nuance":"FN","nom":"Mme <NAME>","voix":1174},{"nuance":"FI","nom":"M. <N... | 340 |
337 | {
"name": "md-collapsible-item",
"title": "Collapsible item",
"description": "",
"browserSupport": {
"browsers": []
},
"properties": [
{
"name": "name",
"type": "String",
"required": false,
"description": "Param is used as id",
"twoWay": false,
"default": null
... | 260 |
623 | package nb.barmie.net.proxy.thread;
import java.io.ByteArrayOutputStream;
import java.net.Socket;
/***********************************************************
* A proxy thread class that checks outbound remote method
* invocations for marker bytes and replaces them with the
* bytes of a deserialization payload.
*... | 988 |
831 | <gh_stars>100-1000
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... | 875 |
2,151 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/loader/chrome_resource_dispatcher_host_delegate.h"
#include <stdint.h>
#include <string>
#include <utility>
#include <vector... | 12,838 |
737 | /* glz.h -*- C++ -*-
<NAME>, 26 February 2003
Copyright (c) 2003 <NAME>. All rights reserved.
$Source$
Generalised linear modeling. Contains functions to calculate the link
functions and their inverses, to solve for the model given a set of
... | 6,592 |
526 | <gh_stars>100-1000
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.openconnectors.governancedaemonconnectors.openlineageconnectors.janusconnector.model;
import org.odpi.openmetadata.frameworks.auditlog.messagesets.AuditLogMessageDefinitio... | 2,019 |
1,431 | <reponame>xhts18/monitor<filename>server/src/main/java/com/asura/monitor/grafana/entity/DataSourceEntity.java
package com.asura.monitor.grafana.entity;
import com.asura.framework.base.entity.BaseEntity;
/**
* <p></p>
* <p/>
* <PRE>
* <BR>
* <BR>-----------------------------------------------
* <BR>
* </PRE>
*... | 5,051 |
2,161 | <filename>tests/interpreters/test_visual_basic.py
import pytest
from m2cgen import ast
from m2cgen.interpreters import VisualBasicInterpreter
from tests.utils import assert_code_equal
def test_if_expr():
expr = ast.IfExpr(
ast.CompExpr(ast.NumVal(1), ast.FeatureRef(0), ast.CompOpType.EQ),
ast.Nu... | 8,222 |
2,151 | <filename>third_party/LLVM/lib/MC/MCELFStreamer.h
//===- lib/MC/MCELFStreamer.h - ELF Object Output -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----... | 1,919 |
701 | providers = {}
watch_dict = None
| 11 |
416 | <reponame>travv0/zig
/*! @header
* The interfaces declared in this header provide "common" elementwise
* operations that are neither math nor logic functions. These are available
* only for floating-point vectors and scalars, except for min, max, abs,
* clamp, and the reduce operations, which also support inte... | 91,520 |
5,169 | {
"name": "Steps",
"version": "0.3.4",
"summary": "Steps is a navigation bar that guides users through the steps of a task.",
"description": "Steps is a navigation bar that guides users through the steps of a task. You need to use it when a given task is complicated or has a certain sequence in the series of su... | 415 |
4,772 | <filename>jpa/deferred/src/main/java/example/service/Customer818Service.java
package example.service;
import example.repo.Customer818Repository;
import org.springframework.stereotype.Service;
@Service
public class Customer818Service {
public Customer818Service(Customer818Repository repo) {}
}
| 90 |
23,901 | <reponame>deepneuralmachine/google-research
# coding=utf-8
# Copyright 2021 The Google Research 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... | 1,896 |
415 | <gh_stars>100-1000
/*
* zzuf - general purpose fuzzer
*
* Copyright © 2002—2015 <NAME> <<EMAIL>>
*
* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What the Fuck You Want
* to P... | 3,338 |
2,095 | <gh_stars>1000+
/*
* Copyright 2015-2019 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... | 1,221 |
852 | <reponame>ckamtsikis/cmssw
import FWCore.ParameterSet.Config as cms
from IOMC.EventVertexGenerators.BeamSpotFilterParameters_cfi import baseVtx,newVtx
simBeamSpotFilter = cms.EDFilter("GaussianZBeamSpotFilter",
src = cms.InputTag("generatorSmeared"),
baseSZ = baseVtx.SigmaZ,
baseZ0 = baseVtx.Z0,
newSZ ... | 159 |
1,454 | <filename>pwncat/modules/windows/enumerate/system/environment.py
#!/usr/bin/env python3
import rich.markup
from pwncat.db import Fact
from pwncat.modules import ModuleFailed
from pwncat.platform.windows import Windows, PowershellError
from pwncat.modules.enumerate import EnumerateModule
class EnvironmentData(Fact)... | 518 |
542 | import numpy as np
import torch.utils.data
class Mydataset(torch.utils.data.Dataset):
def __init__(self, path, ratio):
"""
:param
path: the path of dataset
ratio: the ritio of oversample
"""
self.path = path
file = open(self.path, 'r')
s... | 1,534 |
582 | /*******************************************************************************
* Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, an... | 1,289 |
335 | <gh_stars>100-1000
{
"word": "Bill",
"definitions": [
"A printed or written statement of the money owed for goods or services.",
"A draft of a proposed law presented to parliament for discussion.",
"A programme of entertainment at a theatre or cinema.",
"A banknote.",
"A ... | 142 |
778 | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: <NAME>
// ... | 4,633 |
395 |
////////////////////////////////////
// DEVICE-SPECIFIC LED SERVICES //
////////////////////////////////////
// NOTE: This example is constructed only for the purpose of demonstrating how to
// emulate a pushbutton in HomeSpan. The length of the blinking routine is MUCH longer
// than HomeSpan should spend on an u... | 1,636 |
524 | <reponame>Qt-Widgets/im-desktop-imported
#include "stdafx.h"
#include "voip_memory_reporter.h"
#include "VoipManager.h"
CORE_MEMORY_STATS_NS_BEGIN
namespace
{
const name_string_t Name = "voip_initialization";
}
voip_memory_consumption_reporter::voip_memory_consumption_reporter(std::weak_ptr<voip_manager::VoipMan... | 296 |
661 | <filename>src/grow-array.h
#ifndef GROW_ARRAY_H
#define GROW_ARRAY_H
#include <stdint.h>
#include <stdlib.h>
void *grow_array_using_realloc(void *a, uint32_t *size, size_t target_size);
static inline void *grow_array(void *a, uint32_t *size, size_t target_size)
{
uint32_t n = *size;
if (target_size <= n)
... | 177 |
1,144 | <reponame>dram/metasfresh
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
* This program is free software; you can redistribute it and/or modify it *
* under the t... | 5,816 |
335 | <reponame>Safal08/Hacktoberfest-1
{
"word": "Withy",
"definitions": [
"A tough, flexible branch of an osier or other willow, used for tying, binding, or basketry."
],
"parts-of-speech": "Noun"
} | 93 |
310 | {
"name": "Rax",
"description": "A virtual audio rack.",
"url": "http://www.audiofile-engineering.com/support/manuals/rx/3/html/index.html"
} | 56 |
1,909 | package org.knowm.xchange.idex.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Objects;
import org.knowm.xchange.idex.annotations.ApiModelProperty;
public class FundingLedger {
private String depositNumber = "0";
private String currency = "";
private String amount = "";
private St... | 1,366 |
5,169 | <gh_stars>1000+
{
"name": "PNObject",
"version": "2.2",
"summary": "PNObject is a simple replica of the more complex ParseObject",
"homepage": "https://github.com/giuseppenucifora/PNObject",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"<NAME>": "<EMAIL>"
},
"source": {
... | 478 |
1,058 | // Copyright (c) 2020-2021 ByteDance, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, p... | 2,197 |
709 | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2021 <NAME>
// Copyright (c) 2016-2021 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <Siv3D/Common.hpp>
# inclu... | 309 |
784 | <gh_stars>100-1000
package jforgame.orm.ddl;
import java.sql.Connection;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* 数据库schema
*/
public class DatabaseMetadata {
... | 800 |
2,875 | # -*-coding:utf8-*-#
__author__ = 'play4fun'
"""
create time:15-10-28 下午7:27
cv2.cornerHarris() 参数如下
• img - 数据类型为 float32 的 入图像。
• blockSize - 点检测中 考 的 域大小。
• ksize - Sobel 求导中使用的窗口大小
• k - Harris 点检测方程中的自由参数 取值参数为 [0,04 0.06].
"""
import cv2
import numpy as np
filename = '../data/chessboard.png'
# filename = '.... | 509 |
1,428 | <filename>C/HelloTaiwan.c
#include<stdio.h>
void main()
{
printf("Hello India!!!\n");
}
| 38 |
368 | #pragma once
const float FNC_NITROUS_BASE_ACCELERATION = 1.2f;
const float FNC_NITROUS_ACCELERATION_MULTIPLIER = 0.2f; // per 'boost' ; NitrousAcc = MULTIPLIER * numBoosts + BASE
bool FNC_ENABLE_KEYBOARD_CONTROL = true;
bool FNC_DRAW_V_HUD = false;
bool FNC_DRAW_WIDESCREEN_PARAMETERS = false;
const float FNC_DR... | 878 |
3,531 | /**
* @file lv_draw_sdl_texture_cache.c
*
*/
/*********************
* INCLUDES
*********************/
#include "../../lv_conf_internal.h"
#if LV_USE_GPU_SDL
#include "lv_draw_sdl_texture_cache.h"
#include "lv_draw_sdl_utils.h"
/*********************
* DEFINES
*********************/
/************... | 2,615 |
1,968 | //////////////////////////////////////////////////////////////////////////////
//
// 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>
//
///////////////////////////////////////... | 512 |
1,968 | <filename>external/Angle/Project/samples/RotatingCube/RotatingCubeWP8XamlDeferred/RotatingCubeWP8Xaml/RotatingCubeWP8XamlComponent/AngleBase.h
#pragma once
#include "DirectXHelper.h"
#include "EGL/egl.h"
#include "EGL/eglext.h"
#include "EGL/eglplatform.h"
#include "GLES2/gl2.h"
#include "GLES2/gl2ext.h"
#include "win... | 690 |
334 | <filename>search/model_search.py<gh_stars>100-1000
import torch
import torch.nn as nn
import torch.nn.functional as F
from operations import *
from torch.autograd import Variable
from genotypes import PRIMITIVES
# from utils.darts_utils import drop_path, compute_speed, compute_speed_tensorrt
from pdb import set_trace a... | 14,570 |
375 | <filename>ACEMusicPlayer/src/main/java/com/aniruddhc/acemusic/player/MiscFragments/TrialFragment.java
/*
* Copyright (C) 2014 <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
*
*... | 2,892 |
6,304 | // Copyright 2019 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"
// HASH=214b559d75c65a7bef6ef4be1f860053
REG_FIDDLE(Color_Methods, 256, 128, false, 0) {
void draw(SkCanvas* canvas) {
SkPaint paint;
paint.setCol... | 246 |
678 | <reponame>bzxy/cydia
/**
* This header is generated by class-dump-z 0.2b.
*
* Source: /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
*/
#import <StoreServices/StoreServices-Structs.h>
#import <StoreServices/XXUnknownSuperclass.h>
@class NSArray, SSXPCConnection;
@interface SSPreorderMana... | 597 |
566 | <gh_stars>100-1000
package com.kodelabs.mycosts.storage.model;
import com.kodelabs.mycosts.storage.database.CostDatabase;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbfl... | 923 |
677 | <gh_stars>100-1000
#ifndef LYNX_NET_BASE_NET_ERRORS_H_
#define LYNX_NET_BASE_NET_ERRORS_H_
#include <string>
namespace net {
// Error values are negative.
enum Error {
// No error.
OK = 0,
#define NET_ERROR(label, value) ERR_ ## label = value,
#include "net/base/net_error_list.h"
#und... | 282 |
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.deploymentmanager.implementation;
import com.azure.core.management.Region;
import com.azure.core.util.Context;
import com.azure.... | 2,085 |
1,744 | package org.embulk;
import java.util.Random;
import org.embulk.EmbulkEmbed;
import org.embulk.config.ModelManager;
import org.embulk.deps.buffer.PooledBufferAllocator;
import org.embulk.exec.SimpleTempFileSpaceAllocator;
import org.embulk.plugin.PluginClassLoaderFactory;
import org.embulk.plugin.PluginClassLoaderFacto... | 1,196 |
4,234 | #include <mbgl/renderer/query.hpp>
#include <mbgl/renderer/tile_parameters.hpp>
#include <mbgl/style/sources/geojson_source.hpp>
#include <mbgl/tile/geojson_tile.hpp>
#include <mbgl/tile/geojson_tile_data.hpp>
#include <utility>
namespace mbgl {
GeoJSONTile::GeoJSONTile(const OverscaledTileID& overscaledTileID,
... | 878 |
5,535 | // Greenplum Database
// Copyright (C) 2016 VMware, Inc. or its affiliates.
#ifndef GPOPT_CPullUpProjectElementTest_H
#define GPOPT_CPullUpProjectElementTest_H
#include "gpos/base.h"
namespace gpopt
{
class CPullUpProjectElementTest
{
public:
static gpos::GPOS_RESULT EresUnittest();
};
} // namespace gpopt
#endif... | 133 |
1,828 | package com.rubyeventmachine;
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.security.KeyManagementException;
import java.security.NoSuchAlgorithmException;
public class NullEmReactor impleme... | 811 |
1,396 | /*
* 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... | 4,697 |
335 | {
"word": "Excellence",
"definitions": [
"The quality of being outstanding or extremely good.",
"An outstanding feature or quality."
],
"parts-of-speech": "Noun"
} | 76 |
988 | <reponame>JoachimRohde/netbeans<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 Ap... | 23,457 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.