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
9e98510e9b7751e0ca1a788b4d132ab21ee520a3
1,092
exs
Elixir
mix.exs
skatsuta/phoenix-json-api
1da16fc10cf1ce7bb5e47034755f5990bd7acb92
[ "MIT" ]
null
null
null
mix.exs
skatsuta/phoenix-json-api
1da16fc10cf1ce7bb5e47034755f5990bd7acb92
[ "MIT" ]
null
null
null
mix.exs
skatsuta/phoenix-json-api
1da16fc10cf1ce7bb5e47034755f5990bd7acb92
[ "MIT" ]
null
null
null
defmodule PhoenixJsonApi.Mixfile do use Mix.Project def project do [app: :phoenix_json_api, version: "0.0.1", elixir: "~> 1.0", elixirc_paths: elixirc_paths(Mix.env), compilers: [:phoenix] ++ Mix.compilers, build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, ...
27.3
63
0.606227
9e986a7b71791014420e11760c3bcd8c7f7a18b5
1,815
exs
Elixir
harbor/test/test_helper.exs
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
harbor/test/test_helper.exs
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
harbor/test/test_helper.exs
miapolis/port7
7df1223f83d055eeb6ce8f61f4af8b4f2cf33e74
[ "MIT" ]
null
null
null
ExUnit.start() defmodule HarborTest do def elixir_module?(module) do module |> Atom.to_string() |> String.starts_with?("Elixir") end def message_module?(module) do exploded = Module.split(module) match?(["Pier", "Message", _class, _], exploded) end def message_validation_module?(module)...
29.274194
94
0.674931
9e986caac291a3870bdb98d018f8df923e6c7d83
6,954
exs
Elixir
test/oli/publishing/delivery_resolver_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
45
2020-04-17T15:40:27.000Z
2022-03-25T00:13:30.000Z
test/oli/publishing/delivery_resolver_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
944
2020-02-13T02:37:01.000Z
2022-03-31T17:50:07.000Z
test/oli/publishing/delivery_resolver_test.exs
malav2110/oli-torus
8af64e762a7c8a2058bd27a7ab8e96539ffc055f
[ "MIT" ]
23
2020-07-28T03:36:13.000Z
2022-03-17T14:29:02.000Z
defmodule Oli.Publishing.DeliveryResolverTest do use Oli.DataCase alias Oli.Publishing.DeliveryResolver describe "delivery resolution" do setup do Seeder.base_project_with_resource4() end test "find_parent_objectives/2 returns parents", %{ child1: child1, child2: child2, chi...
35.121212
102
0.627696
9e987b897d98d2245595cdd04a908f8ea452adba
135
ex
Elixir
test/support/models/invalid_cast.ex
mojidabckuu/ex_machina
31d19cc5572d85d3c144756b765b634995ab9c2b
[ "MIT" ]
null
null
null
test/support/models/invalid_cast.ex
mojidabckuu/ex_machina
31d19cc5572d85d3c144756b765b634995ab9c2b
[ "MIT" ]
null
null
null
test/support/models/invalid_cast.ex
mojidabckuu/ex_machina
31d19cc5572d85d3c144756b765b634995ab9c2b
[ "MIT" ]
1
2021-01-16T19:05:50.000Z
2021-01-16T19:05:50.000Z
defmodule ExMachina.InvalidCast do use Ecto.Schema schema "invalid_casts" do field(:invalid, ExMachina.InvalidType) end end
16.875
42
0.762963
9e98bce3533b02bb5b5138c022f36296fb1565fd
225
ex
Elixir
lib/elixir_script/lib/store.ex
beadsland/elixirscript
cb9698ad96075fcbe87b3933009d7ab2a2c939de
[ "MIT" ]
854
2017-02-19T01:50:45.000Z
2022-03-14T18:55:38.000Z
lib/elixir_script/lib/store.ex
beadsland/elixirscript
cb9698ad96075fcbe87b3933009d7ab2a2c939de
[ "MIT" ]
210
2017-02-20T17:44:39.000Z
2020-08-01T10:18:07.000Z
lib/elixir_script/lib/store.ex
beadsland/elixirscript
cb9698ad96075fcbe87b3933009d7ab2a2c939de
[ "MIT" ]
56
2017-02-19T14:50:05.000Z
2022-02-25T17:25:30.000Z
defmodule ElixirScript.Core.Store do @moduledoc false use ElixirScript.FFI, global: true defexternal create(value, name \\ nil) defexternal update(key, value) defexternal read(key) defexternal remove(key) end
17.307692
40
0.751111
9e98be75fd3edcdec46f5bf4972f501ffa0c9329
1,838
ex
Elixir
lib/app/blog/blog.ex
krlsdu/placamercosul
46f1f404eca14897887179d46c00b75c614427ff
[ "MIT" ]
null
null
null
lib/app/blog/blog.ex
krlsdu/placamercosul
46f1f404eca14897887179d46c00b75c614427ff
[ "MIT" ]
null
null
null
lib/app/blog/blog.ex
krlsdu/placamercosul
46f1f404eca14897887179d46c00b75c614427ff
[ "MIT" ]
null
null
null
require IEx defmodule App.Blog do @moduledoc """ The Blog context. """ import Ecto.Query, warn: false alias App.Repo alias App.Blog.Post @doc """ Returns the list of posts. ## Examples iex> list_posts() [%Post{}, ...] """ def list_posts do Repo.all(Post) end @doc """ ...
15.445378
59
0.552231
9e98bfd8687e08cc985ad18bab30cca2da96f045
77
ex
Elixir
lib/crony.ex
heydtn/crony
1bc9335edaf6220a724e6a1129f7aef1124ed71f
[ "MIT" ]
null
null
null
lib/crony.ex
heydtn/crony
1bc9335edaf6220a724e6a1129f7aef1124ed71f
[ "MIT" ]
null
null
null
lib/crony.ex
heydtn/crony
1bc9335edaf6220a724e6a1129f7aef1124ed71f
[ "MIT" ]
null
null
null
defmodule Crony do defdelegate run_session(fun), to: Crony.SessionPool end
19.25
53
0.805195
9e98d058b398fb8b0d4cc65a8adbb89aedc3abbb
130
exs
Elixir
.formatter.exs
paulswartz/tablespoon
3637ee22cce16755fa50461058a079fa18d33b1b
[ "MIT" ]
2
2020-04-03T14:39:23.000Z
2020-12-17T23:12:58.000Z
.formatter.exs
mbta/tablespoon
4303ad8498f3e619b081ffbd6892156e0214b61e
[ "MIT" ]
107
2019-09-16T12:52:17.000Z
2022-02-28T10:25:15.000Z
.formatter.exs
mbta/tablespoon
4303ad8498f3e619b081ffbd6892156e0214b61e
[ "MIT" ]
null
null
null
[ import_deps: [:phoenix], inputs: ["*.{ex,exs}", "{lib,test}/**/*.{ex,exs}", "config/{config,dev,test,prod,releases}.exs"] ]
26
98
0.576923
9e993cad8cd8195e8c518eeba54b4fb96c31d633
495
ex
Elixir
programming/elixir/fizzbuzz.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/fizzbuzz.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
programming/elixir/fizzbuzz.ex
NomikOS/learning
268f94605214f6861ef476ca7573e68c068ccbe5
[ "Unlicense" ]
null
null
null
defmodule FizzBuzz do def start(first, last) do first..last |> Enum.each(fn x -> check(x) end) end # Enum.filter([1,6,10], fn(number) -> number > 5 end) # Could be re-written as: # # Enum.filter([1,6,10], &(&1 > 5)) defp check(number) when rem(number, 15) == 0, do: IO.puts("FizzBuzz") defp che...
29.117647
71
0.60404
9e9948860beb9e039f54599c38d55be82b0704a3
1,008
ex
Elixir
lib/gossip/accounts/user.ex
SwiftAusterity/gossip
d79c53acd02fcb9905acb9730e59065efdd5a589
[ "MIT" ]
null
null
null
lib/gossip/accounts/user.ex
SwiftAusterity/gossip
d79c53acd02fcb9905acb9730e59065efdd5a589
[ "MIT" ]
null
null
null
lib/gossip/accounts/user.ex
SwiftAusterity/gossip
d79c53acd02fcb9905acb9730e59065efdd5a589
[ "MIT" ]
null
null
null
defmodule Gossip.Accounts.User do @moduledoc """ User schema """ use Gossip.Schema alias Gossip.Games.Game schema "users" do field(:email, :string) field(:password, :string, virtual: true) field(:password_confirmation, :string, virtual: true) field(:password_hash, :string) field(:tok...
22.4
83
0.645833
9e994ea9bcbef971a0fefde26334b05e0325740a
6,056
ex
Elixir
lib/hexpm/repository/resolver.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/resolver.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
lib/hexpm/repository/resolver.ex
findmypast/hexfmp
38a50f5e1057833fd98748faac230bf4b9cc26a3
[ "Apache-2.0" ]
null
null
null
defmodule Hexpm.Repository.Resolver do import Ecto.Query, only: [from: 2] @behaviour Hex.Registry def run(requirements, build_tools) do config = guess_config(build_tools) Code.ensure_loaded(Hex.Resolver) if function_exported?(Hex.Resolver, :resolve, 4) do resolve_old(requirements, config) ...
27.652968
98
0.628798
9e999fcc9d9aed31bba54999be4a573489cedfb8
604
ex
Elixir
lib/origami/tags/tag.ex
OrigamiApp/server
efbf185a33694b47fc94376c8ddc4b30f8e3d620
[ "Apache-2.0" ]
null
null
null
lib/origami/tags/tag.ex
OrigamiApp/server
efbf185a33694b47fc94376c8ddc4b30f8e3d620
[ "Apache-2.0" ]
null
null
null
lib/origami/tags/tag.ex
OrigamiApp/server
efbf185a33694b47fc94376c8ddc4b30f8e3d620
[ "Apache-2.0" ]
null
null
null
defmodule Origami.Tags.Tag do use Ecto.Schema import Ecto.Changeset schema "tags" do field :background, :string field :description, :string field :image, :string field :lat, :float field :long, :float field :width, :float field :height, :float belongs_to :user, Origami.Auth.User ...
24.16
101
0.653974
9e999ffbac85edc3844546708f606777578502b2
3,995
ex
Elixir
apps/temporario/lib/temporario/paste.ex
achedeuzot/temporar.io
acbec140732614070996924633f254b56e56131f
[ "MIT" ]
2
2019-04-16T18:46:36.000Z
2020-09-18T12:58:57.000Z
apps/temporario/lib/temporario/paste.ex
achedeuzot/temporar.io
acbec140732614070996924633f254b56e56131f
[ "MIT" ]
6
2019-01-06T11:13:39.000Z
2022-02-10T15:15:24.000Z
apps/temporario/lib/temporario/paste.ex
achedeuzot/temporar.io
acbec140732614070996924633f254b56e56131f
[ "MIT" ]
null
null
null
defmodule Temporario.Paste do use Timex use Ecto.Schema import Ecto.Changeset alias Temporario.{Paste, PasteStorage} @primary_key {:guid, Ecto.UUID, []} @derive {Phoenix.Param, key: :guid} @derive {Jason.Encoder, except: [:__meta__]} schema "pastes" do field :payload, :string field :expiration...
28.333333
93
0.662078
9e99b07f3df8581bd354d40c977798b2e5668d29
2,155
ex
Elixir
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/audit_log_config.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/audit_log_config.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "Apache-2.0" ]
null
null
null
clients/cloud_resource_manager/lib/google_api/cloud_resource_manager/v1/model/audit_log_config.ex
kolorahl/elixir-google-api
46bec1e092eb84c6a79d06c72016cb1a13777fa6
[ "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...
30.785714
138
0.683063
9e99c0447eb47a8857558ba7beb4a2ce6fd650f7
359
exs
Elixir
activitypub/priv/repo/seeds.exs
torchhound/activitypub
362de364764b81ec06ade6d0c48c303218e74522
[ "MIT" ]
null
null
null
activitypub/priv/repo/seeds.exs
torchhound/activitypub
362de364764b81ec06ade6d0c48c303218e74522
[ "MIT" ]
null
null
null
activitypub/priv/repo/seeds.exs
torchhound/activitypub
362de364764b81ec06ade6d0c48c303218e74522
[ "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: # # Activitypub.Repo.insert!(%Activitypub.SomeSchema{}) # # We recommend using the bang functions (`insert!`, `update!` # and so on) as t...
29.916667
61
0.713092
9e9a037b77a5c510a142431002db2ba10ed45d4c
2,858
ex
Elixir
clients/docs/lib/google_api/docs/v1/model/insert_text_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
null
null
null
clients/docs/lib/google_api/docs/v1/model/insert_text_request.ex
MasashiYokota/elixir-google-api
975dccbff395c16afcb62e7a8e411fbb58e9ab01
[ "Apache-2.0" ]
1
2020-12-18T09:25:12.000Z
2020-12-18T09:25:12.000Z
clients/docs/lib/google_api/docs/v1/model/insert_text_request.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...
53.924528
716
0.752974
9e9a15715a242e76cab858b4ddd0c4a866d5b0c7
642
exs
Elixir
accumulate/accumulate.exs
lpvm/exercism_elixir
b32981727c4aaec444680838db4014d70c983f5d
[ "MIT" ]
null
null
null
accumulate/accumulate.exs
lpvm/exercism_elixir
b32981727c4aaec444680838db4014d70c983f5d
[ "MIT" ]
null
null
null
accumulate/accumulate.exs
lpvm/exercism_elixir
b32981727c4aaec444680838db4014d70c983f5d
[ "MIT" ]
null
null
null
defmodule Accumulate do @doc """ Given a list and a function, apply the function to each list item and replace it with the function's return value. Returns a list. ## Examples iex> Accumulate.accumulate([], fn(x) -> x * 2 end) [] iex> Accumulate.accumulate([1, 2, 3], fn(x) -> x *...
20.0625
73
0.58567
9e9a1ecd651777dca590582ed3e546e77575d3a2
1,277
exs
Elixir
config/config.exs
drbawb/hls_admin
237df356d01b0390821e6f0aacd1ec0fe9fdef4b
[ "BSD-3-Clause" ]
1
2020-12-22T08:30:37.000Z
2020-12-22T08:30:37.000Z
config/config.exs
drbawb/hls_admin
237df356d01b0390821e6f0aacd1ec0fe9fdef4b
[ "BSD-3-Clause" ]
8
2020-10-12T18:51:41.000Z
2021-06-16T18:48:36.000Z
config/config.exs
drbawb/hls_admin
237df356d01b0390821e6f0aacd1ec0fe9fdef4b
[ "BSD-3-Clause" ]
null
null
null
# This file is responsible for configuring your application # and its dependencies with the aid of the Mix.Config module. # # This configuration file is loaded before any dependency and # is restricted to this project. # General application configuration use Mix.Config config :hls_admin, ecto_repos: [HlsAdmin.Repo]...
31.146341
86
0.774471
9e9a36b5d7ea62013a29ff769ef5d014b04afd41
2,334
ex
Elixir
lib/telecms_web.ex
carbon-hvze/telecms
72db81c4321cd85f8b516ef5ee1c169a7cc753d1
[ "MIT" ]
1
2022-02-17T03:00:39.000Z
2022-02-17T03:00:39.000Z
lib/telecms_web.ex
carbon-hvze/telecms
72db81c4321cd85f8b516ef5ee1c169a7cc753d1
[ "MIT" ]
null
null
null
lib/telecms_web.ex
carbon-hvze/telecms
72db81c4321cd85f8b516ef5ee1c169a7cc753d1
[ "MIT" ]
null
null
null
defmodule TelecmsWeb do @moduledoc """ The entrypoint for defining your web interface, such as controllers, views, channels and so on. This can be used in your application as: use TelecmsWeb, :controller use TelecmsWeb, :view The definitions below will be executed for every view, controller, ...
21.611111
81
0.675236
9e9a79b1a6f237d2ad1c9473b2c4b89c5ebb6d92
500
exs
Elixir
apps/snitch_core/config/dev.exs
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
1
2018-12-01T18:13:55.000Z
2018-12-01T18:13:55.000Z
apps/snitch_core/config/dev.exs
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
apps/snitch_core/config/dev.exs
saurabharch/avia
74a82a95cf8bfe8143d1fce8136a3bb7ffc9467c
[ "MIT" ]
null
null
null
use Mix.Config # Configure your database config :snitch_core, Snitch.Repo, adapter: Ecto.Adapters.Postgres, username: "postgres", password: "postgres", database: "snitch_dev", hostname: "localhost", pool_size: 10 config :snitch_core, :defaults_module, Snitch.Tools.Defaults config :arc, storage: Arc.Storag...
27.777778
65
0.766
9e9a94647a0e7c7adb5a0b446b4b802b21df4108
222
ex
Elixir
plug_example/lib/plug_example/hello_world_plug.ex
acac99/elixir-exploration
ffa94af70188204882d228b5716c3c4e25f0c202
[ "MIT" ]
null
null
null
plug_example/lib/plug_example/hello_world_plug.ex
acac99/elixir-exploration
ffa94af70188204882d228b5716c3c4e25f0c202
[ "MIT" ]
1
2021-06-25T15:23:14.000Z
2021-06-25T15:23:14.000Z
plug_example/lib/plug_example/hello_world_plug.ex
acordiner92/elixir-exploration
ffa94af70188204882d228b5716c3c4e25f0c202
[ "MIT" ]
null
null
null
defmodule PlugExample.HelloWorldPlug do import Plug.Conn def init(options), do: options def call(conn, _opts) do conn |> put_resp_content_type("text/plain") |> send_resp(200, 'Hello World\n') end end
18.5
42
0.693694
9e9ab6ff214776805111966b7387fda000025d47
1,780
ex
Elixir
lib/surface/content_handler.ex
wrren/surface
c54afa57949a653ac5fa164691ebb8655b93e282
[ "MIT" ]
null
null
null
lib/surface/content_handler.ex
wrren/surface
c54afa57949a653ac5fa164691ebb8655b93e282
[ "MIT" ]
null
null
null
lib/surface/content_handler.ex
wrren/surface
c54afa57949a653ac5fa164691ebb8655b93e282
[ "MIT" ]
null
null
null
defmodule Surface.ContentHandler do @moduledoc false import Phoenix.LiveView.Helpers, only: [sigil_L: 2] defmacro __before_compile__(_env) do quote do defoverridable render: 1 def render(assigns) do assigns = unquote(__MODULE__).init_contents(assigns) super(assigns) end ...
27.384615
103
0.634831
9e9ad93929a55e9c4805f268c4e7593d33171cf9
1,982
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/external_vpn_gateway_interface.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/external_vpn_gateway_interface.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/external_vpn_gateway_interface.ex
jechol/elixir-google-api
0290b683dfc6491ca2ef755a80bc329378738d03
[ "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...
39.64
294
0.740161
9e9ae558bff5f3ae33a380590893a9ae1a8ce843
400
exs
Elixir
backend/.formatter.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
7
2020-03-27T08:26:52.000Z
2021-08-29T09:50:31.000Z
backend/.formatter.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
backend/.formatter.exs
eeng/caffe
d85d0dd56a8204c715052ddaf3d990e47c5df0e9
[ "MIT" ]
null
null
null
[ import_deps: [:ecto, :phoenix, :commanded, :absinthe], inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"], subdirectories: ["priv/*/migrations"], locals_without_parens: [ project: 2, project: 3, validates: 2, assert_error: 2, assert_contain_exactly: 2, assert...
25
80
0.63
9e9af29ce8be4e7c2b192de76ceffb94b10cb2b3
37,097
exs
Elixir
lib/elixir/test/elixir/string_test.exs
ihaveint/elixir
659261eebbd325da75ea16a20305097247630fcb
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string_test.exs
ihaveint/elixir
659261eebbd325da75ea16a20305097247630fcb
[ "Apache-2.0" ]
null
null
null
lib/elixir/test/elixir/string_test.exs
ihaveint/elixir
659261eebbd325da75ea16a20305097247630fcb
[ "Apache-2.0" ]
null
null
null
Code.require_file("test_helper.exs", __DIR__) defmodule StringTest do use ExUnit.Case, async: true doctest String test "next_codepoint/1" do assert String.next_codepoint("ésoj") == {"é", "soj"} assert String.next_codepoint(<<255>>) == {<<255>>, ""} assert String.next_codepoint("") == nil end #...
40.322826
98
0.56886
9e9af799384342e8c6a23a62719a7fa93fe4e74b
119
exs
Elixir
test/test_helper.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
test/test_helper.exs
duzzifelipe/ex-stone-openbank
5a0faa547c3aa3d7f3842739e50cca6b14337124
[ "Apache-2.0" ]
null
null
null
# Configure formatters ExUnit.configure(formatters: [JUnitFormatter, ExUnit.CLIFormatter]) # Run it :) ExUnit.start()
19.833333
67
0.773109
9e9b3de44a5e39e88d2cf8d0ef624cec4e73f49d
1,971
ex
Elixir
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_mobile_content_ads_settings.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_mobile_content_ads_settings.ex
hauptbenutzer/elixir-google-api
7b9e3a114a49cfc774a7afd03e299a0d43e4e6b2
[ "Apache-2.0" ]
null
null
null
clients/ad_sense_host/lib/google_api/ad_sense_host/v41/model/ad_unit_mobile_content_ads_settings.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 &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.578947
102
0.729579
9e9b4b4f8dfe5fba9a462f021b830e8b827df65a
1,659
ex
Elixir
clients/manufacturers/lib/google_api/manufacturers/v1/model/count.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
1
2018-12-03T23:43:10.000Z
2018-12-03T23:43:10.000Z
clients/manufacturers/lib/google_api/manufacturers/v1/model/count.ex
matehat/elixir-google-api
c1b2523c2c4cdc9e6ca4653ac078c94796b393c3
[ "Apache-2.0" ]
null
null
null
clients/manufacturers/lib/google_api/manufacturers/v1/model/count.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 ...
32.529412
112
0.720313
9e9b63a9ebeb80ff5ebd5c6781ab384058cf704f
3,627
exs
Elixir
test/options_test.exs
alde103/muontrap
61ec638c2f2bcf30a4362f70eab2efd5833bf0ca
[ "Apache-2.0" ]
null
null
null
test/options_test.exs
alde103/muontrap
61ec638c2f2bcf30a4362f70eab2efd5833bf0ca
[ "Apache-2.0" ]
null
null
null
test/options_test.exs
alde103/muontrap
61ec638c2f2bcf30a4362f70eab2efd5833bf0ca
[ "Apache-2.0" ]
null
null
null
defmodule MuonTrap.OptionsTest do use MuonTrapTest.Case alias MuonTrap.Options test "creates random cgroup path when asked" do options = Options.validate(:cmd, "echo", [], cgroup_base: "base") assert Map.has_key?(options, :cgroup_path) ["base", other] = String.split(options.cgroup_path, "/") as...
31.815789
98
0.618693
9e9b8930d1b432d2f2d1a19d4c5fdae4bdbf0e65
3,627
ex
Elixir
lib/mmo_web/channels/room_channel.ex
sudokid-software/12-day-mmo
8b3038e754078a3361de6c9b516cb192f2ef0202
[ "BSD-2-Clause" ]
1
2021-01-04T21:25:35.000Z
2021-01-04T21:25:35.000Z
lib/mmo_web/channels/room_channel.ex
visheshc14/Prisonic-Fairytale
91152fbf3662952146e29ff36a45ad20bebe4558
[ "MIT" ]
null
null
null
lib/mmo_web/channels/room_channel.ex
visheshc14/Prisonic-Fairytale
91152fbf3662952146e29ff36a45ad20bebe4558
[ "MIT" ]
null
null
null
defmodule MmoWeb.RoomChannel do use Phoenix.Channel alias Mmo.World alias Mmo.Player def join("room:lobby", _message, socket) do {player, %World{ players: players, background: background, foreground: foreground, items: items, leaf: leaf, enemies: enemies ...
26.093525
94
0.565205
9e9b9daf5e48575766793bc47c0c59391e52b0b5
874
ex
Elixir
clients/elixir/generated/lib/cloud_manager_api/model/environment.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
3
2020-06-23T05:31:52.000Z
2020-11-26T05:34:57.000Z
clients/elixir/generated/lib/cloud_manager_api/model/environment.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
2
2021-01-21T01:19:54.000Z
2021-12-09T22:30:22.000Z
clients/elixir/generated/lib/cloud_manager_api/model/environment.ex
shinesolutions/cloudmanager-api-clients
d73a25878f6cc57af954362ba8dccc90d54e6131
[ "Apache-2.0" ]
1
2020-11-18T11:48:13.000Z
2020-11-18T11:48:13.000Z
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule CloudManagerAPI.Model.Environment do @moduledoc """ An Environment that """ @derive [Poison.Encoder] defstruct [ :"id", :"programI...
23
91
0.646453
9e9bcf220fddf17b08a025daa661dc1a1f90f7ee
50,845
exs
Elixir
test/paginator_test.exs
KnotchLabs/paginator
591adad651b42905338aec96eda82e83d4f4e6cd
[ "MIT" ]
null
null
null
test/paginator_test.exs
KnotchLabs/paginator
591adad651b42905338aec96eda82e83d4f4e6cd
[ "MIT" ]
null
null
null
test/paginator_test.exs
KnotchLabs/paginator
591adad651b42905338aec96eda82e83d4f4e6cd
[ "MIT" ]
null
null
null
defmodule PaginatorTest do use Paginator.DataCase doctest Paginator alias Calendar.DateTime, as: DT alias Paginator.Cursor setup :create_customers_and_payments test "paginates forward", %{ payments: {p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14} } do opts = [cursor_fields: [:cha...
35.705758
106
0.562297
9e9bd4c2b3acf85eb970713631c873f4e8188b09
758
ex
Elixir
lib/binance/ticker.ex
dwarvesf/ex_binance
ed55e4b363c1cca54401b3b7d0e76c34e8797877
[ "MIT" ]
52
2018-01-16T23:38:06.000Z
2022-02-14T11:05:47.000Z
lib/binance/ticker.ex
Cinderella-Man/binance.ex
8735ed9582f8aebb947f766e53d2418060f69197
[ "MIT" ]
56
2018-02-24T15:10:29.000Z
2022-03-28T19:05:41.000Z
lib/binance/ticker.ex
Cinderella-Man/binance.ex
8735ed9582f8aebb947f766e53d2418060f69197
[ "MIT" ]
37
2018-01-20T14:56:56.000Z
2022-03-03T20:18:30.000Z
defmodule Binance.Ticker do @moduledoc """ Struct for representing a result row as returned by /api/v1/ticker/24hr ``` defstruct [ :price_change, :price_change_percent, :weighted_avg_price, :prev_close_price, :last_price, :bid_price, :ask_price, :open_price, :high_price, ...
15.791667
73
0.612137
9e9be61a5a6824cddedd71fb23cbf7ae9412b6c6
17,839
ex
Elixir
lib/tesla/adapter/gun.ex
DubberSoftware/tesla
35db1a1687db2b7ac9d68613aa257d5a9a322a88
[ "MIT" ]
null
null
null
lib/tesla/adapter/gun.ex
DubberSoftware/tesla
35db1a1687db2b7ac9d68613aa257d5a9a322a88
[ "MIT" ]
null
null
null
lib/tesla/adapter/gun.ex
DubberSoftware/tesla
35db1a1687db2b7ac9d68613aa257d5a9a322a88
[ "MIT" ]
null
null
null
if Code.ensure_loaded?(:gun) do defmodule Tesla.Adapter.Gun do @moduledoc """ Adapter for [gun](https://github.com/ninenines/gun). Remember to add `{:gun, "~> 1.3"}`, `{:idna, "~> 6.0"}` and `{:castore, "~> 0.1"}` to dependencies. In version 1.3 gun sends `host` header with port. Fixed in master bra...
31.969534
125
0.591513
9e9c16aba8400942bae9395b57e575f31cc27e14
314
exs
Elixir
test/phoenix/project_test.exs
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
test/phoenix/project_test.exs
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
test/phoenix/project_test.exs
fishcakez/phoenix
97fbd73a475ae918ef29a87ad580ab2ab6d967d2
[ "MIT" ]
null
null
null
defmodule Phoenix.ProjectTest do use ExUnit.Case alias Phoenix.Project test "root_module/0 returns the root module from Mix" do assert Project.module_root == :Phoenix end test "modules/0 returns a Stream of all modules in project" do assert Project.modules |> Enum.all?(&is_atom(&1)) end end
24.153846
64
0.732484
9e9c3d8c2e04a3400d193460f53e6ef052509bb0
108
ex
Elixir
apps/speedrun/lib/speedrun/repo.ex
brunobamaral/speedrun
b439e03a0a06c53c03824cb8a37fd55e4aef8e35
[ "Apache-2.0" ]
null
null
null
apps/speedrun/lib/speedrun/repo.ex
brunobamaral/speedrun
b439e03a0a06c53c03824cb8a37fd55e4aef8e35
[ "Apache-2.0" ]
null
null
null
apps/speedrun/lib/speedrun/repo.ex
brunobamaral/speedrun
b439e03a0a06c53c03824cb8a37fd55e4aef8e35
[ "Apache-2.0" ]
null
null
null
defmodule Speedrun.Repo do use Ecto.Repo, otp_app: :speedrun, adapter: Ecto.Adapters.Postgres end
18
35
0.731481
9e9c8edf8bce16c0f9e6b5801b0ff5012ec8b7ba
6,614
ex
Elixir
lib/oli_web/views/page_delivery_view.ex
jrissler/oli-torus
747f9e4360163d76a6ca5daee3aab1feab0c99b1
[ "MIT" ]
1
2022-03-17T20:35:47.000Z
2022-03-17T20:35:47.000Z
lib/oli_web/views/page_delivery_view.ex
jrissler/oli-torus
747f9e4360163d76a6ca5daee3aab1feab0c99b1
[ "MIT" ]
9
2021-11-02T16:52:09.000Z
2022-03-25T15:14:01.000Z
lib/oli_web/views/page_delivery_view.ex
marc-hughes/oli-torus-1
aa3c9bb2d91b678a365be839761eaf86c60ee35c
[ "MIT" ]
null
null
null
defmodule OliWeb.PageDeliveryView do use OliWeb, :view use Phoenix.Component alias Oli.Resources.ResourceType alias Oli.Resources.Numbering alias Oli.Delivery.Hierarchy.HierarchyNode alias OliWeb.Router.Helpers, as: Routes alias Oli.Delivery.Attempts.Core alias Oli.Resources.Revision import Oli.Util...
29.136564
111
0.632749
9e9ca37d0038a5138439930c313f329706115758
9,425
ex
Elixir
lib/xattr.ex
SoftwareMansion/elixir-xattr
3deb77e42bb599c40448703c4e40e85566351b85
[ "MIT" ]
null
null
null
lib/xattr.ex
SoftwareMansion/elixir-xattr
3deb77e42bb599c40448703c4e40e85566351b85
[ "MIT" ]
2
2019-03-16T18:42:23.000Z
2019-03-17T10:17:13.000Z
lib/xattr.ex
SoftwareMansion/elixir-xattr
3deb77e42bb599c40448703c4e40e85566351b85
[ "MIT" ]
1
2019-03-16T18:39:44.000Z
2019-03-16T18:39:44.000Z
defmodule Xattr do import Xattr.Nif @moduledoc ~S""" API module for accessing custom extended filesystem attributes. Attributes managed by this module are stored in isolation, in custom namespace. Because implementation concepts of extended attributes differ in supported platforms, it would not be possibl...
28.82263
155
0.62313
9e9cc5aa04cbce87700647e973fcbda78ebb27eb
1,832
ex
Elixir
lib/ig/rest_client.ex
frathon/ig
21d809ddfe389dd7a7b8ea75979510114e31dece
[ "MIT" ]
1
2020-01-21T12:01:29.000Z
2020-01-21T12:01:29.000Z
lib/ig/rest_client.ex
frathon/ig
21d809ddfe389dd7a7b8ea75979510114e31dece
[ "MIT" ]
null
null
null
lib/ig/rest_client.ex
frathon/ig
21d809ddfe389dd7a7b8ea75979510114e31dece
[ "MIT" ]
1
2020-01-27T23:13:11.000Z
2020-01-27T23:13:11.000Z
defmodule Ig.RestClient do @live_endpoint "https://api.ig.com/gateway/deal" @demo_endpoint "https://demo-api.ig.com/gateway/deal" def login(is_demo, identifier, password, api_key) do {:ok, %HTTPoison.Response{} = response} = post(is_demo, '/session', %{identifier: identifier, password: password}, [ ...
26.550725
98
0.599891
9e9ce3fbddc387757f9b0cfe6247199c443ede30
2,204
exs
Elixir
config/dev.exs
Hiyori-API/checker-mal
c52f6e8a248ba160ffebc2c9369a933fc8fc4499
[ "MIT" ]
null
null
null
config/dev.exs
Hiyori-API/checker-mal
c52f6e8a248ba160ffebc2c9369a933fc8fc4499
[ "MIT" ]
null
null
null
config/dev.exs
Hiyori-API/checker-mal
c52f6e8a248ba160ffebc2c9369a933fc8fc4499
[ "MIT" ]
null
null
null
import Config # Configure your database config :checker_mal, CheckerMal.Repo, username: "postgres", password: "postgres", database: "checker_mal_dev", hostname: "localhost", show_sensitive_data_on_connection_error: true, pool_size: 10 config :checker_mal, mal_wait_time: 10 # For development, we disable...
27.55
68
0.696461
9e9d044ed9c7f7ac64b654ff768fe59420f42715
6,140
ex
Elixir
lib/harald/hci/commands/le_controller/create_connection.ex
smartrent/harald
158a69bc2b70b3f51d67bd935d223a42a3633d68
[ "MIT" ]
3
2020-08-07T02:09:09.000Z
2020-08-28T12:25:48.000Z
lib/harald/hci/commands/le_controller/create_connection.ex
smartrent/harald
158a69bc2b70b3f51d67bd935d223a42a3633d68
[ "MIT" ]
null
null
null
lib/harald/hci/commands/le_controller/create_connection.ex
smartrent/harald
158a69bc2b70b3f51d67bd935d223a42a3633d68
[ "MIT" ]
null
null
null
defmodule Harald.HCI.Command.LEController.CreateConnection do use Harald.HCI.Command.LEController, ocf: 0x000D @moduledoc """ The HCI_LE_Create_Connection command is used to create an ACL connection to a connectable advertiser Bluetooth Core Version 5.2 | Vol 4, Part E, section 7.8.12 * OGF: `#{inspect(@...
40.662252
82
0.742345
9e9d2f79ba504a30dbcbd1709294f48c565ee10f
1,565
ex
Elixir
lib/nostrum/struct/voice_state.ex
jos-b/nostrum
baf5c9de9f17c3bd99c5c06a454e03cc448aad1c
[ "MIT" ]
1
2020-12-08T23:47:17.000Z
2020-12-08T23:47:17.000Z
lib/nostrum/struct/voice_state.ex
jos-b/nostrum
baf5c9de9f17c3bd99c5c06a454e03cc448aad1c
[ "MIT" ]
null
null
null
lib/nostrum/struct/voice_state.ex
jos-b/nostrum
baf5c9de9f17c3bd99c5c06a454e03cc448aad1c
[ "MIT" ]
null
null
null
defmodule Nostrum.Struct.VoiceState do @moduledoc false alias Nostrum.Voice.Session alias Porcelain.Process, as: Proc defstruct [ :guild_id, :channel_id, :gateway, :session, :token, :secret_key, :session_pid, :ssrc, :speaking, :ip, :port, :udp_socket, :rtp_s...
19.5625
57
0.61278
9e9d3ebf5c3911f9ec1d092211949b4580b0eafc
162
exs
Elixir
priv/repo/migrations/20210225080145_update_tx.exs
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
2
2021-02-12T09:21:56.000Z
2021-02-22T08:52:20.000Z
priv/repo/migrations/20210225080145_update_tx.exs
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
4
2021-02-22T08:53:43.000Z
2021-06-09T09:24:46.000Z
priv/repo/migrations/20210225080145_update_tx.exs
WeLightProject/WeLight-Portal
6e701469423e3a62affdc415c4e8c186d603d324
[ "MIT" ]
null
null
null
defmodule SuperIssuer.Repo.Migrations.UpdateTx do use Ecto.Migration def change do alter table :tx do add :contract_id, :integer end end end
16.2
49
0.709877
9e9d574c920592dff19c8831e7c8a95bf270a60d
2,249
exs
Elixir
mix.exs
esl/quantum-core
9f14e2d3cff83047f55691264c0a4040ffd3ad97
[ "Apache-2.0" ]
null
null
null
mix.exs
esl/quantum-core
9f14e2d3cff83047f55691264c0a4040ffd3ad97
[ "Apache-2.0" ]
null
null
null
mix.exs
esl/quantum-core
9f14e2d3cff83047f55691264c0a4040ffd3ad97
[ "Apache-2.0" ]
1
2022-03-06T10:24:39.000Z
2022-03-06T10:24:39.000Z
defmodule Quantum.Mixfile do @moduledoc false use Mix.Project @version "2.3.4" def project do [ app: :quantum, build_embedded: Mix.env() == :prod, deps: deps(), description: "Cron-like job scheduler for Elixir.", docs: docs(), elixir: "~> 1.8", name: "Quantum", ...
25.556818
97
0.54024
9e9db05bb3a826e8f6add1f3a3cdc4811619307c
144
ex
Elixir
lib/epi_locator_web/controllers/health_check_controller.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
null
null
null
lib/epi_locator_web/controllers/health_check_controller.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
6
2021-10-19T01:55:57.000Z
2022-02-15T01:04:19.000Z
lib/epi_locator_web/controllers/health_check_controller.ex
RatioPBC/epi-locator
58c90500c4e0071ce365d76ec9812f9051d6a9f9
[ "Apache-2.0" ]
2
2022-01-21T08:38:50.000Z
2022-01-21T08:42:04.000Z
defmodule EpiLocatorWeb.HealthCheckController do use EpiLocatorWeb, :controller def index(conn, _params) do text(conn, "OK") end end
18
48
0.75
9e9db2d2262572ffbcce3f0790fa0f95b05ca042
504
ex
Elixir
lib/mix/tasks/check_and_stop_server.ex
TenTakano/Minecraft_Controller
a118a6e9694da3c0fdfa9ec93872790d38f093e3
[ "MIT" ]
null
null
null
lib/mix/tasks/check_and_stop_server.ex
TenTakano/Minecraft_Controller
a118a6e9694da3c0fdfa9ec93872790d38f093e3
[ "MIT" ]
29
2021-02-13T06:54:56.000Z
2021-06-06T09:55:36.000Z
lib/mix/tasks/check_and_stop_server.ex
TenTakano/Minecraft_Controller
a118a6e9694da3c0fdfa9ec93872790d38f093e3
[ "MIT" ]
null
null
null
defmodule Mix.Tasks.CheckAndStopServer do use Mix.Task alias MinecraftController.RCON alias MinecraftController.EC2 def run(_) do with( {:ok, player_list} <- RCON.get_player_list(), true <- is_able_to_shutdown(player_list), {:ok, _} <- RCON.stop_server() ) do EC2.stop_instance(...
21.913043
51
0.666667
9e9deadd0fc1f4dcf514fc5f745c47f3656b23c9
1,090
ex
Elixir
apps/legion/lib/identity/auth/access_control/permission_set.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
1
2021-01-04T11:06:12.000Z
2021-01-04T11:06:12.000Z
apps/legion/lib/identity/auth/access_control/permission_set.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
3
2021-01-30T06:40:37.000Z
2021-01-30T06:41:08.000Z
apps/legion/lib/identity/auth/access_control/permission_set.ex
i386-64/legion
41ae99af9be962d7fb38726ddf4bb0456edb5ca4
[ "Apache-2.0" ]
null
null
null
defmodule Legion.Identity.Auth.AccessControl.PermissionSet do @moduledoc """ Contains a group of permissions to enhance ease of usage. """ use Legion.Stereotype, :model alias Legion.Identity.Information.Registration @env Application.get_env(:legion, Legion.Identity.Auth.AccessControl) @name_length Keywo...
34.0625
105
0.724771
9e9dfda1a8ac27aba8aec2d4c96709eda91f2b56
4,002
ex
Elixir
lib/github/merge/api.ex
Simspace/bors-n
a8e8358d3a5e1e5056745e1811eef35d770b13d1
[ "Apache-2.0" ]
null
null
null
lib/github/merge/api.ex
Simspace/bors-n
a8e8358d3a5e1e5056745e1811eef35d770b13d1
[ "Apache-2.0" ]
56
2021-06-16T19:23:06.000Z
2022-03-28T15:11:50.000Z
lib/github/merge/api.ex
Simspace/bors-n
a8e8358d3a5e1e5056745e1811eef35d770b13d1
[ "Apache-2.0" ]
5
2020-11-18T23:38:29.000Z
2021-09-30T17:45:56.000Z
defmodule BorsNG.GitHub.Merge.API do @moduledoc """ Merge together batch patches using GitHub's API. This is the default. """ alias BorsNG.Worker.Batcher alias BorsNG.Database.Repo alias BorsNG.Database.Project alias BorsNG.GitHub require Logger def merge_batch!(batch, patch_links, base) do pr...
28.791367
114
0.577711
9e9e06bddf2f94199cf5c05f67c89018ccfadbe8
3,758
ex
Elixir
lib/exfile_b2/local_cache.ex
keichan34/exfile-b2
4251f5c8fba6b11980d048c5e8bdcf1d4407984d
[ "MIT" ]
8
2016-01-08T09:16:50.000Z
2019-05-10T19:44:29.000Z
lib/exfile_b2/local_cache.ex
keichan34/exfile-b2
4251f5c8fba6b11980d048c5e8bdcf1d4407984d
[ "MIT" ]
3
2016-03-28T12:10:10.000Z
2016-08-16T06:03:18.000Z
lib/exfile_b2/local_cache.ex
keichan34/exfile-b2
4251f5c8fba6b11980d048c5e8bdcf1d4407984d
[ "MIT" ]
2
2016-07-02T23:35:50.000Z
2019-09-15T14:59:43.000Z
defmodule ExfileB2.LocalCache do @moduledoc """ The manager for ExfileB2's local cache of files. """ use GenServer # In ms, 30 seconds. @vacuum_interval 30_000 def start_link do GenServer.start_link(__MODULE__, :ok, name: __MODULE__) end def fetch(key), do: GenServer.call(__MODULE__, {:fet...
25.053333
88
0.611495
9e9e2bb965267b4d745d48baefe88a6eceec3c74
1,134
exs
Elixir
test/level_web/graphql/queries/list_bookmarks_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
928
2018-04-03T16:18:11.000Z
2019-09-09T17:59:55.000Z
test/level_web/graphql/queries/list_bookmarks_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
74
2018-04-03T00:46:50.000Z
2019-03-10T18:57:27.000Z
test/level_web/graphql/queries/list_bookmarks_test.exs
mindriot101/level
0a2cbae151869c2d9b79b3bfb388f5d00739ae12
[ "Apache-2.0" ]
89
2018-04-03T17:33:20.000Z
2019-08-19T03:40:20.000Z
defmodule LevelWeb.GraphQL.ListBookmarksTest do use LevelWeb.ConnCase, async: true import LevelWeb.GraphQL.TestHelpers alias Level.Groups @query """ query GetBookmarkedGroups( $space_id: ID! ) { spaceUser(spaceId: $space_id) { bookmarks { name } } } ""...
24.652174
89
0.590829
9e9e3b6952a6d63634d348c4af1e8199ee00d72b
557
ex
Elixir
lib/supreme_tsugu_chan_web/router.ex
c18t/supreme-tsugu-chan
9d1d4cffcd917f2454a8a2918389ea239f2a6cdc
[ "MIT" ]
null
null
null
lib/supreme_tsugu_chan_web/router.ex
c18t/supreme-tsugu-chan
9d1d4cffcd917f2454a8a2918389ea239f2a6cdc
[ "MIT" ]
null
null
null
lib/supreme_tsugu_chan_web/router.ex
c18t/supreme-tsugu-chan
9d1d4cffcd917f2454a8a2918389ea239f2a6cdc
[ "MIT" ]
null
null
null
defmodule SupremeTsuguChanWeb.Router do use SupremeTsuguChanWeb, :router pipeline :browser do plug :accepts, ["html"] plug :fetch_session plug :fetch_flash plug :protect_from_forgery plug :put_secure_browser_headers end pipeline :api do plug :accepts, ["json"] end scope "/", Supre...
20.62963
57
0.70018
9e9e504d7b26ea191712b0e9342cc96e94baa65d
2,323
exs
Elixir
test/remitano/remitano_test.exs
HPJM/crypto_apis
fe8b191a7b95ec3d066bf1881277c3f920df1457
[ "MIT" ]
null
null
null
test/remitano/remitano_test.exs
HPJM/crypto_apis
fe8b191a7b95ec3d066bf1881277c3f920df1457
[ "MIT" ]
null
null
null
test/remitano/remitano_test.exs
HPJM/crypto_apis
fe8b191a7b95ec3d066bf1881277c3f920df1457
[ "MIT" ]
null
null
null
defmodule CryptoApis.RemitanoTest do use ExUnit.Case import Mock alias CryptoApis.Remitano import CryptoApis.Fixtures describe "order_book" do test "order_book/1 responds ok" do with_mock HTTPoison, get: fn url, _headers, options -> {:ok, successful_response(url: url, options: opt...
29.782051
98
0.62204
9e9e52dee05f263304a1e2bb5c1950295c95120d
1,892
ex
Elixir
lib/sftp/stream.ex
wstucco/sftp_ex
33e60c691a1aece024aca9d163b8aa24100d9d7d
[ "MIT" ]
null
null
null
lib/sftp/stream.ex
wstucco/sftp_ex
33e60c691a1aece024aca9d163b8aa24100d9d7d
[ "MIT" ]
null
null
null
lib/sftp/stream.ex
wstucco/sftp_ex
33e60c691a1aece024aca9d163b8aa24100d9d7d
[ "MIT" ]
null
null
null
defmodule SFTP.Stream do @moduledoc " A stream to download/upload a file from a server through SFTP " alias SFTP.AccessService, as: AccessSvc alias SFTP.TransferService, as: TransferSvc defstruct connection: nil, path: nil, byte_length: 32768 @type t :: %__MODULE__{} @doc false def __build__(connec...
30.516129
100
0.607822
9e9e8192e41116b5b4222ac741bf265a96a15eac
475
ex
Elixir
lib/rasa_sdk/model/template_description.ex
r26D/rasa-sdk-elixir
65da9444add5da2e2c0989c36bcbdf902733c709
[ "Apache-2.0" ]
2
2020-09-24T09:58:52.000Z
2021-02-08T12:35:55.000Z
lib/rasa_sdk/model/template_description.ex
r26D/rasa-sdk-elixir
65da9444add5da2e2c0989c36bcbdf902733c709
[ "Apache-2.0" ]
null
null
null
lib/rasa_sdk/model/template_description.ex
r26D/rasa-sdk-elixir
65da9444add5da2e2c0989c36bcbdf902733c709
[ "Apache-2.0" ]
null
null
null
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). # https://openapi-generator.tech # Do not edit the class manually. defmodule RasaSDK.Model.TemplateDescription do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :text ] @type t :: %__MODULE__{ ...
19
91
0.682105
9e9e83fde854743cced956778f34ef0b6f44a0d2
705
exs
Elixir
test/inmana_web/views/restaurants_view_test.exs
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
null
null
null
test/inmana_web/views/restaurants_view_test.exs
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
null
null
null
test/inmana_web/views/restaurants_view_test.exs
alexfariac/inmana
8ff51040c7c4902ef7a62b129373e5cad054c275
[ "MIT" ]
null
null
null
defmodule InmanaWeb.RestaurantsViewTest do use InmanaWeb.ConnCase, async: true import Phoenix.View alias InmanaWeb.RestaurantsView alias Inmana.Restaurant describe "render/2" do test "Renders create.json" do params = %{name: "Siri Cascudo", email: "siri@cascudo.com"} {:ok, restaurant} = In...
25.178571
79
0.597163
9e9ec15811ec732900e7cf1bf34ae390f5d477c3
379
ex
Elixir
test/factories/assessments/submission_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
null
null
null
test/factories/assessments/submission_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
10
2022-02-24T17:57:38.000Z
2022-03-31T07:43:05.000Z
test/factories/assessments/submission_factory.ex
Hou-Rui/cadet
f9036d76005bf3b267b632dce176067ae1a19f71
[ "Apache-2.0" ]
1
2019-07-17T15:51:58.000Z
2019-07-17T15:51:58.000Z
defmodule Cadet.Assessments.SubmissionFactory do @moduledoc """ Factory for the Submission entity """ defmacro __using__(_opts) do quote do alias Cadet.Assessments.Submission def submission_factory do %Submission{ student: build(:user, %{role: :student}), assessment...
19.947368
51
0.635884
9e9ed5274dc0b61df738021f189b6d3512cab7df
1,359
ex
Elixir
lib/codes/codes_w67.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_w67.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_w67.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_W67 do alias IcdCode.ICDCode def _W67XXXA do %ICDCode{full_code: "W67XXXA", category_code: "W67", short_code: "XXXA", full_name: "Accidental drowning and submersion while in swimming-pool, initial encounter", short_name: "Accidental drowning...
39.970588
106
0.688006
9e9ed695f43304a3176eb45f8c78e49a7c81ff70
1,867
ex
Elixir
lib/rayray/world.ex
ckampfe/rayray
933f5fc095c8e959adf2f685ead4e780f766e451
[ "MIT" ]
null
null
null
lib/rayray/world.ex
ckampfe/rayray
933f5fc095c8e959adf2f685ead4e780f766e451
[ "MIT" ]
null
null
null
lib/rayray/world.ex
ckampfe/rayray
933f5fc095c8e959adf2f685ead4e780f766e451
[ "MIT" ]
null
null
null
defmodule Rayray.World do alias Rayray.Intersect alias Rayray.Intersection alias Rayray.Lights alias Rayray.Material alias Rayray.Matrix alias Rayray.Ray alias Rayray.Sphere alias Rayray.Tuple defstruct objects: [], light: nil def new() do %__MODULE__{} end def default() do light = Li...
23.3375
91
0.647563
9e9edab659c0b9e7b4736c2297ef6d923d6e2cfa
1,806
ex
Elixir
lib/codes/codes_a23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_a23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
lib/codes/codes_a23.ex
badubizzle/icd_code
4c625733f92b7b1d616e272abc3009bb8b916c0c
[ "Apache-2.0" ]
null
null
null
defmodule IcdCode.ICDCode.Codes_A23 do alias IcdCode.ICDCode def _A230 do %ICDCode{full_code: "A230", category_code: "A23", short_code: "0", full_name: "Brucellosis due to Brucella melitensis", short_name: "Brucellosis due to Brucella melitensis", category_name: ...
29.606557
65
0.602436
9e9eedccc8112dac7d6a7d5e72a0380fcdc99874
13,237
ex
Elixir
clients/big_query/lib/google_api/big_query/v2/model/table.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/table.ex
yoshi-code-bot/elixir-google-api
cdb6032f01fac5ab704803113c39f2207e9e019d
[ "Apache-2.0" ]
null
null
null
clients/big_query/lib/google_api/big_query/v2/model/table.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...
81.208589
487
0.712775
9e9f13ed67bbbf7e87cbecca24262f40c648faa1
3,052
exs
Elixir
apps/fz_http/mix.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
apps/fz_http/mix.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
apps/fz_http/mix.exs
kaku-io/firezone
685da0064727df27e444fe4da2be20efe96af9cd
[ "Apache-2.0" ]
null
null
null
defmodule FzHttp.MixProject do use Mix.Project @version_path "../../scripts/version.exs" def version do Code.eval_file(@version_path) |> elem(0) end def project do [ app: :fz_http, version: version(), build_path: "../../_build", config_path: "../../config/config.exs", ...
28
96
0.545544
9e9f22bdd594f207f90fb7ae9218c72b328f35ad
5,699
ex
Elixir
lib/clickhousex/protocol.ex
moldmn/clickhousex
b39016714e346490ff8e9c4432006827612fba11
[ "Apache-2.0" ]
43
2018-04-02T07:00:44.000Z
2020-08-14T18:47:26.000Z
lib/clickhousex/protocol.ex
moldmn/clickhousex
b39016714e346490ff8e9c4432006827612fba11
[ "Apache-2.0" ]
21
2020-09-07T08:19:59.000Z
2021-08-25T03:46:38.000Z
lib/clickhousex/protocol.ex
moldmn/clickhousex
b39016714e346490ff8e9c4432006827612fba11
[ "Apache-2.0" ]
22
2018-08-08T07:45:44.000Z
2020-09-01T07:58:54.000Z
defmodule Clickhousex.Protocol do @moduledoc false use DBConnection alias Clickhousex.Error alias Clickhousex.HTTPClient, as: Client defstruct conn_opts: [], base_address: "", conn: nil @type state :: %__MODULE__{ conn_opts: Keyword.t(), base_address: String.t(), conn: Mint...
25.328889
101
0.586594
9e9f57923d742843efb580f69797b34b71648cab
6,548
ex
Elixir
clients/service_networking/lib/google_api/service_networking/v1/model/add_subnetwork_request.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/add_subnetwork_request.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "Apache-2.0" ]
null
null
null
clients/service_networking/lib/google_api/service_networking/v1/model/add_subnetwork_request.ex
MMore/elixir-google-api
0574ec1439d9bbfe22d63965be1681b0f45a94c9
[ "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...
71.173913
434
0.727856
9e9f8b732a7199c2ffb6957800549b0c18f839d1
1,774
ex
Elixir
lib/ex_doc/markdown/earmark.ex
zoldar/ex_doc
f2ca5d1f4f85650b55460bc08e4d17a00f9f0d75
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
lib/ex_doc/markdown/earmark.ex
zoldar/ex_doc
f2ca5d1f4f85650b55460bc08e4d17a00f9f0d75
[ "Apache-2.0", "CC-BY-4.0" ]
2
2020-12-04T22:03:31.000Z
2022-03-02T10:00:23.000Z
lib/ex_doc/markdown/earmark.ex
bonomali/ex_doc
d22cdad512fbfd8bfc44b417c680b1105c8aa19a
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
defmodule ExDoc.Markdown.Earmark do @moduledoc """ ExDoc extension for the Earmark MarkDown parser. """ @behaviour ExDoc.Markdown # Callback implementations def assets(arg), do: ExDoc.Highlighter.assets(arg) def before_closing_head_tag(arg), do: ExDoc.Highlighter.before_closing_head_tag(arg) def befo...
32.254545
95
0.687711
9e9fc76933db98c6c28d9f20ae268b0434700f9f
98
ex
Elixir
lib/bnb/repo.ex
hazen/bnb
0a638423ee2903fe54456845fdad5ea90fe1ebc8
[ "MIT" ]
null
null
null
lib/bnb/repo.ex
hazen/bnb
0a638423ee2903fe54456845fdad5ea90fe1ebc8
[ "MIT" ]
2
2021-03-09T08:43:51.000Z
2021-05-09T06:31:23.000Z
lib/bnb/repo.ex
hazen/bnb
0a638423ee2903fe54456845fdad5ea90fe1ebc8
[ "MIT" ]
null
null
null
defmodule Bnb.Repo do use Ecto.Repo, otp_app: :bnb, adapter: Ecto.Adapters.Postgres end
16.333333
35
0.704082
9e9fdc4da06e69aec818199fb23e59bcc40d51e8
3,285
ex
Elixir
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta2_document_revision.ex
renovate-bot/elixir-google-api
1da34cd39b670c99f067011e05ab90af93fef1f6
[ "Apache-2.0" ]
1
2021-12-20T03:40:53.000Z
2021-12-20T03:40:53.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta2_document_revision.ex
swansoffiee/elixir-google-api
9ea6d39f273fb430634788c258b3189d3613dde0
[ "Apache-2.0" ]
1
2020-08-18T00:11:23.000Z
2020-08-18T00:44:16.000Z
clients/document_ai/lib/google_api/document_ai/v1beta3/model/google_cloud_documentai_v1beta2_document_revision.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...
43.223684
259
0.712329
9e9fdd14e5f23e37393a3f43c00adc01f05058a5
702
ex
Elixir
lib/axon_web/gettext.ex
MattFerraro/Axon
9c41c617ffd4a8dac89319d2f26f5736d9f96ca4
[ "MIT" ]
null
null
null
lib/axon_web/gettext.ex
MattFerraro/Axon
9c41c617ffd4a8dac89319d2f26f5736d9f96ca4
[ "MIT" ]
null
null
null
lib/axon_web/gettext.ex
MattFerraro/Axon
9c41c617ffd4a8dac89319d2f26f5736d9f96ca4
[ "MIT" ]
null
null
null
defmodule AxonWeb.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 AxonWeb.Gettext # Simple translation gettext("Here is the str...
28.08
72
0.673789
9e9fe9bd82b717cf4a2d4279a0e5817fbc1f1094
607
exs
Elixir
day19/test/day19_test.exs
bjorng/advent-of-code-2017
bd58a36864a4d82809253770f8a6d0c4e02cb59a
[ "Apache-2.0" ]
null
null
null
day19/test/day19_test.exs
bjorng/advent-of-code-2017
bd58a36864a4d82809253770f8a6d0c4e02cb59a
[ "Apache-2.0" ]
null
null
null
day19/test/day19_test.exs
bjorng/advent-of-code-2017
bd58a36864a4d82809253770f8a6d0c4e02cb59a
[ "Apache-2.0" ]
null
null
null
defmodule Day19Test do use ExUnit.Case doctest Day19 test "part 1 with example" do assert Day19.part1(example()) == 'ABCDEF' end test "part 1 with my input" do assert Day19.part1(input()) == 'GEPYAWTMLK' end test "part 2 with example" do assert Day19.part2(example()) == 38 end test "pa...
16.861111
47
0.510708
9e9ffbe98f622e76996c5aa4679b3a858a528bcb
3,085
exs
Elixir
alchemist-server/lib/helpers/module_info.exs
benjcal/vscode-elixir
ccf9457ebed29b80f8ac4f5e855cc9596d1546f6
[ "MIT" ]
221
2016-05-03T09:46:04.000Z
2021-02-20T05:08:18.000Z
alchemist-server/lib/helpers/module_info.exs
benjcal/vscode-elixir
ccf9457ebed29b80f8ac4f5e855cc9596d1546f6
[ "MIT" ]
104
2017-02-28T16:26:12.000Z
2021-02-19T22:31:03.000Z
alchemist-server/lib/helpers/module_info.exs
benjcal/vscode-elixir
ccf9457ebed29b80f8ac4f5e855cc9596d1546f6
[ "MIT" ]
59
2017-03-12T07:07:35.000Z
2021-02-26T19:41:15.000Z
Code.require_file "../helpers/introspection.exs", __DIR__ defmodule Alchemist.Helpers.ModuleInfo do @moduledoc false def moduledoc?(module) do case Code.get_docs module, :moduledoc do {_, doc} -> is_binary doc _ -> false end end def docs?(module, function) do docs = Code.get_docs mod...
24.101563
96
0.612966
9ea001f555ca15645cdd96299e30199ef60e4aee
621
ex
Elixir
testData/org/elixir_lang/parser_definition/matched_dot_call_operation_parsing_test_case/DecimalFloat.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/matched_dot_call_operation_parsing_test_case/DecimalFloat.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/matched_dot_call_operation_parsing_test_case/DecimalFloat.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
1.2e-3.() 1.2e-3.(function positional, key: value) 1.2e-3.(key_one: value_one, key_two: value_two) 1.2e-3.( &one, one <- two, one when two, one | two, one = two, one or two, one || two, one and two, one && two, one != two, one < two, one |> two, one in two, one ++ two, one..two, one + tw...
11.089286
47
0.504026
9ea00de68251e9517e6dd150513fe785cc7c8283
543
ex
Elixir
apps/subs/lib/subs/use_case.ex
gitter-badger/opensubs.io
76d5b4d355a530c8f496efe3ac2095d87f078997
[ "MIT" ]
36
2018-02-03T10:58:51.000Z
2020-09-19T20:52:17.000Z
apps/subs/lib/subs/use_case.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
8
2018-01-17T17:15:48.000Z
2020-07-06T08:56:54.000Z
apps/subs/lib/subs/use_case.ex
joaquimadraz/subs
9a26144ed660d5ece849ee447a9e5de53a311408
[ "MIT" ]
10
2018-05-21T18:20:32.000Z
2022-01-29T14:25:48.000Z
defmodule Subs.UseCase do @moduledoc """ Helper functions to build our use cases. Subs.UseCase.Flow Adds ok! and failure! functions to create a standard way of returning use case's context. """ def base do quote do import Subs.UseCase.Flow end end defmacro __using__([]) do apply(_...
16.96875
71
0.64825
9ea014d21a63ff58d2ce6138a88e6d34b5d30137
4,516
ex
Elixir
lib/ex_pesa/Mpesa/c2b.ex
MidigoF/ex_pesa
d2a62e72c67084385609c895e52a6ac52e8a9a8a
[ "AML", "MIT" ]
20
2020-08-07T18:45:03.000Z
2021-12-02T12:47:07.000Z
lib/ex_pesa/Mpesa/c2b.ex
MidigoF/ex_pesa
d2a62e72c67084385609c895e52a6ac52e8a9a8a
[ "AML", "MIT" ]
65
2020-08-17T05:52:33.000Z
2021-05-20T16:06:34.000Z
lib/ex_pesa/Mpesa/c2b.ex
MidigoF/ex_pesa
d2a62e72c67084385609c895e52a6ac52e8a9a8a
[ "AML", "MIT" ]
11
2020-08-17T07:53:02.000Z
2021-04-02T20:57:16.000Z
defmodule ExPesa.Mpesa.C2B do @moduledoc """ C2B M-Pesa API enables Paybill and Buy Goods merchants to integrate to M-Pesa and receive real time payments notifications. """ import ExPesa.Mpesa.MpesaBase @doc """ There are two URLs required for RegisterURL API: Validation URL and Confirmation URL. For th...
41.814815
215
0.702391
9ea02bda64d32a02467a1173d809847b78f054be
236
ex
Elixir
lib/beacon_web/page_management.ex
treble37/beacon
12cab02ec8bb072582ffaab60d9f21a65588e392
[ "MIT" ]
98
2021-12-22T04:37:58.000Z
2022-02-27T22:53:25.000Z
lib/beacon_web/page_management.ex
treble37/beacon
12cab02ec8bb072582ffaab60d9f21a65588e392
[ "MIT" ]
5
2021-12-24T01:10:11.000Z
2022-03-25T17:35:37.000Z
lib/beacon_web/page_management.ex
treble37/beacon
12cab02ec8bb072582ffaab60d9f21a65588e392
[ "MIT" ]
7
2021-12-24T01:09:36.000Z
2022-03-01T14:46:41.000Z
defmodule BeaconWeb.PageManagement do defmacro routes do quote do live("/pages", PageLive.Index, :index) live("/pages/new", PageLive.Index, :new) live("/page_editor/:id", PageEditorLive, :edit) end end end
23.6
53
0.661017
9ea038f2860a1acb770200aa9f3046415e9f8f97
1,259
ex
Elixir
lib/elm_phoenix_web_socket_example/application.ex
phollyer/elm-phoenix-websocket-example
147da038b5ca4f9304924124c546284f12ecfaa8
[ "BSD-3-Clause" ]
null
null
null
lib/elm_phoenix_web_socket_example/application.ex
phollyer/elm-phoenix-websocket-example
147da038b5ca4f9304924124c546284f12ecfaa8
[ "BSD-3-Clause" ]
2
2020-12-29T15:13:39.000Z
2020-12-30T01:01:02.000Z
lib/elm_phoenix_web_socket_example/application.ex
phollyer/elm-phoenix-websocket-example
147da038b5ca4f9304924124c546284f12ecfaa8
[ "BSD-3-Clause" ]
null
null
null
defmodule ElmPhoenixWebSocketExample.Application do # See https://hexdocs.pm/elixir/Application.html # for more information on OTP Applications @moduledoc false use Application def start(_type, _args) do :ets.new(:rooms_table, [:named_table, :public]) :ets.new(:users_table, [:named_table, :public]) ...
34.027027
84
0.741064
9ea07d8af7619d890eed87f05588e6c513e2e98c
307
ex
Elixir
text_client/lib/procs/procs.ex
johncoleman83/elixir-for-programmers
062d0a761e59b30909377694151655c946f48bb4
[ "MIT" ]
null
null
null
text_client/lib/procs/procs.ex
johncoleman83/elixir-for-programmers
062d0a761e59b30909377694151655c946f48bb4
[ "MIT" ]
null
null
null
text_client/lib/procs/procs.ex
johncoleman83/elixir-for-programmers
062d0a761e59b30909377694151655c946f48bb4
[ "MIT" ]
null
null
null
defmodule Procs do def greeter(count) do receive do { :reset } -> greeter(count - count) { :boom, reason } -> exit(reason) { :add, n } -> greeter(count + n) { :msg, msg } -> IO.puts "#{count} #{msg}" greeter(count + 1) end end end
19.1875
33
0.465798
9ea0caf81942f3d9e24f4c99959d74b71c997778
2,855
ex
Elixir
apps/core/lib/core/policies/repository.ex
pluralsh/plural
d33d08dee6348126334810e044b3699ef3f74819
[ "Apache-2.0" ]
59
2021-09-16T19:29:39.000Z
2022-03-31T20:44:24.000Z
apps/core/lib/core/policies/repository.ex
pluralsh/plural
d33d08dee6348126334810e044b3699ef3f74819
[ "Apache-2.0" ]
111
2021-08-15T09:56:37.000Z
2022-03-31T23:59:32.000Z
apps/core/lib/core/policies/repository.ex
pluralsh/plural
d33d08dee6348126334810e044b3699ef3f74819
[ "Apache-2.0" ]
4
2021-12-13T09:43:01.000Z
2022-03-29T18:08:44.000Z
defmodule Core.Policies.Repository do use Piazza.Policy import Core.Policies.Utils alias Core.Schema.{User, Installation, Repository, Integration, Artifact, DockerRepository, ApplyLock} def can?(%User{} = user, %Integration{} = integ, policy) do %{repository: repo} = Core.Repo.preload(integ, [:repository])...
34.39759
104
0.62627
9ea0cc4d80a9713b9dc606136a67b0e74373c115
647
exs
Elixir
apps/definition_transform/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/definition_transform/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
apps/definition_transform/mix.exs
rucker/hindsight
876a5d344c5d8eebbea37684ee07e0a91e4430f0
[ "Apache-2.0" ]
null
null
null
defmodule Transform.MixProject do use Mix.Project def project do [ app: :definition_transform, version: "0.1.0", build_path: "../../_build", config_path: "../../config/config.exs", deps_path: "../../deps", lockfile: "../../mix.lock", elixir: "~> 1.9", start_perma...
20.21875
64
0.548686
9ea0d1b43f510163605ed95c2d6f5c03eee9263c
145
ex
Elixir
MessagesBasic.ex
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
4
2016-09-22T03:47:56.000Z
2017-02-02T17:42:57.000Z
MessagesBasic.ex
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
null
null
null
MessagesBasic.ex
hectorip/ErlangExercises
4a1aa5de0504da1bfe5a6c31c1d20277524ab363
[ "MIT" ]
null
null
null
defmodule Spawn1 do def greet do receive do {sender, msg} -> send sender, {:ok, "Hallo, #{msg}"} end end end
18.125
64
0.510345
9ea0d2400afe760f6518d74cd78845664defdbb7
1,766
exs
Elixir
test/config_test.exs
samullen/d
1f3168ee8bd9fef4402edb528a394943ee31e3ab
[ "Unlicense" ]
null
null
null
test/config_test.exs
samullen/d
1f3168ee8bd9fef4402edb528a394943ee31e3ab
[ "Unlicense" ]
null
null
null
test/config_test.exs
samullen/d
1f3168ee8bd9fef4402edb528a394943ee31e3ab
[ "Unlicense" ]
null
null
null
defmodule ConfigTest do use ExUnit.Case import D.Config, only: [ parse_args: 1, parse_config: 1, ] describe "parse_args/1" do test ":help returned by option parsing with -h and --help options" do assert parse_args(["-h", "anything"]) == :help assert parse_args(["--help", "anything"])...
31.535714
105
0.631937
9ea0ecdcab1b1cf5b31ce7ca3ff6eae0d7667379
1,819
exs
Elixir
benchmarks/string_pattern_matching.exs
xiamx/lemma
2b4d7bc459f57ba9cff0f79a90b3dc9a2379398d
[ "Apache-2.0" ]
46
2017-09-12T16:49:24.000Z
2021-06-09T06:44:15.000Z
benchmarks/string_pattern_matching.exs
xiamx/lemma
2b4d7bc459f57ba9cff0f79a90b3dc9a2379398d
[ "Apache-2.0" ]
1
2017-12-08T21:03:08.000Z
2017-12-08T21:03:08.000Z
benchmarks/string_pattern_matching.exs
xiamx/lemma
2b4d7bc459f57ba9cff0f79a90b3dc9a2379398d
[ "Apache-2.0" ]
3
2017-12-08T20:57:07.000Z
2019-11-29T01:05:42.000Z
defmodule StringPatternMatching do def hash_of(i) do (:crypto.hash(:sha, "#{i}") |> Base.encode16) end defmacro generate_lemma(num) do for i <- 0..num do root = hash_of(i) quote do def lemma(unquote(root) <> suffix) do unquote(root) <> case suffix do "s" -> "" ...
26.75
106
0.698736
9ea1040e271a8e1f3904193adc196b58f667e2f0
946
ex
Elixir
test/support/channel_case.ex
macypa/storeHall
9fe810f763527cc87fa165138bdfb3cda92fa553
[ "MIT" ]
null
null
null
test/support/channel_case.ex
macypa/storeHall
9fe810f763527cc87fa165138bdfb3cda92fa553
[ "MIT" ]
4
2019-07-16T06:24:42.000Z
2021-05-07T22:26:14.000Z
test/support/channel_case.ex
macypa/storeHall
9fe810f763527cc87fa165138bdfb3cda92fa553
[ "MIT" ]
1
2018-11-23T21:13:31.000Z
2018-11-23T21:13:31.000Z
defmodule StoreHallWeb.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 interacts...
24.894737
71
0.717759
9ea128725414c07420738c4b73cddec945bfe9db
21,478
ex
Elixir
sample_app/lib/my_app_web/phoenix_params.ex
tanyakavrakova/phoenix_params
3d6a4522c7a9f3a6d55101fa45330c18f72933c1
[ "MIT" ]
null
null
null
sample_app/lib/my_app_web/phoenix_params.ex
tanyakavrakova/phoenix_params
3d6a4522c7a9f3a6d55101fa45330c18f72933c1
[ "MIT" ]
null
null
null
sample_app/lib/my_app_web/phoenix_params.ex
tanyakavrakova/phoenix_params
3d6a4522c7a9f3a6d55101fa45330c18f72933c1
[ "MIT" ]
null
null
null
defmodule PhoenixParams do @moduledoc """ A plug for Phoenix applications for validating HTTP request params. Example usage: defmodule ApiWeb.UserController do use ApiWeb, :controller plug Api.Plugs.Requests.User.Index when action in [:index] def index(conn, params) do #...
33.559375
124
0.582317
9ea132304b072805fc12c58dc7bc6ed4b28fa75e
1,059
ex
Elixir
lib/maze.ex
korczis/maze
128ca3958c9e62c4fdc53efa72799283d66b056d
[ "MIT" ]
null
null
null
lib/maze.ex
korczis/maze
128ca3958c9e62c4fdc53efa72799283d66b056d
[ "MIT" ]
3
2016-11-22T20:23:00.000Z
2016-11-22T20:23:20.000Z
lib/maze.ex
korczis/maze
128ca3958c9e62c4fdc53efa72799283d66b056d
[ "MIT" ]
null
null
null
defmodule Maze do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec # Define workers and child supervisors to be supervised children = [ worker(Maze.Users, [:"users.det...
32.090909
82
0.700661
9ea14f76ae84ea47fad18ffc7b76fcc12c4df58e
9,369
ex
Elixir
clients/service_broker/lib/google_api/service_broker/v1/api/v1.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/service_broker/lib/google_api/service_broker/v1/api/v1.ex
linjunpop/elixir-google-api
444cb2b2fb02726894535461a474beddd8b86db4
[ "Apache-2.0" ]
null
null
null
clients/service_broker/lib/google_api/service_broker/v1/api/v1.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...
47.080402
362
0.68748
9ea159597c0a190053c1374bfb0fcd49482d8281
582
ex
Elixir
lib/flagr/model/constraint.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
lib/flagr/model/constraint.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
lib/flagr/model/constraint.ex
brexhq/exflagr
9d4794aaf678831187c26341f5a2767d5535e2d6
[ "MIT" ]
null
null
null
# NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule Flagr.Model.Constraint do @moduledoc """ """ @derive [Poison.Encoder] defstruct [ :"id", :"property", :"operator", :"v...
18.1875
75
0.628866
9ea1b4376ca98f45e30a4f2c033554eb0ab1cdfc
190
ex
Elixir
lib/silver/utils.ex
elixirdrops/silver
38bfc34e5e0b8b49c9f6eee87b9181141ed2535f
[ "MIT" ]
3
2016-06-27T04:32:02.000Z
2018-03-03T06:00:12.000Z
lib/silver/utils.ex
elixirdrops/silver
38bfc34e5e0b8b49c9f6eee87b9181141ed2535f
[ "MIT" ]
null
null
null
lib/silver/utils.ex
elixirdrops/silver
38bfc34e5e0b8b49c9f6eee87b9181141ed2535f
[ "MIT" ]
null
null
null
defmodule Silver.Utils do def to_cents(amount) do (amount * 100) |> trunc end def timestamp do {_date, time} = :calendar.local_time :calendar.time_to_seconds(time) end end
19
39
0.694737
9ea1f2b5f2e735b02c6618e1619c8b4c309c916c
1,169
exs
Elixir
test/anti_entropy_test.exs
evadne/delta_crdt_ex
3ec6940edd6fdf5ee047f5e402e4054f4ad678c9
[ "MIT" ]
1
2019-11-11T16:58:03.000Z
2019-11-11T16:58:03.000Z
test/anti_entropy_test.exs
evadne/delta_crdt_ex
3ec6940edd6fdf5ee047f5e402e4054f4ad678c9
[ "MIT" ]
null
null
null
test/anti_entropy_test.exs
evadne/delta_crdt_ex
3ec6940edd6fdf5ee047f5e402e4054f4ad678c9
[ "MIT" ]
null
null
null
defmodule AntiEntropyTest do use ExUnit.Case, async: true use ExUnitProperties alias DeltaCrdt.{CausalContext, AntiEntropy} describe ".is_strict_expansion/2" do test "strict expansion" do c = CausalContext.new([{1, 0}, {1, 1}]) |> CausalContext.compress() delta_c = CausalContext.new([{1, 2}]) ...
35.424242
81
0.67237
9ea1fd76700d6599aa0f907b1aa7174cb2c7a45f
1,271
exs
Elixir
spec/assertions/result/be_error_result_spec.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
807
2015-03-25T14:00:19.000Z
2022-03-24T08:08:15.000Z
spec/assertions/result/be_error_result_spec.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
254
2015-03-27T10:12:25.000Z
2021-07-12T01:40:15.000Z
spec/assertions/result/be_error_result_spec.exs
MeneDev/espec
ec4b3d579c5192999e930224a8a2650bb1fdf0bc
[ "Apache-2.0" ]
85
2015-04-02T10:25:19.000Z
2021-01-30T21:30:43.000Z
defmodule ESpec.Assertions.BeErrorResultSpec do use ESpec, async: true describe "ESpec.Assertions" do let :error_result, do: {:error, :reason} let :ok_result, do: {:ok, :result} context "Success" do it "checks success with `to`" do message = expect(error_result()) |> to(be_error_result()...
29.55814
87
0.590087
9ea226ae0f48c4a70956bf2be29b4abf393ff934
941
exs
Elixir
test/hlds_logs/log_entry_test.exs
JonnyPower/hlds_logs
be0b58bc5f482da7c6f31cfe3e699875d40ae719
[ "MIT" ]
2
2021-09-12T00:11:44.000Z
2022-02-13T20:45:40.000Z
test/hlds_logs/log_entry_test.exs
JonnyPower/hlds_logs
be0b58bc5f482da7c6f31cfe3e699875d40ae719
[ "MIT" ]
1
2018-11-19T04:47:38.000Z
2018-11-19T04:47:38.000Z
test/hlds_logs/log_entry_test.exs
JonnyPower/hlds_logs
be0b58bc5f482da7c6f31cfe3e699875d40ae719
[ "MIT" ]
null
null
null
defmodule HLDSLogs.LogEntryTest do use ExUnit.Case doctest HLDSLogs.LogEntry test "sample produces entries" do File.stream!("test/test_sample.log") |> Stream.map(&HLDSLogs.LogEntry.from/1) |> Stream.map(fn result -> assert result.datetime != nil assert result.body != nil end) |> S...
31.366667
138
0.664187
9ea247ac471472577eebf6499fd22a4dbe0242bd
3,866
exs
Elixir
test/hornet/scheduler_test.exs
andreaswillems/hornet
a61e4518afd45ae5f2cf7ceb8c80527a7be0a174
[ "MIT" ]
null
null
null
test/hornet/scheduler_test.exs
andreaswillems/hornet
a61e4518afd45ae5f2cf7ceb8c80527a7be0a174
[ "MIT" ]
null
null
null
test/hornet/scheduler_test.exs
andreaswillems/hornet
a61e4518afd45ae5f2cf7ceb8c80527a7be0a174
[ "MIT" ]
null
null
null
defmodule Hornet.SchedulerTest do use ExUnit.Case alias Hornet.Scheduler alias Hornet.RateCounter test "starts workers which maintain rate with one worker" do func = fn -> :ok end params = [id: :test, func: func, rate: 5] {:ok, _pid} = Scheduler.start_link(params) Process.sleep(5_...
20.784946
80
0.640714
9ea275dbe2c5f96ccb333310e952ca1f2c2466e2
1,115
ex
Elixir
test/support/conn_case.ex
HandOfGod94/my_phoenix_api_template
448db20ba47872f37097754aec454aed440246b8
[ "MIT" ]
null
null
null
test/support/conn_case.ex
HandOfGod94/my_phoenix_api_template
448db20ba47872f37097754aec454aed440246b8
[ "MIT" ]
null
null
null
test/support/conn_case.ex
HandOfGod94/my_phoenix_api_template
448db20ba47872f37097754aec454aed440246b8
[ "MIT" ]
null
null
null
defmodule MyPhoenixApiTemplateWeb.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 data structures and query the data layer. F...
28.589744
82
0.734529
9ea2fcf7b5e48b7886271ed96b2513dd2abcf62a
7,201
ex
Elixir
clients/compute/lib/google_api/compute/v1/model/snapshot.ex
MechimCook/elixir-google-api
0240ede69ec77115076724d223f9d1f849ff1d6b
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/snapshot.ex
MechimCook/elixir-google-api
0240ede69ec77115076724d223f9d1f849ff1d6b
[ "Apache-2.0" ]
null
null
null
clients/compute/lib/google_api/compute/v1/model/snapshot.ex
MechimCook/elixir-google-api
0240ede69ec77115076724d223f9d1f849ff1d6b
[ "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...
69.240385
670
0.730871
9ea323283db2bb3047e462a21de6bc18cc4fe63d
3,166
ex
Elixir
lib/iex/lib/iex/history.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
19,291
2015-01-01T02:42:49.000Z
2022-03-31T21:01:40.000Z
lib/iex/lib/iex/history.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
8,082
2015-01-01T04:16:23.000Z
2022-03-31T22:08:02.000Z
lib/iex/lib/iex/history.ex
doughsay/elixir
7356a47047d0b54517bd6886603f09b1121dde2b
[ "Apache-2.0" ]
3,472
2015-01-03T04:11:56.000Z
2022-03-29T02:07:30.000Z
defmodule IEx.History do @moduledoc false alias IEx.History defstruct queue: :queue.new(), size: 0, start: 1 @doc """ Initializes IEx history state. """ def init(), do: %History{} @doc """ Appends one entry to the history. """ def append(%History{} = state, entry, limit) do {collect?, stat...
24.929134
119
0.631712
9ea32b8f876b7a87d1b747e9176b08988a2bdbb3
4,200
ex
Elixir
lib/petal_components/badge.ex
MortadaAK/petal_components
69980b96afec232715071d75d3a394ac6daf75b3
[ "MIT" ]
null
null
null
lib/petal_components/badge.ex
MortadaAK/petal_components
69980b96afec232715071d75d3a394ac6daf75b3
[ "MIT" ]
null
null
null
lib/petal_components/badge.ex
MortadaAK/petal_components
69980b96afec232715071d75d3a394ac6daf75b3
[ "MIT" ]
null
null
null
defmodule PetalComponents.Badge do use Phoenix.Component # prop label, :string # prop size, :string, options: ["xs", "sm", "md", "lg", "xl"] # prop variant, :string # prop color, :string, options: ["primary", "secondary", "info", "success", "warning", "danger", "gray"] # prop class, :css_class def badge(...
29.787234
114
0.61881
9ea33750d898daa0a9af59f153a2e1227d25cbc3
54
exs
Elixir
config/prod.exs
kommitters/stellar_sdk
4c3bb1c894b4bb34d9409c981ff008dce31bdb95
[ "MIT" ]
4
2022-01-14T16:00:07.000Z
2022-03-22T19:16:55.000Z
config/prod.exs
kommitters/stellar_sdk
4c3bb1c894b4bb34d9409c981ff008dce31bdb95
[ "MIT" ]
75
2021-08-18T16:04:12.000Z
2022-03-31T18:14:23.000Z
config/prod.exs
kommitters/stellar_sdk
4c3bb1c894b4bb34d9409c981ff008dce31bdb95
[ "MIT" ]
2
2022-01-23T03:16:43.000Z
2022-02-07T20:13:37.000Z
use Mix.Config config :stellar_sdk, network: :public
13.5
37
0.777778
9ea351e13ae9f96ed5deaf0f7286848d63eda683
214
ex
Elixir
testData/org/elixir_lang/parser_definition/at_bracket_operation_parsing_test_case/ThreeOperator.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/at_bracket_operation_parsing_test_case/ThreeOperator.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/at_bracket_operation_parsing_test_case/ThreeOperator.ex
keyno63/intellij-elixir
4033e319992c53ddd42a683ee7123a97b5e34f02
[ "Apache-2.0" ]
145
2015-01-15T11:37:16.000Z
2021-12-22T05:51:02.000Z
@Module.^^^[key: value] @Module.^^^ [key: value] @Module.^^^[()] @Module.^^^ [()] @Module.^^^[matched_expression] @Module.^^^ [matched_expression] @Module.^^^[matched_expression,] @Module.^^^ [matched_expression,]
23.777778
33
0.635514
9ea365bab1eb7ffbd37d6de06a5e8562eb255293
1,001
ex
Elixir
apps/aecore/lib/aecore/naming/naming_state_tree.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
131
2018-03-10T01:35:56.000Z
2021-12-27T13:44:41.000Z
apps/aecore/lib/aecore/naming/naming_state_tree.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
445
2018-03-12T09:46:17.000Z
2018-12-12T09:52:07.000Z
apps/aecore/lib/aecore/naming/naming_state_tree.ex
SingularityMatrix/elixir-node
ad126aa97931165185cf35454718ed2eee40ceed
[ "ISC" ]
23
2018-03-12T12:01:28.000Z
2022-03-06T09:22:17.000Z
defmodule Aecore.Naming.NamingStateTree do @moduledoc """ Top level naming state tree. """ use Aecore.Util.StateTrees, [:naming, [Aecore.Naming.Name, Aecore.Naming.NameCommitment]] alias Aecore.Naming.{Name, NameCommitment} @typedoc "Namings tree" @type namings_state() :: Trie.t() @spec process_struc...
34.517241
116
0.707293
9ea38bdf59593c28ee8937c598f4ee7c502817ac
854
ex
Elixir
lib/ria_task.ex
ria-com/elixir-task-wrapper
96e9370dafb4a31a9564e715c182a2e4aaa2d92f
[ "MIT" ]
null
null
null
lib/ria_task.ex
ria-com/elixir-task-wrapper
96e9370dafb4a31a9564e715c182a2e4aaa2d92f
[ "MIT" ]
null
null
null
lib/ria_task.ex
ria-com/elixir-task-wrapper
96e9370dafb4a31a9564e715c182a2e4aaa2d92f
[ "MIT" ]
null
null
null
defmodule Ria.Task do @moduledoc """ Ria.Task - wrapper for Elixir.Task Task.await does not wait over timeout and does not throw exeptions alias Ria.Task task = Task.async(fn -> do_some_work() end) do_some_other_work() res = Task.await(task) """ def async(func), do: Task.async(func) def ...
23.722222
72
0.642857
9ea3b41787f8c14c3e5d9a3fbd9de4f54f0369d5
195
ex
Elixir
lumberjack/lib/memo.ex
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
lumberjack/lib/memo.ex
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
lumberjack/lib/memo.ex
lucas-larsson/ID1019
b21a79bfa7fbbaaba0b4db88ec8b44fc5e9f291c
[ "MIT" ]
null
null
null
defmodule Memo do def new() do %{} end def add(mem, key, val) do Map.put(mem, :binary.list_to_bin(key), val) end def lookup(mem, key) do Map.get(mem, :binary.list_to_bin(key)) end end
17.727273
75
0.666667
9ea3b77760f9a43d1d6fc4f348bc0e3bc45ecca1
1,686
exs
Elixir
test/xdr/transactions/operations/set_options_result_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
3
2021-08-17T20:32:45.000Z
2022-03-13T20:26:02.000Z
test/xdr/transactions/operations/set_options_result_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
45
2021-08-12T20:19:41.000Z
2022-03-27T21:00:10.000Z
test/xdr/transactions/operations/set_options_result_test.exs
einerzg/stellar_base
2d10c5fc3b8159efc5de10b5c7c665e3b57b3d8f
[ "MIT" ]
2
2021-09-22T23:11:13.000Z
2022-01-23T03:19:11.000Z
defmodule StellarBase.XDR.Operations.SetOptionsResultTest do use ExUnit.Case alias StellarBase.XDR.Void alias StellarBase.XDR.Operations.{SetOptionsResult, SetOptionsResultCode} describe "SetOptionsResult" do setup do code = SetOptionsResultCode.new(:SET_OPTIONS_SUCCESS) %{ code: code...
30.654545
88
0.655991