content
stringlengths
4
1.04M
lang
stringclasses
358 values
score
int64
0
5
repo_name
stringlengths
5
114
repo_path
stringlengths
4
229
repo_licenses
listlengths
1
8
/* Copyright 2018 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...
C++
4
ashutom/tensorflow-upstream
tensorflow/compiler/xla/service/dynamic_index_splitter.cc
[ "Apache-2.0" ]
[[documentation.advanced]] == Advanced Topics Finally, we have a few topics for more advanced users: * *Spring Boot Applications Deployment:* <<deployment#deployment.cloud, Cloud Deployment>> | <<deployment#deployment.installing.nix-services, OS Service>> * *Build tool plugins:* <<build-tool-plugins#build-tool-plugins...
AsciiDoc
1
techAi007/spring-boot
spring-boot-project/spring-boot-docs/src/docs/asciidoc/documentation/advanced.adoc
[ "Apache-2.0" ]
Random { // Note: state^ must not be zero! xorshift32(state *uint) { x := state^ x = xor(x, x << 13) x = xor(x, x >> 17) x = xor(x, x << 5) state^ = x return x } }
mupad
3
jturner/muon
lib/random.mu
[ "MIT" ]
# Argument Clinic # Copyright 2012-2013 by Larry Hastings. # Licensed to the PSF under a contributor agreement. from test import support, test_tools from test.support import os_helper from unittest import TestCase import collections import inspect import os.path import sys import unittest test_tools.skip_if_missing('...
Python
5
pxeger/cpython
Lib/test/test_clinic.py
[ "0BSD" ]
[Desktop Entry] Version=1.0 Type=Application Name=musikcube GenericName=musikcube Comment=terminal-based music player Comment[ru]=консольный аудиоплеер Exec=musikcube.app %U TryExec=/snap/bin/musikcube.app Icon=${SNAP}/usr/share/icons/hicolor/128x128/apps/musikcube.png Terminal=true Categories=AudioVideo;Player;Audio; ...
desktop
1
trofi/musikcube
src/musikcube/data/linux/share/applications/musikcube.snap.desktop
[ "BSD-3-Clause" ]
/* * 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 ...
Java
5
OlegPt/spark
examples/src/main/java/org/apache/spark/examples/sql/streaming/JavaStructuredKerberizedKafkaWordCount.java
[ "Apache-2.0" ]
<template> <el-form class="mo-task-general" ref="form" :model="form" :label-width="formLabelWidth" v-if="task" > <el-form-item :label="`${$t('task.task-name')}: `"> <div class="form-static-value"> {{ taskFullName }} </div> </el-form-item> <el-form-item :label="`${...
Vue
4
9Fork/Motrix
src/renderer/components/TaskDetail/TaskGeneral.vue
[ "MIT" ]
{"version":"1.0.0","what-is-a-this-file":"This is a exported Mercury note file. if Do you want use this file, You can download here https://github.com/cloverhearts/mercury/releases","id":"note-118b0cbc-ed7a-4566-bb68-6da22533b701","title":"02. Try write javascript code","description":"You can execute your javascript in...
MAXScript
4
cloverhearts/mercury
modules/server/initialize/Notes/02-try-write-javascript-code.mcr
[ "Apache-2.0" ]
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
TypeScript
4
sbj42/vscode
src/vs/workbench/api/common/extHostLogService.ts
[ "MIT" ]
"""Sensor for Last.fm account status.""" from __future__ import annotations import hashlib import logging import re import pylast as lastfm from pylast import WSError import voluptuous as vol from homeassistant.components.sensor import PLATFORM_SCHEMA, SensorEntity from homeassistant.const import ATTR_ATTRIBUTION, C...
Python
5
MrDelik/core
homeassistant/components/lastfm/sensor.py
[ "Apache-2.0" ]
from django.urls import include, path from django.views import View def view1(request): pass def view2(request): pass class View3(View): pass nested = ([ path('view1/', view1, name='view1'), path('view3/', View3.as_view(), name='view3'), ], 'backend') urlpatterns = [ path('some/path/', ...
Python
4
ni-ning/django
tests/urlpatterns_reverse/nested_urls.py
[ "CNRI-Python-GPL-Compatible", "BSD-3-Clause" ]
{ "configVersion": "6.1.0", "autoReloadConfig": false, "language": "auto", "region": "auto", "definition": { "author": "XVM team", "description": "Default settings for XVM", "url": "https://modxvm.com/", "date": "16.05.2019", "gameVersion": "1.5.0.1", "modMinVersion": "7.9.2" }, "...
XC
3
elektrosmoker/RelhaxModpack
RelhaxModpack/RelhaxUnitTests/bin/Debug/patch_regressions/followPath/check_07.xc
[ "Apache-2.0" ]
i 00001 00 22 00000 02 31 00002 i 00002 02 25 77776 02 35 00014 i 00003 02 31 00004 00 22 00000 i 00004 02 25 77774 02 35 00014 i 00005 02 31 00007 00 22 00000 i 00006 00 22 77777 00 22 00000 i 00007 03 24 00001 03 34 00014 i 00010 03 24 77777 02 31 00012 i 00011 03 24 77776 00 22 00000 i 00012 03 25 00001 03 35 00014 ...
Octave
0
besm6/mesm6
test/vjm/vjm.oct
[ "MIT" ]
/* Border Fade */ .border-fade() { @borderWidth: 4px; .hacks(); .prefixed(transition-duration, @mediumDuration); .prefixed(transition-property, box-shadow); box-shadow: inset 0 0 0 @borderWidth @primaryColor, 0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */ &:hover, &:foc...
Less
4
jsahdeva/skya
bower_components/hover/less/effects/border-transitions/_border-fade.less
[ "MIT" ]
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>PRIMEROS PASOS CON BRACKETS</title> <meta name="description" content="Una guía interactiva de primeros pasos para Brackets."> <link rel="stylesheet" hre...
HTML
4
ravitejavalluri/brackets
test/spec/LowLevelFileIO-test-files/es_small_utf8.html
[ "MIT" ]
// Copyright 2014 The Go 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 pprof // A protobuf is a simple protocol buffer encoder. type protobuf struct { data []byte tmp [16]byte nest int } func (b *protobuf) varint(x ui...
Go
4
Havoc-OS/androidprebuilts_go_linux-x86
src/runtime/pprof/protobuf.go
[ "BSD-3-Clause" ]
bad = _1.2
TOML
0
vanillajonathan/julia
stdlib/TOML/test/testfiles/invalid/float-underscore-before.toml
[ "Zlib" ]
Traceback (most recent call last): File "/home/tb.py", line 13, in <module> in_Python_3_11() ^^^^^^^^^^^^^^^^ File "/home/tb.py", line 2, in in_Python_3_11 return error_locations() ^^^^^^^^^^^^^^^^^ File "/home/tb.py", line 5, in error_locations return are_provided() is True ...
Python traceback
3
jfbu/pygments
tests/examplefiles/pytb/error_locations.pytb
[ "BSD-2-Clause" ]
{{ The HT16K33 is a 16*8 LED controller that accepts display commands through an I2C interface. The chip controls LED grids organized as 16-rows by 8-columns. Those LEDs could be true LED grids, or they could be individual segments in a multi-segment display. ...
Propeller Spin
5
deets/propeller
libraries/community/p1/All/Driver for HT16K133 and 8x8 bicolor led matrix (Adafruit backpack)/HT16K33_Bicolor_8x8.spin
[ "MIT" ]
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. default rel %define XMMWORD %define YMMWORD %define ZMMWORD %ifdef BORINGSSL_PREFIX %include "boringssl_prefix_symbols_nasm.inc" %endif section .text code align=64 global gcm_gmult_ssse3 ALIGN 16 gc...
Assembly
3
pdv-ru/ClickHouse
contrib/boringssl-cmake/win-x86_64/crypto/fipsmodule/ghash-ssse3-x86_64.asm
[ "Apache-2.0" ]
palette $f 50 red 25 orange 25 yellow end sphereDetail 2 DECAY: 0.01 do 10 times rotate FRAME / 10 push i: i + 0.1 x: noise(i) y: noise(i,0.1) move 1 + x * 0.5,1 + y * 0.5 rotate 90,0,-1,0 particle 0.04,-0.0001,0.0005,0 color lerp($f, HEALTH - 0.001), (HEALTH * 100) + 100 sphere 0.1 end pop end
Cycript
3
Psykopear/cyril
bin/data/code/9.cy
[ "MIT" ]
# Task 30 LP # Variables var x_1 integer >= 0; var x_2 integer >= 0 # Objective Function maximize objective: 17 * x_1 + 12 * x_2; # Constraints subto con1: 10 * x_1 + 7 * x_2 <= 40; subto con2: x_1 + x_2 <= 5;
Zimpl
4
ArielMant0/ko2017
sheet12/task30.zpl
[ "MIT" ]
/* 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...
C++
4
EricRemmerswaal/tensorflow
tensorflow/lite/delegates/gpu/common/tasks/special/conv_pointwise.cc
[ "Apache-2.0" ]
// error-pattern: invalid windows subsystem `wrong`, only `windows` and `console` are allowed #![windows_subsystem = "wrong"] fn main() {}
Rust
3
Eric-Arellano/rust
src/test/ui/windows-subsystem-invalid.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
/* * By downloading, copying, installing or using the software you agree to this license. * If you do not agree to this license, do not download, install, * copy or use the software. * * * License Agreement * For Open Source Computer Vision Library * ...
C++
4
thisisgopalmandal/opencv
3rdparty/carotene/src/sub.cpp
[ "BSD-3-Clause" ]
<?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"/> <xsl:template match="/...
XSLT
3
zealoussnow/chromium
third_party/blink/web_tests/fast/xsl/utf8-chunks.xsl
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
p('Include German')
Smarty
2
nicchagil/spring-framework
spring-webmvc/src/test/resources/org/springframework/web/servlet/view/groovy/includes/include_de_DE.tpl
[ "Apache-2.0" ]
\data\ ngram 1=62 ngram 2=3721 \1-grams: -99 <unk> 0 aa -99.000000 0 ae -99.000000 0 ah -99.000000 0 ao -99.000000 0 aw -99.000000 0 ax -99.000000 0 axh -99.000000 0 axr -99.000000 0 ay -99.000000 0 b -99.000000 0 bcl -99.000000 0 ch -99.000000 0 d -99.000000 0 dcl -99.000000 0 dh -99.000000 0 dx -99.000000 0 eh -99.0...
DNS Zone
0
shyamalschandra/CNTK
Examples/Speech/Miscellaneous/TIMIT/decoding/TIMIT.bigram.arpa
[ "MIT" ]
<%-- Copyright 2012 Netflix, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
Groovy Server Pages
3
michaelneale/asgard
grails-app/views/search/index.gsp
[ "Apache-2.0" ]
package com.blankj.utildebug.debug.tool.fileExplorer.sp; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.widget.TextView; import com.blankj.utilcode.util.FileUtils; import com.blankj.utilcode.util.SPUtils; import com.blankj.utildebug.R; import com.bl...
Java
5
YashBangera7/AndroidUtilCode
lib/utildebug/src/main/java/com/blankj/utildebug/debug/tool/fileExplorer/sp/SpViewerContentView.java
[ "Apache-2.0" ]
(*** This file is part of Lem. eth-isabelle project just uses it. See lem-license. ***) chapter {* Generated by Lem from maybe.lem. *} theory "Lem_maybe" imports Main "Lem_bool" "Lem_basic_classes" "Lem_function" begin (*open import Bool Basic_classes Function*) (* =============================...
Isabelle
4
pirapira/eth-isabelle
lem/Lem_maybe.thy
[ "Apache-2.0" ]
val f = stream { init = (const (0.), const (0.), const (0.), const (0.)); step ((x_p, x_pp, x_ppp, x_pppp), obs) = let x = gaussian (x_p, 1.) in let _ = observe (x, 1.0) in (x_pppp, (sample (x), x_p, x_pp, x_ppp)) } val main = stream { init = infer (1, f); step (f, obs) = let (d, s) = unfo...
MUF
4
psg-mit/probzelus-oopsla21
tests/up_multiple_its.muf
[ "MIT" ]
#!/usr/bin/env bash # Copyright 2017 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...
Shell
4
abhaikollara/tensorflow
tensorflow/tools/ci_build/code_link_check.sh
[ "Apache-2.0" ]
LV_Export(ListID, ByRef CodeLines := "") { local LVData, Id_LVData, Indent, RowData, Action, Match, ExpValue, Win , Step, TimesX, DelayX, Type, Target, Window, Comment, UntilArray := [] , PAction, PType, PDelayX, PComment, Act, iCount, init_ie, ComExp , VarsScope, FuncParams, IsFunction := false, CommentOut := fal...
AutoHotkey
4
standardgalactic/PuloversMacroCreator
LIB/Export.ahk
[ "Unlicense" ]
<%-- Copyright 2013 Netflix, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
Groovy Server Pages
3
Threadless/asgard
grails-app/views/stack/show.gsp
[ "Apache-2.0" ]
// ignore-windows // compile-flags: --crate-type lib #![feature(raw_dylib)] //~^ WARNING: the feature `raw_dylib` is incomplete #[link(name = "foo", kind = "raw-dylib")] //~^ ERROR: `#[link(...)]` with `kind = "raw-dylib"` only supported on Windows extern "C" {}
Rust
2
mbc-git/rust
src/test/ui/rfc-2627-raw-dylib/raw-dylib-windows-only.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
Opt('WinDetectHiddenText', 1) ;Path and filename of the installer executable $APPTOINSTALL="""" & $CmdLine[1] & """" Run($APPTOINSTALL) If @error <> 0 Then MsgBox(0, "Run failed", "The ""Run"" command failed for " & $APPTOINSTALL & " /S - exiting", 5) Exit EndIf ;Wait for the installation to complete and the dialo...
AutoIt
4
kewalaka/chocolatey-packages-2
automatic/_output/githubforwindows/2.7.0.24/tools/githubforwindows.au3
[ "Apache-2.0" ]
# Check the handling of inputs that also have phony edges. # Check that we handle phony rules for actual input files properly, and rebuild # targets that depend on them if the input actually exists and it changes. # RUN: rm -rf %t.build # RUN: mkdir -p %t.build # RUN: cp %s %t.build/build.ninja # RUN: ln -s %S/Inputs...
Ninja
5
uraimo/swift-llbuild
tests/Ninja/Build/phony-inputs.ninja
[ "Apache-2.0" ]
// check-pass // #81395: Fix ICE when recursing into Deref target only differing in type args pub struct Generic<T>(T); impl<'a> std::ops::Deref for Generic<&'a mut ()> { type Target = Generic<&'a ()>; fn deref(&self) -> &Self::Target { unimplemented!() } } impl<'a> Generic<&'a ()> { pub fn s...
Rust
3
mbc-git/rust
src/test/rustdoc-ui/deref-generic.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
record R (A : Set) : Set where field f : A → A open R {{...}} test : {A : Set} → R A f {{test}} = {!!}
Agda
3
cruhland/agda
test/interaction/SplitPreserveInstanceProjection.agda
[ "MIT" ]
At: "018.hac":3: parse error: syntax error parser stacks: state value #STATE# (null) #STATE# keyword: enum [3:1..4] #STATE# ; [3:5] in state #STATE#, possible rules are: declare_enum: ENUM . ID (#RULE#) defenum: ENUM . ID '{' enum_member_list '}' (#RULE#) acceptable tokens are: ID (shift)
Bison
1
broken-wheel/hacktist
hackt_docker/hackt/test/parser/datatype/018.stderr.bison
[ "MIT" ]
// Copyright 2021 The Ray Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
C
2
mgelbart/ray
src/mock/ray/raylet/placement_group_resource_manager.h
[ "Apache-2.0" ]
/*--------------------------------------------------*/ /* SAS Programming for R Users - code for exercises */ /* Copyright 2016 SAS Institute Inc. */ /*--------------------------------------------------*/ /*SP4R07d07*/ /*Part A*/ proc iml; start simpleRegFunc(n,beta0,beta1); xvals = randfun(n,...
SAS
4
snowdj/sas-prog-for-r-users
code/SP4R07d07.sas
[ "CC-BY-4.0" ]
<html> <head> <title>random numbers</title> <script> function display() { document.getElementById('numbers').textContent = numbers.join(' '); } </script> </head> <body onload="display()"> <p>Some random numbers between 0 and 100:</p> <!-- Placeholder for the list of random...
HTML
3
fracturesfei/angulardemo
node_modules/selenium-webdriver/lib/test/data/injectableContent.html
[ "MIT" ]
square ([2,2],center =true);
OpenSCAD
3
heristhesiya/OpenJSCAD.org
packages/io/scad-deserializer/tests/2d_primitives/squareEx1.scad
[ "MIT" ]
# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: savedconfig.eclass # @MAINTAINER: # base-system@gentoo.org # @BLURB: common API for saving/restoring complex configuration files # @DESCRIPTION: # It is not uncommon to come across a package which has ...
Gentoo Eclass
5
NighttimeDriver50000/Sabayon-Packages
local_overlay/eclass/savedconfig.eclass
[ "MIT" ]
fileFormatVersion: 2 guid: 989e62db4b694586bf2c832ce13e2d50 timeCreated: 1612916938
Unity3D Asset
0
cihan-demir/NineMensMorris
unity/ExternalPackages/com.unity.ml-agents.extensions/Runtime/Input/AssemblyInfo.cs.meta
[ "MIT" ]
<h2>Upload a file</h2> <form enctype="multipart/form-data" method="post"> <div> <label for="picked">Choose a file to upload:</label> <input type="file" id="picked" #picked (click)="message=''" (change)="onPicked(picked)"> </div> <p *ngIf="message">{{message}}</...
HTML
4
John-Cassidy/angular
aio/content/examples/http/src/app/uploader/uploader.component.html
[ "MIT" ]
# Copyright (C) 2004-2008, Parrot Foundation. =head1 TITLE libpcre.pir - NCI interface to Perl-Compatible Regular Expression library =head1 DESCRIPTION See 'library/pcre.pir' for details on the user interface. =cut .namespace ['PCRE'; 'NCI'] .sub compile .param string pat .param int options .local...
Parrot Internal Representation
4
winnit-myself/Wifie
runtime/parrot/library/libpcre.pir
[ "Artistic-2.0" ]
# silence YAML warning `Opal.modules["yaml"] = function() {}` # add core libraries require 'corelib/string/unpack' require 'corelib/array/pack' require 'opal-parser' # https://github.com/opal/opal/blob/master/lib/opal/parser/patch.rb class Parser::Lexer def source_buffer=(source_buffer) @source_buffer = source_...
Opal
5
Taher-Ghaleb/ruby2js
demo/patch.opal
[ "Ruby", "Unlicense", "MIT" ]
static const uint16_t in_linear_val[1000] = { 0x3c0e, 0x1058, 0x26e7, 0x27bf, 0xad4e, 0x2e33, 0xa8d8, 0xa633, 0xa58b, 0xaac7, 0x29fa, 0x2e8a, 0x2439, 0x1d1e, 0x2a3f, 0xb089, 0xaec2, 0xaff6, 0xa0ab, 0x2c04, 0x2bd5, 0xb061, 0x3064, 0x2fee, 0x2917, 0x2f2f, 0xa809, 0xa173, 0xa3bd, 0x2ca5, 0xaf21, 0xad70, ...
Max
3
Trifunik/zephyr
tests/lib/cmsis_dsp/svm/src/f16.pat
[ "Apache-2.0" ]
#include "script_component.hpp" [ ["secondary", localize LSTRING(select_action), "buttonList", "", false], [ [localize LSTRING(select_action_setup), "[{call TFAR_fnc_onLrDialogOpen;}, [], 0.2] call CBA_fnc_waitAndExecute;", "", localize LSTRING(select_action_setup_tooltip), "", -1, true, true], ...
SQF
4
MrDj200/task-force-arma-3-radio
addons/core/functions/flexiUI/fnc_lrRadioSubMenu.sqf
[ "RSA-MD" ]
%!PS currentdevice null true mark /OutputICCProfile (%pipe%echo vulnerable > /dev/tty) .putdeviceparams quit
PostScript
0
OsmanDere/metasploit-framework
data/exploits/imagemagick/delegate/msf.ps
[ "BSD-2-Clause", "BSD-3-Clause" ]
PREFIX : <http://example.org/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT (STRLEN(?uuid) AS ?length) WHERE { BIND(STRUUID() AS ?uuid) FILTER(ISLITERAL(?uuid) && REGEX(?uuid, "^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$", "i")) }
SPARQL
4
yanaspaula/rdf4j
testsuites/sparql/src/main/resources/testcases-sparql-1.1-w3c/functions/struuid01.rq
[ "BSD-3-Clause" ]
<template> <h2>CSS Modules</h2> <div class="sfc-css-modules" :class="$style.blueColor"> &lt;style module&gt; - this should be blue <pre>{{ $style }}</pre> </div> <div class="sfc-css-modules-with-pre" :class="mod.orangeColor"> CSS - this should be orange <pre>{{ mod }}</pre> </div> </template> ...
Vue
4
laineus/vite
packages/playground/vue/CssModules.vue
[ "MIT" ]
/** * */ import Util; import OSS; import RPC; import OpenPlatform; import OSSUtil; import FileForm; import OpenApi; import OpenApiUtil; import EndpointUtil; extends OpenApi; init(config: OpenApi.Config){ super(config); @endpointRule = 'central'; checkConfig(config); @endpoint = getEndpoint('cloudauth', @...
Tea
4
aliyun/alibabacloud-sdk
cloudauth-20201112/main.tea
[ "Apache-2.0" ]
use super::{Pointer, Tag}; use crate::stable_hasher::{HashStable, StableHasher}; use std::fmt; use std::marker::PhantomData; use std::num::NonZeroUsize; /// A `Copy` TaggedPtr. /// /// You should use this instead of the `TaggedPtr` type in all cases where /// `P: Copy`. /// /// If `COMPARE_PACKED` is true, then the po...
Rust
4
ohno418/rust
compiler/rustc_data_structures/src/tagged_ptr/copy.rs
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
from hashlib import sha256 PRIME = 2 ** 61 + 20 * 2 ** 32 + 1 def generate_round_constant(name, idx, field=GF(PRIME)): """ Returns a field element based on the result of sha256. The input to sha256 is the concatenation of the name of the hash function and an index. """ return field(int(sha256('%s...
Sage
5
ChihChengLiang/ethSTARK
src/starkware/air/rescue/rescue_constants.sage
[ "Apache-2.0" ]
# Copyright 2018 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 applica...
Python
5
EricRemmerswaal/tensorflow
tensorflow/python/distribute/distribute_config.py
[ "Apache-2.0" ]
<?xml version="1.0" encoding="UTF-8"?> <p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:c="http://www.w3.org/ns/xproc-step" xmlns:cx="http://xmlcalabash.com/ns/extensions" xmlns:pxf="http://exproc.org/proposed/steps/file" xmlns:tr="http://transpect.io" xmlns:docx2tex="http://transpect.io/docx2tex" ...
XProc
5
yulincoder/docx2tex
xpl/generate-conf-template.xpl
[ "BSD-2-Clause" ]
#twitter-logo { background-color: red; }
CSS
1
amoshydra/cypress
npm/angular/src/app/app.component.css
[ "MIT" ]
name = "Sockets" uuid = "6462fe0b-24de-5631-8697-dd941f90decc" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" [targets] test = ["Test", "Random"]
TOML
1
greimel/julia
stdlib/Sockets/Project.toml
[ "Zlib" ]
// input: [] // output: 1 package { public class StaticRetrieval { public static var v:int; public static function main():int{ if (v) { return 0; } else { return 1; } } } }
ActionScript
3
hackarada/youtube-dl
test/swftests/StaticRetrieval.as
[ "Unlicense" ]
--- pagination: data: items size: 2 items: - item1 - item2 - item3 - item4 permalink: paged/{% if pagination.pageNumber > 0 %}page-{{ pagination.pageNumber }}/{% endif %}index.html --- <ol>{% for item in pagination.items %}<li>{{ item }}</li>{% endfor %}</ol>
Liquid
3
binyamin/eleventy
test/stubs/paged/pagedpermalinkif.liquid
[ "MIT" ]
/** * @file dialect.yap * @author VITOR SANTOS COSTA <vsc@VITORs-MBP-2.lan> * @date Thu Oct 19 10:50:33 2017 * * @brief support Prolog dialects */ % :- module(dialect, % [ % exists_source/1, % source_exports/2 % ]). /** * @defgroup Dialects Compatibility with other Prolog dia...
Prolog
5
KuroLevin/yap-6.3
pl/dialect.yap
[ "Artistic-1.0-Perl", "ClArtistic" ]
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 20 20" height="20" viewBox="0 0 20 20" width="20"><rect fill="none" height="20" width="20"/><path d="M4.5,14.75C4.5,14.34,4.84,14,5.25,14h4.5c0.41,0,0.75,0.34,0.75,0.75c0,0.41-0.34,0.75-0.75,0.75h-4.5 C4.84,15.5,4.5,15.16,4.5,14.75z M13.5,8c0,2.09-1.07,...
SVG
2
Imudassir77/material-design-icons
src/action/tips_and_updates/materialiconsround/20px.svg
[ "Apache-2.0" ]
#include "test/jemalloc_test.h" TEST_BEGIN(test_zero_alloc) { void *res = malloc(0); assert(res); size_t usable = malloc_usable_size(res); assert(usable > 0); free(res); } TEST_END int main(void) { return test( test_zero_alloc); }
C
3
projectarcana-aosp/android_external_jemalloc-new
test/integration/malloc.c
[ "BSD-2-Clause" ]
much very i as 1 next i smaller 10 next i more 1 shh 1 wow
Dogescript
0
joeratt/dogescript
test/spec/loops/much/source.djs
[ "MIT" ]
constant f : nat → nat → nat constant fax1 : ∀ x, f x x = f x 0 constant fax2 : ∀ x, f x 0 = x set_option trace.type_context.is_def_eq true example (a : nat) : f a a = a := by simp [fax1, fax2]
Lean
4
JLimperg/lean
tests/lean/run/trace_crash.lean
[ "Apache-2.0" ]
@echo off node "%~dp0\yarn.js" %*
Batchfile
2
duluca/angular
third_party/github.com/yarnpkg/yarn/releases/download/v1.21.1/bin/yarn.cmd
[ "MIT" ]
/* -*-Mode:C;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*- * ex: set ft=c fenc=utf-8 sts=4 ts=4 sw=4 et nomod: * * MIT License * * Copyright (c) 2021 Michael Truog <mjtruog at protonmail dot com> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this softwa...
ATS
3
CloudI/CloudI
src/api/ats/v2/cloudi.hats
[ "MIT" ]
\require "a@>=0.1"
LilyPond
0
HolgerPeters/lyp
spec/package_setups/circular/c@0.3/package.ly
[ "MIT" ]
2019-09-18 23:23:21 --> kky (~kky@103.117.23.112) has joined #wikipedia-en 2019-09-18 23:23:21 -- Topic for #wikipedia-en is "English Wikipedia | Status: Up | Channel guidelines: https://bit.ly/WP-IRC | Need a chanop? Ask in #wikimedia-ops | For urgent admin help, say !admin <request>; for revdel, /join #wikipedia-en-r...
IRC log
0
akshaykumar23399/DOTS
weechat/logs/irc.freenode.#wikipedia-en.weechatlog
[ "Unlicense" ]
union myUnion = ATypeName | ASecondTypeName union tooLongNameeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee = A | B union mySecondUnion = ATypeName | ASecondTypeName | AThirdTypeName union myThirdUnion = AVeryVeryVeryLongNamedTypeName | ASecondVeryVeryVeryLongedNameTypeName union longUnion = A |...
GraphQL
2
fuelingtheweb/prettier
tests/graphql_union_types/union_types.graphql
[ "MIT" ]
scriptname _Frost_VendorStock extends Quest import utility book property _Frost_SpellTomeSoothe1 auto book property _Frost_SurvivorsGuide auto Potion property _Frost_WaterPotion auto ReferenceAlias property RiverwoodTraderChestAlias auto ReferenceAlias property AvalAtheronChestAlias auto ReferenceAlias property Birn...
Papyrus
5
chesko256/Campfire
Scripts/Source/_Frost_VendorStock.psc
[ "MIT" ]
#N canvas 186 43 739 364 12; #N canvas 213 187 495 352 input-sample 0; #N canvas 0 0 450 300 graph1 0; #X array array1 63024 float 0; #X coords 0 1 63023 -1 400 300 1; #X restore 54 22 graph; #X text 145 376 INPUT SAMPLE; #X restore 154 226 pd input-sample; #N canvas 192 180 507 343 output-sample 0; #N canvas 0 0 450 3...
Pure Data
3
mxa/pure-data
doc/7.stuff/soundfile-tools/5.reverb.pd
[ "TCL" ]
complete -c my-app -s o -s O -l option -l opt -d 'cmd option' -r complete -c my-app -s h -l help -d 'Print help information' complete -c my-app -s V -l version -d 'Print version information' complete -c my-app -s f -s F -l flag -l flg -d 'cmd flag'
fish
3
omjadas/clap
clap_complete/tests/snapshots/aliases.fish
[ "Apache-2.0", "MIT" ]
#pragma TextEncoding="UTF-8" #pragma rtGlobals=3 #pragma ModuleName = SIDAMUtilHelp #include "SIDAM_Utilities_Panel" #include "SIDAM_Utilities_misc" #ifndef SIDAMshowProc #pragma hide = 1 #endif Function SIDAMOpenHelpNote( String noteFileName, // name of a help file without its extension String pnlNam...
IGOR Pro
4
yuksk/SIDAM
src/SIDAM/func/SIDAM_Utilities_Help.ipf
[ "MIT" ]
! Copyright (C) 2009 Daniel Ehrenberg ! See http://factorcode.org/license.txt for BSD license. USING: help.syntax help.markup strings math ; IN: wrap.strings ABOUT: "wrap.strings" ARTICLE: "wrap.strings" "String word wrapping" "The " { $vocab-link "wrap.strings" } " vocabulary implements word wrapping for simple stri...
Factor
5
alex-ilin/factor
basis/wrap/strings/strings-docs.factor
[ "BSD-2-Clause" ]
Date,Open,High,Low,Close,Volume 9-Jul-12,225.00,226.00,223.45,225.05,1921979 6-Jul-12,226.35,228.90,224.18,225.05,3203230 5-Jul-12,228.62,230.50,226.53,227.06,2683610 3-Jul-12,229.14,229.53,227.59,229.53,1335952 2-Jul-12,229.30,229.34,226.34,229.32,2330930 29-Jun-12,224.70,228.35,223.71,228.35,3615572 28-Jun-12,223.92...
CSV
2
henryqdineen/RxJS
examples/stockserver/AMZN.csv
[ "Apache-2.0" ]
# generated from rosbash/env-hooks/15.rosbash.zsh.em @[if DEVELSPACE]@ . "@(CMAKE_CURRENT_SOURCE_DIR)/roszsh" @[else]@ if [ -z "$CATKIN_ENV_HOOK_WORKSPACE" ]; then CATKIN_ENV_HOOK_WORKSPACE="@(CMAKE_INSTALL_PREFIX)" fi . "$CATKIN_ENV_HOOK_WORKSPACE/share/rosbash/roszsh" @[end if]@
EmberScript
2
mcx/ros
tools/rosbash/env-hooks/15.rosbash.zsh.em
[ "BSD-3-Clause" ]
# This file is a part of Julia. License is MIT: https://julialang.org/license # test for proper handling of FD exhaustion if Sys.isunix() # Run this test with a really small ulimit. If the ulimit is too high, # we might saturate kernel resources (See #23143) run(`sh -c "ulimit -n 100; $(Base.shell_escape(B...
Julia
5
TimoLarson/julia
test/stress.jl
[ "Zlib" ]
#+TITLE: lang/qt #+DATE: May 22, 2021 #+SINCE: v2.0.9 #+STARTUP: inlineimages nofold * Table of Contents :TOC_3:noexport: - [[#description][Description]] - [[#maintainers][Maintainers]] - [[#module-flags][Module Flags]] - [[#plugins][Plugins]] - [[#prerequisites][Prerequisites]] * Description # A summary...
Org
3
leezu/doom-emacs
modules/lang/qt/README.org
[ "MIT" ]
package jadx.core.codegen.json; import java.io.File; import java.io.FileWriter; import java.io.Writer; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.gson.FieldNamingPolicy; import com.google.gson.Gson; import com.google.gson.GsonBuilder;...
Java
4
DSYliangweihao/jadx
jadx-core/src/main/java/jadx/core/codegen/json/JsonMappingGen.java
[ "Apache-2.0" ]
% Form the dot product of two vectors, % e.g., (1 2 3).(3 2 1) => 10 define program ( [repeat number] ) . ( [repeat number] ) | [number] end define rule main replace [program] ( V1 [repeat number] ) . ( V2 [repeat number] ) construct Zero [number] 0 by Zero ...
TXL
4
pseudoPixels/SourceFlow
app_txl_cloud/txl_sources/examples/dot_product/dot_product.txl
[ "MIT" ]
exec("swigtest.start", -1); exec("swigtest.quit", -1);
Scilab
0
kyletanyag/LL-Smartcard
cacreader/swig-4.0.2/Examples/test-suite/scilab/empty_runme.sci
[ "BSD-3-Clause" ]
- page_title _('Recovery Codes'), _('Two-factor Authentication') - add_page_specific_style 'page_bundles/profile_two_factor_auth' = render 'codes'
Haml
2
glimmerhq/glimmerhq
app/views/profiles/two_factor_auths/codes.html.haml
[ "MIT" ]
{% extends "base.ahk" %} {% block body %} SoundGet, retval , {{ component_type }}, {{ control_type }}, {{ device_number }} FileAppend, %retval%, * {% endblock body %}
AutoHotkey
3
epth/ahk
ahk/templates/sound/sound_get.ahk
[ "MIT" ]
echo "------------------------------------" tasklist /V echo "------------------------------------"
Batchfile
1
KevinAo22/vscode
build/azure-pipelines/win32/listprocesses.bat
[ "MIT" ]
import os import sys import torch from torch._C import parse_ir from torch.testing import FileCheck # Make the helper files in test/ importable pytorch_test_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) sys.path.append(pytorch_test_dir) from torch.testing._internal.jit_utils import JitTestCase if...
Python
4
Hacky-DH/pytorch
test/jit/test_ignorable_args.py
[ "Intel" ]
IDENTIFICATION DIVISION. PROGRAM-ID. KARTEST2. ENVIRONMENT DIVISION. DATA DIVISION. PROCEDURE DIVISION. DISPLAY 'HELLO WORLD ! ' . GOBACK.
COBOL
1
kennethsequeira/Hello-world
COBOL/hello.cob
[ "MIT" ]
//===--- BitDataflow.cpp --------------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
C++
4
gandhi56/swift
lib/SIL/Utils/BitDataflow.cpp
[ "Apache-2.0" ]
# Copyright (c) 2021 vesoft inc. All rights reserved. # # This source code is licensed under Apache 2.0 License. Feature: Typo error # issue https://github.com/vesoft-inc/nebula/issues/2204 Scenario: Typo error of KW_VALUE Given an empty graph And create a space with following options: | partition_nu...
Cucumber
4
liuqian1990/nebula
tests/tck/features/bugfix/TypoError.feature
[ "Apache-2.0" ]
ruleset io.picolabs.null_owner { meta { use module io.picolabs.wrangler alias wrangler shares __testing } global { __testing = { "queries": [ { "name": "__testing" } //, { "name": "entry", "args": [ "key" ] } ] , "events": [ //{ "domain": "d1", "type": "t1" } //, { "domai...
KRL
4
CambodianCoder/pico-engine
packages/pico-engine/legacy/krl/io.picolabs.null_owner.krl
[ "MIT" ]
theory TestSdiv imports Main "../ContractSem" begin declare eval_annotation_def [simp] definition this_address :: address where "this_address = undefined" abbreviation test_sdiv_code :: "inst list" where "test_sdiv_code == Stack (PUSH_N [255]) # Stack (PUSH_N [2]) # Arith EXP # Dup 1 # Annotation (\<lambda>...
Isabelle
4
pirapira/eth-isabelle
example/TestSdiv.thy
[ "Apache-2.0" ]
(* Module: IniFile Generic module to create INI files lenses Author: Raphael Pinson <raphink@gmail.com> About: License This file is licensed under the LGPL v2+, like the rest of Augeas. About: TODO Things to add in the future - Support double quotes in value About: Lens usage This lens is made to provide ...
Augeas
5
zwass/launcher
pkg/augeas/assets/lenses/inifile.aug
[ "MIT" ]
using System; using Avalonia.Media; using Xunit; namespace Avalonia.Visuals.UnitTests.Media { public class SolidColorBrushTests { [Fact] public void Changing_Color_Raises_Invalidated() { var target = new SolidColorBrush(Colors.Red); var raised = false; ...
C#
4
mstr2/Avalonia
tests/Avalonia.Visuals.UnitTests/Media/SolidColorBrushTests.cs
[ "MIT" ]
111 0 0 1 -0.2 2 -0.2 3 0 4 -0.2 5 -0.2 6 0 7 -0.2 8 -0.2 9 0 10 -0.2 11 -0.2 12 0 13 -0.2 14 -0.2 15 0 16 -0.2 17 -0.2 18 0 19 -0.2 20 -0.2 21 0 22 -0.2 23 -0.2 24 0 25 -0.2 26 -0.2 27 0 28 -0.2 29 -0.2 30 0 31 -0.2 32 -0.2 33 0 34 -0.2 35 -0.2 36 0 37 -0.2 38 -0.2 39 0 40 -0.2 41 -0.2 42 0 43 -0.2 44 -0.2 45 0 46 -0....
IDL
0
ricortiz/OpenTissue
demos/data/dlm/111/lo.dlm
[ "Zlib" ]
// // Copyright (c) 2018, chunquedong // Licensed under the Academic Free License version 3.0 // // History: // 2018-6-18 Jed Young Creation // ** ** the map maintains the order in which key/value pairs are added to the map. ** The implementation is based on using a linked list in addition to the normal hashmap. ** ...
Fantom
4
fanx-dev/fanx
library/std/fan/collection/OrderedMap.fan
[ "AFL-3.0" ]
# This file is distributed under the same license as the Django package. # # Translators: # Martijn Dekker <mcdutchie@hotmail.com>, 2012 msgid "" msgstr "" "Project-Id-Version: django\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-01-19 16:49+0100\n" "PO-Revision-Date: 2017-09-19 16:41+0000\n" "Last-Translator:...
Gettext Catalog
3
jpmallarino/django
django/contrib/admin/locale/ia/LC_MESSAGES/django.po
[ "BSD-3-Clause", "0BSD" ]