commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
d7c2ba28761c310f10cda4507bb73c4ba230a668
features/salt.feature
features/salt.feature
# Copyright (c) 2015 SUSE LLC # Licensed under the terms of the MIT license. Feature: Check if SaltStack Master is configured and running In order to operate SUSE Manager As the admin user I want to check if SaltStack Master is installed and running Scenario: Check SaltStack Master is installed When I get...
Add Salt Master and Salt API scenario
Add Salt Master and Salt API scenario
Cucumber
mit
MalloZup/spacewalk-testsuite-base,0rnela/spacewalk-testsuite-base,SUSE/spacewalk-testsuite-base
4efac0f8f92592491b171b695eb775d950aed852
features/raw/verbose-patch-up-raw-command.feature
features/raw/verbose-patch-up-raw-command.feature
Feature: Developer runs actions to save variables in file As a Developer I want to save variables in files Scenario: Saving version Given the file "stamp.yml" contains: """ actions: - name: parse_variable_from_file parameters: regex: '/"version" *: *"(?P...
Complete patch:up command in raw mode - behat test
Complete patch:up command in raw mode - behat test
Cucumber
mit
stamp-application/stamp,stamp-application/stamp
2452070d79e4ce7b979c0c3d1824b3593b858e99
features/decrypting_a_string.feature
features/decrypting_a_string.feature
Feature: Decrypting a string As an agent at the headquarters of an intelligence operation I want to decrypt a piece of text that has been sent by one of our agents So that I can understand the threat to our national security Scenario: decode a string with a cipher text Given the key stream "DWJXH YRFDG TMS...
Create a story with a single scenario for decrypting a string.
Create a story with a single scenario for decrypting a string.
Cucumber
mit
mathie/solitaire_cipher
5d151fa8c5e616b4c1aeaf1d94f0f90975b3dfdd
examples/built_in.feature
examples/built_in.feature
Feature: Built-in functions Scenario: Add 2 numbers Given a file named "main.tisp" with: """ (seq (write (typeOf true)) (write (typeOf {"key" "value"})) (write (typeOf [])) (write (typeOf nil)) (write (typeOf 42)) (write (typeOf "foo")) (write (typeOf +)) (w...
Add an example of using typeOf function
Add an example of using typeOf function
Cucumber
mit
raviqqe/tisp,raviqqe/tisp,tisp-lang/tisp,raviqqe/tisp,tisp-lang/tisp
8e6e349ca54e48b4ce0e15e45b5efba13164ab57
features/taxonomy/managing_taxons/changing_images_of_taxon.feature
features/taxonomy/managing_taxons/changing_images_of_taxon.feature
@managing_taxons Feature: Changing images of an existing taxon In order to change images of my categories As an Administrator I want to be able to changing images of an existing taxon Background: Given the store is available in "English (United States)" And the store classifies its prod...
Add scenarios for changing images of a taxon
[Taxon] Add scenarios for changing images of a taxon
Cucumber
mit
jvahldick/Sylius,antonioperic/Sylius,jvahldick/Sylius,TheMadeleine/Sylius,michalmarcinkowski/Sylius,gabiudrescu/Sylius,okwinza/Sylius,CoderMaggie/Sylius,kayue/Sylius,DorianCMore/Sylius,psren/Sylius,patrick-mcdougle/Sylius,itinance/Sylius,itinance/Sylius,ylastapis/Sylius,GSadee/Sylius,torinaki/Sylius,ReissClothing/Syliu...
ffb01210119666bb0ddfad3105affd71ae1e71b9
features/duckrails/mocks/base.feature
features/duckrails/mocks/base.feature
Feature: There is a mocks page with options to do stuff Background: * There are 3 mocks * I visit the mocks page * I should see a link with text 'Create new mock' * I should not see a link with text 'View all mocks' * I should see a menu link with text 'View all mocks' * I should see a menu link with text ...
Add cucumber feature for the mocks page.
Add cucumber feature for the mocks page.
Cucumber
mit
iridakos/duckrails,iridakos/duckrails,iridakos/duckrails,iridakos/duckrails
3f30c098e40e138e89e523d9dce8cea3746cd992
centreon/features/CustomViews.feature
centreon/features/CustomViews.feature
Feature: Custom views As a Centreon user I want to share my custom views So that other users can benefit from it Background: Given I am logged in a Centreon server with some widgets Scenario: Create public share Given a user sharing publicly a custom view When another user ...
Add custom views .feature test file.
Add custom views .feature test file.
Cucumber
apache-2.0
centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon,centreon/centreon
912b5c9d3d3f8dd4e466d68f5c3843aaf1732ba2
features/product/managing_product_reviews/editing_product_review.feature
features/product/managing_product_reviews/editing_product_review.feature
@managing_product_reviews Feature: Editing product reviews In order to correct customer's opinion about my products As an Administrator I want to edit a product review Background: Given the store has customer "Mike Ross" with email "ross@teammike.com" And the store has a product "Lambor...
Add scenarios for editing product reviews
[Behat][Admin][ProductReview] Add scenarios for editing product reviews
Cucumber
mit
101medialab/Sylius,Lowlo/Sylius,pjedrzejewski/Sylius,diimpp/Sylius,PyRowMan/Sylius,patrick-mcdougle/Sylius,gseidel/Sylius,ktzouno/Sylius,patrick-mcdougle/Sylius,Mozan/Sylius,kayue/Sylius,CoderMaggie/Sylius,pjedrzejewski/Sylius,GSadee/Sylius,venyii/Sylius,patrick-mcdougle/Sylius,jvahldick/Sylius,loic425/Sylius,dragospro...
0a6913dd7a5c8ffac2833cf2d473bec57e8757b1
test/acceptance/features/investment-projects/evaluations-details.feature
test/acceptance/features/investment-projects/evaluations-details.feature
@investment-projects-evaluations-details Feature: Investment projects evaluations details @investment-projects-evaluations-details--value-yes Scenario: View investment project evaluations after user selects all yes for value details Given I navigate to company fixture Lambda plc When I click the Investmen...
Add acceptance tests around investment projects Evaluations details
Add acceptance tests around investment projects Evaluations details
Cucumber
mit
uktrade/data-hub-frontend,uktrade/data-hub-frontend,uktrade/data-hub-fe-beta2,uktrade/data-hub-frontend,uktrade/data-hub-fe-beta2
b765239a52e3e48ff2625ba884d45ed11699ddaf
features/unparameterised-names.feature
features/unparameterised-names.feature
Feature: Unparameterised metric names Background: Given I send and accept JSON Scenario: POSTing unparamerized metric names Given I authenticate as the user "foo" with the password "bar" When I send a POST request to "metrics/My%20Metric" with the following: """ { "time": "2013-12-...
Test for unparameterised metric names
Test for unparameterised metric names
Cucumber
mit
theodi/bothan,theodi/bothan,theodi/metrics-api,theodi/metrics-api,theodi/metrics-api,theodi/bothan,theodi/bothan
14876e6802a1d7c4b9d3dcbd5bfed1bb1d30d8ef
tests/features/tags/tag-task-reset.feature
tests/features/tags/tag-task-reset.feature
Feature: Tag reset As someone using tasks and notes I can reset a task from all it's tags In order to maintain the semantic @wip Scenario: Resetting a task dissociate it from all its tags Given I display the "Tags / Physics" page And there is an item named "Buy a cake" in the central list When I dr...
Tag task reseting feature : drag an drop a task to inbox from tag AT
Tag task reseting feature : drag an drop a task to inbox from tag AT Summary: Acceptance test of a new feature: drag and drop a task from its tag view in order to dissociate it from all it's tags, contexts and projects. The task will appear in the inbox, totally virgin of any association. Reviewers: ervin, remibenoit...
Cucumber
lgpl-2.1
sandsmark/zanshin,sandsmark/zanshin,sandsmark/zanshin
07563aebf155c22b824791e0d977e51f0aa38e3d
features/scar.feature
features/scar.feature
Feature: Sun Cloud API Reference In order to adopt Sun's Cloud API specification As a API specification contributor I want to access a dynamic, yet precise, API reference Background: Given this project is active project folder And the API pages are compiled And the nanoc3 auto-compiler web-serv...
Feature: Sun Cloud API Reference In order to adopt Sun's Cloud API specification As a API specification contributor I want to access a dynamic, yet precise, API reference Background: Given this project is active project folder And the API pages are compiled And the nanoc3 auto-compiler web-serv...
Add Interface and Location resource entries to feature scenario table
Add Interface and Location resource entries to feature scenario table
Cucumber
mit
hedgehog/scar
d4dbf868ac6bde560d3da1161e5ee76f494c93fc
features/error-handling.feature
features/error-handling.feature
Feature: Error handling Background: Given I send and accept JSON Scenario: GETing data for a single date When I send a GET request to "metrics/membership-coverage/wtf" Then the response status should be "400" Then the JSON response should have "$.status" with the text "Invalid ISO8601 date/t...
Add features for error handling
Add features for error handling
Cucumber
mit
theodi/metrics-api,theodi/bothan,OpenAddressesUK/metrics-api,theodi/metrics-api,OpenAddressesUK/metrics-api,theodi/metrics-api,pikesley/HbA1c,theodi/bothan,theodi/bothan,theodi/bothan
c164a46548094467710f57a4b2ffc37fc5531b4a
features/utf-8.feature
features/utf-8.feature
Feature: UTF-8 Scenario: Write then assert on the content of a file with UTF-8 characters in Given a file named "turning-japanese" with: """ フィーチャ """ And I run `cat turning-japanese` Then the output should contain exactly: """ フィーチャ """
Add a failing feature for UTF-8 support
Add a failing feature for UTF-8 support
Cucumber
mit
maxmeyer/aruba,rapid7/aruba,weedySeaDragon/aruba,AdrieanKhisbe/aruba,mvz/aruba,e2/aruba,ducthanh/aruba,cucumber/aruba,dg-ratiodata/aruba,dg-ratiodata/aruba,dg-ratiodata/aruba,AdrieanKhisbe/aruba,jasnow/aruba,ducthanh/aruba,jasnow/aruba,AdrieanKhisbe/aruba,e2/aruba,ducthanh/aruba,dg-ratiodata/aruba,e2/aruba,e2/aruba,jas...
1d2c69fee897cf052cfa03f0cc6f9f419c898bb1
changelog.d/4420.feature
changelog.d/4420.feature
New listener resource for the federation API "openid/userinfo" endpoint Integration managers use the OpenID userinfo endpoint in the federation API to verify that user OpenID access tokens are valid. If the federation resource is disabled, integration managers will not be able to verify the access token, causing a bro...
Add changelog for openid resource addition
Add changelog for openid resource addition Signed-off-by: Jason Robinson <73c4b53c33b2f03b4e26d9578bea93e0ed8e16b0@matrix.org>
Cucumber
apache-2.0
matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse
aee0489989825dd88e9635d53f5757c46967c8ac
features/configuration/fixtures_directories.feature
features/configuration/fixtures_directories.feature
Feature: Configure directory where to look for fixtures As a developer I want to configure the directory where aruba looks for fixtures In order to use them in my tests Background: Given I use the fixture "cli-app" Scenario: Default value Given a file named "features/support/aruba.rb" with: """...
Feature: Configure directory where to look for fixtures As a developer I want to configure the directory where aruba looks for fixtures In order to use them in my tests Background: Given I use the fixture "cli-app" Scenario: Default value Given a file named "features/support/aruba.rb" with: """...
Document the new default value for the fixtures directory
Document the new default value for the fixtures directory
Cucumber
mit
ducthanh/aruba,mvz/aruba,cucumber/aruba,AdrieanKhisbe/aruba,maxmeyer/aruba,jasnow/aruba,dg-ratiodata/aruba,dg-ratiodata/aruba,dg-ratiodata/aruba,dg-ratiodata/aruba,ducthanh/aruba,jasnow/aruba,jasnow/aruba,ducthanh/aruba,jasnow/aruba,maxmeyer/aruba,AdrieanKhisbe/aruba,mvz/aruba,AdrieanKhisbe/aruba,ducthanh/aruba,Adriean...
692224b38c32676b325ec4cf94336578cd96f69a
integration_testing/features/super-admin/super-admin-windows-installer-setup-error-log.feature
integration_testing/features/super-admin/super-admin-windows-installer-setup-error-log.feature
Feature: Super admin Windows installer setup failed show the error logs Super admin needs to be able to see the error logs when the Kolibri Windows installation failed Background: Given that I have the Kolibri Windows installer And I am using a Windows environment Scenario: Install the k...
Create a gherkin stories for the Windows installer setup error logs
Create a gherkin stories for the Windows installer setup error logs
Cucumber
mit
mrpau/kolibri,indirectlylit/kolibri,learningequality/kolibri,indirectlylit/kolibri,mrpau/kolibri,mrpau/kolibri,learningequality/kolibri,mrpau/kolibri,learningequality/kolibri,indirectlylit/kolibri,learningequality/kolibri,indirectlylit/kolibri
afa4da323973606a3cf349e8a69d8fe0f9a0ed8a
features/tags.tag_expression_v2.wildcards.feature
features/tags.tag_expression_v2.wildcards.feature
Feature: Tag Expression v2 Extension: Wildcards for tag matching As a tester I want to use a wildcard pattern to select tags following a naming scheme So that it is simpler to select a subset of scenarios and features. . SPECIFICATION: Wildcards in tag-expressions v2 . * Use file-name matching wildcards (...
Add basic feature-test for wildcard pattern-matching that is supported by cucumber-tag-expressions (python-only).
Add basic feature-test for wildcard pattern-matching that is supported by cucumber-tag-expressions (python-only).
Cucumber
bsd-2-clause
jenisys/behave,jenisys/behave
7240f2e44cc17182d79d7b59632990189af46e69
features/user-session.feature
features/user-session.feature
Feature: Manage user session Background: Given a WP install Scenario: Destroy user sessions When I run `wp eval 'wp_set_current_user(1);'` And I run `wp eval 'wp_set_auth_cookie(1);'` And I run `wp eval 'wp_set_current_user(1);'` And I run `wp eval 'wp_set_auth_cookie(1);'` And I run `wp u...
Add tests for user sessions, props @ernilambar
Add tests for user sessions, props @ernilambar
Cucumber
mit
aaemnnosttv/wp-cli,rodrigoprimo/wp-cli,miya0001/wp-cli,rodrigoprimo/wp-cli,aaemnnosttv/wp-cli,2ndkauboy/wp-cli,trepmal/wp-cli,2ndkauboy/wp-cli,trepmal/wp-cli,GaryJones/wp-cli,GaryJones/wp-cli,gitlost/wp-cli,aaemnnosttv/wp-cli,trepmal/wp-cli,2ndkauboy/wp-cli,miya0001/wp-cli,miya0001/wp-cli,gitlost/wp-cli,GaryJones/wp-cl...
9e33de0d73512796cd26a074d813835401df70c8
vscode-visual-tests/features/vscode_analytics_extension.feature
vscode-visual-tests/features/vscode_analytics_extension.feature
Feature: Visual Studio Code + the Analytics plugin basic functionality Scenario: Check that the Analytics plugin can be found in the Marketplace Given The PyAutoGUI library is initialized And The screen resolution is at least 1024x768 pixels When I start the Visual Studio Code T...
Check if Analytics extension can be found
Check if Analytics extension can be found
Cucumber
apache-2.0
tisnik/fabric8-analytics-common,tisnik/fabric8-analytics-common,tisnik/fabric8-analytics-common
139e485720ea81cad75a0519a19a49638f909cbb
features/users/call_action.feature
features/users/call_action.feature
@javascript Feature: Do a Call Action An interested member of the community should be able to call Relevant congress members' offices Background: I am not logged in Scenario: An activist creates a call petition and a supporter uses it Given a call petition targeting senate exists When I browse to...
Add .feature file for call action tests
Add .feature file for call action tests
Cucumber
agpl-3.0
EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform,EFForg/action-center-platform
565cda51acdd3f64c5b8df50ff5fbd49482a1ad6
tests/features/getting-started/updateTranslations.feature
tests/features/getting-started/updateTranslations.feature
@javascript Feature: Get new translated strings In order to get available translated application strings As an admin user I need to be able to Update Translations Scenario: Update translations Given I have logged in as an administrator And I follow "System" And I follow "Update translations" Then I should not se...
Add a test to check if there is an error when updating translations
Add a test to check if there is an error when updating translations
Cucumber
agpl-3.0
bramley/phplist3,phpList/phplist3,phpList/phplist3,phpList/phplist3,bramley/phplist3,bramley/phplist3,bramley/phplist3,bramley/phplist3,phpList/phplist3,phpList/phplist3
defa684846388026bd535de94d17519615b770c1
features/inventory/viewing_product_variant_with_specify_quantity_of_items_on_hand.feature
features/inventory/viewing_product_variant_with_specify_quantity_of_items_on_hand.feature
@inventory Feature: Seeing product's variant with specify quantity of items on hand In order to see how many variants of selected product are available on hand As an Administrator I want to be able to see quantity of variants available on hand for a selected product Background: Given the store ...
Add scenario for checking variant's items on hand
Add scenario for checking variant's items on hand
Cucumber
mit
ylastapis/Sylius,jvahldick/Sylius,gruberro/Sylius,okwinza/Sylius,patrick-mcdougle/Sylius,GSadee/Sylius,Sylius/Sylius,vihuvac/Sylius,101medialab/Sylius,pamil/Sylius,dragosprotung/Sylius,mkilmanas/Sylius,vihuvac/Sylius,mkilmanas/Sylius,Ejobs/Sylius,Joypricecorp/Sylius,Sylius/Sylius,loic425/Sylius,torinaki/Sylius,davalb/S...
01651ab28c91c62eee49497313678d1c234dd4cc
features/development/run-aruba-console.feature
features/development/run-aruba-console.feature
Feature: Running the interactive "aruba" developer console As a contributor of aruba I want to use the interactive aruba console In order to try out the "aruba" api Scenario: Running aruba interactively This starts a pry console with "aruba"'s api loaded. When I run `script/console` interactively ...
Add test for developer console
Add test for developer console
Cucumber
mit
mvz/aruba,mvz/aruba,maxmeyer/aruba,cucumber/aruba,maxmeyer/aruba
882b4ecc94a6e809e06e840118caf2d44e12baa5
tests/acceptance/todos.feature
tests/acceptance/todos.feature
Feature: 會說你好的網頁 Scenario: 看網頁說你好 Given 開啟伺服器 When 開啟網頁丟 "Miles" 進去 Then 會看到 "Hello, Miles"
Add feature and context file
Add feature and context file
Cucumber
mit
MilesChou/slim-practice,MilesChou/slim-practice
1bc65d3d8157e6401770bf5ab22ec6a6334c7900
features/text_formating.feature
features/text_formating.feature
Feature: Inline text formating Formatting text is available using `String` extensions. You can by example write `"my text".italic` to get an italic version of this text. Italic is done by surounding the text with `_` and bold version with `**`. Strikethrough is also available. Scenario: Italic When I execu...
Add inline text formating feature
Add inline text formating feature
Cucumber
mit
eunomie/koios
0501842361c121c996c08ebc9a0cc9213b674cbe
src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature
src/Oro/Bundle/UserBundle/Tests/Behat/Features/user_crud.feature
# features/user.feature Feature: User In order to create users As a OroCRM Admin user I need to be able to open Create User dialog and create new user Scenario: Create new user Given I login as administrator And go to System/User Management/Users And press "Create User" When I fill "User Form" ...
Automate user creation scenario - renamed existing user feature
BAP-13794: Automate user creation scenario - renamed existing user feature
Cucumber
mit
Djamy/platform,orocrm/platform,Djamy/platform,orocrm/platform,Djamy/platform,orocrm/platform,geoffroycochard/platform,geoffroycochard/platform,geoffroycochard/platform
37b16f66e81e92d56f0c5e65489326cdf38f918f
features/step_definitions.feature
features/step_definitions.feature
Feature: Step Definitions Background: Given a project directory with the following structure | type | path | | directory | features | | directory | features/step_definitions | | file | features/one.feature | ...
Add a couple of scenarios to verify requiring (or not) step definitions.
Add a couple of scenarios to verify requiring (or not) step definitions.
Cucumber
mit
phillipkoebbe/cellophane
cb8b2fb466743548a8361235ae381ebc17b9bbfa
features/github_metrics.feature
features/github_metrics.feature
Feature: Github monitoring In order to track our open-source metrics As a member of the tech team I want to capture stats from github and push them to a dashboard Scenario: Given there are 13 public repositories on github Then the number 13 should be stored in the public repositories stat When t...
Add feature for github metrics
Add feature for github metrics 0:15
Cucumber
mit
theodi/odi-metrics-tasks,theodi/open-orgn-services
31630695a48b39259ecd51c9d9ef480e111fa8fc
SIGS/features/09_room_edit_and_show.feature
SIGS/features/09_room_edit_and_show.feature
Feature: Room Edit and show To use application resources As a system user I would like to edit and show a room Scenario: Change code, name and capacity both valid of room Given I am logged in as asssistant administrative When click on link 'Salas' And I press 'Icon edit' button And I fill in 'c...
Edit priority of acceptance test of room_edit_and_show.feature
Edit priority of acceptance test of room_edit_and_show.feature
Cucumber
mit
fga-gpp-mds/2017.1-SIGS,fga-gpp-mds/2017.1-SIGS,fga-gpp-mds/2017.1-SIGS,fga-gpp-mds/2017.1-SIGS,fga-gpp-mds/2017.1-SIGS
c1e0abff4dfa394c1de7aba8696ac0bc643947e2
features/simple_dice.feature
features/simple_dice.feature
Feature: Simple dice rolling At the most basic level, a dice rolling program should be able to, well, roll dice. If this feature doesn't work, then the whole module might as well be unusable. Scenario Outline: Rolling one dice Given I have a die of "<type>" When I roll the die Then I should see a result above "<...
Add Cucumber feature for single dice rolling
Add Cucumber feature for single dice rolling
Cucumber
mit
William-Imm/rpg_dice_roller
5b94bc0ef1f112b71b2d5761a6188c8c05f87090
features/contrib/evl_upload.feature
features/contrib/evl_upload.feature
@use_splinter_client Feature: EVL Upload Scenario: Upload call center volumes Given a file named "CEG Data.xlsx" with fixture "contrib/CEG Transaction Tracker.xlsx" and I am logged in when I go to "/evl_ceg_data/upload" and I enter "CEG Data.xlsx" into the file upload field ...
Add feature test for uploading EVL CEG
Add feature test for uploading EVL CEG [54100809]
Cucumber
mit
alphagov/backdrop,alphagov/backdrop,alphagov/backdrop
4f876a0443cbff1acd25cdab1b42aa1f2cef8a6b
features/claims/advocate/scheme_eleven/misc_fee_removal.feature
features/claims/advocate/scheme_eleven/misc_fee_removal.feature
@javascript Feature: Advocate can add and remove miscelleaneous fees @fee_calc_vcr Scenario: Advocate can add and remove miscellaneous fees Given I am a signed in advocate And I am on the 'Your claims' page And I click 'Start a claim' And I select the fee scheme 'Advocate final fee' Then I sho...
Add feature for misc fee removal
Add feature for misc fee removal
Cucumber
mit
ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments,ministryofjustice/advocate-defence-payments
b2e27af0c283c8e3765fa9160177016d9810d6bb
features/dziwny-jest-ten-swiat.feature
features/dziwny-jest-ten-swiat.feature
Feature: Web pages Scenario: Dziwny jest ten świat Given I am on "dziwny-jest-ten-swiat.html" Then I should see "Dziwny jest ten świat"
Test - piosenka: dziwny jest ten swiat
Test - piosenka: dziwny jest ten swiat
Cucumber
mit
KrzysztofDebowski/zad-piosenki,MichalDebowski/zad-piosenki,KrzysztofDebowski/zad-piosenki,MichalDebowski/zad-piosenki
1294c7b12399861e857ca148545d067430ea98b8
features/taxonomy/managing_taxons/taxon_image_validation.feature
features/taxonomy/managing_taxons/taxon_image_validation.feature
@managing_taxons Feature: Taxon image validation In order to avoid making mistakes when managing a taxon images As an Administrator I want to be prevented from adding it without specifying required fields Background: Given I am logged in as an administrator @ui @javascript @todo Scenar...
Add scenario for taxon image code validation
[Admin][TaxonImage] Add scenario for taxon image code validation
Cucumber
mit
mbabker/Sylius,videni/Sylius,sweoggy/Sylius,jvahldick/Sylius,nakashu/Sylius,nakashu/Sylius,pjedrzejewski/Sylius,bitbager/Sylius,loic425/Sylius,dragosprotung/Sylius,Brille24/Sylius,Brille24/Sylius,regnisolbap/Sylius,gmoigneu/platformsh-integrations,pjedrzejewski/Sylius,vihuvac/Sylius,PyRowMan/Sylius,gorkalaucirica/Syliu...
90d33879e100c351581d9a8da8ed0f82e04af31b
integration_testing/features/coach/coach-exam-learner-reports.feature
integration_testing/features/coach/coach-exam-learner-reports.feature
Feature: Coach learner reports for exams Coach can see the progress and score for each learner for a given exam Background: Given I am logged in as a coach And I am on *Coach > Classroom <classroom> > Exams > Exam <exam>* page And <classroom> has grouped learners And <classroom> has ungrouped...
Add gherkin stories for exam report
Add gherkin stories for exam report
Cucumber
mit
lyw07/kolibri,learningequality/kolibri,mrpau/kolibri,learningequality/kolibri,mrpau/kolibri,lyw07/kolibri,lyw07/kolibri,mrpau/kolibri,indirectlylit/kolibri,indirectlylit/kolibri,mrpau/kolibri,learningequality/kolibri,indirectlylit/kolibri,learningequality/kolibri,indirectlylit/kolibri,lyw07/kolibri
8c277ad7aee5a2b452933c428383b635decc2027
features/caching/deployment.feature
features/caching/deployment.feature
Feature: Deployment In order to finish deployment as fast as possible, as a lazy Vim user, I want to skip plugins which are already deployed with proper versions. Background: Given a repository "foo" with versions "1.0 1.1 1.2" And a flavorfile with: """ruby flavor '$foo_uri', '~> 1.0' ...
Write "Deployment" scenarios about "Caching"
Write "Deployment" scenarios about "Caching"
Cucumber
mit
ngtk/vim-flavor,kana/vim-flavor
90d5f977ee315d248b8e5f59eb882fd9ecba4848
features/action_plan.feature
features/action_plan.feature
Feature: Action Plan Reading As a visitor to the website I want to view an action plan So that I can understand the subject matter Scenario: Viewing a published action plan Given that there is an action plan And it is published When I view an action plan Then the action plan should be displayed...
Add feature file for the action plan.
Add feature file for the action plan.
Cucumber
mit
moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend,moneyadviceservice/frontend
2830dd8023ced9866eafc589850a00210798cf5a
features/product/managing_products/accessing_variants_management_from_product_edit_page.feature
features/product/managing_products/accessing_variants_management_from_product_edit_page.feature
@managing_products Feature: Accessing the variants management from the product edit page In order to facilitate work with the management of variants As an Administrator I want to be able to access the variants management directly from the product edit page Background: Given the store operates o...
Add scenarios for accessing the variants management from the product edit page
[Behat][Admin][Product] Add scenarios for accessing the variants management from the product edit page
Cucumber
mit
foobarflies/Sylius,foobarflies/Sylius,101medialab/Sylius,pjedrzejewski/Sylius,pamil/Sylius,Brille24/Sylius,antonioperic/Sylius,itinance/Sylius,mbabker/Sylius,itinance/Sylius,mbabker/Sylius,foobarflies/Sylius,101medialab/Sylius,diimpp/Sylius,antonioperic/Sylius,GSadee/Sylius,bitbager/Sylius,SyliusBot/Sylius,pjedrzejewsk...
23dd7de83fdb73d42ccec7437611936d1a76cb5c
features/cli/rbld.feature
features/cli/rbld.feature
Feature: rbld As a CLI user I want to be notified when I try to run an unknown command Scenario: rbld _unknown_command_ fails with error Given I run `rbld _unknown_command_` Then it should fail with: """ ERROR: Unknown command: _unknown_command_ """
Add test for unknown CLI command processing
tests: Add test for unknown CLI command processing Signed-off-by: Dmitry Fleytman <a8cf97adadec4e1b734a39bc5aea71b5741cfca1@daynix.com>
Cucumber
apache-2.0
daynix/rebuild,daynix/rebuild,rbld/rebuild,rbld/rebuild,rbld/rebuild,daynix/rebuild
b7ba129f607ae6e90067f88da380e28f2dde5381
features/homepage.feature
features/homepage.feature
Feature: Homepage As a programmer that uses the Snippets site I want a friendly and useful homepage So that I can quickly view previous or save new snippets of code Background: Given the following snippets: | text | Scenario: Programmer visits home page When I am on the home page Then I sh...
Create outline of first (Homepage) feature
[002] Create outline of first (Homepage) feature
Cucumber
mit
errinlarsen/snippet_app,errinlarsen/snippet_app
4e2de09fbb5f54701a277c46ed0fa9409f505eb7
features/without_dependency_versions.feature
features/without_dependency_versions.feature
Feature: Update bundle with no depenency versions As a developer In order to avoid editing the Gemfile I want to specify no versions Scenario: Updating an unversioned depedency Given a Gemfile specifying: """ gem 'foo' """ And a gem named "foo" at version 1.0.0 And the initial bun...
Add passing scenario for unversioned dependencies
Add passing scenario for unversioned dependencies
Cucumber
mit
mvz/keep_up,mvz/keep_up
876c4ac1723f9b625dc56e4a1e25bf3310894c95
features/addproject.feature
features/addproject.feature
Feature: addproject In order to organise my WIPs As a registered user I need to be able to add a new project Background: Given I am logged in as "username" Scenario: Add a new project Given I am on "project/add" And I should see "Add Project" And I should not see a ...
Add project feature tests added
Add project feature tests added
Cucumber
mit
Moult/eadrax-old
5d0eedb48d0de1f567c6a5e808014ac85e88283c
features/generate-documentation/create-project-for-use-in-templates/generate-trait-information.feature
features/generate-documentation/create-project-for-use-in-templates/generate-trait-information.feature
Feature: Generate information about one or more classes in a project In order to present information on classes in a project As a template author I need to have all details concerning a class Background: Given a file named "test.php" with: """ <?php namespace MySpace; /** * ...
Add behavioral tests to check whether traits are interpreted correctly
Add behavioral tests to check whether traits are interpreted correctly
Cucumber
mit
beealone/phpDocumentor2,ddymko/phpDocumentor2,angi2/phpDocumentor2,PatidarWeb/phpDocumentor2,webmozart/phpDocumentor2,webmozart/phpDocumentor2,senuamedia/phpDocumentor2,mvriel/phpDocumentor2,Maxim-Mazurok/phpDocumentor2,Maxim-Mazurok/phpDocumentor2,mvriel/phpDocumentor2,PatidarWeb/phpDocumentor2,rgeraads/phpDocumentor2...
328303f2d87fa92df9091dee9a62767d54affb67
features/authorization.feature
features/authorization.feature
Feature: gcli auth @ci-run Scenario: Available commands When I run `gcli auth` Then the exit status should be 0 And the output should contain "auth list" And the output should contain "auth get" And the output should contain "auth create" And the output should contain "auth update"...
Add auth commands feature tests.
Add auth commands feature tests.
Cucumber
mit
piotrmurach/github_cli,ecliptik/github_cli,peter-murach/github_cli,pjump/github_cli,ecliptik/github_cli,peter-murach/github_cli,pjump/github_cli
30f910e86147623314c63242377e16f7ab72d2be
features/testbot/exclude_regressions.feature
features/testbot/exclude_regressions.feature
@routing @testbot @exclude Feature: Testbot - Exclude flags regression tests Background: Given the profile "testbot" Scenario: Testbot - Exclude toll regression 1 Given the node map """ a g . . b....d-$-$-e....f ...
Add regression test from @fijemax
Add regression test from @fijemax
Cucumber
bsd-2-clause
yuryleb/osrm-backend,felixguendling/osrm-backend,felixguendling/osrm-backend,KnockSoftware/osrm-backend,KnockSoftware/osrm-backend,yuryleb/osrm-backend,KnockSoftware/osrm-backend,Project-OSRM/osrm-backend,frodrigo/osrm-backend,bjtaylor1/osrm-backend,frodrigo/osrm-backend,Project-OSRM/osrm-backend,yuryleb/osrm-backend,K...
df7bbbe01ca02a525f9e98f7722ba58e59f9e1bc
vscode-visual-tests/features/analytics_extension_npm_cve_checks.feature
vscode-visual-tests/features/analytics_extension_npm_cve_checks.feature
Feature: Visual Studio Code + the Analytics plugin basic functionality: displaying problems on status bar Scenario: Check that the Analytics plugin has been installed Given The Visual Studio Code is set up When I start the Visual Studio Code with parameter --list-extensions Then I should ...
Check for project with no dependencies and thus no CVEs
Check for project with no dependencies and thus no CVEs
Cucumber
apache-2.0
tisnik/fabric8-analytics-common,tisnik/fabric8-analytics-common,tisnik/fabric8-analytics-common
867dd07dba2f1aa80e7bf8cc34bb6f5fc9d14a11
features/runner/developer_runs_patch_up.feature
features/runner/developer_runs_patch_up.feature
Feature: Developer runs patch:up command As a Developer I want to upgrade the patch version Scenario: Stamping a project without configuration Given I work in an empty project When I run patch:up Then I should see "Configuration file not found" Scenario: Stamping one file with a configuration fi...
Test patch:up command for simple metadata.json file
Test patch:up command for simple metadata.json file
Cucumber
mit
stamp-application/stamp,stamp-application/stamp
7a2ee468fb4166353b9e05a95b7df01fd67e37c8
features/supplier/view_and_edit_services.feature
features/supplier/view_and_edit_services.feature
@view_dos_service Feature: Supplier being able to view their DOS services Background: Given I have a live digital outcomes and specialists framework And I have a supplier And that supplier is logged in Given that supplier is on that framework # do for all lots Scenario: Supplier coming from dashboard to view ...
Add a new feature: supplier being able to view their services
Add a new feature: supplier being able to view their services
Cucumber
mit
alphagov/digitalmarketplace-functional-tests,alphagov/digitalmarketplace-functional-tests,alphagov/digitalmarketplace-functional-tests
ffd45eee805e9ef2a8dd29a71cc8f7f6459a7ef1
features/docs/writing_support_code/after_hooks.feature
features/docs/writing_support_code/after_hooks.feature
Feature: After Hooks After hooks can be used to clean up any state you've altered during your scenario, or to check the status of the scenario and act accordingly. You can ask a scenario whether it has failed, for example. Mind you, even if it hasn't failed yet, you can still make the scenario fail if your...
Add a couple of scenarios to document After hooks
Add a couple of scenarios to document After hooks @willbryant I did this to try and reproduce the error you mentioned in https://github.com/cucumber/cucumber/commit/1ac1f8abb473f9fca52eeb8534880dda12f7e608#commitcomment-7695454 but it's passing. I guess there must be something particular about your scenario that's ca...
Cucumber
mit
sideci-sample/sideci-sample-cucumber,cucumber/cucumber-ruby,enkessler/cucumber-ruby,shadow000902/cucumber-ruby,nfredrik/cucumber-ruby,marxarelli/cucumber,phoebeclarke/cucumber-ruby,dg-ratiodata/cucumber-ruby,danascheider/cucumber-ruby,dg-ratiodata/cucumber-ruby,richarda/cucumber,martinma4/cucumber-ruby,marxarelli/cucum...
f8866e0091add629aefa9de3593f50cadb63bf3f
features/test_dawg_creation.feature
features/test_dawg_creation.feature
Feature: Create dawg In order to test creating a dawg As a developer I want to provide a list of words Scenario Outline: Create dawg from word list When I create a dawg from these words: | word | | city | | cities | | pity | | pities | Then my dawg should return <result> for <word> S...
Test dawg creation from word list and file
Test dawg creation from word list and file
Cucumber
mit
bitcababy/dawger
b331885d3ce4d966b178dc12ce3e16308fd0c449
features/bicycle/exclude.feature
features/bicycle/exclude.feature
@routing @bicycle @exclude Feature: Bicycle - Exclude flags Background: Given the profile file "bicycle" initialized with """ profile.excludable = Sequence { Set { 'ferry' } } """ Given the node map """ a....b~~~~~c...f : : ...
Add test fo excluding ferries on bikes
Add test fo excluding ferries on bikes
Cucumber
bsd-2-clause
felixguendling/osrm-backend,Project-OSRM/osrm-backend,yuryleb/osrm-backend,Project-OSRM/osrm-backend,oxidase/osrm-backend,yuryleb/osrm-backend,felixguendling/osrm-backend,frodrigo/osrm-backend,bjtaylor1/osrm-backend,oxidase/osrm-backend,yuryleb/osrm-backend,felixguendling/osrm-backend,yuryleb/osrm-backend,frodrigo/osrm...
bd79663a036fe02ba19ff8b4224c824b52f25315
features/testing_vim_plugins/failures.feature
features/testing_vim_plugins/failures.feature
Feature: Failures In order to automate varisous processes about testing Vim plugins, As a lazy Vim user, I want to get a proper exit status according to test results. Background: Given a repository "kana/vim-vspec" from offline cache Scenario: Failed test cases Given a flavorfile with: """ruby...
Write a scenario about failed test cases
Write a scenario about failed test cases
Cucumber
mit
ngtk/vim-flavor,kana/vim-flavor
bf0e2bcb1959ef6d8fbbe015c786998ff4d032e3
features/cli/rbld_status.feature
features/cli/rbld_status.feature
Feature: rbld status As a CLI user I want to be able to list modified environments with rbld status Background: Given existing environment test-env:initial And existing environment test-env:v001 Scenario: status help exit status of 0 When I run `rbld status --help` Then the exit status shoul...
Add tests for rbld status
tests: Add tests for rbld status Signed-off-by: Dmitry Fleytman <a8cf97adadec4e1b734a39bc5aea71b5741cfca1@daynix.com>
Cucumber
apache-2.0
rbld/rebuild,rbld/rebuild,daynix/rebuild,daynix/rebuild,daynix/rebuild,rbld/rebuild
e79090cad85cdfdaab11caad76a87a622e331e3f
features/ignore_bundle_groups.feature
features/ignore_bundle_groups.feature
Feature: Ignore Bundle Groups As a developer I want to ignore certain bundler groups So that any gems I use in development, or for testing, are automatically approved for use Scenario: Given I have an app with license finder that depends on a GPL licensed gem in the test bundler group And I add the tes...
Feature: Ignore Bundle Groups As a developer I want to ignore certain bundler groups So that any gems I use in development, or for testing, are automatically approved for use Scenario: Ignored bundler groups are not evaluated for licenses Given I have an app with license finder that depends on a GPL licens...
Add scenario descriptions for ignored bundle groups
Add scenario descriptions for ignored bundle groups
Cucumber
mit
pivotal/LicenseFinder,chef/LicenseFinder,LukeWinikates/LicenseFinder,pivotal/LicenseFinder,SimantovYousoufov/LicenseFinder,joemoore/LicenseFinder,bspeck/LicenseFinder,Swrve/LicenseFinder,chef/LicenseFinder,bdshroyer/LicenseFinder,phusion/LicenseFinder,SimantovYousoufov/LicenseFinder,phusion/LicenseFinder,JasonMSwrve/Li...
12d3c9124c98a092b882919d546ccddc88c3bf7c
features/command-line-help.feature
features/command-line-help.feature
Feature: displaying help text in the command-line interface As a user I want to see the available commands and options right on CLI So that I don't have to browse the documentation on the web @starts-new-os-process Scenario: User wants to know what he can do with s3_website When I run `s3_website` T...
Add examples of CLI help
Add examples of CLI help
Cucumber
mit
page-io/s3_website,SivagnanamCiena/s3_website,SivagnanamCiena/s3_website,dojo4/s3_website,pathawks/s3_website,page-io/s3_website,WangKaimin/s3_website,dojo4/s3_website,xpekatt/s3_website,xpekatt/s3_website,WangKaimin/s3_website,pathawks/s3_website
8f27ee8d27bb2f038723c1d03a6bbcb08038ea8a
features/smartgraph_questions.feature
features/smartgraph_questions.feature
Authors should be able to add, edit and remove Smartgraph Range Questions to/from a page. Feature: Smartgraph Questions As an author I want to add, edit or remove a Smartgraph Range Question to/from a page So that I can use Smartgraph Question tool. Scenario: Smartgraph question can be added to a page G...
Add some pending tests for the smartgraph range question element.
Add some pending tests for the smartgraph range question element.
Cucumber
mit
concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse,concord-consortium/rigse
ae491c47d88c81abdc7d86597b653900aa603970
Tests/Behat/Features/application-user-menu.feature
Tests/Behat/Features/application-user-menu.feature
Feature: User menu In order to have some quick links related to current user As a OroCRM user I need to user navigation menu Scenario: My Calendar Given I click My Calendar in user menu Then I should be on Default Calendar View page
Merge master into story branch - Moved calendar related user menu behat test to calendar package
CRM-6425: Merge master into story branch - Moved calendar related user menu behat test to calendar package
Cucumber
mit
orocrm/OroCalendarBundle,orocrm/OroCalendarBundle,orocrm/OroCalendarBundle
5c05804ff17c893ed2ba9bc3e73eedbe44e89630
src/Oro/Bundle/UserBundle/Tests/Behat/Features/impersonated_data_audit.feature
src/Oro/Bundle/UserBundle/Tests/Behat/Features/impersonated_data_audit.feature
Feature: Identify changes made by impersonated user in Data Audit In order to see changes made by impersonated users as any user I should have possibility to see, what changes have been made by impersonated users Scenario: Create entity by impersonated user Given I login as Impersonated user And I go t...
Automate Identify changes made by impersonated user in Data Audit feature
BAP-12594: Automate Identify changes made by impersonated user in Data Audit feature
Cucumber
mit
orocrm/platform,Djamy/platform,orocrm/platform,orocrm/platform,geoffroycochard/platform,Djamy/platform,geoffroycochard/platform,Djamy/platform,geoffroycochard/platform
968aa261e473341b8e82896d6ad6f70947510f16
features/cli/rbld_list.feature
features/cli/rbld_list.feature
Feature: rbld list As a CLI user I want to be able to list existing environments with rbld list Background: Given existing environment test-env:initial And existing environment test-env:v001 Scenario: list help exit status of 0 When I run `rbld list --help` Then the exit status should be 0 ...
Add tests for rbld list
tests: Add tests for rbld list Signed-off-by: Dmitry Fleytman <a8cf97adadec4e1b734a39bc5aea71b5741cfca1@daynix.com>
Cucumber
apache-2.0
daynix/rebuild,daynix/rebuild,rbld/rebuild,daynix/rebuild,rbld/rebuild,rbld/rebuild
beb98e9fccf031fb9f2e89789b9900e175c6addc
features/promotion/managing_coupons/being_unable_to_generate_too_many_coupons_with_prefix_and_suffix.feature
features/promotion/managing_coupons/being_unable_to_generate_too_many_coupons_with_prefix_and_suffix.feature
@managing_promotion_coupons Feature: Being unable to generate too many coupons with prefix and suffix In order to avoid generating duplicated coupons for my promotions As an Administrator I want to be prevented from generating too many coupons with the same prefix or suffix Background: Given th...
Add scenarios for the prevention of generating too many coupons
[Behat][Admin][Promotion] Add scenarios for the prevention of generating too many coupons
Cucumber
mit
mbabker/Sylius,pjedrzejewski/Sylius,loic425/Sylius,SyliusBot/Sylius,Sylius/Sylius,pamil/Sylius,diimpp/Sylius,Zales0123/Sylius,mbabker/Sylius,SyliusBot/Sylius,diimpp/Sylius,GSadee/Sylius,Arminek/Sylius,pjedrzejewski/Sylius,antonioperic/Sylius,pamil/Sylius,Arminek/Sylius,lchrusciel/Sylius,foobarflies/Sylius,GSadee/Sylius...
3d249e5d24a38d311b6b6cfe6aaecfc3ecb27f72
src/tests/behave/api/features/rpc/capabilities/misc.feature
src/tests/behave/api/features/rpc/capabilities/misc.feature
Feature: Inject Misc Capability RPC Jobs As an authorized tenant I want to be able to inject new rpc jobs for each of the misc capabilities Background: Test POST /rpc/jobs (misc capabilities) Given the account is an authorized tenant And the rpc_jobs client URL is /rpc/jobs And the ...
Add feature file with a feature to test the run capability
Add feature file with a feature to test the run capability
Cucumber
apache-2.0
jr0d/mercury,jr0d/mercury
0f278c168cfc10cc31e45df508da6a01fa27285a
features/cucumber_cli.feature
features/cucumber_cli.feature
Feature: Run single scenario In order to speed up development Developers should be able to run just a single scenario Scenario: Run single scenario with missing step definition When I run cucumber -q features/sample.feature:3 Then the output should be """ Feature: Sample Scenario: M...
Feature: Run single scenario In order to speed up development Developers should be able to run just a single scenario Scenario: Run single scenario with missing step definition When I run cucumber -q features/sample.feature:3 Then the output should be """ Feature: Sample Scenario: M...
Add scenario for progress formatter
Add scenario for progress formatter
Cucumber
mit
jarib/cucumber,enkessler/cucumber-ruby,CW5000/CWFDerpy,danascheider/cucumber-ruby,enkessler/cucumber-ruby,jasonkarns/cucumber-ruby,shivashankar2020/mands,sideci-sample/sideci-sample-cucumber,martinma4/cucumber-ruby,shivashankar2020/mands,CW5000/CWFDerpy,tom025/cucumber,danascheider/cucumber-ruby,twalpole/cucumber,tom02...
8138e4d9c8bcb1cff281cde1406ca23f29a3fc2e
vscode-visual-tests/features/vscode_cli_checks.feature
vscode-visual-tests/features/vscode_cli_checks.feature
Feature: Visual Studio Code basic functionality Scenario: Basic check that use the common UI test steps Given The PyAutoGUI library is initialized And The screen resolution is at least 1024x768 pixels And The Visual Studio Code is set up When I start the Visual Studio Code wit...
Check VSCode version on CLI
Check VSCode version on CLI
Cucumber
apache-2.0
tisnik/fabric8-analytics-common,tisnik/fabric8-analytics-common,tisnik/fabric8-analytics-common
96baac059a9587a341827e984e8a84c23621c907
features/smoke-tests/public/live_reload.feature
features/smoke-tests/public/live_reload.feature
@live-reload Feature: Live reload search Scenario: Live reload search hitting enter should not cause a full page reload Given I am on the homepage And I click 'View Digital Outcomes and Specialists opportunities' And I am on the 'Digital Outcomes and Specialists opportunities' page And I set the page reload fl...
Add tests to assert that live search does not cause a full page reload
Add tests to assert that live search does not cause a full page reload
Cucumber
mit
alphagov/digitalmarketplace-functional-tests,alphagov/digitalmarketplace-functional-tests,alphagov/digitalmarketplace-functional-tests
6decd51797770e79177c9839dfcfd1fbfb2472bb
features/config_formatters.feature
features/config_formatters.feature
@test_unit @config Feature: The formatter for test coverage can be customized with the SimpleCov.formatter setting. There are two built-in formatters: SimpleCov::Formatter::SimpleFormatter is a simple formatter returning a string of all files with theirs coverages. SimpleCov::Formatter::MultiForm...
Implement Cucumber feature showing built-in formatters configuration.
Implement Cucumber feature showing built-in formatters configuration.
Cucumber
mit
playpasshq/simplecov,ptashman/simplecov,QuickPay/simplecov,mallikarjunayaddala/simplecov,irfanah/simplecov,colszowka/simplecov,hugopeixoto/simplecov,gerry3/simplecov,colszowka/simplecov
8cd91b3df0035899b6cb33a96ab44c1a19d1c2cc
snippets/tst_cuda_function_ptrs/tst_fptrs.cu
snippets/tst_cuda_function_ptrs/tst_fptrs.cu
#include "tst_fptrs.h" #include "user_f.h" #include <stdio.h> void assign_cuda_ptr(fc2d_cuda_t* h_f, fc2d_cuda_t f) { cudaError_t ce = cudaMemcpyFromSymbol(h_f, f, sizeof(fc2d_cuda_t)); if(ce != cudaSuccess) { printf("ERROR: %s\n",cudaGetErrorString(ce)); exit(0); } else { ...
#include "tst_fptrs.h" #include "user_f.h" #include <stdio.h> __global__ void kernel(fc2d_cuda_t f,float x, float *y) { *y = f(x); return; } int main() { float x; float y, *y_dev; fc2d_assign_cuda_ptr_t f_assign_user; fc2d_cuda_t h_f; /* User definitions */ x = 5; f_assign_user ...
Update cuda snippet illustrating Cuda function pointers
Update cuda snippet illustrating Cuda function pointers
Cuda
bsd-2-clause
ForestClaw/forestclaw,ForestClaw/forestclaw,ForestClaw/forestclaw,ForestClaw/forestclaw,ForestClaw/forestclaw,ForestClaw/forestclaw
ca49b5dad4d243f6188dc45d7de312b51080ba8a
unittests/device_properties/test_device_properties.cu
unittests/device_properties/test_device_properties.cu
#include <iostream> #include <string> #include <gunrock/cuda/device_properties.hxx> int main(int argc, char** argv) { using namespace std; using namespace gunrock::cuda; using namespace gunrock::cuda::properties; int cc_ver = (argc > 1) ? stoi(argv[1]) : 30; compute_capability_t cc = make_compute_...
#include <iostream> #include <string> #include <gunrock/cuda/device_properties.hxx> int main(int argc, char** argv) { using namespace std; using namespace gunrock::cuda; using namespace gunrock::cuda::properties; int cc_ver = (argc > 1) ? stoi(argv[1]) : 30; compute_capability_t cc = make_compute_capability...
Change indentation to 2 spaces
Change indentation to 2 spaces
Cuda
apache-2.0
gunrock/gunrock,gunrock/gunrock,gunrock/gunrock
3d6af3f0b119303e5299c9155ffe8d4fb285bb72
testing/backend/cuda/memory.cu
testing/backend/cuda/memory.cu
#include <unittest/unittest.h> #include <thrust/system/cuda/memory.h> template<typename T1, typename T2> bool is_same(const T1 &, const T2 &) { return false; } template<typename T> bool is_same(const T &, const T &) { return true; } void TestSelectSystemCudaToCpp() { using thrust::system::detail::generic::sele...
#include <unittest/unittest.h> #include <thrust/system/cuda/memory.h> template<typename T1, typename T2> bool is_same(const T1 &, const T2 &) { return false; } template<typename T> bool is_same(const T &, const T &) { return true; } void TestSelectSystemCudaToCpp() { using thrust::system::detail::generic::sele...
Test host_system_tag rather than cpp::tag
Test host_system_tag rather than cpp::tag
Cuda
apache-2.0
zeryx/thrust,thrust/thrust,xiongzhanblake/thrust_src,raygit/thrust,zhenglaizhang/thrust,egaburov/thrust,arnabgho/thrust,dachziegel/thrust,sarvex/thrust,zeryx/thrust,sdalton1/thrust,jaredhoberock/thrust,GrimDerp/thrust,thrust/thrust,dachziegel/thrust,mohamed-ali/thrust,marksantos/thrust,thrust/thrust,jaredhoberock/thrus...
b5abb749a381c08fd499743871896b620f133d3b
cuda_grid.cu
cuda_grid.cu
#include <agency/cuda/execution_policy.hpp> #include <cstdio> struct kernel { __device__ void operator()(agency::parallel_group<agency::cuda::concurrent_agent>& self) { printf("hello from {%d, %d}\n", (int)self.outer().index(), (int)self.inner().index()); } }; auto grid(size_t num_blocks, size_t num_thre...
#include <agency/cuda/execution_policy.hpp> #include <cstdio> struct kernel { __device__ void operator()(agency::parallel_group<agency::cuda::concurrent_agent>& self) { printf("hello from {%d, %d}\n", (int)self.outer().index(), (int)self.inner().index()); } __device__ void operator()(agency::parallel...
Implement 2-dimensional grids, but leave commented out
Implement 2-dimensional grids, but leave commented out
Cuda
bsd-3-clause
egaburov/agency,egaburov/agency
715ac3629830367768419ba4f9c1b4057430ece9
MS6/kernel/nvidia/gridder/halide_api.cu
MS6/kernel/nvidia/gridder/halide_api.cu
#include "grid_gpu.cuh" #include "halide_buf.h" extern "C" int nvGridder(const double _scale, const int32_t _grid_size, buffer_t *_vis_buffer, buffer_t *_gcf_buffer, buffer_t *_uvg_buffer){ gridGPUc( _scale , reinterpret_cast<CmplxType*>(_uvg_buffer->host) , reinterpret_cast<combined*>(_vis_buffe...
#include "grid_gpu.cuh" #include "halide_buf.h" extern "C" int nvGridder(const double _scale, const int32_t _grid_size, buffer_t *_vis_buffer, buffer_t *_gcf_buffer, buffer_t *_uvg_buffer){ // FIXME: make gridGPUx respect buffers locations, i.e. // to check if they already are on GPU and skip allocation and marsha...
Prepare NVidia gridder's Halide veneer to be used as drop-in replacement for the true Halide kernels.
Prepare NVidia gridder's Halide veneer to be used as drop-in replacement for the true Halide kernels.
Cuda
apache-2.0
SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC
a778de45d2d44a6fe116810919ad82f72691325c
source/basic_path_tracer/cuda_kernel_call_wrapper.cu
source/basic_path_tracer/cuda_kernel_call_wrapper.cu
/* rapt - RichieSam's Adventures in Path Tracing * * rapt is the legal property of Adrian Astley * Copyright Adrian Astley 2015 */ #include "basic_path_tracer/path_trace.cuh" uint32 WangHash(uint32 a) { a = (a ^ 61) ^ (a >> 16); a = a + (a << 3); a = a ^ (a >> 4); a = a * 0x27d4eb2d; a = a ^ ...
/* rapt - RichieSam's Adventures in Path Tracing * * rapt is the legal property of Adrian Astley * Copyright Adrian Astley 2015 */ #include "basic_path_tracer/path_trace.cuh" uint32 WangHash(uint32 a) { a = (a ^ 61) ^ (a >> 16); a = a + (a << 3); a = a ^ (a >> 4); a = a * 0x27d4eb2d; a = a ^ ...
Add comments to further explain the file arraignment of the kernel code
BASIC_PATH_TRACER: Add comments to further explain the file arraignment of the kernel code
Cuda
apache-2.0
RichieSams/rapt,RichieSams/rapt
f6dcbc04a3dc5a0e3e3401927f2496bde5913eb2
example/cuda/prac5.cu
example/cuda/prac5.cu
/* originally from http://people.maths.ox.ac.uk/gilesm/ and modified */ // // include files // #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <cutil_inline.h> #include "prac5.h" // // kernel routine // __global__ void my_first_kernel(float *x) { int tid = threadIdx.x + bl...
/* originally from http://people.maths.ox.ac.uk/gilesm/ and modified */ // // include files // #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <cuda.h> #include "prac5.h" // // kernel routine // __global__ void my_first_kernel(float *x) { int tid = threadIdx.x + blockDim.x*...
Remove dependence on the CUDA SDK
Remove dependence on the CUDA SDK It turns out that this example does not really depend on the cuda SDK. Thus we remove the inclusion of the header file. This is also nice because CUDA 2.3 does not seem to have this header file.
Cuda
lgpl-2.1
cburstedde/libsc,holke/libsc,holke/libsc,johannrudi/libsc,cburstedde/libsc,cburstedde/libsc,johannrudi/libsc,cburstedde/libsc,holke/libsc,cburstedde/libsc,johannrudi/libsc,johannrudi/libsc,holke/libsc,johannrudi/libsc
4d0fdaf4f7bb706773758f1c47f62e0ccb33de8f
hoomd/md/HarmonicDihedralForceGPU.cuh
hoomd/md/HarmonicDihedralForceGPU.cuh
// Copyright (c) 2009-2019 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. // Maintainer: dnlebard #include "hoomd/ParticleData.cuh" #include "hoomd/HOOMDMath.h" #include "hoomd/BondedGroupData.cuh" /*! \file HarmonicDihedralForceGPU...
// Copyright (c) 2009-2019 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. // Maintainer: dnlebard #include "hoomd/ParticleData.cuh" #include "hoomd/HOOMDMath.h" #include "hoomd/BondedGroupData.cuh" /*! \file HarmonicDihedralForceGPU...
Revert datatype for scalar d_params
Revert datatype for scalar d_params
Cuda
bsd-3-clause
joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue
74f6cf4f1180ae2a1e4b74266842d9b43c607d61
MS6/kernel/nvidia/gridder/halide_api.cu
MS6/kernel/nvidia/gridder/halide_api.cu
#include "grid_gpu.cuh" #include "halide_buf.h" extern "C" int nvGridder(const double _scale, const int32_t _grid_size, buffer_t *_vis_buffer, buffer_t *_gcf_buffer, buffer_t *_uvg_buffer){ // FIXME: make gridGPUx respect buffers locations, i.e. // to check if they already are on GPU and skip allocation and marsha...
#include "grid_gpu.cuh" #include "halide_buf.h" extern "C" EXPORT int nvGridder(const double _scale, const int32_t _grid_size, buffer_t *_vis_buffer, buffer_t *_gcf_buffer, buffer_t *_uvg_buffer){ #define visptr reinterpret_cast<combined*>(_vis_buffer->host) #define visnum _vis_buffer->extent[1] bin_sort5(visptr...
Add forgotten sort to Halide API.
Add forgotten sort to Halide API.
Cuda
apache-2.0
SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC
bb92e4542d41d8626004b933feb6298d63e82b65
src/cuIBM.cu
src/cuIBM.cu
/***************************************************************************//** * \mainpage cuIBM * * A GPU-based Immersed Boundary Method * * \author Krishnan, A. (anush@bu.edu) */ /***************************************************************************//** * \file cuIBM.cu * \author Krishnan, A. (anush@bu.edu)...
/***************************************************************************//** * \mainpage cuIBM * * A GPU-based Immersed Boundary Method * * \author Anush Krishnan (anush@bu.edu) */ /***************************************************************************//** * \file cuIBM.cu * \author Anush Krishnan (a...
Update Doxygen documentation with conventions
Update Doxygen documentation with conventions
Cuda
mit
barbagroup/cuIBM,barbagroup/cuIBM,barbagroup/cuIBM
8ca3a0ca80293baa3af205db69a8eeee8dd736be
test/Driver/cuda-no-sanitizers.cu
test/Driver/cuda-no-sanitizers.cu
// Check that -fsanitize=foo doesn't get passed down to device-side // compilation. // // REQUIRES: clang-driver // // RUN: %clang -### -target x86_64-linux-gnu -c --cuda-gpu-arch=sm_20 -fsanitize=address %s 2>&1 | \ // RUN: FileCheck %s // CHECK-NOT: error: // CHECK-DAG: "-fcuda-is-device" // CHECK-NOT: "-fsanitize...
// Check that -fsanitize=foo doesn't get passed down to device-side // compilation. // // REQUIRES: clang-driver // // RUN: %clang -### -target x86_64-linux-gnu -c --cuda-gpu-arch=sm_20 -fsanitize=address %s 2>&1 | \ // RUN: FileCheck %s // CHECK-NOT: error: unsupported option '-fsanitize=address' // CHECK-DAG: "-fc...
Fix faulty test from rL288448
[CUDA] Fix faulty test from rL288448 Summary: The test introduced by rL288448 is currently failing because unimportant but unexpected errors appear as output from a test compile line. This patch looks for a more specific error message, in order to avoid false positives. Reviewers: jlebar Subscribers: cfe-commits Di...
Cuda
apache-2.0
apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/cl...
c5640dbb916b0a2130f4fbe508b04d3c45bc4053
testing/cuda/test_future_cast.cu
testing/cuda/test_future_cast.cu
#include <agency/cuda/future.hpp> #include <agency/future.hpp> #include <iostream> #include <cassert> struct empty {}; int main() { { // construction of future<void> from empty types using future_type1 = agency::cuda::future<empty>; future_type1 f1 = agency::cuda::make_ready_future(empty()); using...
#include <agency/cuda/future.hpp> #include <agency/future.hpp> #include <iostream> #include <cassert> struct empty {}; int main() { { // construction of future<void> from empty types using future_type1 = agency::cuda::future<empty>; future_type1 f1 = agency::cuda::make_ready_future(empty()); using...
Add a test for future_traits::cast()
Add a test for future_traits::cast()
Cuda
bsd-3-clause
egaburov/agency,egaburov/agency
21a942db0ede30549404e0a4f6f2c4ede91075e8
hoomd/md/TWFDriverPotentialPairGPU.cu
hoomd/md/TWFDriverPotentialPairGPU.cu
/*! \file TWFDriverPotentialPairGPU.cu \brief Defines the driver functions for computing all types of pair forces on the GPU */ #include "EvaluatorPairTWF.h" #include "AllDriverPotentialPairGPU.cuh" hipError_t gpu_compute_twftemp_forces( const pair_args_t& pair_args, const EvaluatorPairTWF::param_type *d_p...
/*! \file TWFDriverPotentialPairGPU.cu \brief Defines the driver functions for computing all types of pair forces on the GPU */ #include "EvaluatorPairTWF.h" #include "AllDriverPotentialPairGPU.cuh" hipError_t gpu_compute_twf_forces( const pair_args_t& pair_args, const EvaluatorPairTWF::param_type *d_param...
Fix typo in GPU TWF force compute function
Fix typo in GPU TWF force compute function
Cuda
bsd-3-clause
joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue
4ed5f7dbb994f19355eb861966fef6e9760c0fce
paddle/cuda/include/hl_matrix_type.cuh
paddle/cuda/include/hl_matrix_type.cuh
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 ...
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 ...
Disable neon when enable gpu.
Disable neon when enable gpu.
Cuda
apache-2.0
reyoung/Paddle,lispc/Paddle,lispc/Paddle,PaddlePaddle/Paddle,tensor-tang/Paddle,Canpio/Paddle,chengduoZH/Paddle,putcn/Paddle,PaddlePaddle/Paddle,baidu/Paddle,chengduoZH/Paddle,chengduoZH/Paddle,luotao1/Paddle,hedaoyuan/Paddle,putcn/Paddle,hedaoyuan/Paddle,hedaoyuan/Paddle,lcy-seso/Paddle,pengli09/Paddle,Canpio/Paddle,h...
ff84e8a02ba8989a098bf7b5dccc6a9ebfb0ab17
testing/caching_allocator.cu
testing/caching_allocator.cu
#include <unittest/unittest.h> #include <thrust/detail/config.h> #include <thrust/detail/caching_allocator.h> template<typename Allocator> void test_implementation(Allocator alloc) { typedef typename thrust::detail::allocator_traits<Allocator> Traits; typedef typename Allocator::pointer Ptr; Ptr p = Trai...
Add a unit test for the convenient caching allocator in detail.
Add a unit test for the convenient caching allocator in detail. Reviewed-by: Bryce Adelstein Lelbach aka wash <2f0f95f95a80179c2180af4c82f6ea311b6bd2c8@gmail.com>
Cuda
apache-2.0
thrust/thrust,jaredhoberock/thrust,thrust/thrust,thrust/thrust,jaredhoberock/thrust,jaredhoberock/thrust,thrust/thrust,jaredhoberock/thrust,jaredhoberock/thrust,andrewcorrigan/thrust-multi-permutation-iterator,andrewcorrigan/thrust-multi-permutation-iterator,thrust/thrust,andrewcorrigan/thrust-multi-permutation-iterato...
43c7b6f21c172b9707e73b0595ab26572ea1309b
testing/memory.cu
testing/memory.cu
#include <unittest/unittest.h> #include <thrust/memory.h> struct my_tag : thrust::device_system_tag {}; template<typename T1, typename T2> bool is_same(const T1 &, const T2 &) { return false; } template<typename T> bool is_same(const T &, const T &) { return true; } void TestSelectSystemDifferentTypes() { // ...
Add unit tests for select_system, with one KNOWN_FAILURE
Add unit tests for select_system, with one KNOWN_FAILURE Fixes #169
Cuda
apache-2.0
thrust/thrust,xiongzhanblake/thrust,thvasilo/thrust,Ricardo666666/thrust,Ricardo666666/thrust,thrust/thrust,thvasilo/thrust,xiongzhanblake/thrust_src,jaredhoberock/thrust,raygit/thrust,sdalton1/thrust,thrust/thrust,GrimDerp/thrust,marksantos/thrust,xiongzhanblake/thrust_src,Ricardo666666/thrust,sdalton1/thrust,andrewco...
c8b5d37350a09fc57307697e6428872f61c0f220
test/CodeGenCUDA/launch-bounds.cu
test/CodeGenCUDA/launch-bounds.cu
// RUN: %clang_cc1 %s -triple nvptx-unknown-unknown -fcuda-is-device -emit-llvm -o - | FileCheck %s #include "../SemaCUDA/cuda.h" #define MAX_THREADS_PER_BLOCK 256 #define MIN_BLOCKS_PER_MP 2 // Test both max threads per block and Min cta per sm. extern "C" { __global__ void __launch_bounds__( MAX_THREADS_PER_BL...
Add test case for r206302
Add test case for r206302 git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@206303 91177308-0d34-0410-b5e6-96231b3b80d8
Cuda
apache-2.0
apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-cl...
9a535c806294ca22c3b153b16e355e442907b882
test/Driver/cuda-not-found.cu
test/Driver/cuda-not-found.cu
// REQUIRES: clang-driver // Check that we raise an error if we're trying to compile CUDA code but can't // find a CUDA install, unless -nocudainc was passed. // RUN: %clang -### --sysroot=%s/no-cuda-there %s 2>&1 | FileCheck %s --check-prefix ERR // RUN: %clang -### --cuda-path=%s/no-cuda-there %s 2>&1 | FileCheck %...
Add a test for r266496 (raise an error if a CUDA installation isn't found)
[CUDA] Add a test for r266496 (raise an error if a CUDA installation isn't found) git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@266796 91177308-0d34-0410-b5e6-96231b3b80d8
Cuda
apache-2.0
llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/cl...
7251e7a3e78e8315acad03c1a346a2eb3eb78587
testing/cuda/test_then_execute.cu
testing/cuda/test_then_execute.cu
#include <agency/cuda/grid_executor.hpp> #include <algorithm> #include <iostream> __managed__ int increment_me; struct increment_and_return_void { template<class Index> __device__ void operator()(const Index&, int& past) { atomicAdd(&increment_me, past); } }; template<class Executor> void test() { ...
Test multi-agent then_execute without shared parameters with nvcc
Test multi-agent then_execute without shared parameters with nvcc
Cuda
bsd-3-clause
egaburov/agency,egaburov/agency
ee11343df0c27159e881b4226047f01fe815a44f
examples/monte_carlo_disjoint_sequences.cu
examples/monte_carlo_disjoint_sequences.cu
#include <thrust/random.h> #include <thrust/iterator/counting_iterator.h> #include <thrust/functional.h> #include <thrust/transform_reduce.h> #include <iostream> // The technique demonstrated in the example monte_carlo.cu // assigns an independently seeded random number generator to each // of 30K threads, uses a si...
Add an example of Monte Carlo using disjoint subsequences of random numbers from a common stream.
Add an example of Monte Carlo using disjoint subsequences of random numbers from a common stream.
Cuda
apache-2.0
h1arshad/thrust,levendlee/thrust,julianromera/thrust,Vishwa07/thrust,malenie/thrust,julianromera/thrust,hemmingway/thrust,malenie/thrust,google-code-export/thrust,rdmenezes/thrust,google-code-export/thrust,rdmenezes/thrust,bfurtaw/thrust,levendlee/thrust,hemmingway/thrust,rdmenezes/thrust,allendaicool/thrust,hemmingway...
56c6f5e7a1ef48adc300c26254c07b28e7de9c53
test/Driver/cuda-output-asm.cu
test/Driver/cuda-output-asm.cu
// Tests CUDA compilation with -S. // REQUIRES: clang-driver // REQUIRES: x86-registered-target // REQUIRES: nvptx-registered-target // RUN: %clang -### -S -target x86_64-linux-gnu --cuda-gpu-arch=sm_20 %s 2>&1 \ // RUN: | FileCheck -check-prefix HOST -check-prefix SM20 %s // RUN: %clang -### -S -target x86_64-linu...
Add test for compiling CUDA code with -S.
[CUDA] Add test for compiling CUDA code with -S. Reviewers: tra Subscribers: cfe-commits, jhen Differential Revision: http://reviews.llvm.org/D16081 git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@257810 91177308-0d34-0410-b5e6-96231b3b80d8
Cuda
apache-2.0
llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/cl...
162f75a4686bd32c053d7b5dc5100001fdae4567
test_shared.cu
test_shared.cu
#include <agency/cuda/execution_policy.hpp> #include <agency/cuda/grid_executor.hpp> #include <thrust/device_vector.h> #include <cstdio> #include <cassert> template<class T> __device__ T fetch_and_add(T* ptr, T value) { #ifdef __NVCC__ return atomicAdd(ptr, value); #else return __sync_fetch_and_add(ptr, value); #...
Add CUDA test for shared variables
Add CUDA test for shared variables
Cuda
bsd-3-clause
egaburov/agency,egaburov/agency
e67019651a55ea09a21159701924518e673441d7
MS3/Sketches/GCF_new/dbl_max.cu
MS3/Sketches/GCF_new/dbl_max.cu
#include "threadFenceReduction_kernel.cuh" struct doubleMax { TASKCFG double init() {return 0.0;} TASKCFG double reduce(double x, double acc){return x > acc ? x : acc;} TASKCFG double f(double c){return fabs(c);} }; extern "C" __global__ void max_512_e2(const double *g_idata, double *g_odata, unsigned int n) { ...
Add abs maximum search (the code sits in the wrong directory ATM).
Add abs maximum search (the code sits in the wrong directory ATM).
Cuda
apache-2.0
SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC,SKA-ScienceDataProcessor/RC
e8cab6a94c1a7dc8070171254fdcd4ea6d60afe7
include/_kernels.cu
include/_kernels.cu
#include <stdio.h> void __device__ saxpy(float* X, const float* Y, float scale, int n) { for (int i=0; i < n; ++i) // Iterate over cols X[i] += Y[i] * scale; } void __global__ kernel_add_one(int* a, int length) { int gid = threadIdx.x + blockDim.x*blockIdx.x; while(gid < length) { a[gid] +...
Add kernel for mean pool
Add kernel for mean pool
Cuda
mit
spacy-io/thinc,explosion/thinc,explosion/thinc,explosion/thinc,spacy-io/thinc,explosion/thinc,spacy-io/thinc
c18f1c74f5b8b326b91ed34d90bddfa8ec82d7c1
test/Preprocessor/cuda-preprocess.cu
test/Preprocessor/cuda-preprocess.cu
// Tests CUDA compilation with -E. // REQUIRES: clang-driver // REQUIRES: x86-registered-target // REQUIRES: nvptx-registered-target #ifndef __CUDA_ARCH__ #define PREPROCESSED_AWAY clang_unittest_no_arch PREPROCESSED_AWAY #else clang_unittest_cuda_arch __CUDA_ARCH__ #endif // CHECK-NOT: PREPROCESSED_AWAY // RUN: %c...
Add tests for compiling CUDA files with -E.
[CUDA] Add tests for compiling CUDA files with -E. Reviewers: tra Subscribers: cfe-commits, jhen Differential Revision: http://reviews.llvm.org/D16080 git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@257807 91177308-0d34-0410-b5e6-96231b3b80d8
Cuda
apache-2.0
llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/cl...
1805732cb81a5ebd3846514188205bae5677d3d8
microscopes/lda/_model_h.pxd
microscopes/lda/_model_h.pxd
from libcpp.vector cimport vector from libcpp.map cimport map from libc.stddef cimport size_t from microscopes._shared_ptr_h cimport shared_ptr from microscopes.common._random_fwd_h cimport rng_t cdef extern from "microscopes/lda/model.hpp" namespace "microscopes::lda": cdef cppclass model_definition: mo...
from libcpp.vector cimport vector from libcpp.map cimport map from libc.stddef cimport size_t from microscopes._shared_ptr_h cimport shared_ptr from microscopes.common._random_fwd_h cimport rng_t cdef extern from "microscopes/lda/model.hpp" namespace "microscopes::lda": cdef cppclass model_definition: mo...
Improve dish/table assignment initialization function
Improve dish/table assignment initialization function
Cython
bsd-3-clause
datamicroscopes/lda,datamicroscopes/lda,datamicroscopes/lda
6eeefb083cdc012779f17f71c0449754609d1339
src/MPI/stdlibc.pxi
src/MPI/stdlibc.pxi
#--------------------------------------------------------------------- cdef extern from *: ctypedef unsigned long size_t #--------------------------------------------------------------------- cdef extern from "stdlib.h": void* malloc(size_t) void* realloc(void*, size_t) void free(void*) #-----------...
#--------------------------------------------------------------------- cdef extern from *: ctypedef unsigned long int size_t #--------------------------------------------------------------------- cdef extern from "stdlib.h": void* malloc(size_t) void* realloc(void*, size_t) void free(void*) #-------...
Fix ctypedef for size_t, should be removed when Cython-0.11 gets released
Fix ctypedef for size_t, should be removed when Cython-0.11 gets released
Cython
bsd-2-clause
pressel/mpi4py,mpi4py/mpi4py,pressel/mpi4py,mpi4py/mpi4py,pressel/mpi4py,pressel/mpi4py,mpi4py/mpi4py
1fc9f70bfeec18d62a4141a44f3bbd40151efd85
sdks/python/apache_beam/utils/windowed_value.pxd
sdks/python/apache_beam/utils/windowed_value.pxd
# # 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 not us...
# # 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 not us...
Remove the inline from WindowedValue.create()
Remove the inline from WindowedValue.create()
Cython
apache-2.0
RyanSkraba/beam,robertwb/incubator-beam,manuzhang/incubator-beam,vikkyrk/incubator-beam,robertwb/incubator-beam,lukecwik/incubator-beam,wtanaka/beam,RyanSkraba/beam,jbonofre/beam,mxm/incubator-beam,wangyum/beam,apache/beam,staslev/incubator-beam,chamikaramj/beam,amitsela/incubator-beam,staslev/beam,charlesccychen/incub...
f9a7a302e627018395d77603f7743cbf2d9bb11d
cygroonga.pyx
cygroonga.pyx
cimport ccygroonga def init(): return ccygroonga.grn_init() cdef class Database: cdef ccygroonga.grn_ctx* _c_ctx cdef ccygroonga.grn_obj* _c_db def __cinit__(self, ccygroonga.grn_ctx* c_ctx, ccygroonga.grn_obj* c_db): self._c_ctx = c_ctx self._c_db = c_db cdef class Context: cdef...
cimport ccygroonga def init(): return ccygroonga.grn_init() def fin(): return ccygroonga.grn_fin() cdef new_database(ccygroonga.grn_ctx* c_ctx, ccygroonga.grn_obj* c_db): db = Database() db._c_ctx = c_ctx db._c_db = c_db cdef class Database: cdef ccygroonga.grn_ctx* _c_ctx cdef ccygroong...
Write a factory function to create a Database instance
Write a factory function to create a Database instance
Cython
apache-2.0
hnakamur/cygroonga
099d4228fa970fd4062b0121fe226066b6946358
mtpy/mtpy.pyx
mtpy/mtpy.pyx
from math import log cdef extern from "mtwist-1.1/mtwist.c": double mt_drand() void mt_seed32new(unsigned int) def uniform(): return mt_drand() def exp(p): u = 1.0 - uniform() return -log(u)/p def seed(s): mt_seed32new (s)
from math import log # cdef extern void c_eject_tomato "eject_tomato" (float speed) cdef extern from "mtwist-1.1/mtwist.c": double c_mt_drand "mt_drand" () void c_mt_seed32new "mt_seed32new" (unsigned int) #def uniform(): # return mt_drand() # #def exp(p): # u = 1.0 - uniform() # return -log(u)/p # #...
Use identical names for C and python
Use identical names for C and python
Cython
apache-2.0
squisher/stella,squisher/stella,squisher/stella,squisher/stella
c5d8303cc1e6594718f8bf0c6e882bde4c80233c
tests/run/big_indices.pyx
tests/run/big_indices.pyx
__doc__ = u""" >>> test() neg False pos True neg pos neg pos """ def test(): cdef long neg = -1 cdef unsigned long pos = -2 # will be a large positive number print "neg", neg > 0 print "pos", pos > - D = { neg: 'neg', pos: 'pos' } print D[<object>neg] print D[...
__doc__ = u""" >>> test() neg False pos True neg pos neg pos """ def test(): cdef long neg = -1 cdef unsigned long pos = -2 # will be a large positive number print "neg", neg > 0 print "pos", pos > 0 D = { neg: 'neg', pos: 'pos' } print D[<object>neg] print D[...
Fix test case syntax error
Fix test case syntax error
Cython
apache-2.0
andreasvc/cython,andreasvc/cython,hickford/cython,fabianrost84/cython,slonik-az/cython,ChristopherHogan/cython,da-woods/cython,fperez/cython,ABcDexter/cython,hpfem/cython,hickford/cython,achernet/cython,marscher/cython,madjar/cython,hickford/cython,acrispin/cython,bzzzz/cython,slonik-az/cython,dahebolangkuan/cython,mar...
f1b4f5270ed0967ddb3b1eee7edf52390bc60535
daapserver/revision.pxd
daapserver/revision.pxd
from daapserver cimport constants cimport cython cdef class TreeRevisionStorage(object): cpdef public int revision cdef int last_operation cdef object storage @cython.locals(low=cython.int, middle=cython.int, high=cython.int) cdef get_index(self, object key, int revision)
from daapserver cimport constants cimport cython cdef class TreeRevisionStorage(object): cpdef public int revision cdef public int last_operation cdef object storage @cython.locals(low=cython.int, middle=cython.int, high=cython.int) cdef get_index(self, object key, int revision)
Fix tests for compiled code.
Fix tests for compiled code.
Cython
mit
ties/flask-daapserver,basilfx/flask-daapserver
54d38cfc1d6ba1462b9a95f392e5252dff28ac8f
tests/compile/libc_all.pyx
tests/compile/libc_all.pyx
cimport libc cimport libc.stdio cimport libc.errno cimport libc.float cimport libc.limits cimport libc.locale cimport libc.signal cimport libc.stddef cimport libc.stdint cimport libc.stdio cimport libc.stdlib cimport libc.string from libc cimport errno from libc cimport float from libc cimport limits from libc cimpor...
cimport libc cimport libc.stdio cimport libc.errno cimport libc.float cimport libc.limits cimport libc.locale cimport libc.signal cimport libc.stddef #cimport libc.stdint # XXX MSVC cimport libc.stdio cimport libc.stdlib cimport libc.string from libc cimport errno from libc cimport float from libc cimport limits from...
Disable test for libc.stdint (missing stdint.h in MSVC)
Disable test for libc.stdint (missing stdint.h in MSVC)
Cython
apache-2.0
bhy/cython-haoyu,bhy/cython-haoyu,bhy/cython-haoyu,bhy/cython-haoyu
41d65a727220ddc6d7877c4816900c6afc763d09
Cython/Includes/libcpp/utility.pxd
Cython/Includes/libcpp/utility.pxd
cdef extern from "<utility>" namespace "std" nogil: cdef cppclass pair[T, U]: ctypedef T first_type ctypedef U second_type T first U second pair() except + pair(pair&) except + pair(T&, U&) except + bint operator==(pair&, pair&) bint operator!=...
cdef extern from "<utility>" namespace "std" nogil: cdef cppclass pair[T, U]: ctypedef T first_type ctypedef U second_type T first U second pair() except + pair(pair&) except + pair(T&, U&) except + bint operator==(pair&, pair&) bint operator!=...
Enable usage of std::move() only in the supported versions of MSVC (GH-4191)
Enable usage of std::move() only in the supported versions of MSVC (GH-4191)
Cython
apache-2.0
da-woods/cython,cython/cython,cython/cython,scoder/cython,scoder/cython,scoder/cython,da-woods/cython,scoder/cython,cython/cython,cython/cython,da-woods/cython,da-woods/cython