hexsha
stringlengths
40
40
size
int64
2
991k
ext
stringclasses
2 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
208
max_stars_repo_name
stringlengths
6
106
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
list
max_stars_count
int64
1
33.5k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
208
max_issues_repo_name
stringlengths
6
106
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
list
max_issues_count
int64
1
16.3k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
208
max_forks_repo_name
stringlengths
6
106
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
list
max_forks_count
int64
1
6.91k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
2
991k
avg_line_length
float64
1
36k
max_line_length
int64
1
977k
alphanum_fraction
float64
0
1
ab5ef695f27b747a13deb5c1965e365476c80db2
9,316
ex
Elixir
lib/sanbase/social_data/metric_adapter.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
lib/sanbase/social_data/metric_adapter.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
lib/sanbase/social_data/metric_adapter.ex
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.SocialData.MetricAdapter do @behaviour Sanbase.Metric.Behaviour import Sanbase.Metric.Helper alias Sanbase.SocialData.SocialHelper alias Sanbase.Model.Project @aggregations [:sum] @social_volume_timeseries_metrics [ # Social volume counts the mentions of a given word or words descr...
35.830769
99
0.702233
ab5f0e230b7e095a8396b904fce9894d98cd61c8
1,588
ex
Elixir
lib/absinthe/phase/document/validation/selected_current_operation.ex
myronmarston/absinthe
d94d1bb5d9ede3a8715f5a6ce6ce607126d4d756
[ "MIT" ]
null
null
null
lib/absinthe/phase/document/validation/selected_current_operation.ex
myronmarston/absinthe
d94d1bb5d9ede3a8715f5a6ce6ce607126d4d756
[ "MIT" ]
null
null
null
lib/absinthe/phase/document/validation/selected_current_operation.ex
myronmarston/absinthe
d94d1bb5d9ede3a8715f5a6ce6ce607126d4d756
[ "MIT" ]
null
null
null
defmodule Absinthe.Phase.Document.Validation.SelectedCurrentOperation do @moduledoc false # Validates an operation name was provided when needed. alias Absinthe.{Blueprint, Phase} use Absinthe.Phase use Absinthe.Phase.Validation @doc """ Run the validation. """ @spec run(Blueprint.t(), Keyword.t()...
24.430769
78
0.666247
ab5f2076953846e494644e36cff19700de408b7b
6,184
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/api/tabledata.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/tabledata.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/api/tabledata.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
1
2020-11-10T16:58:27.000Z
2020-11-10T16:58:27.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.684211
170
0.676261
ab5f60440ea261b21e26c85e7f3161e1e4b62fc3
966
ex
Elixir
test/support/channel_case.ex
benhayehudi/phoenix_sms_nexmo
df75b17745185a9932b85eedd70d36d19db0c366
[ "MIT" ]
2
2019-02-26T17:33:21.000Z
2019-04-06T21:04:32.000Z
test/support/channel_case.ex
benhayehudi/phoenix_sms_nexmo
df75b17745185a9932b85eedd70d36d19db0c366
[ "MIT" ]
null
null
null
test/support/channel_case.ex
benhayehudi/phoenix_sms_nexmo
df75b17745185a9932b85eedd70d36d19db0c366
[ "MIT" ]
null
null
null
defmodule SmsWithPhoenixWeb.ChannelCase do @moduledoc """ This module defines the test case to be used by channel tests. Such tests rely on `Phoenix.ChannelTest` and also import other functionality to make it easier to build common data structures and query the data layer. Finally, if the test case inte...
25.421053
76
0.723602
ab5f61f3458ca1ab2d4b22d17401230fce4277ea
1,603
exs
Elixir
apps/snitch_api/mix.exs
phunganhtuan86/avia
edc3979b1561241c9dfc73b771c9bda0a7054d03
[ "MIT" ]
1
2020-09-30T22:58:50.000Z
2020-09-30T22:58:50.000Z
apps/snitch_api/mix.exs
phunganhtuan86/avia
edc3979b1561241c9dfc73b771c9bda0a7054d03
[ "MIT" ]
null
null
null
apps/snitch_api/mix.exs
phunganhtuan86/avia
edc3979b1561241c9dfc73b771c9bda0a7054d03
[ "MIT" ]
null
null
null
defmodule SnitchApi.Mixfile do use Mix.Project def project do [ app: :snitch_api, version: "0.0.1", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", elixirc_paths: elixirc_p...
25.046875
82
0.53587
ab5f64ca96cac6e59b74e69cb43aab4550904516
59
exs
Elixir
config/dev.secrets.exs
prio101/bosque
3b9d0a789a4c33dce829d5cab9d198145f28b8fd
[ "MIT" ]
null
null
null
config/dev.secrets.exs
prio101/bosque
3b9d0a789a4c33dce829d5cab9d198145f28b8fd
[ "MIT" ]
null
null
null
config/dev.secrets.exs
prio101/bosque
3b9d0a789a4c33dce829d5cab9d198145f28b8fd
[ "MIT" ]
null
null
null
import Config config :external_service, api_key: "123123"
14.75
25
0.79661
ab5fdc3a33c77f5804eab53d1a36a02bfb9346ed
1,267
exs
Elixir
mix.exs
ScrimpyCat/Poxtool
8a04ef2277a7b23d5fc4179c301b0e3f9f979164
[ "BSD-2-Clause" ]
null
null
null
mix.exs
ScrimpyCat/Poxtool
8a04ef2277a7b23d5fc4179c301b0e3f9f979164
[ "BSD-2-Clause" ]
null
null
null
mix.exs
ScrimpyCat/Poxtool
8a04ef2277a7b23d5fc4179c301b0e3f9f979164
[ "BSD-2-Clause" ]
null
null
null
defmodule PoxTool.Mixfile do use Mix.Project def project do [ app: :poxtool, description: "A utility for working with Poxels", version: "0.1.0", elixir: "~> 1.7", start_permanent: Mix.env == :prod, deps: deps(), package...
25.34
75
0.476717
ab5fed75a6aedc9fb522bd2887bec7bc814f3f74
5,008
ex
Elixir
lib/grakn/transaction.ex
liveforeverx/grakn_elixir
e64745fb200dd64956396c33b986b94706556ab4
[ "MIT" ]
1
2019-04-25T18:12:23.000Z
2019-04-25T18:12:23.000Z
lib/grakn/transaction.ex
liveforeverx/grakn_elixir
e64745fb200dd64956396c33b986b94706556ab4
[ "MIT" ]
null
null
null
lib/grakn/transaction.ex
liveforeverx/grakn_elixir
e64745fb200dd64956396c33b986b94706556ab4
[ "MIT" ]
null
null
null
defmodule Grakn.Transaction do @moduledoc false alias Grakn.Transaction.Request require Logger defmodule Type do @moduledoc false @read 0 @write 1 @batch 2 @opaque t :: unquote(@read) | unquote(@write) | unquote(@batch) def read, do: @read def write, do: @write def batch, do...
27.36612
91
0.625799
ab6004b85c6e483b24e46a59b4e185e1bbd45946
63
exs
Elixir
config/dev.exs
ryanbillingsley/cushion
8ffa57f15a44c231127b94e4e1b919b55c3e8343
[ "MIT" ]
null
null
null
config/dev.exs
ryanbillingsley/cushion
8ffa57f15a44c231127b94e4e1b919b55c3e8343
[ "MIT" ]
null
null
null
config/dev.exs
ryanbillingsley/cushion
8ffa57f15a44c231127b94e4e1b919b55c3e8343
[ "MIT" ]
null
null
null
use Mix.Config config :cushion, buffer_access_token: "1234"
12.6
29
0.761905
ab6004c44c631a673d342b37ab7040a5b9d429c8
761
exs
Elixir
protocols/enum-reduce.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
1
2019-02-17T11:54:17.000Z
2019-02-17T11:54:17.000Z
protocols/enum-reduce.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
protocols/enum-reduce.exs
sfat/programming-elixir-exercises
19e62e3f3344ec044e1eb1b39b195f4dad3dff1c
[ "Apache-2.0" ]
null
null
null
defmodule MyEnum do def each(enumerable, fun) do reducer = fn(elem, _acc) -> fun.(elem) {:cont, nil} end enumerable |> Enumerable.reduce({:cont, nil}, reducer) end def filter(enumerable, fun) do reducer = fn(elem, acc) -> case fun.(elem) do true -> {:cont, [elem | ...
19.512821
49
0.52431
ab601de9bf6525649ed00fb1e688789f5daa39af
17
ex
Elixir
testData/org/elixir_lang/parser_definition/interpolated_regex_line_parsing_test_case/Braces.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/interpolated_regex_line_parsing_test_case/Braces.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/interpolated_regex_line_parsing_test_case/Braces.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~r{{\}[]<>"/()|'}
17
17
0.058824
ab60485688d2ed8da415111c3035fe2d7ff6e2a9
810
exs
Elixir
apps/storage/mix.exs
vapordao/ex_testchain
0e954561502ae1ffefe6eb127f716fb350781ad7
[ "Apache-2.0" ]
5
2018-11-22T18:54:08.000Z
2021-05-07T18:47:20.000Z
apps/storage/mix.exs
vapordao/ex_testchain
0e954561502ae1ffefe6eb127f716fb350781ad7
[ "Apache-2.0" ]
29
2018-12-04T16:55:01.000Z
2019-01-29T14:33:26.000Z
apps/storage/mix.exs
vapordao/ex_testchain
0e954561502ae1ffefe6eb127f716fb350781ad7
[ "Apache-2.0" ]
3
2019-01-11T04:40:19.000Z
2022-03-23T17:31:37.000Z
defmodule Storage.MixProject do use Mix.Project def project do [ app: :storage, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", start_permanent: Mix.env()...
23.142857
88
0.565432
ab60558b6cb644e503cf6856744b0c6cfb72c56e
345
exs
Elixir
priv/repo/seeds.exs
MattFerraro/Axon
9c41c617ffd4a8dac89319d2f26f5736d9f96ca4
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
MattFerraro/Axon
9c41c617ffd4a8dac89319d2f26f5736d9f96ca4
[ "MIT" ]
null
null
null
priv/repo/seeds.exs
MattFerraro/Axon
9c41c617ffd4a8dac89319d2f26f5736d9f96ca4
[ "MIT" ]
null
null
null
# Script for populating the database. You can run it as: # # mix run priv/repo/seeds.exs # # Inside the script, you can read and write to any of your # repositories directly: # # Axon.Repo.insert!(%Axon.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as they will fail ...
28.75
61
0.701449
ab605709de4b2667126e9a59c8fda21a7f48e1dd
18,268
exs
Elixir
test/absinthe/schema/notation_test.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
null
null
null
test/absinthe/schema/notation_test.exs
maartenvanvliet/absinthe
ebe820717200f53756e225b3dffbfefe924a94d3
[ "MIT" ]
2
2020-07-21T05:23:37.000Z
2020-08-26T04:56:12.000Z
test/absinthe/schema/notation_test.exs
jlgeering/absinthe
a3dbc29640d613928398626ad75a8f03203a1720
[ "MIT" ]
null
null
null
defmodule Absinthe.Schema.NotationTest do use Absinthe.Case, async: true describe "import fields" do test "fields can be imported" do defmodule Foo do use Absinthe.Schema query do # Query type must exist end object :foo do field :name, :string ...
22.749689
144
0.549869
ab6087b07e9f4b15e75e9befe77957f672ec7d66
3,608
exs
Elixir
test/parser/set_parameter_values_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
3
2017-11-29T05:07:35.000Z
2019-12-18T17:16:41.000Z
test/parser/set_parameter_values_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
1
2021-12-02T19:35:28.000Z
2022-03-29T09:40:52.000Z
test/parser/set_parameter_values_test.exs
smiyabe/cwmp_ex
9db322497aa3208b5985ccf496ada5286cde3925
[ "Artistic-2.0" ]
2
2017-11-29T05:07:30.000Z
2020-11-10T07:10:42.000Z
defmodule CWMP.Protocol.Parser.SetParameterValuesTest do use ExUnit.Case, async: true @sample """ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.o...
46.857143
275
0.602273
ab609d11d851b33a6a516e8506ab60e1623b89b3
1,736
exs
Elixir
apps/admin_api/test/admin_api/v1/channels/user_channel_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
322
2018-02-28T07:38:44.000Z
2020-05-27T23:09:55.000Z
apps/admin_api/test/admin_api/v1/channels/user_channel_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
643
2018-02-28T12:05:20.000Z
2020-05-22T08:34:38.000Z
apps/admin_api/test/admin_api/v1/channels/user_channel_test.exs
AndonMitev/EWallet
898cde38933d6f134734528b3e594eedf5fa50f3
[ "Apache-2.0" ]
63
2018-02-28T10:57:06.000Z
2020-05-27T23:10:38.000Z
# Copyright 2018-2019 OmiseGO Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
28
74
0.662442
ab60df19adf7e5f0b161a2e8e0f3cdc3187599b8
725
ex
Elixir
lib/materia_commerce_web/gettext.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
1
2019-11-19T07:38:38.000Z
2019-11-19T07:38:38.000Z
lib/materia_commerce_web/gettext.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
31
2018-12-26T02:05:55.000Z
2021-05-14T03:33:07.000Z
lib/materia_commerce_web/gettext.ex
karabiner-inc/materia_commerce
e1abc1ac223ffd379360995d24a10021db036da1
[ "Apache-2.0" ]
null
null
null
defmodule MateriaCommerceWeb.Gettext do @moduledoc """ A module providing Internationalization with a gettext-based API. By using [Gettext](https://hexdocs.pm/gettext), your module gains a set of macros for translations, for example: import MateriaWeb.Gettext # Simple translation gettext "H...
29
72
0.688276
ab60e0a72eab3fe73edbf86db3bf0c4d2f1965ce
776
exs
Elixir
config/test.exs
mCodex/rocketseat-ignite-rockelivery
8592c95962acd6578f28583307df2ea4464d4750
[ "MIT" ]
1
2021-07-23T19:48:27.000Z
2021-07-23T19:48:27.000Z
config/test.exs
mCodex/rocketseat-ignite-rockelivery
8592c95962acd6578f28583307df2ea4464d4750
[ "MIT" ]
null
null
null
config/test.exs
mCodex/rocketseat-ignite-rockelivery
8592c95962acd6578f28583307df2ea4464d4750
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database # # The MIX_TEST_PARTITION environment variable can be used # to provide built-in test partitioning in CI environment. # Run `mix help test` for more information. config :rockelivery, Rockelivery.Repo, username: "postgres", password: "postgres", database: "rockelivery_tes...
31.04
93
0.768041
ab60fa8ca16a4105fae448ee02edbc09ae439da3
86
exs
Elixir
apps/evm/test/evm/exec_env_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/evm/test/evm/exec_env_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/evm/test/evm/exec_env_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule EVM.ExecEnvTest do use ExUnit.Case, async: true doctest EVM.ExecEnv end
17.2
30
0.77907
ab613baec4dfa29d18238762d6fdbc832a0a522c
9,904
exs
Elixir
test/ueberauth_oidc/strategy/oidc_test.exs
euranova/ueberauth_oidc
7daec10338e7b616b511f74fbf389ebe1c1366e2
[ "MIT" ]
null
null
null
test/ueberauth_oidc/strategy/oidc_test.exs
euranova/ueberauth_oidc
7daec10338e7b616b511f74fbf389ebe1c1366e2
[ "MIT" ]
null
null
null
test/ueberauth_oidc/strategy/oidc_test.exs
euranova/ueberauth_oidc
7daec10338e7b616b511f74fbf389ebe1c1366e2
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.OIDCTest do use ExUnit.Case use Ueberauth.Strategy import Mock alias Ueberauth.Strategy.OIDC @local_endpoint "https://oidc.local/callback" @valid_tokens {:ok, %{"access_token" => "1234", "id_token" => "4321"}} @valid_claims {:ok, %{"uid" => "1234"}} @error_response {:erro...
33.013333
101
0.553615
ab61542b9dc9ad8f87915cadde6fd35ac3d59df7
489
ex
Elixir
lib/spmapi_web/views/error_view.ex
localgyros/spmapi
90c0292de0bd2ca7f90395d2fbd62524ced66ce7
[ "MIT" ]
1
2018-06-04T01:03:05.000Z
2018-06-04T01:03:05.000Z
lib/spmapi_web/views/error_view.ex
localgyros/spmapi
90c0292de0bd2ca7f90395d2fbd62524ced66ce7
[ "MIT" ]
5
2018-06-03T14:08:19.000Z
2018-06-07T19:34:27.000Z
lib/spmapi_web/views/error_view.ex
localgyros/spmapi
90c0292de0bd2ca7f90395d2fbd62524ced66ce7
[ "MIT" ]
null
null
null
defmodule SpmapiWeb.ErrorView do use SpmapiWeb, :view # If you want to customize a particular status code # for a certain format, you may uncomment below. # def render("500.html", _assigns) do # "Internal Server Error" # end # By default, Phoenix returns the status message from # the template name. ...
28.764706
61
0.734151
ab6154e56274e14456e365e71828f5de37e09283
47,018
ex
Elixir
clients/compute/lib/google_api/compute/v1/api/subnetworks.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/subnetworks.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/api/subnetworks.ex
mcrumm/elixir-google-api
544f22797cec52b3a23dfb6e39117f0018448610
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
52.06866
583
0.648837
ab616314251eaa96aacd5a371875d95e325f1ff6
3,836
ex
Elixir
lib/koans/15_processes.ex
ejk9/elixir-koans
21f898d4666000b44f6d0df727731169f13c6941
[ "MIT" ]
null
null
null
lib/koans/15_processes.ex
ejk9/elixir-koans
21f898d4666000b44f6d0df727731169f13c6941
[ "MIT" ]
null
null
null
lib/koans/15_processes.ex
ejk9/elixir-koans
21f898d4666000b44f6d0df727731169f13c6941
[ "MIT" ]
null
null
null
defmodule Processes do use Koans @intro "Processes" koan "You are a process" do assert Process.alive?(self()) == true end koan "You can ask a process to introduce itself" do information = Process.info(self()) assert information[:status] == :running end koan "Processes are referenced by th...
21.795455
93
0.623045
ab6175cbac9cac888dabd745b20c87d79d3ce889
2,585
ex
Elixir
clients/dataflow/lib/google_api/dataflow/v1b3/model/seq_map_task.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/dataflow/lib/google_api/dataflow/v1b3/model/seq_map_task.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/dataflow/lib/google_api/dataflow/v1b3/model/seq_map_task.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
40.390625
149
0.702901
ab618df9ce3e0d5c5223d305157e6ab06488a4c1
10,977
ex
Elixir
lib/parse/datetime/tokenizers/directive.ex
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
lib/parse/datetime/tokenizers/directive.ex
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
lib/parse/datetime/tokenizers/directive.ex
appcues/timex
700643279531bbf1711cd721b3851f025cc28a95
[ "MIT" ]
null
null
null
defmodule Timex.Parse.DateTime.Tokenizers.Directive do @moduledoc false alias Timex.Parse.DateTime.Parsers alias Timex.Parse.DateTime.Tokenizers.Directive defstruct type: :literal, value: nil, modifiers: [], flags: [], width: [min: -1, max: nil], pars...
74.168919
161
0.706386
ab61bb1c28c9eaeee8bb66138ed67055fb1cf177
2,865
exs
Elixir
test/game/command/pick_up_test.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
1
2019-02-10T10:22:39.000Z
2019-02-10T10:22:39.000Z
test/game/command/pick_up_test.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
test/game/command/pick_up_test.exs
stevegrossi/ex_venture
e02d5a63fdb882d92cfb4af3e15f7b48ad7054aa
[ "MIT" ]
null
null
null
defmodule Game.Command.PickUpTest do use Data.ModelCase doctest Game.Command.PickUp @socket Test.Networking.Socket @room Test.Game.Room alias Data.Item alias Game.Command.PickUp setup do start_and_clear_items() item = create_item(%{name: "Short Sword", description: "A simple blade", keywords: [...
28.65
98
0.6363
ab61d7adc8d67d908fed5a8d290580f22ca63911
1,292
ex
Elixir
lib/faker/cat.ex
subvisual/faker
ee055a15d0669f50316fcb8799ab0fffd0ea0715
[ "MIT" ]
null
null
null
lib/faker/cat.ex
subvisual/faker
ee055a15d0669f50316fcb8799ab0fffd0ea0715
[ "MIT" ]
57
2018-12-24T10:39:32.000Z
2020-12-28T10:13:00.000Z
lib/faker/cat.ex
subvisual/faker
ee055a15d0669f50316fcb8799ab0fffd0ea0715
[ "MIT" ]
1
2019-02-03T17:04:21.000Z
2019-02-03T17:04:21.000Z
defmodule Faker.Cat do @moduledoc """ Functions for generating Cat names, breeds, and registries """ @doc """ Return a random Cat name ## Examples iex> Faker.Cat.name() "Daisy" iex> Faker.Cat.name() "Lily" iex> Faker.Cat.name() "Felix" iex> Faker.Cat.name() ...
19.876923
71
0.606811
ab61f2379ff91181adbe7dbfdefd6ab23ca05f11
3,947
ex
Elixir
lib/ueberauth/strategy/apple.ex
tonnenpinguin/ueberauth_apple
1be398c4242433bd96821878595ed10d84438baf
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/apple.ex
tonnenpinguin/ueberauth_apple
1be398c4242433bd96821878595ed10d84438baf
[ "MIT" ]
null
null
null
lib/ueberauth/strategy/apple.ex
tonnenpinguin/ueberauth_apple
1be398c4242433bd96821878595ed10d84438baf
[ "MIT" ]
null
null
null
defmodule Ueberauth.Strategy.Apple do @moduledoc """ Google Strategy for Überauth. """ use Ueberauth.Strategy, uid_field: :uid, default_scope: "name email" alias Ueberauth.Auth.Info alias Ueberauth.Auth.Credentials alias Ueberauth.Auth.Extra @doc """ Handles initial request for Apple authentication...
26.85034
96
0.654168
ab61f72c5683abf9dadca9d8d8c4f283eee1835a
5,103
ex
Elixir
lib/cotoami_web/controllers/coto_controller.ex
pamf/cotoami
4b69b0e2668e80e12ea98e248ad461cb32ec6651
[ "Apache-2.0" ]
337
2016-11-28T15:46:58.000Z
2022-03-01T06:21:25.000Z
lib/cotoami_web/controllers/coto_controller.ex
pamf/cotoami
4b69b0e2668e80e12ea98e248ad461cb32ec6651
[ "Apache-2.0" ]
79
2017-02-27T05:44:36.000Z
2021-12-09T00:28:11.000Z
lib/cotoami_web/controllers/coto_controller.ex
pamf/cotoami
4b69b0e2668e80e12ea98e248ad461cb32ec6651
[ "Apache-2.0" ]
47
2018-02-03T01:32:13.000Z
2021-11-08T07:54:43.000Z
defmodule CotoamiWeb.CotoController do use CotoamiWeb, :controller require Logger import Cotoami.CotonomaService, only: [increment_timeline_revision: 1] alias Cotoami.{Coto, CotoService, CotonomaService, CotoGraphService} plug(:scrub_params, "coto" when action in [:create, :update]) def action(conn, _) do...
31.89375
84
0.669018
ab621a8e3d700cd4bc3c0876e5f068e3b12f33a8
3,108
exs
Elixir
test/bloggex/accounts/accounts_test.exs
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
1
2020-01-14T03:17:51.000Z
2020-01-14T03:17:51.000Z
test/bloggex/accounts/accounts_test.exs
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
null
null
null
test/bloggex/accounts/accounts_test.exs
dreamingechoes/bloggex
9ead10ec1fd8fda0da3cb08106c43a9043188199
[ "MIT" ]
null
null
null
defmodule Bloggex.AccountsTest do use Bloggex.DataCase alias Bloggex.Accounts describe "users" do alias Bloggex.Accounts.User @valid_attrs %{ avatar: "some avatar", biography: "some biography", email: "some email", encrypted_password: "some encrypted_password", job: "some ...
29.6
79
0.635135
ab6256de89d2e4368f94ccc3bb8545952b43d0e5
2,042
ex
Elixir
lib/honeybadger/logger.ex
thomasbrus/honeybadger-elixir
659ecf2c2929f66adfbdc1cb0783a201ed1156a1
[ "MIT" ]
null
null
null
lib/honeybadger/logger.ex
thomasbrus/honeybadger-elixir
659ecf2c2929f66adfbdc1cb0783a201ed1156a1
[ "MIT" ]
null
null
null
lib/honeybadger/logger.ex
thomasbrus/honeybadger-elixir
659ecf2c2929f66adfbdc1cb0783a201ed1156a1
[ "MIT" ]
null
null
null
defmodule Honeybadger.Logger do @moduledoc false @behaviour :gen_event @impl true def init(__MODULE__) do init({__MODULE__, []}) end def init({__MODULE__, opts}) when is_list(opts) do level = Keyword.get(opts, :level) {:ok, %{level: level}} end @impl true def handle_call({:configure, ...
21.270833
98
0.63712
ab627d9161f045a7f336860c62602703d90d2edb
5,371
ex
Elixir
lib/nostrum/constants.ex
skwerlman/nostrum
4a6642df9fbfd9a9247e565ab3f4d8d1e6f6ed4f
[ "MIT" ]
2
2020-03-03T02:51:57.000Z
2021-01-18T02:24:42.000Z
lib/nostrum/constants.ex
skwerlman/nostrum
4a6642df9fbfd9a9247e565ab3f4d8d1e6f6ed4f
[ "MIT" ]
null
null
null
lib/nostrum/constants.ex
skwerlman/nostrum
4a6642df9fbfd9a9247e565ab3f4d8d1e6f6ed4f
[ "MIT" ]
null
null
null
defmodule Nostrum.Constants do @moduledoc false def base_url, do: "https://discordapp.com/api/v7" def cdn_url, do: "https://cdn.discordapp.com" def gateway, do: "/gateway" def gateway_bot, do: "/gateway/bot" def channel(channel_id), do: "/channels/#{channel_id}" def channel_messages(channel_id), do: "/c...
40.689394
94
0.696146
ab6289ae8719ee98508c46c7fb2f51dbfe884d9b
17,082
ex
Elixir
clients/drive/lib/google_api/drive/v3/api/drives.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/drive/lib/google_api/drive/v3/api/drives.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/drive/lib/google_api/drive/v3/api/drives.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
45.673797
368
0.63242
ab6290c07f80c5c3a9d1cdcdff1bb0fe551af0c1
17,725
ex
Elixir
lib/ex_unit/lib/ex_unit/runner.ex
moogle19/elixir
91fa0e3adad1654a4fe2c8bd218e9e6d42b92b47
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/runner.ex
moogle19/elixir
91fa0e3adad1654a4fe2c8bd218e9e6d42b92b47
[ "Apache-2.0" ]
null
null
null
lib/ex_unit/lib/ex_unit/runner.ex
moogle19/elixir
91fa0e3adad1654a4fe2c8bd218e9e6d42b92b47
[ "Apache-2.0" ]
null
null
null
defmodule ExUnit.Runner do @moduledoc false alias ExUnit.EventManager, as: EM @rand_algorithm :exs1024 @current_key __MODULE__ def run(opts, load_us) when (is_integer(load_us) or is_nil(load_us)) and is_list(opts) do runner = self() id = {__MODULE__, runner} try do # It may fail on Windo...
29.789916
96
0.643893
ab62a3b9beba16113c6bbefe7b799b73a438ad7a
1,765
exs
Elixir
examples/phoenix_app/config/dev.exs
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
828
2020-09-12T18:56:48.000Z
2022-03-01T22:34:39.000Z
examples/phoenix_app/config/dev.exs
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
54
2020-10-23T15:01:10.000Z
2022-03-22T23:23:15.000Z
examples/phoenix_app/config/dev.exs
kianmeng/bakeware
3c008a1c149ccf22cb3924126f2b8f0be522191f
[ "Apache-2.0" ]
25
2020-09-14T12:01:54.000Z
2022-02-23T03:30:08.000Z
use Mix.Config # For development, we disable any cache and enable # debugging and code reloading. # # The watchers configuration can be used to run external # watchers to your application. For example, we use it # with webpack to recompile .js and .css sources. config :phoenix_app, PhoenixAppWeb.Endpoint, http: [por...
29.416667
68
0.705382
ab62cbd0f9a3b4d5f8dcf4aa212ab360bab4536e
372
ex
Elixir
lib/props/v_cal_address.ex
thestakeholdercompany/icalendar
1e36af22a9ea07917f08a6350636e9cfcbf98f29
[ "MIT" ]
1
2020-06-09T10:42:58.000Z
2020-06-09T10:42:58.000Z
lib/props/v_cal_address.ex
thestakeholdercompany/icalendar
1e36af22a9ea07917f08a6350636e9cfcbf98f29
[ "MIT" ]
null
null
null
lib/props/v_cal_address.ex
thestakeholdercompany/icalendar
1e36af22a9ea07917f08a6350636e9cfcbf98f29
[ "MIT" ]
null
null
null
defmodule ICalex.Props.VCalAddress do @moduledoc false use ICalex.Props @enforce_keys [:value] defstruct ICalex.Props.common_fields() def of(value) when is_bitstring(value), do: %__MODULE__{value: value} def from(value) when is_bitstring(value), do: __MODULE__.of(value) defimpl ICal do def to_ical(...
23.25
71
0.717742
ab62d041b29ec441b5c1adb2932fbce2545d7b88
7,029
exs
Elixir
apps/admin_api/test/admin_api/v1/controllers/provider_auth/api_key_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/provider_auth/api_key_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
apps/admin_api/test/admin_api/v1/controllers/provider_auth/api_key_controller_test.exs
vanmil/ewallet
6c1aca95a83e0a9d93007670a40d8c45764a8122
[ "Apache-2.0" ]
null
null
null
defmodule AdminAPI.V1.ProviderAuth.APIKeyControllerTest do use AdminAPI.ConnCase, async: true alias EWallet.Web.Date alias EWalletDB.{Account, APIKey, Repo} alias EWalletDB.Helpers.Preloader describe "/api_key.all" do test "responds with a list of api keys when no params are given" do [api_key1, ap...
34.121359
91
0.452269
ab62d66a2b98b0bb3728a46313d8198deffdb6f4
3,600
ex
Elixir
lib/tzdata/data_builder.ex
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
245
2015-02-26T10:04:32.000Z
2022-02-18T04:22:02.000Z
lib/tzdata/data_builder.ex
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
104
2015-06-26T17:35:15.000Z
2022-03-20T00:07:06.000Z
lib/tzdata/data_builder.ex
hoyon/tzdata
28b470c5ca0ce80d67e1606b5839adb13e1375a8
[ "MIT" ]
78
2015-05-16T15:22:59.000Z
2022-03-13T09:43:50.000Z
defmodule Tzdata.DataBuilder do @moduledoc false alias Tzdata.DataLoader alias Tzdata.PeriodBuilder alias Tzdata.LeapSecParser require Logger # download new data releases, then parse them, build # periods and save the data in an ETS table def load_and_save_table do {:ok, content_length, release_ver...
33.027523
100
0.71
ab62da810289e03a828bb5345c8532d551ec72a9
3,275
ex
Elixir
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_detect_intent_response.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_detect_intent_response.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/dialogflow/lib/google_api/dialogflow/v2/model/google_cloud_dialogflow_v2_detect_intent_response.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
46.126761
442
0.767023
ab63135969059a1c674fbeccddff5f13d44d4d3b
1,358
ex
Elixir
lib/koans/18_protocols.ex
tkling/elixir-koans-solutions
e591d38de0c048c036008f32e521b681d87ff706
[ "MIT" ]
null
null
null
lib/koans/18_protocols.ex
tkling/elixir-koans-solutions
e591d38de0c048c036008f32e521b681d87ff706
[ "MIT" ]
null
null
null
lib/koans/18_protocols.ex
tkling/elixir-koans-solutions
e591d38de0c048c036008f32e521b681d87ff706
[ "MIT" ]
null
null
null
defmodule Protocols do use Koans @intro "Want to follow the rules? Adhere to the protocol!" defprotocol School, do: def enrol(person) defimpl School, for: Any do def enrol(_) do "Pupil enrolled at school" end end defmodule Student do @derive School defstruct name: "" end defmo...
26.115385
78
0.673785
ab633b6abfab1057bb4fc1d795f029952bca5f53
2,678
ex
Elixir
clients/datastore/lib/google_api/datastore/v1/model/lookup_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/lookup_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/datastore/lib/google_api/datastore/v1/model/lookup_response.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
47.821429
264
0.726288
ab633c24b3251744090ef2e590706c603eaf35d9
298
exs
Elixir
test/abnf_parsec/edge_case_test.exs
guenni68/abnf_parsec
eafa255701e1c2808fcc9dab455fe06c4a4deced
[ "MIT" ]
34
2020-02-09T12:26:14.000Z
2022-01-15T00:05:13.000Z
test/abnf_parsec/edge_case_test.exs
guenni68/abnf_parsec
eafa255701e1c2808fcc9dab455fe06c4a4deced
[ "MIT" ]
10
2020-02-09T13:14:08.000Z
2022-03-24T21:55:52.000Z
test/abnf_parsec/edge_case_test.exs
guenni68/abnf_parsec
eafa255701e1c2808fcc9dab455fe06c4a4deced
[ "MIT" ]
3
2020-02-16T22:47:09.000Z
2020-12-25T09:07:59.000Z
defmodule EdgeCaseTest do use ExUnit.Case, async: true test "0 repeat" do defmodule ZeroRepetition do use AbnfParsec, abnf: """ path-empty = 0<blah> """ end assert {:ok, [path_empty: []], "", %{}, {1, 0}, 0} = ZeroRepetition.path_empty("") end end
19.866667
86
0.563758
ab6340e76f22d22a6bd686a5d376006e176bd60a
345
ex
Elixir
lib/ccxtex/market.ex
thanos/ccxtex
55c019a2de716813c544fb4219bda6e5d53bedcf
[ "MIT" ]
1
2019-06-10T21:37:08.000Z
2019-06-10T21:37:08.000Z
lib/ccxtex/market.ex
thanos/ccxtex
55c019a2de716813c544fb4219bda6e5d53bedcf
[ "MIT" ]
null
null
null
lib/ccxtex/market.ex
thanos/ccxtex
55c019a2de716813c544fb4219bda6e5d53bedcf
[ "MIT" ]
1
2019-06-10T21:36:52.000Z
2019-06-10T21:36:52.000Z
defmodule Ccxtex.Market do use Construct do field :active, :boolean field :base, :string field :base_id, :string field :id, :string field :info, :map field :limits, :map field :precision, :map field :quote, :string field :quote_id, :string field :symbol, :string field :symb...
21.5625
29
0.643478
ab636216f4282d6d7f7658b5495373aa9902cced
1,238
exs
Elixir
test/release_test.exs
happysalada/distillery
2098604c9f12a26227d6bd794c62d5e62e609ad4
[ "MIT" ]
null
null
null
test/release_test.exs
happysalada/distillery
2098604c9f12a26227d6bd794c62d5e62e609ad4
[ "MIT" ]
null
null
null
test/release_test.exs
happysalada/distillery
2098604c9f12a26227d6bd794c62d5e62e609ad4
[ "MIT" ]
null
null
null
defmodule Distillery.Test.ReleaseTest do use ExUnit.Case import MixTestHelper @app_path Path.join([__DIR__, "fixtures", "ordered_app"]) @build_path Path.join([@app_path, "_build"]) @boot_script Path.join([ @build_path, "prod", "rel", "o...
27.511111
83
0.543619
ab637380eddee6c3b6cc46ea4750805b491dcc6b
4,062
ex
Elixir
apps/omg_watcher/lib/omg_watcher/monitor.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
177
2018-08-24T03:51:02.000Z
2020-05-30T13:29:25.000Z
apps/omg_watcher/lib/omg_watcher/monitor.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
1,042
2018-08-25T00:52:39.000Z
2020-06-01T05:15:17.000Z
apps/omg_watcher/lib/omg_watcher/monitor.ex
omisego/elixir-omg
2c68973d8f29033d137f63a6e060f12e2a7dcd59
[ "Apache-2.0" ]
47
2018-08-24T12:06:33.000Z
2020-04-28T11:49:25.000Z
# Copyright 2019-2020 OMG Network Pte Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
31.488372
106
0.690054
ab6376738e357b995a993740cdac405b7cac3a14
400
exs
Elixir
test/onnxs_test.exs
jeffreyksmithjr/onnxs
91a0c13a785db19bcd76c9e0d3f26089aadcf106
[ "MIT" ]
4
2018-05-19T17:00:14.000Z
2021-04-12T05:29:20.000Z
test/onnxs_test.exs
jeffreyksmithjr/onnxs
91a0c13a785db19bcd76c9e0d3f26089aadcf106
[ "MIT" ]
null
null
null
test/onnxs_test.exs
jeffreyksmithjr/onnxs
91a0c13a785db19bcd76c9e0d3f26089aadcf106
[ "MIT" ]
1
2021-04-12T05:29:35.000Z
2021-04-12T05:29:35.000Z
defmodule ONNXSTest do use ExUnit.Case doctest ONNXS test "round trip conversion doesn't change data" do {:ok, mnist_data} = File.read("./test/examples/mnist.onnx") mnist_struct = Onnx.ModelProto.decode(mnist_data) encoded_mnist = Onnx.ModelProto.encode(mnist_struct) redecoded_mnist = Onnx.ModelP...
30.769231
63
0.7525
ab63900b20320b99bad602a8346f05e91c930a2e
617
ex
Elixir
lib/ex_ghost/model.ex
m11m/ex_ghost
fdd215f6ccd9e32cddf67ebdfe23daf9bed7e9bf
[ "MIT" ]
null
null
null
lib/ex_ghost/model.ex
m11m/ex_ghost
fdd215f6ccd9e32cddf67ebdfe23daf9bed7e9bf
[ "MIT" ]
null
null
null
lib/ex_ghost/model.ex
m11m/ex_ghost
fdd215f6ccd9e32cddf67ebdfe23daf9bed7e9bf
[ "MIT" ]
null
null
null
defmodule ExGhost.Model do @external_resource schema_path = "priv/ghost/schema.json" File.read!(schema_path) |> Poison.decode!() |> Map.to_list() |> Enum.each(fn {k, v} -> fields = Map.to_list(v) |> Enum.map(fn {k, _} -> {String.to_atom(k), nil} end) module_atom = Inf...
21.275862
59
0.564019
ab63a527cae0a013a1f4d241024bef70020ad228
4,256
ex
Elixir
lib/plug/adapters/test/conn.ex
wojtekmach/plug
e9afab6c10f173d55b13bd78c64526fb21495b39
[ "Apache-2.0" ]
null
null
null
lib/plug/adapters/test/conn.ex
wojtekmach/plug
e9afab6c10f173d55b13bd78c64526fb21495b39
[ "Apache-2.0" ]
null
null
null
lib/plug/adapters/test/conn.ex
wojtekmach/plug
e9afab6c10f173d55b13bd78c64526fb21495b39
[ "Apache-2.0" ]
null
null
null
defmodule Plug.Adapters.Test.Conn do @behaviour Plug.Conn.Adapter @moduledoc false ## Test helpers def conn(conn, method, uri, body_or_params) do maybe_flush() uri = URI.parse(uri) method = method |> to_string |> String.upcase query = uri.query || "" owner = self() {body, params...
29.971831
112
0.629934
ab63b0c5030c343ada62502d5817832bb48e25d2
78
exs
Elixir
test/hammoc_web/views/page_view_test.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
5
2019-07-13T22:20:50.000Z
2020-07-13T05:05:43.000Z
test/hammoc_web/views/page_view_test.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
33
2019-08-01T03:48:23.000Z
2021-07-28T03:29:40.000Z
test/hammoc_web/views/page_view_test.exs
hammoc-app/hammoc-elixir
00cd24e2170cc3dee65c7848868ea3d1096ac25c
[ "MIT" ]
2
2019-09-03T22:45:11.000Z
2020-01-01T23:56:58.000Z
defmodule HammocWeb.PageViewTest do use HammocWeb.ConnCase, async: true end
19.5
37
0.820513
ab63bb02a77005af839dcd9b64fcd996f1dce909
186
exs
Elixir
apps/core/priv/repo/migrations/20210312170354_add_service_levels.exs
michaeljguarino/forge
50ee583ecb4aad5dee4ef08fce29a8eaed1a0824
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/priv/repo/migrations/20210312170354_add_service_levels.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/priv/repo/migrations/20210312170354_add_service_levels.exs
svilenkov/plural
ac6c6cc15ac4b66a3b5e32ed4a7bee4d46d1f026
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Repo.Migrations.AddServiceLevels do use Ecto.Migration def change do alter table(:plans, primary_key: false) do add :service_levels, :map end end end
18.6
50
0.72043
ab63cd7bf0fcd93c8b64b21de3da89e40efcfacb
2,019
ex
Elixir
lib/nautilus/core/actions/send_to_client.ex
CarloHFR/NautilusGateway
26211948c5f9127e6662a90e41df5b43b2408372
[ "MIT" ]
null
null
null
lib/nautilus/core/actions/send_to_client.ex
CarloHFR/NautilusGateway
26211948c5f9127e6662a90e41df5b43b2408372
[ "MIT" ]
null
null
null
lib/nautilus/core/actions/send_to_client.ex
CarloHFR/NautilusGateway
26211948c5f9127e6662a90e41df5b43b2408372
[ "MIT" ]
null
null
null
defmodule Nautilus.Core.Actions.SendToClient do @moduledoc """ This module is an action module for send message to a client """ @behaviour Application.get_env(:nautilus, :MessageActionPort) @tcp_sender Application.get_env(:nautilus, :TCPSender) @get_hostname Application.get_env(:nautil...
43.891304
133
0.578504
ab640030982bd956a73ece19d27574a847d55d5a
9,732
ex
Elixir
lib/ueberauth.ex
asummers/ueberauth
2087e031c3ff486e0aafb4684659a3e224d2aa29
[ "MIT" ]
null
null
null
lib/ueberauth.ex
asummers/ueberauth
2087e031c3ff486e0aafb4684659a3e224d2aa29
[ "MIT" ]
null
null
null
lib/ueberauth.ex
asummers/ueberauth
2087e031c3ff486e0aafb4684659a3e224d2aa29
[ "MIT" ]
null
null
null
defmodule Ueberauth do @moduledoc """ Ueberauth is two-phase authentication framework that provides a clear API - allowing for many strategies to be created and shared within the community. It is heavily inspired by [Omniauth](https://github.com/intridea/omniauth). You could call it a port but it is significa...
34.757143
96
0.703658
ab643068230d7af7c2b7ddcfaf4a17c4eec5c91b
6,416
exs
Elixir
.credo.exs
kaylenmistry/typed_ecto_schema
0b6904787a01e382598e9de6bac3d741e2a2b957
[ "Apache-2.0" ]
102
2019-07-18T19:46:38.000Z
2022-03-31T18:09:28.000Z
.credo.exs
kaylenmistry/typed_ecto_schema
0b6904787a01e382598e9de6bac3d741e2a2b957
[ "Apache-2.0" ]
19
2020-06-04T18:06:08.000Z
2022-03-31T15:58:01.000Z
.credo.exs
kaylenmistry/typed_ecto_schema
0b6904787a01e382598e9de6bac3d741e2a2b957
[ "Apache-2.0" ]
9
2019-07-23T18:12:09.000Z
2022-03-03T16:24:28.000Z
# This file contains the configuration for Credo and you are probably reading # this after creating it with `mix credo.gen.config`. # # If you find anything wrong or unclear in this file, please report an # issue on GitHub: https://github.com/rrrene/credo/issues # %{ # # You can have as many configs as you like in ...
39.121951
88
0.617051
ab643b001768f54fcd13bced6bc6c89d9b528ed5
1,835
exs
Elixir
config/dev.exs
themaxhero/Machinista
2e0114dbbc69fc8187b3ed080de694ac4f558ae8
[ "BSD-2-Clause" ]
1
2019-12-16T10:22:07.000Z
2019-12-16T10:22:07.000Z
config/dev.exs
themaxhero/Machinista
2e0114dbbc69fc8187b3ed080de694ac4f558ae8
[ "BSD-2-Clause" ]
2
2021-03-10T06:56:47.000Z
2021-05-11T02:41:32.000Z
config/dev.exs
themaxhero/Macchinista
2e0114dbbc69fc8187b3ed080de694ac4f558ae8
[ "BSD-2-Clause" ]
null
null
null
use Mix.Config # Configure your database config :macchinista, Macchinista.Repo, username: "postgres", password: "sa", database: "macchinista_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 # For development, we disable any cache and enable # debugging and code rel...
27.80303
68
0.707357
ab645256ba454bac51daf6c12855cbdf02fda0b0
757
exs
Elixir
test/priv/test_repo/migrations/20190321543456_add_rabbit_table.exs
zloyrusskiy/ecto_adapters_dynamodb
c2e462ce4b9e9a54d8a9f97920b2397952146a7d
[ "Apache-2.0" ]
null
null
null
test/priv/test_repo/migrations/20190321543456_add_rabbit_table.exs
zloyrusskiy/ecto_adapters_dynamodb
c2e462ce4b9e9a54d8a9f97920b2397952146a7d
[ "Apache-2.0" ]
null
null
null
test/priv/test_repo/migrations/20190321543456_add_rabbit_table.exs
zloyrusskiy/ecto_adapters_dynamodb
c2e462ce4b9e9a54d8a9f97920b2397952146a7d
[ "Apache-2.0" ]
null
null
null
defmodule Ecto.Adapters.DynamoDB.TestRepo.Migrations.AddRabbitTable do @moduledoc """ Used when testing migrations. Create a rabbit table with an index, set to pay_per_request (AKA on-demand) billing mode. """ use Ecto.Migration def up do create_if_not_exists table(:rabbit, primary_key: false, ...
21.628571
91
0.608983
ab6456c2775e78fe1cc82982350cc93e5500d3ac
205
ex
Elixir
lib/ibmcloud.ex
Bhaskers-Blu-Org1/elixir-ibmcloud
28639020a3e5c222356329917b3fb37c5da3eb42
[ "Apache-2.0" ]
1
2020-01-13T19:30:37.000Z
2020-01-13T19:30:37.000Z
lib/ibmcloud.ex
Bhaskers-Blu-Org1/elixir-ibmcloud
28639020a3e5c222356329917b3fb37c5da3eb42
[ "Apache-2.0" ]
null
null
null
lib/ibmcloud.ex
Bhaskers-Blu-Org1/elixir-ibmcloud
28639020a3e5c222356329917b3fb37c5da3eb42
[ "Apache-2.0" ]
1
2020-07-30T10:19:52.000Z
2020-07-30T10:19:52.000Z
defmodule IBMCloud do @moduledoc """ Simple wrapper for IBM Cloud APIs. - [IBM Cloud - Documentation](https://cloud.ibm.com/docs) - [IBM Cloud - API Docs](https://cloud.ibm.com/apidocs) """ end
22.777778
59
0.673171
ab6465b81086a2d1c4f1c301db05c29bb9fa70e9
859
exs
Elixir
Microsoft.Azure.Management.Features/mix.exs
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
4
2018-09-29T03:43:15.000Z
2021-04-01T18:30:46.000Z
Microsoft.Azure.Management.Features/mix.exs
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
Microsoft.Azure.Management.Features/mix.exs
chgeuer/ex_microsoft_azure_management
99cd9f7f2ff1fdbe69ca5bac55b6e2af91ba3603
[ "Apache-2.0" ]
null
null
null
defmodule Microsoft.Azure.Management.Features.Mixfile do use Mix.Project def project do [app: :ex_microsoft_azure_management_features, version: "0.1.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps()] end # Configuration for the...
23.216216
79
0.622817
ab646d8ccb99fbb07bb498e58f5881c3f747185a
4,600
exs
Elixir
test/ex_doc/retriever_test.exs
mayel/ex_doc
6e5ecfa7d6248fd8038caf4e9f4ac02eb13d0d0f
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
test/ex_doc/retriever_test.exs
mayel/ex_doc
6e5ecfa7d6248fd8038caf4e9f4ac02eb13d0d0f
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
test/ex_doc/retriever_test.exs
mayel/ex_doc
6e5ecfa7d6248fd8038caf4e9f4ac02eb13d0d0f
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.RetrieverTest do use ExUnit.Case, async: true alias ExDoc.Retriever import TestHelper @moduletag :tmp_dir describe "docs_from_modules/2: Generic" do test "module with no docs", c do elixirc(c, ~S""" defmodule A do end """) [mod] = Retriever.docs_from_module...
23.71134
93
0.566739
ab64803d46455cb1872f435fd9996c20acf780a1
7,157
exs
Elixir
test/credo/check/design/duplicated_code_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/design/duplicated_code_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
null
null
null
test/credo/check/design/duplicated_code_test.exs
codeclimate-community/credo
b960a25d604b4499a2577321f9d61b39dc4b0437
[ "MIT" ]
1
2020-09-25T11:48:49.000Z
2020-09-25T11:48:49.000Z
defmodule Credo.Check.Design.DuplicatedCodeTest do use Credo.TestHelper @described_check Credo.Check.Design.DuplicatedCode alias Credo.Check.Design.DuplicatedCode test "should raise an issue for duplicated code" do s1 = """ defmodule M1 do def myfun(p1, p2) when is_list(p2) do if p1 == ...
21.492492
108
0.464021
ab6482273d5102f33a9f5b316e6d68e269dc8cd1
1,117
ex
Elixir
lib/thermostat/location.ex
jeffutter/honeywell-elixir
b2163c697a362c9b87f51d1cb8ebd5ed7e2be5ba
[ "MIT" ]
null
null
null
lib/thermostat/location.ex
jeffutter/honeywell-elixir
b2163c697a362c9b87f51d1cb8ebd5ed7e2be5ba
[ "MIT" ]
null
null
null
lib/thermostat/location.ex
jeffutter/honeywell-elixir
b2163c697a362c9b87f51d1cb8ebd5ed7e2be5ba
[ "MIT" ]
null
null
null
defmodule Honeywell.Thermostat.Location do alias Honeywell.Thermostat.Thermostat @moduledoc """ This module defines the actions that can be taken on the Thermostat / Location endpoint. """ defstruct id: nil, name: nil, street_address: nil, city: nil, state: nil, country: nil, zipcode: nil, devices: [] @ty...
31.914286
144
0.649955
ab6499d0cf7a72f0c5bee77ab0d1729d1059b5c9
4,073
ex
Elixir
lib/react_render.ex
zachdaniel/elixir_react_render
c7c625c92c1730a2b88d8a9ad2b57bbe63131eae
[ "MIT" ]
null
null
null
lib/react_render.ex
zachdaniel/elixir_react_render
c7c625c92c1730a2b88d8a9ad2b57bbe63131eae
[ "MIT" ]
null
null
null
lib/react_render.ex
zachdaniel/elixir_react_render
c7c625c92c1730a2b88d8a9ad2b57bbe63131eae
[ "MIT" ]
null
null
null
defmodule ReactRender do use Supervisor @timeout 10_000 @default_pool_size 4 @moduledoc """ React Renderer """ @doc """ Starts the ReactRender and workers. ## Options * `:render_service_path` - (required) is the path to the react render service relative to your current working directory ...
25.778481
90
0.58409
ab64f542b1220dad25e57e7e2203269188f02834
355
ex
Elixir
lib/atom_tweaks_web/helpers/controller_helpers.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
14
2017-01-08T14:51:25.000Z
2022-03-14T09:23:17.000Z
lib/atom_tweaks_web/helpers/controller_helpers.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
654
2017-05-23T22:55:21.000Z
2022-03-30T09:02:25.000Z
lib/atom_tweaks_web/helpers/controller_helpers.ex
amymariparker/atom-style-tweaks
9f17b626e4a527d17d2da85ac575029b52fb6a25
[ "MIT" ]
4
2019-07-10T23:09:25.000Z
2020-02-09T12:14:00.000Z
defmodule AtomTweaksWeb.ControllerHelpers do @moduledoc """ Helper functions for `Controllers`. """ alias Phoenix.Controller @doc """ Redirects back to the last user-navigated (in other words HTTP `GET`) path. """ def redirect_back(conn, opts \\ []) do Controller.redirect(conn, to: NavigationHistor...
25.357143
77
0.709859
ab6506739617fd20377c9de0236df4fe3f1d1205
1,146
ex
Elixir
web/services/user_service.ex
kenta-aktsk/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
99
2016-04-19T11:11:57.000Z
2021-12-12T14:38:02.000Z
web/services/user_service.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
48
2016-04-06T02:28:46.000Z
2016-05-31T06:56:56.000Z
web/services/user_service.ex
ogamw/media_sample
a0368236bd81c18ac136a54aa7383332a5e3cf36
[ "MIT" ]
32
2016-04-19T11:12:00.000Z
2021-03-25T18:19:52.000Z
defmodule MediaSample.UserService do use MediaSample.Web, :service alias MediaSample.{UserTranslation, UserImageUploader, Mailer} def insert(conn, changeset, params, locale) do Multi.new |> Multi.insert(:user, changeset) |> Multi.run(:translation, &(UserTranslation.insert_or_update(Repo, &1[:user], p...
33.705882
100
0.686736
ab652d11f86c3b257e5e63fd43a1a6e6c8020e5a
771
ex
Elixir
lib/mjml.ex
en30/mjml_nif
8e51f6301265440c69a8e440d7bea149b75b1451
[ "MIT" ]
65
2020-09-01T08:23:44.000Z
2022-03-31T11:46:30.000Z
lib/mjml.ex
en30/mjml_nif
8e51f6301265440c69a8e440d7bea149b75b1451
[ "MIT" ]
14
2021-01-26T19:56:33.000Z
2022-03-18T14:15:28.000Z
lib/mjml.ex
en30/mjml_nif
8e51f6301265440c69a8e440d7bea149b75b1451
[ "MIT" ]
12
2020-10-06T12:49:06.000Z
2022-03-16T05:51:05.000Z
defmodule Mjml do @moduledoc """ Provides functions for transpiling MJML email templates to HTML. """ use Rustler, otp_app: :mjml, crate: "mjml_nif" @doc """ Converts an MJML string to HTML content. (Passing any options – which the underlying mrml Rust crate already handles – is not yet implemented.) ...
25.7
104
0.662776
ab652ebd6ab895f44af558f73d34cf511d5b8655
1,510
ex
Elixir
phx-board-app/test/support/data_case.ex
dannyh79/k8s-challenge-2021
b48f8dc2d7a55b1f8fa91a13c54867197ef8e270
[ "MIT" ]
null
null
null
phx-board-app/test/support/data_case.ex
dannyh79/k8s-challenge-2021
b48f8dc2d7a55b1f8fa91a13c54867197ef8e270
[ "MIT" ]
null
null
null
phx-board-app/test/support/data_case.ex
dannyh79/k8s-challenge-2021
b48f8dc2d7a55b1f8fa91a13c54867197ef8e270
[ "MIT" ]
null
null
null
defmodule Board.DataCase do @moduledoc """ This module defines the setup for tests requiring access to the application's data layer. You may define functions here to be used as helpers in your tests. Finally, if the test case interacts with the database, we enable the SQL sandbox, so changes done to the...
29.038462
86
0.693377
ab658ac2d7e27cb5e4dadd71ae75f7e836696251
7,298
ex
Elixir
lib/commanded/assertions/event_assertions.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:23.000Z
2018-12-28T20:48:23.000Z
lib/commanded/assertions/event_assertions.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
null
null
null
lib/commanded/assertions/event_assertions.ex
edwardzhou/commanded
f104cbf5ff3a37a6e9b637bc07ccde1d79c0725d
[ "MIT" ]
1
2018-12-28T20:48:24.000Z
2018-12-28T20:48:24.000Z
defmodule Commanded.Assertions.EventAssertions do @moduledoc """ Provides test assertion and wait for event functions to help test applications built using Commanded. The default assert and refute receive timeouts are one second. You can override the default timeout in config (e.g. `config/test.exs`): ...
29.427419
91
0.692244
ab6597db2553192ff0c3e3724bc1b7d6a2aa39ea
3,349
ex
Elixir
lib/sanbase/accounts/user/uniswap_staking.ex
santiment/sanbase2
9ef6e2dd1e377744a6d2bba570ea6bd477a1db31
[ "MIT" ]
81
2017-11-20T01:20:22.000Z
2022-03-05T12:04:25.000Z
lib/sanbase/accounts/user/uniswap_staking.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
359
2017-10-15T14:40:53.000Z
2022-01-25T13:34:20.000Z
lib/sanbase/accounts/user/uniswap_staking.ex
rmoorman/sanbase2
226784ab43a24219e7332c49156b198d09a6dd85
[ "MIT" ]
16
2017-11-19T13:57:40.000Z
2022-02-07T08:13:02.000Z
defmodule Sanbase.Accounts.User.UniswapStaking do use Ecto.Schema import Ecto.Changeset require Logger alias Sanbase.Repo alias Sanbase.Accounts.{User, EthAccount} alias Sanbase.SmartContracts.UniswapPair schema "user_uniswap_staking" do field(:san_staked, :float) belongs_to(:user, User) t...
27.908333
97
0.661391
ab65b195d77837893a54089a278524ba4cac1b13
17
ex
Elixir
testData/org/elixir_lang/parser_definition/interpolated_char_list_sigil_line_parsing_test_case/Brackets.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
1,668
2015-01-03T05:54:27.000Z
2022-03-25T08:01:20.000Z
testData/org/elixir_lang/parser_definition/interpolated_char_list_sigil_line_parsing_test_case/Brackets.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
2,018
2015-01-01T22:43:39.000Z
2022-03-31T20:13:08.000Z
testData/org/elixir_lang/parser_definition/interpolated_char_list_sigil_line_parsing_test_case/Brackets.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
~c[{}[\]<>"/()|']
17
17
0.058824
ab65b9bda8fcb1f60ee3b88fd3f4a6691407ea74
2,701
ex
Elixir
clients/network_management/lib/google_api/network_management/v1/model/trace.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/network_management/lib/google_api/network_management/v1/model/trace.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/network_management/lib/google_api/network_management/v1/model/trace.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-10-04T10:12:44.000Z
2020-10-04T10:12:44.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
54.02
442
0.74676
ab65da49869fbf8d4089835ab6c019ec9d931717
2,209
ex
Elixir
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__annotate_video_progress.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__annotate_video_progress.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
clients/video_intelligence/lib/google_api/video_intelligence/v1/model/google_cloud_videointelligence_v1p2beta1__annotate_video_progress.ex
medikent/elixir-google-api
98a83d4f7bfaeac15b67b04548711bb7e49f9490
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
35.063492
235
0.765505
ab6605ea7abe8c6d8061972496454057729d61f7
960
ex
Elixir
lib/langue/formatter/resx_2_0/parser.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
806
2018-04-07T20:40:33.000Z
2022-03-30T01:39:57.000Z
lib/langue/formatter/resx_2_0/parser.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
194
2018-04-07T13:49:37.000Z
2022-03-30T19:58:45.000Z
lib/langue/formatter/resx_2_0/parser.ex
suryatmodulus/accent
6aaf34075c33f3d9d84d38237af4a39b594eb808
[ "BSD-3-Clause" ]
89
2018-04-09T13:55:49.000Z
2022-03-24T07:09:31.000Z
defmodule Langue.Formatter.Resx20.Parser do @behaviour Langue.Formatter.Parser def parse(%{render: render}) do entries = render |> :erlsom.simple_form() |> case do {:ok, {'root', [], nodes}, _} -> Enum.filter(nodes, &match?({'data', _, _}, &1)) end |> Enum.reduce...
26.666667
67
0.55625
ab6608d82ab0f0be4d5634b570387171dcbe5800
5,691
ex
Elixir
lib/graph_reasoner/query_matching/triples_block.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/graph_reasoner/query_matching/triples_block.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
lib/graph_reasoner/query_matching/triples_block.ex
Rahien/mu-authorization
4535afd74ae3190d168bbebdf33cb40b919742f5
[ "MIT" ]
null
null
null
alias InterpreterTerms.SymbolMatch, as: Sym alias InterpreterTerms.WordMatch, as: Word defmodule GraphReasoner.QueryMatching.TriplesBlock do @moduledoc """ Parses information from a TriplesBlock SymbolMatch. The idea behind this module is to keep it as simple as possible, mainly focussing on abstracting th...
43.442748
160
0.506765
ab663671413d176562ff67115b603e7d40a0738c
1,881
ex
Elixir
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/company.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/company.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
null
null
null
clients/android_device_provisioning/lib/google_api/android_device_provisioning/v1/model/company.ex
GoNZooo/elixir-google-api
cf3ad7392921177f68091f3d9001f1b01b92f1cc
[ "Apache-2.0" ]
1
2018-07-28T20:50:50.000Z
2018-07-28T20:50:50.000Z
# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
34.833333
192
0.742158
ab663e4f8bda180ebb7bafe886e9cc89bb1a3b05
340
exs
Elixir
client_query/priv/repo/migrations/20200721225837_create_products.exs
gumberss/Ticketing-deno
959b1b0763d246e05fd261aa5ceb94894dc5fe7b
[ "MIT" ]
1
2020-09-08T00:06:33.000Z
2020-09-08T00:06:33.000Z
client_query/priv/repo/migrations/20200721225837_create_products.exs
gumberss/Ticketing-deno
959b1b0763d246e05fd261aa5ceb94894dc5fe7b
[ "MIT" ]
null
null
null
client_query/priv/repo/migrations/20200721225837_create_products.exs
gumberss/Ticketing-deno
959b1b0763d246e05fd261aa5ceb94894dc5fe7b
[ "MIT" ]
null
null
null
defmodule ClientQuery.Repo.Migrations.CreateProducts do use Ecto.Migration def change do create table(:products, primary_key: false) do add :id, :string, primary_key: true add :title, :string add :price, :decimal add :description, :string add :version, :integer timestamps()...
20
55
0.661765
ab664955b2f1c5c5e3972a61f734cb39fa7aafa3
2,044
ex
Elixir
clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_cancel_survey_result.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_cancel_survey_result.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/android_publisher/lib/google_api/android_publisher/v3/model/subscription_cancel_survey_result.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
37.163636
157
0.741683
ab66501c3f1d66fbd2ab220fc4ebff2bbdf0147e
1,278
ex
Elixir
deps/credo/lib/credo/check/warning/unused_regex_operation.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
13
2018-09-19T21:03:29.000Z
2022-01-27T04:06:32.000Z
deps/credo/lib/credo/check/warning/unused_regex_operation.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
1
2020-05-26T04:16:57.000Z
2020-05-26T04:16:57.000Z
deps/credo/lib/credo/check/warning/unused_regex_operation.ex
BandanaPandey/nary_tree
fb1eeb69e38e43c9f9ffb54297cef52dff5c928d
[ "MIT" ]
3
2020-05-21T04:32:08.000Z
2021-07-28T05:14:01.000Z
defmodule Credo.Check.Warning.UnusedRegexOperation do @moduledoc """ The result of a call to the Regex module's functions has to be used. # TODO: write example Regex operations never work on the variable you pass in, but return a new variable which has to be used somehow. """ @explanation [check: @modu...
27.782609
89
0.669014
ab6679f03a01f575cca5c9a017421e6dce5b7b26
2,596
ex
Elixir
apps/site/test/support/integration_case.ex
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/test/support/integration_case.ex
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
apps/site/test/support/integration_case.ex
mbta/crispy-spoon
7ef28a1a6adc73899b007e334b9220f7a48a60fa
[ "MIT" ]
null
null
null
defmodule SiteWeb.IntegrationCase do use ExUnit.CaseTemplate alias Plug.Conn @autocomplete_results Poison.encode!([ %{ "description" => "Airport, Boston, MA, USA", "id" => "9849ec38162852d3f21227b1162a70d5e37105da", ...
38.176471
98
0.496533
ab66934a31ccb53b69dc4ef170dff58a69172756
1,650
exs
Elixir
test/reader_test.exs
bengtson/bible
0889be3fc865d0dcce0056109aa32647ac760255
[ "MIT" ]
null
null
null
test/reader_test.exs
bengtson/bible
0889be3fc865d0dcce0056109aa32647ac760255
[ "MIT" ]
null
null
null
test/reader_test.exs
bengtson/bible
0889be3fc865d0dcce0056109aa32647ac760255
[ "MIT" ]
null
null
null
defmodule Reader.Test do use ExUnit.Case setup_all do info = Bible.Info.get_bible_info Bible.Versions.ESV {:ok, info: info} end test "New Readings Module Test", state do read = """ 02-Oct-2016 : John 1-3 03-Oct-2016 : John 4:5-8 """ {:ok, start_date} = Date...
22.60274
69
0.612121
ab66ca6d809e8850a6021fb5253e28102cea27ab
927
ex
Elixir
src/Data/EuclideanRing.ex
sriduth/purescript-prelude
018250e052ec11dc6faae61ea41c1a11fdf64e0e
[ "MIT" ]
null
null
null
src/Data/EuclideanRing.ex
sriduth/purescript-prelude
018250e052ec11dc6faae61ea41c1a11fdf64e0e
[ "MIT" ]
null
null
null
src/Data/EuclideanRing.ex
sriduth/purescript-prelude
018250e052ec11dc6faae61ea41c1a11fdf64e0e
[ "MIT" ]
null
null
null
defmodule EuclideanRing.Foreign do def intDegree do fn(x) -> min(abs(x), 2147483647) end end def intDiv do fn(x) -> fn(y) -> if y == 0 do 0 else case y > 0 do true -> Float.floor(x / y) false -> -Float.floor(x / -y) end end end end end # "use...
17.490566
61
0.515642
ab66d63a15bf26907c17772bfb3195eed78c2231
5,119
exs
Elixir
test/bitcoin/script_test.exs
JohnSmall/bitcoin-elixir
db82ced4c7d0ae7638fcbe67d2312e44905c5f35
[ "Apache-2.0" ]
null
null
null
test/bitcoin/script_test.exs
JohnSmall/bitcoin-elixir
db82ced4c7d0ae7638fcbe67d2312e44905c5f35
[ "Apache-2.0" ]
null
null
null
test/bitcoin/script_test.exs
JohnSmall/bitcoin-elixir
db82ced4c7d0ae7638fcbe67d2312e44905c5f35
[ "Apache-2.0" ]
null
null
null
defmodule Bitcoin.ScriptTest do use ExUnit.Case alias Bitcoin.Protocol.Types alias Bitcoin.Protocol.Messages alias Bitcoin.Script import Test.Helper # From script test cases json file: # ["It is evaluated as if there was a crediting coinbase transaction with two 0"], # ["pushes as scriptSig, and one...
31.795031
110
0.570033
ab66e48854ae74d18547ca32428ccaf935c6eef2
3,442
ex
Elixir
lib/generator/userexecutor.ex
da-nikolaev/elm
2012648b0488a424c35b29f6db895446ac902ef4
[ "MIT" ]
null
null
null
lib/generator/userexecutor.ex
da-nikolaev/elm
2012648b0488a424c35b29f6db895446ac902ef4
[ "MIT" ]
null
null
null
lib/generator/userexecutor.ex
da-nikolaev/elm
2012648b0488a424c35b29f6db895446ac902ef4
[ "MIT" ]
null
null
null
defmodule ELM.UserExecutor do require Logger use GenServer # Client API def start_link(opts) do GenServer.start_link(__MODULE__, opts) end # Server API def init({type, args, callback}) do do_restart() {:ok, %{ user_type: type, init_args: args, callback: callback,...
20.73494
86
0.594712
ab6706d7502ace5d318a3f6b4c95c3764e6433e9
610
ex
Elixir
lib/cryptocomparex/application.ex
metachaos-systems/cryptocomparex
cb3d3096927b9d51f495e68780c46ff803d50d3e
[ "MIT" ]
null
null
null
lib/cryptocomparex/application.ex
metachaos-systems/cryptocomparex
cb3d3096927b9d51f495e68780c46ff803d50d3e
[ "MIT" ]
null
null
null
lib/cryptocomparex/application.ex
metachaos-systems/cryptocomparex
cb3d3096927b9d51f495e68780c46ff803d50d3e
[ "MIT" ]
null
null
null
defmodule Cryptocomparex.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do # List all child processes to be supervised children = [ # Starts a worker by calling: Cryptocomparex....
29.047619
73
0.722951
ab67238adfe05f2b9ddb3f640b40bef60a76065b
19,431
ex
Elixir
lib/json/ld/context.ex
rustra/jsonld-ex
4f903a04d4ba9f0f0df1b871a92eb89bc20f38dc
[ "MIT" ]
null
null
null
lib/json/ld/context.ex
rustra/jsonld-ex
4f903a04d4ba9f0f0df1b871a92eb89bc20f38dc
[ "MIT" ]
null
null
null
lib/json/ld/context.ex
rustra/jsonld-ex
4f903a04d4ba9f0f0df1b871a92eb89bc20f38dc
[ "MIT" ]
null
null
null
defmodule JSON.LD.Context do import JSON.LD.{IRIExpansion, Utils} alias JSON.LD.Context.TermDefinition alias JSON.LD.Options alias RDF.IRI @type local :: map | String.t() | nil @type remote :: [map] @type value :: map | String.t() | nil @type t :: %__MODULE__{ term_defs: map, def...
36.251866
392
0.644537
ab672bb3588ae60cd389502dd9192c8394b6b959
882
ex
Elixir
lib/openstax_keystone/endpoint/config.ex
mspanc/openstax_keystone
5157b88550802f19f78f79b8d5e00f4a2a9fcaed
[ "MIT" ]
null
null
null
lib/openstax_keystone/endpoint/config.ex
mspanc/openstax_keystone
5157b88550802f19f78f79b8d5e00f4a2a9fcaed
[ "MIT" ]
1
2018-11-20T09:19:51.000Z
2018-11-25T12:32:11.000Z
lib/openstax_keystone/endpoint/config.ex
mspanc/openstax_keystone
5157b88550802f19f78f79b8d5e00f4a2a9fcaed
[ "MIT" ]
null
null
null
defmodule OpenStax.Keystone.Endpoint.Config do @moduledoc """ This module is responsible for storing configuration of a single Keystone endpoint. """ @type endpoint_url_t :: String.t @type tenant_id_t :: String.t @type tenant_name_t :: String.t @type username_t :: String.t @type password_t :: String....
24.5
66
0.674603
ab6733cb791d06a98eba627eb36c7cf9d8d15243
808
ex
Elixir
lib/glimesh_web/uploaders/app_logo.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
1
2020-08-02T00:12:28.000Z
2020-08-02T00:12:28.000Z
lib/glimesh_web/uploaders/app_logo.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
lib/glimesh_web/uploaders/app_logo.ex
itsUnsmart/glimesh.tv
22c532184bb5046f6c6d8232e8bd66ba534c01c1
[ "MIT" ]
null
null
null
defmodule Glimesh.AppLogo do @moduledoc false use Waffle.Definition # Include ecto support (requires package waffle_ecto installed): use Waffle.Ecto.Definition @versions [:original] def acl(:original, _), do: :public_read # Whitelist file extensions: def validate({file, _}) do ~w(.jpg .jpeg .pn...
24.484848
94
0.707921
ab674202e6e8b14f6cf54a449b42f8367c1e371c
1,740
exs
Elixir
19/part1.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
3
2016-01-18T01:14:45.000Z
2017-05-11T09:14:49.000Z
19/part1.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
19/part1.exs
seantanly/elixir-advent_of_code
1e39ac46bc01f5c8cffd2d2f79f9af0b71767291
[ "MIT" ]
null
null
null
defmodule Plant do def parse_inputs(inputs) do input_lines = inputs |> String.split("\n", trim: true) {spec_strs, [initial]} = Enum.split(input_lines, length(input_lines) - 1) spec_map = spec_strs |> Enum.reduce(%{}, fn spec_str, spec_map -> [key, "=>", val] = String.split(spec_str, " ", tr...
18.709677
82
0.612644
ab675cb695ef1b7530737101a209619e63b59815
4,795
exs
Elixir
test/layers_test.exs
kianmeng/axon
15e2ce547e98e20946f0b0091440baf3e5e0f2d6
[ "Apache-2.0" ]
922
2021-04-08T11:48:26.000Z
2022-03-30T05:17:52.000Z
test/layers_test.exs
t-rutten/axon
1ab69552e194bdaa4e5bc85ca116966be872f072
[ "Apache-2.0" ]
112
2021-04-08T20:27:37.000Z
2022-03-31T21:22:09.000Z
test/layers_test.exs
t-rutten/axon
1ab69552e194bdaa4e5bc85ca116966be872f072
[ "Apache-2.0" ]
56
2021-04-08T12:54:16.000Z
2022-03-29T01:36:18.000Z
defmodule Axon.LayersTest do use ExUnit.Case, async: true doctest Axon.Layers describe "conv_transpose" do test "correct valid padding, no strides" do inp = Nx.iota({1, 1, 4}, type: {:f, 32}) kernel = Nx.iota({3, 1, 2}, type: {:f, 32}) bias = 0.0 assert Axon.Layers.conv_transpose(inp...
35.518519
98
0.375808
ab6761045b690948c468974e675c8e14459f2969
1,179
ex
Elixir
apps/grapevine/lib/web/routers/split_router.ex
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
107
2018-10-05T18:20:32.000Z
2022-02-28T04:02:50.000Z
apps/grapevine/lib/web/routers/split_router.ex
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
33
2018-10-05T14:11:18.000Z
2022-02-10T22:19:18.000Z
apps/grapevine/lib/web/routers/split_router.ex
oestrich/grapevine
7fb745a3a6e4eb68bd761baa190b2df32fa1f73d
[ "MIT" ]
18
2019-02-03T03:08:20.000Z
2021-12-28T04:29:36.000Z
defmodule Web.SplitRouter do @moduledoc """ Select the proper router based on the host header """ import Plug.Conn import Phoenix.Controller alias Grapevine.CNAMEs alias GrapevineData.Games def init(default), do: default def call(conn, _opts) do config = Application.get_env(:grapevine, :web)[:...
23.58
56
0.541985
ab67ae10bd3496f4e24daa6ca3a79bec53f2011f
2,207
exs
Elixir
test/sanbase/signals/trending_words/trigger_trending_watchlist_target_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
test/sanbase/signals/trending_words/trigger_trending_watchlist_target_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
1
2021-07-24T16:26:03.000Z
2021-07-24T16:26:03.000Z
test/sanbase/signals/trending_words/trigger_trending_watchlist_target_test.exs
sitedata/sanbase2
8da5e44a343288fbc41b68668c6c80ae8547d557
[ "MIT" ]
null
null
null
defmodule Sanbase.Signal.TriggerTrendingWordsWatchlistTargetTest do use Sanbase.DataCase, async: false import Mock import Sanbase.Factory alias Sanbase.UserList alias Sanbase.Signal.UserTrigger alias Sanbase.Signal.Evaluator alias Sanbase.Signal.Trigger.TrendingWordsTriggerSettings setup do Sanb...
26.914634
94
0.655641
ab67b8ffabe25830f74e7a3ee719e9677469e6fa
896
ex
Elixir
test/support/conn_case.ex
selfup/smache
5355418fbd0bc7d5c73e17647b41176079c7a242
[ "MIT" ]
7
2018-10-07T00:45:10.000Z
2020-01-12T03:27:52.000Z
test/support/conn_case.ex
selfup/smache
5355418fbd0bc7d5c73e17647b41176079c7a242
[ "MIT" ]
13
2018-04-13T00:47:37.000Z
2019-08-10T22:20:27.000Z
test/support/conn_case.ex
selfup/smache
5355418fbd0bc7d5c73e17647b41176079c7a242
[ "MIT" ]
2
2019-07-12T23:30:20.000Z
2019-08-10T21:56:57.000Z
defmodule SmacheWeb.ConnCase do @moduledoc """ This module defines the test case to be used by tests that require setting up a connection. Such tests rely on `Phoenix.ConnTest` and also import other functionality to make it easier to build common datastructures and query the data layer. Finally, if the ...
26.352941
58
0.727679
ab67d6f16757b263423f5b391cde3b533094f7fd
983
exs
Elixir
test/format_parser/font_test.exs
antoniskalou/format_parser.ex
bce7f1cdae5ec4be198c49b6f5ef303d43135e33
[ "Apache-2.0" ]
null
null
null
test/format_parser/font_test.exs
antoniskalou/format_parser.ex
bce7f1cdae5ec4be198c49b6f5ef303d43135e33
[ "Apache-2.0" ]
null
null
null
test/format_parser/font_test.exs
antoniskalou/format_parser.ex
bce7f1cdae5ec4be198c49b6f5ef303d43135e33
[ "Apache-2.0" ]
null
null
null
defmodule FormatParser.FontTest do use ExUnit.Case test "parse passed error" do {:ok, file} = File.read("priv/test.ttf") assert FormatParser.Font.parse({:error, file}).format == :ttf end test "parse file" do {:ok, file} = File.read("priv/test.ttf") assert FormatParser.Font.parse(file).fo...
23.97561
82
0.653103
ab67e63697d44eda633134ee608e2e805d4c38f0
1,561
exs
Elixir
test/fixtures/standard_app/rel/config.exs
TokiTori/distillery
9158df6d17c8b70a201ade4ca0d3f243245ceebd
[ "MIT" ]
null
null
null
test/fixtures/standard_app/rel/config.exs
TokiTori/distillery
9158df6d17c8b70a201ade4ca0d3f243245ceebd
[ "MIT" ]
null
null
null
test/fixtures/standard_app/rel/config.exs
TokiTori/distillery
9158df6d17c8b70a201ade4ca0d3f243245ceebd
[ "MIT" ]
null
null
null
Code.require_file("rel/sample_app_plugin.ex") Code.require_file("rel/release_plugin.ex") Code.require_file("rel/another_release_plugin.ex") use Mix.Releases.Config, # This sets the default release built by `mix release` default_release: :default, # This sets the default environment used by `mix release` ...
32.520833
81
0.758488
ab68148f380017802053d4ee660f3e65428771fb
1,829
ex
Elixir
clients/my_business_account_management/lib/google_api/my_business_account_management/v1/model/list_invitations_response.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/my_business_account_management/lib/google_api/my_business_account_management/v1/model/list_invitations_response.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/my_business_account_management/lib/google_api/my_business_account_management/v1/model/list_invitations_response.ex
dazuma/elixir-google-api
6a9897168008efe07a6081d2326735fe332e522c
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
36.58
237
0.765992
ab6829092430e17595fbb89048d7041affffe417
4,842
exs
Elixir
test/c_backend_tests/c_client_tests/discovery_test.exs
juljimm/opex62541
c44c157213a8a3fb07283f6e697e6dd018693315
[ "MIT" ]
null
null
null
test/c_backend_tests/c_client_tests/discovery_test.exs
juljimm/opex62541
c44c157213a8a3fb07283f6e697e6dd018693315
[ "MIT" ]
null
null
null
test/c_backend_tests/c_client_tests/discovery_test.exs
juljimm/opex62541
c44c157213a8a3fb07283f6e697e6dd018693315
[ "MIT" ]
null
null
null
defmodule CClientDiscoveryTest do use ExUnit.Case doctest Opex62541 setup do executable = :code.priv_dir(:opex62541) ++ '/opc_ua_client' port = Port.open({:spawn_executable, executable}, [ {:args, []}, {:packet, 2}, :use_stdio, :binary, :exit_status ])...
26.315217
87
0.502891
ab683a32ca5b964c1fb2a37bd5de80ea53c03c0c
5,501
ex
Elixir
lib/components/text_pad/pad_caret.ex
JediLuke/scenic-widget-contrib
16d4be858b686c486c1c9610e9c1106a30035d64
[ "Apache-2.0" ]
5
2019-05-29T20:59:16.000Z
2022-01-14T12:22:43.000Z
lib/components/text_pad/pad_caret.ex
JediLuke/scenic-widget-contrib
16d4be858b686c486c1c9610e9c1106a30035d64
[ "Apache-2.0" ]
10
2019-05-28T07:49:24.000Z
2022-01-24T04:33:47.000Z
lib/components/text_pad/pad_caret.ex
JediLuke/scenic-widget-contrib
16d4be858b686c486c1c9610e9c1106a30035d64
[ "Apache-2.0" ]
2
2022-01-05T02:33:43.000Z
2022-01-13T05:43:36.000Z
defmodule ScenicWidgets.TextPad.PadCaret do use Scenic.Component require Logger # @moduledoc """ # Add a blinking text-input caret to a graph. # ## Data # `height` # * `height` - The height of the caret. The caller (TextEdit) calculates this based # on its :font_size (often the...
28.651042
113
0.514634
ab685b0cb61dd5140d436cca8e1e34a2b1c8cf79
16,776
exs
Elixir
lib/elixir/test/elixir/code_formatter/operators_test.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/operators_test.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/code_formatter/operators_test.exs
chulkilee/elixir
699231dcad52916a76f38856cbd7cf7c7bdadc51
[ "Apache-2.0" ]
null
null
null
Code.require_file("../test_helper.exs", __DIR__) defmodule Code.Formatter.OperatorsTest do use ExUnit.Case, async: true import CodeFormatterHelpers @short_length [line_length: 10] @medium_length [line_length: 20] describe "unary" do test "formats symbol operators without spaces" do assert_format...
18.681514
89
0.471686
ab686b0c2093c4218b4c88c8cb9c7990c2373219
7,137
exs
Elixir
test/web/controllers/peek_controller_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
test/web/controllers/peek_controller_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
test/web/controllers/peek_controller_test.exs
leonardocouy/accent
29fb324395ff998cc5cdc6947c60070ffabe647c
[ "BSD-3-Clause" ]
null
null
null
defmodule AccentTest.PeekController do use Accent.ConnCase import Mox setup :verify_on_exit! alias Accent.{ Repo, Project, Revision, Document, User, AccessToken, Collaborator, Translation, Language } @user %User{email: "test@test.com"} def file(filename \\ "simple.j...
40.551136
171
0.610481
ab687fc89e678b8d386fd5acb5a37c29f1179dad
634
ex
Elixir
db_server/lib/db_server/repo_functions/news_feeds.ex
Graveyardillon/db_server
ce5a5884d7d1f0eacb3c5cc27066203424594cf4
[ "MIT" ]
null
null
null
db_server/lib/db_server/repo_functions/news_feeds.ex
Graveyardillon/db_server
ce5a5884d7d1f0eacb3c5cc27066203424594cf4
[ "MIT" ]
null
null
null
db_server/lib/db_server/repo_functions/news_feeds.ex
Graveyardillon/db_server
ce5a5884d7d1f0eacb3c5cc27066203424594cf4
[ "MIT" ]
null
null
null
defmodule DbServer.RepoFunctions.NewsFeeds do @moduledoc """ The news feeds context. """ use DbServer.AroundRepo def create(params, %Game{} = game) do %NewsFeed{} |> NewsFeed.changeset(params) |> add_game_relation(game) |> Repo.insert() end def update(news_feed, params) do news_fee...
19.212121
52
0.667192
ab6890b027763311751edda4e79b51fd31f4c90b
29,973
exs
Elixir
test/axon_test.exs
kianmeng/axon
15e2ce547e98e20946f0b0091440baf3e5e0f2d6
[ "Apache-2.0" ]
922
2021-04-08T11:48:26.000Z
2022-03-30T05:17:52.000Z
test/axon_test.exs
kianmeng/axon
15e2ce547e98e20946f0b0091440baf3e5e0f2d6
[ "Apache-2.0" ]
112
2021-04-08T20:27:37.000Z
2022-03-31T21:22:09.000Z
test/axon_test.exs
kianmeng/axon
15e2ce547e98e20946f0b0091440baf3e5e0f2d6
[ "Apache-2.0" ]
56
2021-04-08T12:54:16.000Z
2022-03-29T01:36:18.000Z
defmodule AxonTest do use ExUnit.Case doctest Axon import Nx.Defn describe "input" do test "works with defaults" do assert %Axon{op: :input, parent: nil} = Axon.input({32, 1, 28, 28}) end test "works with name" do assert %Axon{op: :input, parent: nil, name: "input"} = A...
34.852326
100
0.551797
ab6897d04b4bd4fcc76ef62bdfd8baa1c93c7b48
92
exs
Elixir
apps/ex_wire/test/ex_wire/handler_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
152
2018-10-27T04:52:03.000Z
2022-03-26T10:34:00.000Z
apps/ex_wire/test/ex_wire/handler_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
270
2018-04-14T07:34:57.000Z
2018-10-25T18:10:45.000Z
apps/ex_wire/test/ex_wire/handler_test.exs
wolflee/mana
db66dac85addfaad98d40da5bd4082b3a0198bb1
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
25
2018-10-27T12:15:13.000Z
2022-01-25T20:31:14.000Z
defmodule ExWire.HandlerTest do use ExUnit.Case, async: true doctest ExWire.Handler end
18.4
31
0.793478