max_stars_count int64 301 224k | text stringlengths 6 1.05M | token_count int64 3 727k |
|---|---|---|
679 | <reponame>Grosskopf/openoffice<filename>main/cui/source/tabpages/transfrm.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 inf... | 21,765 |
977 | /*************************************************************************
*
* Copyright 2016 Realm 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/lice... | 3,578 |
1,761 | # Adaptive Histogram Equalization
#
# This example shows off how to use adaptive histogram equalization to improve
# the contrast in the image. Adaptive histogram equalization splits the image
# into regions and then equalizes the histogram in those regions to improve
# the image contrast versus a global histogram equa... | 297 |
348 | {"nom":"Villeneuve-la-Garenne","circ":"1ère circonscription","dpt":"Hauts-de-Seine","inscrits":12445,"abs":8883,"votants":3562,"blancs":218,"nuls":79,"exp":3265,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":1652},{"nuance":"COM","nom":"Mme <NAME>","voix":1613}]} | 108 |
502 | /*
* 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,035 |
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 1,294 |
565 | <reponame>hkosova/swagger-samples
package io.swagger.sample.resource;
import io.swagger.sample.exception.NotFoundException;
import io.swagger.sample.models.ApiResponse;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation... | 226 |
461 | <gh_stars>100-1000
#ifndef MOTORCONTROLLERCONFIGWINDOW_H
#define MOTORCONTROLLERCONFIGWINDOW_H
#include <QDialog>
#include <QTimer>
#include "can_structs.h"
namespace Ui {
class MotorControllerConfigWindow;
}
//Serial_Number_EEPROM , 0x0113, uint, dec, 16, 6, spr, spr, spr
enum PARAM_TYPE
{
... | 513 |
1,442 | import tensorflow as tf
import delta_infer as dti
from tts_transformer.model import *
@dti.RegistPattern(name="TransformerCell")
def TransformerCellType(src, src_mask, d_model, nhead, dim_feedforward=2048):
output = TransformerEncoderLayer(
d_model, nhead, dim_feedforward=2048, dropout=0.1, activation="gelu")... | 589 |
3,296 | #include "ccv.h"
#include "ccv_internal.h"
#include "nnc/ccv_nnc.h"
#include "nnc/ccv_nnc_easy.h"
#include "nnc/ccv_nnc_internal.h"
#ifdef USE_OPENMP
#include <omp.h>
#endif
#ifdef USE_DISPATCH
#include <dispatch/dispatch.h>
#endif
static int _ccv_nnc_max_forw(const ccv_nnc_cmd_t cmd, const ccv_nnc_hint_t hint, const ... | 6,231 |
435 | {
"copyright_text": "Creative Commons Attribution license (reuse allowed)",
"description": "This talk will show you how to develop a game using Kinect from Python.\nI'll start w/ an introduction to the Kinect API including skeleton\ntracking, normal video, depth video, and audio APIs including speech\nrecognition. ... | 430 |
353 | <filename>junixsocket-common/src/test/java8/org/newsclub/net/unix/FinalizeTest.java
/*
* junixsocket
*
* Copyright 2009-2021 <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
*
... | 688 |
11,356 | <filename>src/external/xgboost/tests/python/test_with_sklearn.py
import xgboost as xgb
import numpy as np
from sklearn.cross_validation import KFold, train_test_split
from sklearn.metrics import mean_squared_error
from sklearn.grid_search import GridSearchCV
from sklearn.datasets import load_iris, load_digits, load_bos... | 1,146 |
791 | <reponame>ozkl/soso
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdint.h>
#include <soso.h>
int get_process_cpu_usage(uint32_t pid, ThreadInfo* threads, uint32_t count)
{
for (size_t i = 0; i < count; i++)
{
ThreadInfo* info = threads + i;
if (info->... | 499 |
2,151 | // Copyright 2015 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "core/fxcrt/fx_memory.h"
#include <limits>
#include "testing/gtest/include/gtest/gtest.h"
namespace {
const size_t kMaxByteAlloc = std::numeric_lim... | 1,015 |
654 | from PhyPayload import PhyPayload
def new(key):
return PhyPayload(key)
| 30 |
3,263 | <reponame>boost-entropy-typescript/eigen
#import <Foundation/Foundation.h>
#import "ARDefaults.h"
@interface ARDefaults (SiteFeatures)
+ (void)setOnboardingDefaults:(NSArray *)features;
@end
| 71 |
1,997 | /*
* Copyright 2019 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" fil... | 360 |
456 | <gh_stars>100-1000
package com.swingfrog.summer.client;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.swingfrog.summer.server.rpc.RpcClientGroup;
import com.swingfrog.summer.util.PollingUtil;
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.At... | 449 |
5,169 | {
"name": "VOSegmentedControl",
"version": "1.0.0",
"summary": "A segmented control with multi styles",
"homepage": "https://github.com/pozi119/VOSegmentedControlDemo",
"license": {
"type": "GPL V2.0",
"file": "LICENSE"
},
"authors": {
"pozi119": "<EMAIL>"
},
"platforms": {
"ios": "7.0... | 253 |
1,338 | /*
Open Tracker License
Terms and Conditions
Copyright (c) 1991-2000, Be Incorporated. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without... | 785 |
348 | <reponame>vmusch/OpenMS<gh_stars>100-1000
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tue... | 1,478 |
1,240 | <reponame>subethaedit/SubEthaEd<gh_stars>1000+
// ModeSettings.h
// SubEthaEdit
//
// Created by <NAME> on 02.05.06.
#import <Cocoa/Cocoa.h>
#import <OgreKit/OgreKit.h>
@interface ModeSettings : NSObject {
BOOL everythingOkay;
}
@property (nonatomic, strong, readonly) NSArray *recognizedExtensions;
@property ... | 274 |
334 | <reponame>SpongePowered/Common<filename>src/main/java/org/spongepowered/common/service/server/context/SpongeContextService.java
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is her... | 863 |
465 | <gh_stars>100-1000
package com.ansel.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;
import com.ansel.bean.Employee;
publ... | 202 |
1,686 | // Copyright 2020 The Chromium Embedded Framework 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 CEF_LIBCEF_BROWSER_CHROME_CHROME_BROWSER_CONTEXT_H_
#define CEF_LIBCEF_BROWSER_CHROME_CHROME_BROWSER_CONTEXT_H_
#pragma once
#... | 536 |
1,041 | <filename>ebean-test/src/test/java/org/tests/ddd/iud/TestDPersonEl.java
package org.tests.ddd.iud;
import io.ebean.DB;
import io.ebean.bean.EntityBean;
import io.ebean.plugin.BeanType;
import io.ebean.plugin.ExpressionPath;
import io.ebean.plugin.SpiServer;
import io.ebean.text.json.JsonContext;
import org.junit.jupit... | 573 |
1,060 | /*
* Copyright 2012 LinkedIn, 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 in... | 450 |
1,467 | <gh_stars>1000+
{
"version": "2.16.102",
"date": "2021-07-14",
"entries": [
{
"type": "feature",
"category": "AWS Certificate Manager",
"contributor": "",
"description": "Added support for RSA 3072 SSL certificate import"
},
{
... | 895 |
331 | <gh_stars>100-1000
import os
def safeMakeDir(tdir):
if not os.path.isdir(tdir):
os.mkdir(tdir)
def safeMakeDirs(tdir):
if not os.path.isdir(tdir):
os.makedirs(tdir)
| 98 |
6,210 | /*
* 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,938 |
587 | <reponame>Danieltsai0630/line-bot-sdk-java-master<filename>line-bot-api-client/src/main/java/com/linecorp/bot/client/LineBlobClient.java
/*
* Copyright 2019 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in co... | 757 |
640 | <filename>examples/graphics/cmandel.c
/*
Coloured mandelbrot demo
$Id: cmandel.c $
*/
#include <math.h>
#include <stdio.h>
#include <graphics.h>
void main()
{
float a, b, c, d, e, g, h, i, j;
int x, y;
int xmax, ymax;
int k;
float l, m, n, o, p;
cclg();
xmax = getmaxx();
ymax = ... | 920 |
416 | #include <unistd.h>
#include <string.h>
#include <sys/syscall.h>
int gethostname(char *name, size_t len)
{
if (!name)
return -1;
return syscall2(int, SYS_GETHOSTNAME, name, len);
} | 92 |
452 | /*
* Copyright 2017 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 applicable law or agreed to ... | 1,227 |
1,800 | package com.example.plugintest.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import com.limpoxe.fairy.util.LogUtil;
public class BootCompletedReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent inte... | 128 |
631 | import sys
from os.path import abspath, dirname
# Add our module to system path
sys.path.insert(0, dirname(dirname(abspath(__file__))))
| 46 |
3,102 | // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple i386-unknown-linux-gnu -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple x86_64-pc-win32 -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple i386-pc-win32 -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple x86... | 1,142 |
324 | <reponame>tormath1/jclouds
/*
* 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
... | 2,029 |
410 | // Copyright(c) 2017 POLYGONTEK
//
// 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 i... | 29,795 |
390 | <gh_stars>100-1000
//
// RHSocketByteBuf.h
// Example
//
// Created by zhuruhong on 16/8/19.
// Copyright © 2016年 zhuruhong. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface RHSocketByteBuf : NSObject
@property (nonatomic, strong, readonly) NSMutableData *buffer;
- (instancetype)initWithData... | 739 |
679 | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 793 |
3,442 | <reponame>wcicola/jitsi
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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
*
* ... | 6,073 |
608 | <reponame>etheory/vstgui<filename>vstgui/lib/platform/iplatformgradient.h
// This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#pragma once
#include "../ccolor.h"
names... | 211 |
4,262 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 834 |
5,269 | /*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
*
* You may not use this file except in compliance with the License. You may
* obtain... | 2,143 |
2,890 | <filename>lts-core/src/main/java/com/github/ltsopensource/core/properties/TaskTrackerProperties.java
package com.github.ltsopensource.core.properties;
import com.github.ltsopensource.autoconfigure.annotation.ConfigurationProperties;
import com.github.ltsopensource.core.cluster.AbstractConfigProperties;
import com.git... | 1,231 |
2,843 | package com.cheoo.photo.internal.entity;
import android.content.Context;
import android.database.Cursor;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.Nullable;
import com.cheoo.photo.R;
import com.cheoo.photo.internal.loader.AlbumLoader;
public cla... | 1,191 |
3,227 | <reponame>ffteja/cgal<gh_stars>1000+
#include "Scene_nef_polyhedron_item.h"
#include "Nef_type.h"
#include <CGAL/Three/Polyhedron_demo_io_plugin_interface.h>
#include <CGAL/Three/Three.h>
#include <fstream>
using namespace CGAL::Three;
class Polyhedron_demo_off_to_nef_plugin :
public QObject,
public Polyhedron_dem... | 859 |
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.
#include "extensions/browser/api/declarative_net_request/ruleset_manager.h"
#include "base/files/file_path.... | 12,236 |
543 | /*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | 3,854 |
563 | /**
* Copyright 2004 - 2016 Syncleus, 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... | 2,658 |
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.
#include "components/cryptauth/cryptauth_test_util.h"
namespace cryptauth {
// Attributes of the default test remote device.
const char kTestRemoteDevic... | 193 |
1,529 | <gh_stars>1000+
from __future__ import division
from __future__ import print_function
import sys
import math
import pickle
import copy
import numpy as np
import cv2
import matplotlib.pyplot as plt
from DataLoader import Batch
from Model import Model, DecoderType
from SamplePreprocessor import preprocess
# constants ... | 1,826 |
1,195 | from pymatting.preconditioner.ichol import ichol
from pymatting.preconditioner.jacobi import jacobi
from pymatting.preconditioner.vcycle import vcycle
| 50 |
875 | <reponame>GENGXIANQIU653/jeewx-boot<filename>jeewx-boot-module-weixin/src/main/java/com/jeecg/p3/message/web/back/SendGroupMessageController.java
package com.jeecg.p3.message.web.back;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResp... | 6,140 |
2,151 | <filename>third_party/blink/renderer/modules/payments/basic_card_helper.h
// 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_MODULES_PAYMENTS_BASIC_CARD_HELPER_H_
#define... | 492 |
1,602 | //===- JumpThreading.h - thread control through conditional BBs -*- C++ -*-===//
//
// 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
//
//===---------------------------... | 2,579 |
930 | // Copyright 2017-2019, <NAME> and the Polyscope contributors. http://polyscope.run.
#pragma once
#include "polyscope/surface_mesh.h"
namespace polyscope {
// ========================================================
// ========== Edge Subset ==========
// ======================================... | 366 |
417 | <reponame>linlih/v6d
#include "Allocation.h"
#include "jemalloc/include/jemalloc/jemalloc.h"
bool Allocation::operator<(const Allocation &that) const {
return this->freeAfterAbsolute < that.freeAfterAbsolute;
}
bool Allocation::operator>(const Allocation &that) const {
return this->freeAfterAbsolute > that.freeA... | 334 |
30,785 | package jadx.api.data;
import java.util.List;
public interface ICodeData {
long getUpdateId();
List<ICodeComment> getComments();
}
| 47 |
654 | /*
* Copyright (C) 2016 <NAME>, University of Pau, France
*
* <EMAIL>
*/
#ifndef HRLV_H
#define HRLV_H
#include "Sensor.h"
#define TEMP_SCALE _BOARD_MVOLT_SCALE
class HRLV : public Sensor {
public:
HRLV(char* nomenclature, bool is_analog, bool is_connected, bool is_low_power, uint8_t pin_read, uint8_t pin... | 165 |
1,918 | # Copyright 2021, The TensorFlow Federated Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 1,883 |
3,702 | <filename>discovery-server/src/main/java/app/metatron/discovery/query/druid/aggregations/ApproxHistogramAggregation.java
/*
* 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://... | 773 |
2,139 | /**
* **** BEGIN LICENSE BLOCK *****
* Version: EPL 2.0/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Eclipse Public
* 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.eclipse.org/legal... | 1,565 |
507 | <gh_stars>100-1000
# tests/test_provider_abergmeier_dbussecretservice.py
# Automatically generated by tools/makecode.py (24-Sep-2021 15:15:07 UTC)
def test_provider_import():
import terrascript.provider.abergmeier.dbussecretservice
def test_datasource_import():
from terrascript.data.abergmeier.dbussecretser... | 300 |
30,023 | """The binary_sensor tests for the nexia platform."""
from homeassistant.const import STATE_OFF, STATE_ON
from .util import async_init_integration
async def test_create_binary_sensors(hass):
"""Test creation of binary sensors."""
await async_init_integration(hass)
state = hass.states.get("binary_senso... | 422 |
417 | <gh_stars>100-1000
//-----------------------------------------------------------------------------
// Verve
// Copyright (C) 2014 - <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 Softwar... | 1,023 |
372 | <gh_stars>100-1000
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software ... | 753 |
1,444 | <filename>Mage/src/main/java/mage/game/turn/BeginCombatStep.java
package mage.game.turn;
import java.util.UUID;
import mage.constants.PhaseStep;
import mage.game.Game;
import mage.game.events.GameEvent.EventType;
/**
*
* @author <EMAIL>
*/
public class BeginCombatStep extends Step {
public BeginCombatStep()... | 408 |
695 | <filename>src/UnitTests/TestData/AstAnalysis/LockCount1.py
import LockCount2
import doestnotexist
y = 1
x.
| 39 |
2,151 | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/css/properties/longhands/webkit_box_decoration_break.h"
#include "third_party/blink/renderer/core/style/compute... | 264 |
76,518 | <filename>src/modules/videoconference/VideoConferenceShared/username.cpp
#include "username.h"
#include <Windows.h>
#include <wtsapi32.h>
std::optional<std::wstring> ObtainActiveUserName()
{
const DWORD sessionId = WTSGetActiveConsoleSessionId();
WCHAR* pUserName;
DWORD _ = 0;
if (!WTSQuerySessionInf... | 222 |
554 | # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to us... | 2,220 |
777 | /*
* Copyright (C) 2010, Google Inc. 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 above copyright
* notice, this list of conditio... | 4,329 |
1,144 | /*
* #%L
* alberta-article-api
* %%
* Copyright (C) 2021 metas GmbH
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 2 of the
* License, or (at your option) any later... | 821 |
2,123 | <reponame>nonego/metadata-extractor
/*
* Copyright 2002-2019 <NAME> and contributors
*
* 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/... | 666 |
2,372 | //
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in bin... | 1,926 |
625 | /*
* 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,056 |
1,355 | // Copyright (c) 2018 <NAME>
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#include "grid_smoke_solver.h"
#include "pybind11_utils.h"
#include <jet/grid_smoke_solver2.h>
#include <j... | 5,023 |
364 | <reponame>steve-mcintyre/shim<filename>include/system/ctype.h
// SPDX-License-Identifier: BSD-2-Clause-Patent
/*
* ctype.h - standard ctype functions
*/
#ifdef SHIM_UNIT_TEST
#include_next <ctype.h>
#else
#ifndef _CTYPE_H
#define _CTYPE_H
#define isprint(c) ((c) >= 0x20 && (c) <= 0x7e)
/* Determines if a particular... | 831 |
3,102 | // RUN: %clang -x c-header %s -o %t.pch -MMD -MT dependencies -MF %t.d -### 2> %t
// RUN: FileCheck %s -input-file=%t
// CHECK: -emit-pch
// CHECK: -dependency-file
// CHECK: -module-file-deps
// RUN: %clang -c %s -o %t -MMD -MT dependencies -MF %t.d -### 2> %t
// RUN: FileCheck %s -check-prefix=CHECK-NOPCH -input-fil... | 407 |
1,141 | /*
* predixy - A high performance and full features proxy for redis.
* Copyright (C) 2017 Joyield, Inc. <<EMAIL>>
* All rights reserved.
*/
#ifndef _PREDIXY_DC_H_
#define _PREDIXY_DC_H_
#include <vector>
#include <map>
#include "ID.h"
#include "Conf.h"
#include "String.h"
struct DCReadPolicy
{
int priority =... | 610 |
3,227 | <filename>Tetrahedral_remeshing/examples/Tetrahedral_remeshing/tetrahedral_remeshing_of_one_subdomain.cpp
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Tetrahedral_remeshing/Remeshing_triangulation_3.h>
#include <CGAL/tetrahedral_remeshing.h>
#include "tetrahedral_remeshing_generate_i... | 484 |
335 | <reponame>mrslezak/Engine
/*
Copyright (C) 2020 Quaternion Risk Management Ltd
All rights reserved.
This file is part of ORE, a free-software/open-source library
for transparent pricing and risk analysis - http://opensourcerisk.org
ORE is free software: you can redistribute it and/or modify it
under the terms o... | 4,859 |
1,738 | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 636 |
1,172 | <reponame>michaelfig/caja<gh_stars>1000+
// Copyright (C) 2005 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
//
// Unle... | 908 |
5,250 | <gh_stars>1000+
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softwar... | 750 |
348 | {"nom":"Saint-Gand","circ":"1ère circonscription","dpt":"Haute-Saône","inscrits":97,"abs":47,"votants":50,"blancs":0,"nuls":2,"exp":48,"res":[{"nuance":"FN","nom":"<NAME>","voix":33},{"nuance":"REM","nom":"Mme <NAME>","voix":15}]} | 94 |
478 | // File: crn_rand.h
// See Copyright Notice and license at the end of inc/crnlib.h
#pragma once
namespace crnlib
{
class kiss99
{
public:
kiss99();
void seed(uint32 i, uint32 j, uint32 k);
inline uint32 next();
private:
uint32 x;
... | 1,292 |
3,539 | <reponame>horchi/libwebsockets<gh_stars>1000+
/*
* Generic button ops
*
* Copyright (C) 2019 - 2020 <NAME> <<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 restricti... | 1,357 |
820 | <reponame>MRNIU/LinuxLike
// This file is a part of Simple-XX/SimpleKernel
// (https://github.com/Simple-XX/SimpleKernel).
//
// limits.h for Simple-XX/SimpleKernel.
#ifndef _LIMITS_H_
#define _LIMITS_H_
#ifdef __cplusplus
extern "C" {
#endif
// int8_t
#define SCHAR_MIN (-128)
#define SCHAR_MAX (127)
// uint8_t
#de... | 474 |
3,428 | <filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/easy-ham-2/00369.9287d82618728e82ca293fe856ad1098.json
{"id":"00369","group":"easy-ham-2","checksum":{"type":"MD5","value":"9287d82618728e82ca293fe856ad1098"},"text":"From <EMAIL> Tue Aug 13 10:29:38 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>.... | 1,294 |
431 | /**
* Copyright © 2006-2016 Web Cohesion (<EMAIL>)
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by a... | 764 |
303 | /* Copyright (C) 2014-2015 <NAME> */
/* Copyright (C) 2005-2011 <NAME> */
package com.lightcrafts.utils;
/*
* This is a refactored version based on
* Facets Web Application Framework by <NAME>, 2005
* http://sourceforge.net/projects/facets/
*/
import java.lang.ref.Reference;
import java.lang.ref.ReferenceQueue;
... | 1,256 |
1,338 | <gh_stars>1000+
/*
* Copyright 2001-2016, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _UNICODEBLOCKOBJECTS_H
#define _UNICODEBLOCKOBJECTS_H
#include <Font.h>
// Unicode block list with their unicode encoding range
//
// Original BeOS-compatible blocks
const unico... | 5,464 |
347 | # @Time : 2021/10/12
# @Author : <NAME>
# @Email : <EMAIL>
"""
textbox.data.dataloader.kg_sent_dataloader
################################################
"""
from textbox.data.dataloader import AbstractDataLoader
from textbox.data.utils import pad_sequence
class KGSentenceDataLoader(AbstractDataLoader):
r""... | 838 |
325 | <filename>mars/openssl/export/crypto/pay_openssl_crypto_util.cpp<gh_stars>100-1000
#include "pay_openssl_crypto_util.h"
#include <string>
#include "openssl/bio.h"
#include "openssl/evp.h"
#include "openssl/pem.h"
#include "openssl/hmac.h"
#include "openssl/ecdsa.h"
#include "openssl/sha.h"
#include "openssl/rand.h"
#... | 5,230 |
439 | /**
* Baidu.com,Inc.
* Copyright (c) 2000-2013 All Rights Reserved.
*/
package com.baidu.hsb.parser.ast.expression.primary.function.info;
import java.util.List;
import com.baidu.hsb.parser.ast.expression.Expression;
import com.baidu.hsb.parser.ast.expression.primary.function.FunctionExpression;
/**
* @author <EM... | 209 |
1,056 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 895 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.