entities listlengths 1 44.6k | max_stars_repo_path stringlengths 6 160 | max_stars_repo_name stringlengths 6 66 | max_stars_count int64 0 47.9k | content stringlengths 18 1.04M | id stringlengths 1 6 | new_content stringlengths 18 1.04M | modified bool 1
class | references stringlengths 32 1.52M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "sword-input (find-element {:xpath \"//input[@type='password']\"})]\n (input-text email-input email)\n (inp",
"end": 4440,
"score": 0.6730898022651672,
"start": 4432,
"tag": "PASSWORD",
"value": "password"
}
] | test/dashboard/functional/test/selenium.clj | Purple-Services/dashboard-service | 3 | (ns dashboard.functional.test.selenium
(:require [clj-webdriver.taxi :refer :all]
[common.db :as db]
[dashboard.handler]
[dashboard.test.db-tools :refer [setup-ebdb-test-pool!
clear-test-database
... | 48906 | (ns dashboard.functional.test.selenium
(:require [clj-webdriver.taxi :refer :all]
[common.db :as db]
[dashboard.handler]
[dashboard.test.db-tools :refer [setup-ebdb-test-pool!
clear-test-database
... | true | (ns dashboard.functional.test.selenium
(:require [clj-webdriver.taxi :refer :all]
[common.db :as db]
[dashboard.handler]
[dashboard.test.db-tools :refer [setup-ebdb-test-pool!
clear-test-database
... |
[
{
"context": "(ns ^{:author \"Dan Stone <wotbrew@gmail.com>\"}\n com.wotbrew.relic\n \"Func",
"end": 24,
"score": 0.9998786449432373,
"start": 15,
"tag": "NAME",
"value": "Dan Stone"
},
{
"context": "(ns ^{:author \"Dan Stone <wotbrew@gmail.com>\"}\n com.wotbrew.relic\n \"Functio... | src/com/wotbrew/relic.cljc | wotbrew/tarpit | 0 | (ns ^{:author "Dan Stone <wotbrew@gmail.com>"}
com.wotbrew.relic
"Functional relational programming for clojure.
Quick hints:
a relic database is a map.
- put data in with `transact`, see also `what-if`.
- get data out with `q`, see also `index`.
- go faster maybe with `mat`, see also `demat`
- track... | 3699 | (ns ^{:author "<NAME> <<EMAIL>>"}
com.wotbrew.relic
"Functional relational programming for clojure.
Quick hints:
a relic database is a map.
- put data in with `transact`, see also `what-if`.
- get data out with `q`, see also `index`.
- go faster maybe with `mat`, see also `demat`
- track changes with... | true | (ns ^{:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
com.wotbrew.relic
"Functional relational programming for clojure.
Quick hints:
a relic database is a map.
- put data in with `transact`, see also `what-if`.
- get data out with `q`, see also `index`.
- go faster maybe with `mat`, see also `... |
[
{
"context": "uid\"0000fb5e-a9d0-44b6-b293-bb3c506fc0cb\", :name \"Björn\"}\n {:id #uuid\"001e7a76-9c45-49a9-865c",
"end": 716,
"score": 0.9995867609977722,
"start": 711,
"tag": "NAME",
"value": "Björn"
},
{
"context": "uid\"001e7a76-9c45-49a9-865c-a631641544dd\", :name \... | src/main/decide/server_components/database.clj | hhucn/decide3 | 4 | (ns decide.server-components.database
(:require
[clojure.string :as str]
[datahike.api :as d]
[decide.models.opinion :as opinion]
[decide.models.process :as process]
[decide.models.proposal :as proposal]
[decide.models.user :as user]
[decide.server-components.config :refer [config]]
[c... | 115870 | (ns decide.server-components.database
(:require
[clojure.string :as str]
[datahike.api :as d]
[decide.models.opinion :as opinion]
[decide.models.process :as process]
[decide.models.proposal :as proposal]
[decide.models.user :as user]
[decide.server-components.config :refer [config]]
[c... | true | (ns decide.server-components.database
(:require
[clojure.string :as str]
[datahike.api :as d]
[decide.models.opinion :as opinion]
[decide.models.process :as process]
[decide.models.proposal :as proposal]
[decide.models.user :as user]
[decide.server-components.config :refer [config]]
[c... |
[
{
"context": ";; Copyright (c) 2021 Thomas J. Otterson\n;; \n;; This software is released under the MIT Li",
"end": 40,
"score": 0.9996538758277893,
"start": 22,
"tag": "NAME",
"value": "Thomas J. Otterson"
}
] | src/barandis/euler/p12.clj | Barandis/euler-clojure | 0 | ;; Copyright (c) 2021 Thomas J. Otterson
;;
;; This software is released under the MIT License.
;; https://opensource.org/licenses/MIT
;; Solves Project Euler problem 12:
;;
;; The sequence of triangle numbers is generated by adding the natural numbers.
;; So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7... | 45900 | ;; Copyright (c) 2021 <NAME>
;;
;; This software is released under the MIT License.
;; https://opensource.org/licenses/MIT
;; Solves Project Euler problem 12:
;;
;; The sequence of triangle numbers is generated by adding the natural numbers.
;; So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The f... | true | ;; Copyright (c) 2021 PI:NAME:<NAME>END_PI
;;
;; This software is released under the MIT License.
;; https://opensource.org/licenses/MIT
;; Solves Project Euler problem 12:
;;
;; The sequence of triangle numbers is generated by adding the natural numbers.
;; So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 +... |
[
{
"context": "a kakskümmend üks\"\n (number 31256721)\n\n \"4.\"\n \"neljas\"\n (ordinal 4)\n)\n\n",
"end": 1037,
"score": 0.9942981004714966,
"start": 1031,
"tag": "NAME",
"value": "neljas"
}
] | resources/languages/et/corpus/numbers.clj | irvingflores/duckling | 922 | (
; Context map
{}
"0"
"null"
(number 0)
"1"
"üks"
(number 1)
"33"
"kolmkümmend kolm"
; "kolmkend kolm"
(number 33)
"14"
"neliteist"
(number 14)
"16"
"kuusteist"
(number 16)
"17"
"seitseteist"
(number 17)
"18"
"kaheksateist"
(number 18)
"1.1"
"1.10"
"01.... | 101822 | (
; Context map
{}
"0"
"null"
(number 0)
"1"
"üks"
(number 1)
"33"
"kolmkümmend kolm"
; "kolmkend kolm"
(number 33)
"14"
"neliteist"
(number 14)
"16"
"kuusteist"
(number 16)
"17"
"seitseteist"
(number 17)
"18"
"kaheksateist"
(number 18)
"1.1"
"1.10"
"01.... | true | (
; Context map
{}
"0"
"null"
(number 0)
"1"
"üks"
(number 1)
"33"
"kolmkümmend kolm"
; "kolmkend kolm"
(number 33)
"14"
"neliteist"
(number 14)
"16"
"kuusteist"
(number 16)
"17"
"seitseteist"
(number 17)
"18"
"kaheksateist"
(number 18)
"1.1"
"1.10"
"01.... |
[
{
"context": " {:uid \"02\"\n :name \"authorship\"\n :documentPlan {:segments\n ",
"end": 1682,
"score": 0.8110073804855347,
"start": 1672,
"tag": "NAME",
"value": "authorship"
},
{
"context": " :dictionaryIt... | api/test/data/document_plan_test.clj | Site-Command/accelerated-text | 0 | (ns data.document-plan-test
(:require [api.db-fixtures :as fixtures]
[clojure.test :refer [deftest is use-fixtures testing]]
[data.entities.document-plan :as document-plan]
[data.entities.user-group :as user-group]))
(use-fixtures :each fixtures/clean-db)
(deftest ^:integration i... | 110739 | (ns data.document-plan-test
(:require [api.db-fixtures :as fixtures]
[clojure.test :refer [deftest is use-fixtures testing]]
[data.entities.document-plan :as document-plan]
[data.entities.user-group :as user-group]))
(use-fixtures :each fixtures/clean-db)
(deftest ^:integration i... | true | (ns data.document-plan-test
(:require [api.db-fixtures :as fixtures]
[clojure.test :refer [deftest is use-fixtures testing]]
[data.entities.document-plan :as document-plan]
[data.entities.user-group :as user-group]))
(use-fixtures :each fixtures/clean-db)
(deftest ^:integration i... |
[
{
"context": "ver client-get]]))\n\n(def auth-params {:secret \"test secret\"\n :providers {:google {:client-i",
"end": 481,
"score": 0.9348921775817871,
"start": 470,
"tag": "KEY",
"value": "test secret"
},
{
"context": " :client-... | test/clj_pkg/auth_test.clj | clj-pkg/auth | 1 | (ns clj-pkg.auth-test
(:require [clojure.test :refer [deftest is]]
[clj-pkg.auth :as auth]
[ring.middleware.cookies :as cookies]
[ring.middleware.json :as json-mw]
[clojure.string :as string]
[reitit.ring :as ring]
[reitit.ring.middleware.paramet... | 35749 | (ns clj-pkg.auth-test
(:require [clojure.test :refer [deftest is]]
[clj-pkg.auth :as auth]
[ring.middleware.cookies :as cookies]
[ring.middleware.json :as json-mw]
[clojure.string :as string]
[reitit.ring :as ring]
[reitit.ring.middleware.paramet... | true | (ns clj-pkg.auth-test
(:require [clojure.test :refer [deftest is]]
[clj-pkg.auth :as auth]
[ring.middleware.cookies :as cookies]
[ring.middleware.json :as json-mw]
[clojure.string :as string]
[reitit.ring :as ring]
[reitit.ring.middleware.paramet... |
[
{
"context": "enerate HTML documentation for Clojure libs\n\n;; by Craig Andera, http://pluralsight.com/craig, candera@wangdera.c",
"end": 87,
"score": 0.999885082244873,
"start": 75,
"tag": "NAME",
"value": "Craig Andera"
},
{
"context": " libs\n\n;; by Craig Andera, http://pluralsi... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/gen_html_docs.clj | allertonm/Couverjure | 3 | ;;; gen-html-docs.clj: Generate HTML documentation for Clojure libs
;; by Craig Andera, http://pluralsight.com/craig, candera@wangdera.com
;; February 13th, 2009
;; Copyright (c) Craig Andera, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License ... | 24663 | ;;; gen-html-docs.clj: Generate HTML documentation for Clojure libs
;; by <NAME>, http://pluralsight.com/craig, <EMAIL>
;; February 13th, 2009
;; Copyright (c) <NAME>, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.or... | true | ;;; gen-html-docs.clj: Generate HTML documentation for Clojure libs
;; by PI:NAME:<NAME>END_PI, http://pluralsight.com/craig, PI:EMAIL:<EMAIL>END_PI
;; February 13th, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
... |
[
{
"context": "s echo-handler))\n ;:cookies {\"username\" {:value \"alice\"}} ,, {\"secret\" {:value \"foobar\", :secure true, :",
"end": 3519,
"score": 0.9994301795959473,
"start": 3514,
"tag": "USERNAME",
"value": "alice"
},
{
"context": "username\" {:value \"alice\"}} ,, {\"secret... | test/clojure/nginx/clojure/ring_handlers_for_test.clj | vibhutisawant/nginx-clojure | 698 | (ns nginx.clojure.ring-handlers-for-test
(:use [ring.util.response]
[ring.middleware.session]
[ring.middleware.cookies]
[ring.middleware.params]
[ring.middleware.content-type]
[ring.middleware.session.memory]
[ring.middleware.session.cookie]
[ring.middleware.mul... | 1692 | (ns nginx.clojure.ring-handlers-for-test
(:use [ring.util.response]
[ring.middleware.session]
[ring.middleware.cookies]
[ring.middleware.params]
[ring.middleware.content-type]
[ring.middleware.session.memory]
[ring.middleware.session.cookie]
[ring.middleware.mul... | true | (ns nginx.clojure.ring-handlers-for-test
(:use [ring.util.response]
[ring.middleware.session]
[ring.middleware.cookies]
[ring.middleware.params]
[ring.middleware.content-type]
[ring.middleware.session.memory]
[ring.middleware.session.cookie]
[ring.middleware.mul... |
[
{
"context": "s://api.crossref.org/v1/works/\" safe-doi \"?mailto=eventdata@crossref.org\")\n :datacite (str \"https://api.d",
"end": 3979,
"score": 0.9998522400856018,
"start": 3957,
"tag": "EMAIL",
"value": "eventdata@crossref.org"
}
] | src/event_data_query/work_cache.clj | CrossRef/event-data-query | 6 | (ns event-data-query.work-cache
"Work metadata cache, retrieved using Content Negotiation and stored in ElasticSearch.
The cache is case-sensitive, which means that if the same DOI is represented with different case, two entries will be made.
This is a trade-off between the likelihood of this happening (low) wi... | 68634 | (ns event-data-query.work-cache
"Work metadata cache, retrieved using Content Negotiation and stored in ElasticSearch.
The cache is case-sensitive, which means that if the same DOI is represented with different case, two entries will be made.
This is a trade-off between the likelihood of this happening (low) wi... | true | (ns event-data-query.work-cache
"Work metadata cache, retrieved using Content Negotiation and stored in ElasticSearch.
The cache is case-sensitive, which means that if the same DOI is represented with different case, two entries will be made.
This is a trade-off between the likelihood of this happening (low) wi... |
[
{
"context": "[{:id 0\n :name \"Thor Amorim\"\n :postedAt \"01",
"end": 240,
"score": 0.9998461604118347,
"start": 229,
"tag": "NAME",
"value": "Thor Amorim"
},
{
"context": "1/2016\"\n ... | src/reagent_test_app/core.cljs | tamorim/reagent-test-app | 0 | (ns reagent-test-app.core
(:require [reagent.core :as reagent :refer [atom]]))
(enable-console-print!)
(defonce app-state (atom {:new-post ""
:posts [{:id 0
:name "Thor Amorim"
:postedAt "01/01/2016"
... | 40043 | (ns reagent-test-app.core
(:require [reagent.core :as reagent :refer [atom]]))
(enable-console-print!)
(defonce app-state (atom {:new-post ""
:posts [{:id 0
:name "<NAME>"
:postedAt "01/01/2016"
... | true | (ns reagent-test-app.core
(:require [reagent.core :as reagent :refer [atom]]))
(enable-console-print!)
(defonce app-state (atom {:new-post ""
:posts [{:id 0
:name "PI:NAME:<NAME>END_PI"
:postedAt "01/01/2016"
... |
[
{
"context": ";-\n; Copyright 2009 (c) Meikel Brandmeyer.\n; All rights reserved.\n;\n; Permission is hereby ",
"end": 41,
"score": 0.9998773336410522,
"start": 24,
"tag": "NAME",
"value": "Meikel Brandmeyer"
}
] | src/main/clojure/vimclojure/util.clj | Mario-Kart-Felix/vimclojure | 1 | ;-
; Copyright 2009 (c) Meikel Brandmeyer.
; All rights reserved.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy... | 124105 | ;-
; Copyright 2009 (c) <NAME>.
; All rights reserved.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, m... | true | ;-
; Copyright 2009 (c) PI:NAME:<NAME>END_PI.
; All rights reserved.
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, c... |
[
{
"context": "O cycle creds and keep in env\n {:access-key-id \"AKIAIJN3D74NBHJIAARQ\"\n :secret-access-key \"13xmDv33Eya2z0Rbk+UaSznf",
"end": 1549,
"score": 0.9996356964111328,
"start": 1529,
"tag": "KEY",
"value": "AKIAIJN3D74NBHJIAARQ"
},
{
"context": "id \"AKIAIJN3D74NBHJIA... | src/clj/com/vetd/app/common.clj | jaydeesimon/vetd-app | 98 | (ns com.vetd.app.common
"This is a grab bag until we come up with a reason that it shouldn't be.
Before adding a function here, consider whether it would be more
appropriate in util. "
(:require [com.vetd.app.util :as ut]
[expound.alpha :as expound]
[clojure.spec.alpha :as spec]
... | 13441 | (ns com.vetd.app.common
"This is a grab bag until we come up with a reason that it shouldn't be.
Before adding a function here, consider whether it would be more
appropriate in util. "
(:require [com.vetd.app.util :as ut]
[expound.alpha :as expound]
[clojure.spec.alpha :as spec]
... | true | (ns com.vetd.app.common
"This is a grab bag until we come up with a reason that it shouldn't be.
Before adding a function here, consider whether it would be more
appropriate in util. "
(:require [com.vetd.app.util :as ut]
[expound.alpha :as expound]
[clojure.spec.alpha :as spec]
... |
[
{
"context": "Listener OnFailureListener)))\n\n(def config-keys [:firebase-auth-private-key-id\n :firebase-auth-private-key\n ",
"end": 448,
"score": 0.8651599287986755,
"start": 420,
"tag": "KEY",
"value": "firebase-auth-private-key-id"
},
{
"context": "[:firebas... | src/forces_assemble/auth.clj | oasalonen/forces-assemble | 1 | (ns forces-assemble.auth
(:require [forces-assemble.config :as config]
[clojure.java.io :as io]
[environ.core :refer [env]]
[cheshire.core :as che])
(:import (com.google.firebase FirebaseApp FirebaseOptions FirebaseOptions$Builder)
(com.google.firebase.auth FirebaseAut... | 50113 | (ns forces-assemble.auth
(:require [forces-assemble.config :as config]
[clojure.java.io :as io]
[environ.core :refer [env]]
[cheshire.core :as che])
(:import (com.google.firebase FirebaseApp FirebaseOptions FirebaseOptions$Builder)
(com.google.firebase.auth FirebaseAut... | true | (ns forces-assemble.auth
(:require [forces-assemble.config :as config]
[clojure.java.io :as io]
[environ.core :refer [env]]
[cheshire.core :as che])
(:import (com.google.firebase FirebaseApp FirebaseOptions FirebaseOptions$Builder)
(com.google.firebase.auth FirebaseAut... |
[
{
"context": "(def key \"ckczppom\")\n\n(defn md5\n ; http://rosettacode.org/wiki/MD5#",
"end": 18,
"score": 0.9993659257888794,
"start": 10,
"tag": "KEY",
"value": "ckczppom"
}
] | solutions/day04/solution.clj | dbjohnson/advent-of-code | 0 | (def key "ckczppom")
(defn md5
; http://rosettacode.org/wiki/MD5#Clojure
[input]
(apply str
(map (partial format "%02x")
(.digest (doto (java.security.MessageDigest/getInstance "MD5")
.reset
(.update (.getBytes input)))))))
(defn hashit
[d]
(md5 (format "%... | 111569 | (def key "<KEY>")
(defn md5
; http://rosettacode.org/wiki/MD5#Clojure
[input]
(apply str
(map (partial format "%02x")
(.digest (doto (java.security.MessageDigest/getInstance "MD5")
.reset
(.update (.getBytes input)))))))
(defn hashit
[d]
(md5 (format "%s%s... | true | (def key "PI:KEY:<KEY>END_PI")
(defn md5
; http://rosettacode.org/wiki/MD5#Clojure
[input]
(apply str
(map (partial format "%02x")
(.digest (doto (java.security.MessageDigest/getInstance "MD5")
.reset
(.update (.getBytes input)))))))
(defn hashit
[d]
(md5 ... |
[
{
"context": " ]))))\n\n;;TODO: Add this?\n\n;;'Craig add 10 May 2016 . We have some units changing pol",
"end": 106264,
"score": 0.893337607383728,
"start": 106259,
"tag": "NAME",
"value": "Craig"
}
] | src/marathon/ces/behavior.clj | see-eh-eh-effess/m4 | 0 | ;;A namespace for defining and composing entity behaviors.
;;We'll define core behaviors here, leveraging the
;;behavior tree approach defined by spork.ai.behavior .
(ns marathon.ces.behavior
(:require [spork.ai.core :as ai :refer
[deref! fget fassoc push-message- debug ->msg]]
[spork.ai.beh... | 61436 | ;;A namespace for defining and composing entity behaviors.
;;We'll define core behaviors here, leveraging the
;;behavior tree approach defined by spork.ai.behavior .
(ns marathon.ces.behavior
(:require [spork.ai.core :as ai :refer
[deref! fget fassoc push-message- debug ->msg]]
[spork.ai.beh... | true | ;;A namespace for defining and composing entity behaviors.
;;We'll define core behaviors here, leveraging the
;;behavior tree approach defined by spork.ai.behavior .
(ns marathon.ces.behavior
(:require [spork.ai.core :as ai :refer
[deref! fget fassoc push-message- debug ->msg]]
[spork.ai.beh... |
[
{
"context": "(ns #^{:author \"Mikael Reponen\"\n :doc \" General functions\"}\n cutter.gener",
"end": 30,
"score": 0.9998886585235596,
"start": 16,
"tag": "NAME",
"value": "Mikael Reponen"
}
] | src/cutter/general.clj | Viritystila/cutter | 0 | (ns #^{:author "Mikael Reponen"
:doc " General functions"}
cutter.general
(:require ;[clojure.tools.namespace.repl :refer [refresh]]
;[watchtower.core :as watcher]
[clojure.java.io :as io]
;clojure.string
)
(:import ;(java.nio IntBuffer ByteBuffer FloatBuffer... | 39414 | (ns #^{:author "<NAME>"
:doc " General functions"}
cutter.general
(:require ;[clojure.tools.namespace.repl :refer [refresh]]
;[watchtower.core :as watcher]
[clojure.java.io :as io]
;clojure.string
)
(:import ;(java.nio IntBuffer ByteBuffer FloatBuffer ByteOrd... | true | (ns #^{:author "PI:NAME:<NAME>END_PI"
:doc " General functions"}
cutter.general
(:require ;[clojure.tools.namespace.repl :refer [refresh]]
;[watchtower.core :as watcher]
[clojure.java.io :as io]
;clojure.string
)
(:import ;(java.nio IntBuffer ByteBuffer Float... |
[
{
"context": " {:name \"Floatboth\"\n :url \"floatboth@com\"}]})\n (def val-data\n {:name \"v\"\n :sites [",
"end": 664,
"score": 0.8766022324562073,
"start": 656,
"tag": "EMAIL",
"value": "both@com"
},
{
"context": "cts \"about email-field\"\n ((:pred (ema... | data/clojure/f912f3890c09342da9db915ce3ad6eee_test.clj | maxim5/code-inspector | 5 | (ns formfinger.test
(:refer-clojure :exclude [extend])
(:use (formfinger fields core), midje.sweet, clj-time.core))
(facts "about the form API"
(def frm
{:name [(f (required) "This is required")
(f (alphanumeric) "Must be alphanumeric")]
:addr {:city [(f (maxlength 1024) "WTF")]
... | 118657 | (ns formfinger.test
(:refer-clojure :exclude [extend])
(:use (formfinger fields core), midje.sweet, clj-time.core))
(facts "about the form API"
(def frm
{:name [(f (required) "This is required")
(f (alphanumeric) "Must be alphanumeric")]
:addr {:city [(f (maxlength 1024) "WTF")]
... | true | (ns formfinger.test
(:refer-clojure :exclude [extend])
(:use (formfinger fields core), midje.sweet, clj-time.core))
(facts "about the form API"
(def frm
{:name [(f (required) "This is required")
(f (alphanumeric) "Must be alphanumeric")]
:addr {:city [(f (maxlength 1024) "WTF")]
... |
[
{
"context": "\\o \\g \\l \\e] ; vectors\n{:name \"Kim\" :age 25 :location \"here\"} ; maps\n#{2 3 5 7 11 13",
"end": 912,
"score": 0.9975649118423462,
"start": 909,
"tag": "NAME",
"value": "Kim"
},
{
"context": " ; lists\n(1 2 3 4 5)\n\n{:name ... | presentation/1-syntax.clj | brunokim/learning-clojure | 1 | ; Copyright 2014 Google Inc. All rights reserved.
;
; Licensed under the Apache License, Version 2.0 (the License);
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or ag... | 25403 | ; Copyright 2014 Google Inc. All rights reserved.
;
; Licensed under the Apache License, Version 2.0 (the License);
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or ag... | true | ; Copyright 2014 Google Inc. All rights reserved.
;
; Licensed under the Apache License, Version 2.0 (the License);
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or ag... |
[
{
"context": " :foaf/name \"Luke\"\n :foaf/know",
"end": 538,
"score": 0.9993910789489746,
"start": 534,
"tag": "NAME",
"value": "Luke"
},
{
"context": " :foaf/name \"Stuart... | test/arachne/aristotle/reification_test.clj | caleb/aristotle | 87 | (ns arachne.aristotle.reification-test
(:require [clojure.test :refer :all]
[arachne.aristotle.registry :as reg]
[arachne.aristotle.graph :as graph]
[arachne.aristotle.query :as q]
[arachne.aristotle :as aa]
[clojure.java.io :as io]
[clojure.walk... | 56560 | (ns arachne.aristotle.reification-test
(:require [clojure.test :refer :all]
[arachne.aristotle.registry :as reg]
[arachne.aristotle.graph :as graph]
[arachne.aristotle.query :as q]
[arachne.aristotle :as aa]
[clojure.java.io :as io]
[clojure.walk... | true | (ns arachne.aristotle.reification-test
(:require [clojure.test :refer :all]
[arachne.aristotle.registry :as reg]
[arachne.aristotle.graph :as graph]
[arachne.aristotle.query :as q]
[arachne.aristotle :as aa]
[clojure.java.io :as io]
[clojure.walk... |
[
{
"context": "rvice \"service\"\n :body body\n :access \"AKIDEXAMPLE\"\n :secret \"wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXA",
"end": 651,
"score": 0.774273693561554,
"start": 640,
"tag": "KEY",
"value": "AKIDEXAMPLE"
},
{
"context": " body\n :access \"AKIDEXAMPLE\"\n ... | test/mrmcc3/aws/sig_v4_test.cljs | mrmcc3/cljs-aws-signature | 3 | (ns mrmcc3.aws.sig-v4-test
(:require-macros
[mrmcc3.aws.sig-v4-test :refer [test-data]])
(:require
[mrmcc3.aws.sig-v4 :as v4]
[clojure.string :as str]
[clojure.pprint :refer [pprint]])
(:import
(goog Uri)
(goog.date UtcDateTime)))
(defn query-map [uri]
(let [qd (.getQueryData (Uri. uri)... | 81119 | (ns mrmcc3.aws.sig-v4-test
(:require-macros
[mrmcc3.aws.sig-v4-test :refer [test-data]])
(:require
[mrmcc3.aws.sig-v4 :as v4]
[clojure.string :as str]
[clojure.pprint :refer [pprint]])
(:import
(goog Uri)
(goog.date UtcDateTime)))
(defn query-map [uri]
(let [qd (.getQueryData (Uri. uri)... | true | (ns mrmcc3.aws.sig-v4-test
(:require-macros
[mrmcc3.aws.sig-v4-test :refer [test-data]])
(:require
[mrmcc3.aws.sig-v4 :as v4]
[clojure.string :as str]
[clojure.pprint :refer [pprint]])
(:import
(goog Uri)
(goog.date UtcDateTime)))
(defn query-map [uri]
(let [qd (.getQueryData (Uri. uri)... |
[
{
"context": ";; Copyright © 2015 Atamert Ölçgen\n;;\n;; Distributed under the The MIT License\n;; ht",
"end": 34,
"score": 0.9998835325241089,
"start": 20,
"tag": "NAME",
"value": "Atamert Ölçgen"
}
] | src/ring/middleware/transit.clj | muhuk/ring-transit-middleware | 3 | ;; Copyright © 2015 Atamert Ölçgen
;;
;; Distributed under the The MIT License
;; http://opensource.org/licenses/MIT
(ns ring.middleware.transit
"Ring middleware for Transit requests & responses.
For basic usage you just need to add [[wrap-transit]]
middleware.
#### Usage Example:
(require '[ring.midd... | 97640 | ;; Copyright © 2015 <NAME>
;;
;; Distributed under the The MIT License
;; http://opensource.org/licenses/MIT
(ns ring.middleware.transit
"Ring middleware for Transit requests & responses.
For basic usage you just need to add [[wrap-transit]]
middleware.
#### Usage Example:
(require '[ring.middleware.t... | true | ;; Copyright © 2015 PI:NAME:<NAME>END_PI
;;
;; Distributed under the The MIT License
;; http://opensource.org/licenses/MIT
(ns ring.middleware.transit
"Ring middleware for Transit requests & responses.
For basic usage you just need to add [[wrap-transit]]
middleware.
#### Usage Example:
(require '[rin... |
[
{
"context": "r? (sut/execute (with-cmd :user/get {:user/email \"andrew@doe.com\"}))))\n (is (r/success? (sut/execute (with-cmd :u",
"end": 908,
"score": 0.9999082088470459,
"start": 894,
"tag": "EMAIL",
"value": "andrew@doe.com"
},
{
"context": "(sut/execute (with-cmd :user/create ... | test/src/example/api_test.cljc | just-sultanov/clj-unifier | 27 | (ns example.api-test
(:require
#?(:clj [clojure.test :refer [deftest is]]
:cljs [cljs.test :refer-macros [deftest is]])
[unifier.response :as r]
[example.data :as data]
[example.api :as sut]))
(defn- with-cmd
([name]
(with-cmd name nil))
([name context]
(with-cmd name :v1 context))
(... | 89713 | (ns example.api-test
(:require
#?(:clj [clojure.test :refer [deftest is]]
:cljs [cljs.test :refer-macros [deftest is]])
[unifier.response :as r]
[example.data :as data]
[example.api :as sut]))
(defn- with-cmd
([name]
(with-cmd name nil))
([name context]
(with-cmd name :v1 context))
(... | true | (ns example.api-test
(:require
#?(:clj [clojure.test :refer [deftest is]]
:cljs [cljs.test :refer-macros [deftest is]])
[unifier.response :as r]
[example.data :as data]
[example.api :as sut]))
(defn- with-cmd
([name]
(with-cmd name nil))
([name context]
(with-cmd name :v1 context))
(... |
[
{
"context": "ng an auth token\"\n (with-redefs [env {:secret \"swiss cheese\"}\n tc/to-long (fn [_] 1507501300",
"end": 750,
"score": 0.9746477603912354,
"start": 738,
"tag": "KEY",
"value": "swiss cheese"
}
] | test/artstor_metadata_service_os/util_test.clj | ithaka/artstor-metadata-service-os | 0 | (ns artstor-metadata-service-os.util-test
(:require [artstor-metadata-service-os.util :as util]
[clojure.test :refer :all]
[clojure.test.check.clojure-test :refer [defspec]]
[clojure.test.check.properties :as prop]
[clojure.test.check.generators :as gen]
[en... | 47172 | (ns artstor-metadata-service-os.util-test
(:require [artstor-metadata-service-os.util :as util]
[clojure.test :refer :all]
[clojure.test.check.clojure-test :refer [defspec]]
[clojure.test.check.properties :as prop]
[clojure.test.check.generators :as gen]
[en... | true | (ns artstor-metadata-service-os.util-test
(:require [artstor-metadata-service-os.util :as util]
[clojure.test :refer :all]
[clojure.test.check.clojure-test :refer [defspec]]
[clojure.test.check.properties :as prop]
[clojure.test.check.generators :as gen]
[en... |
[
{
"context": " (useForm #js {:email \"johndoe@example.com\"\n ",
"end": 486,
"score": 0.9999257922172546,
"start": 467,
"tag": "EMAIL",
"value": "johndoe@example.com"
},
{
"context": " ... | src/cljs/pingcrm/pages/login.cljs | mgl-team/pingcrm-clojure-template | 50 | (ns pingcrm.pages.login
(:require ["@inertiajs/inertia-react" :refer [useForm Head]]
[applied-science.js-interop :as j]
[pingcrm.shared.buttons :refer [loading-button]]
[pingcrm.shared.form-input :refer [text-input]]
[pingcrm.shared.logo :refer [logo]]))
(defn login-fo... | 76690 | (ns pingcrm.pages.login
(:require ["@inertiajs/inertia-react" :refer [useForm Head]]
[applied-science.js-interop :as j]
[pingcrm.shared.buttons :refer [loading-button]]
[pingcrm.shared.form-input :refer [text-input]]
[pingcrm.shared.logo :refer [logo]]))
(defn login-fo... | true | (ns pingcrm.pages.login
(:require ["@inertiajs/inertia-react" :refer [useForm Head]]
[applied-science.js-interop :as j]
[pingcrm.shared.buttons :refer [loading-button]]
[pingcrm.shared.form-input :refer [text-input]]
[pingcrm.shared.logo :refer [logo]]))
(defn login-fo... |
[
{
"context": " :bind-dn user :password password)\n search-root (getx-in env [:ldap :searc",
"end": 853,
"score": 0.9981800317764282,
"start": 845,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "text\" :placeholder (text :t.ldap/username) :n... | src/clj/rems/auth/ldap.clj | JerryTraskelin/rems | 0 | (ns rems.auth.ldap
(:require [clj-ldap.client :as ldap]
[clojure.tools.logging :as log]
[compojure.core :refer [GET POST defroutes]]
[rems.anti-forgery :refer [anti-forgery-field]]
[rems.config :refer [env]]
[rems.layout :as layout]
[rems.text :r... | 56415 | (ns rems.auth.ldap
(:require [clj-ldap.client :as ldap]
[clojure.tools.logging :as log]
[compojure.core :refer [GET POST defroutes]]
[rems.anti-forgery :refer [anti-forgery-field]]
[rems.config :refer [env]]
[rems.layout :as layout]
[rems.text :r... | true | (ns rems.auth.ldap
(:require [clj-ldap.client :as ldap]
[clojure.tools.logging :as log]
[compojure.core :refer [GET POST defroutes]]
[rems.anti-forgery :refer [anti-forgery-field]]
[rems.config :refer [env]]
[rems.layout :as layout]
[rems.text :r... |
[
{
"context": ";; Test routines for complex-numbers.clj\n\n;; by Konrad Hinsen\n;; last updated April 2, 2009\n\n;; Copyright (c) K",
"end": 61,
"score": 0.9998551607131958,
"start": 48,
"tag": "NAME",
"value": "Konrad Hinsen"
},
{
"context": "en\n;; last updated April 2, 2009\n\n;; C... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/test_contrib/complex_numbers.clj | allertonm/Couverjure | 3 | ;; Test routines for complex-numbers.clj
;; by Konrad Hinsen
;; last updated April 2, 2009
;; Copyright (c) Konrad Hinsen, 2008. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be f... | 79298 | ;; Test routines for complex-numbers.clj
;; by <NAME>
;; last updated April 2, 2009
;; Copyright (c) <NAME>, 2008. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the fi... | true | ;; Test routines for complex-numbers.clj
;; by PI:NAME:<NAME>END_PI
;; last updated April 2, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, 2008. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; ... |
[
{
"context": "(ns fp)\n\n; Code from: Programming Clojure, Alex Miller\n\n; p01 Simple Recursion\n\n(defn stack-consuming-fi",
"end": 54,
"score": 0.999758780002594,
"start": 43,
"tag": "NAME",
"value": "Alex Miller"
}
] | clj/ex/study_clojure/ex06/src/fp.clj | mertnuhoglu/study | 1 | (ns fp)
; Code from: Programming Clojure, Alex Miller
; p01 Simple Recursion
(defn stack-consuming-fibo [n]
(cond
(= n 0) 0 ; basis
(= n 1) 1 ; basis
:else (+ (stack-consuming-fibo (- n 1)) ; induction
(stack-consuming-fibo (- n 2)))))
(stack-consuming-fibo 9)
;;=> 34
; p02 Tail Recurs... | 25791 | (ns fp)
; Code from: Programming Clojure, <NAME>
; p01 Simple Recursion
(defn stack-consuming-fibo [n]
(cond
(= n 0) 0 ; basis
(= n 1) 1 ; basis
:else (+ (stack-consuming-fibo (- n 1)) ; induction
(stack-consuming-fibo (- n 2)))))
(stack-consuming-fibo 9)
;;=> 34
; p02 Tail Recursion i... | true | (ns fp)
; Code from: Programming Clojure, PI:NAME:<NAME>END_PI
; p01 Simple Recursion
(defn stack-consuming-fibo [n]
(cond
(= n 0) 0 ; basis
(= n 1) 1 ; basis
:else (+ (stack-consuming-fibo (- n 1)) ; induction
(stack-consuming-fibo (- n 2)))))
(stack-consuming-fibo 9)
;;=> 34
; p02 Ta... |
[
{
"context": "; Copyright (c) 2021-present Walmart, Inc.\n;\n; Licensed under the Apache License, Vers",
"end": 36,
"score": 0.9244232773780823,
"start": 29,
"tag": "NAME",
"value": "Walmart"
}
] | test/com/walmartlabs/lacinia/resolve_bindings_test.clj | hagenek/lacinia | 1,762 | ; Copyright (c) 2021-present Walmart, 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... | 22240 | ; Copyright (c) 2021-present <NAME>, 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 ... | true | ; Copyright (c) 2021-present PI:NAME:<NAME>END_PI, 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... |
[
{
"context": "(str \"https://maps.googleapis.com/maps/api/js?key=AIzaSyD4UK2xtTJozwVOZ7GyZrDjaQlCRTa3VpI\")]})\n\n(def youtube\n {:csp [{:script-src [\"https:",
"end": 3861,
"score": 0.9997425079345703,
"start": 3822,
"tag": "KEY",
"value": "AIzaSyD4UK2xtTJozwVOZ7GyZrDjaQlCRTa3VpI"
},
{... | src/cljs-node/rx/node/entry.cljs | zk/rx-lib | 0 | (ns rx.node.entry
(:require [rx.kitchen-sink :as ks]
[rx.http :as http]
[rx.css :as rcss]
#_[macchiato.middleware.resource :refer [wrap-resource]]
#_[macchiato.middleware.content-type :refer [wrap-content-type]]
#_[hiccups.runtime :as rt]
#_[macc... | 105190 | (ns rx.node.entry
(:require [rx.kitchen-sink :as ks]
[rx.http :as http]
[rx.css :as rcss]
#_[macchiato.middleware.resource :refer [wrap-resource]]
#_[macchiato.middleware.content-type :refer [wrap-content-type]]
#_[hiccups.runtime :as rt]
#_[macc... | true | (ns rx.node.entry
(:require [rx.kitchen-sink :as ks]
[rx.http :as http]
[rx.css :as rcss]
#_[macchiato.middleware.resource :refer [wrap-resource]]
#_[macchiato.middleware.content-type :refer [wrap-content-type]]
#_[hiccups.runtime :as rt]
#_[macc... |
[
{
"context": "ssage-tracker confirmations]\n (let [routing-key (random-string)\n body (-> confirmations\n ",
"end": 548,
"score": 0.910722017288208,
"start": 535,
"tag": "KEY",
"value": "random-string"
}
] | test/kithara/test/property.clj | xsc/kithara | 21 | (ns kithara.test.property
(:require [clojure.test.check
[generators :as gen]
[properties :as prop]]
[kithara.test
[confirmations :as confirmations]
[fixtures :as fix]
[handler :as handler]]
[kithara.utils :refer [random-string]]
... | 8309 | (ns kithara.test.property
(:require [clojure.test.check
[generators :as gen]
[properties :as prop]]
[kithara.test
[confirmations :as confirmations]
[fixtures :as fix]
[handler :as handler]]
[kithara.utils :refer [random-string]]
... | true | (ns kithara.test.property
(:require [clojure.test.check
[generators :as gen]
[properties :as prop]]
[kithara.test
[confirmations :as confirmations]
[fixtures :as fix]
[handler :as handler]]
[kithara.utils :refer [random-string]]
... |
[
{
"context": "-------------------------------\n;;\n;;\n;; Author: PLIQUE Guillaume (Yomguithereal)\n;; Version: 0.1\n;;\n(ns clj-fuzz",
"end": 215,
"score": 0.9998235702514648,
"start": 199,
"tag": "NAME",
"value": "PLIQUE Guillaume"
},
{
"context": "------------\n;;\n;;\n;; Au... | test/clj_fuzzy/lancaster_test.clj | sooheon/clj-fuzzy | 222 | ;; -------------------------------------------------------------------
;; clj-fuzzy Lancaster Stemming Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: PLIQUE Guillaume (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.lancaster-test
(:require [clojure.test :refer :all]... | 90337 | ;; -------------------------------------------------------------------
;; clj-fuzzy Lancaster Stemming Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: <NAME> (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.lancaster-test
(:require [clojure.test :refer :all]
... | true | ;; -------------------------------------------------------------------
;; clj-fuzzy Lancaster Stemming Tests
;; -------------------------------------------------------------------
;;
;;
;; Author: PI:NAME:<NAME>END_PI (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.lancaster-test
(:require [clojure.test :refer :... |
[
{
"context": "on/generate-string (assoc bulk-update-body :name \"TEST NAME 2\"))]\n\n (testing \"Bulk update response\")\n (le",
"end": 1960,
"score": 0.797566294670105,
"start": 1949,
"tag": "NAME",
"value": "TEST NAME 2"
},
{
"context": " (assoc bulk-update-... | system-int-test/test/cmr/system_int_test/ingest/bulk_update/bulk_update_flow_test.clj | daniel-zamora/Common-Metadata-Repository | 1 | (ns cmr.system-int-test.ingest.bulk-update.bulk-update-flow-test
"CMR bulk update queueing flow integration tests. Endpoint validation is handled"
(:require
[cheshire.core :as json]
[clojure.test :refer :all]
[cmr.common.util :as util :refer [are3]]
[cmr.message-queue.test.queue-broker-side-api :as qb-s... | 5245 | (ns cmr.system-int-test.ingest.bulk-update.bulk-update-flow-test
"CMR bulk update queueing flow integration tests. Endpoint validation is handled"
(:require
[cheshire.core :as json]
[clojure.test :refer :all]
[cmr.common.util :as util :refer [are3]]
[cmr.message-queue.test.queue-broker-side-api :as qb-s... | true | (ns cmr.system-int-test.ingest.bulk-update.bulk-update-flow-test
"CMR bulk update queueing flow integration tests. Endpoint validation is handled"
(:require
[cheshire.core :as json]
[clojure.test :refer :all]
[cmr.common.util :as util :refer [are3]]
[cmr.message-queue.test.queue-broker-side-api :as qb-s... |
[
{
"context": "rtial ring or dome.\n\n VBAP was created by Ville Pulkki. For more information on\n VBAP see http:",
"end": 2027,
"score": 0.9991544485092163,
"start": 2015,
"tag": "NAME",
"value": "Ville Pulkki"
}
] | src/overtone/sc/machinery/ugen/metadata/extras/vbap.clj | ABaldwinHunter/overtone | 3,870 | (ns overtone.sc.machinery.ugen.metadata.extras.vbap
(:use [overtone.sc.machinery.ugen common check]))
(def specs
[
{:name "VBAP"
:summary "Vector Based Amplitude Panner"
:args [{:name "num-chans"
:default 1
:mode :num-outs
:doc "The number of output channels.... | 25646 | (ns overtone.sc.machinery.ugen.metadata.extras.vbap
(:use [overtone.sc.machinery.ugen common check]))
(def specs
[
{:name "VBAP"
:summary "Vector Based Amplitude Panner"
:args [{:name "num-chans"
:default 1
:mode :num-outs
:doc "The number of output channels.... | true | (ns overtone.sc.machinery.ugen.metadata.extras.vbap
(:use [overtone.sc.machinery.ugen common check]))
(def specs
[
{:name "VBAP"
:summary "Vector Based Amplitude Panner"
:args [{:name "num-chans"
:default 1
:mode :num-outs
:doc "The number of output channels.... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998056888580322,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/image_util.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 59896 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": " :english \"Hello World\"\n :spanish \"Hola Mundo\"\n :german \"Hallo Welt\"\n :fr",
"end": 432,
"score": 0.9996756315231323,
"start": 422,
"tag": "NAME",
"value": "Hola Mundo"
},
{
"context": " :spanish \"Hola Mundo\"\n ... | examples/hello_world/test/hello_world/core_test.cljs | BirdseyeSoftware/buster-cljs | 1 | (ns hello-world.core-test
(:require [hello-world.core :as hello])
(:require-macros [buster-cljs.macros :refer [initialize-buster deftest describe it is are]]))
;; NOTE: This call is important if you run your test-suite against node
(initialize-buster)
(deftest test-say-hello
(it "say-hello works correctly"
... | 62877 | (ns hello-world.core-test
(:require [hello-world.core :as hello])
(:require-macros [buster-cljs.macros :refer [initialize-buster deftest describe it is are]]))
;; NOTE: This call is important if you run your test-suite against node
(initialize-buster)
(deftest test-say-hello
(it "say-hello works correctly"
... | true | (ns hello-world.core-test
(:require [hello-world.core :as hello])
(:require-macros [buster-cljs.macros :refer [initialize-buster deftest describe it is are]]))
;; NOTE: This call is important if you run your test-suite against node
(initialize-buster)
(deftest test-say-hello
(it "say-hello works correctly"
... |
[
{
"context": "\n:special-snowflake\n\n; Map (Hash in Ruby)\n{:name \"Greenhouse\" :city \"New York\"}\n\n; Set\n#{\"fred\" \"ethel\"}\n\n; Co",
"end": 267,
"score": 0.8939305543899536,
"start": 257,
"tag": "NAME",
"value": "Greenhouse"
},
{
"context": ")\n{:name \"Greenhouse\" :city ... | data/test/clojure/171fefcd8079ca1d9008ad905283a88c573ec856core.clj | harshp8l/deep-learning-lang-detection | 84 | (ns clojure-lunch-and-learn.core
(:require [rhizome.viz :as viz]
[clojure.spec :as s])
(:gen-class))
;;; DATA
; Vector
["a" "b" "c"]
; List
'(1 2 3)
; Keyword (similar to symbols in Ruby)
:special-snowflake
; Map (Hash in Ruby)
{:name "Greenhouse" :city "New York"}
; Set
#{"fred" "ethel"}
; Compo... | 96373 | (ns clojure-lunch-and-learn.core
(:require [rhizome.viz :as viz]
[clojure.spec :as s])
(:gen-class))
;;; DATA
; Vector
["a" "b" "c"]
; List
'(1 2 3)
; Keyword (similar to symbols in Ruby)
:special-snowflake
; Map (Hash in Ruby)
{:name "<NAME>" :city "New York"}
; Set
#{"<NAME>" "<NAME>"}
; Compos... | true | (ns clojure-lunch-and-learn.core
(:require [rhizome.viz :as viz]
[clojure.spec :as s])
(:gen-class))
;;; DATA
; Vector
["a" "b" "c"]
; List
'(1 2 3)
; Keyword (similar to symbols in Ruby)
:special-snowflake
; Map (Hash in Ruby)
{:name "PI:NAME:<NAME>END_PI" :city "New York"}
; Set
#{"PI:NAME:<NAME... |
[
{
"context": "ased\n lookup. See [the wiki](https://github.com/marick/suchwow/wiki/such.relational)\n for more about t",
"end": 298,
"score": 0.9994475841522217,
"start": 292,
"tag": "USERNAME",
"value": "marick"
},
{
"context": "nsider this `xrel`:\n\n (def xrel [ {:first ... | src/such/relational.clj | marick/suchwow | 70 | (ns such.relational
"This namespace provides two things: better documentation for relational
functions in `clojure.set`, and an *experimental* set of functions for
\"pre-joining\" relational tables for a more tree-structured or path-based
lookup. See [the wiki](https://github.com/marick/suchwow/wiki/such.rel... | 29740 | (ns such.relational
"This namespace provides two things: better documentation for relational
functions in `clojure.set`, and an *experimental* set of functions for
\"pre-joining\" relational tables for a more tree-structured or path-based
lookup. See [the wiki](https://github.com/marick/suchwow/wiki/such.rel... | true | (ns such.relational
"This namespace provides two things: better documentation for relational
functions in `clojure.set`, and an *experimental* set of functions for
\"pre-joining\" relational tables for a more tree-structured or path-based
lookup. See [the wiki](https://github.com/marick/suchwow/wiki/such.rel... |
[
{
"context": " (c/add-data case :customer-info {:name \"Carl-Jan Granqvist\"\n :age ",
"end": 8424,
"score": 0.999889075756073,
"start": 8406,
"tag": "NAME",
"value": "Carl-Jan Granqvist"
},
{
"context": "dd-data case :currently-owne... | test/dativity/core_test.cljc | agentbellnorm/dativity | 196 | (ns dativity.core-test
(:require
[ysera.test :refer [is= is is-not deftest testing]]
[dativity.core :as c]
[dativity.define :as d]))
(def case-graph
(d/create-model
{:actions [:create-case
:consent-to-personal-data-retrieval-and-storage
... | 33730 | (ns dativity.core-test
(:require
[ysera.test :refer [is= is is-not deftest testing]]
[dativity.core :as c]
[dativity.define :as d]))
(def case-graph
(d/create-model
{:actions [:create-case
:consent-to-personal-data-retrieval-and-storage
... | true | (ns dativity.core-test
(:require
[ysera.test :refer [is= is is-not deftest testing]]
[dativity.core :as c]
[dativity.define :as d]))
(def case-graph
(d/create-model
{:actions [:create-case
:consent-to-personal-data-retrieval-and-storage
... |
[
{
"context": "ug \"test-decision\"\n ::user/email \"Marc\"})])\n =check=>\n (_/embeds?*\n ",
"end": 11905,
"score": 0.9778761863708496,
"start": 11901,
"tag": "NAME",
"value": "Marc"
}
] | src/test/decide/models/process_test.clj | fivejjs/decide3 | 4 | (ns decide.models.process-test
(:require
[clojure.test :refer [deftest is use-fixtures testing are]]
[decide.models.process :as process]
[decide.models.process.mutations :as process.mutations]
[decide.models.user :as user]
[decide.server-components.pathom :as pathom]
[decide.test-utils.common ... | 51356 | (ns decide.models.process-test
(:require
[clojure.test :refer [deftest is use-fixtures testing are]]
[decide.models.process :as process]
[decide.models.process.mutations :as process.mutations]
[decide.models.user :as user]
[decide.server-components.pathom :as pathom]
[decide.test-utils.common ... | true | (ns decide.models.process-test
(:require
[clojure.test :refer [deftest is use-fixtures testing are]]
[decide.models.process :as process]
[decide.models.process.mutations :as process.mutations]
[decide.models.user :as user]
[decide.server-components.pathom :as pathom]
[decide.test-utils.common ... |
[
{
"context": " [{:assignee [{:scalar [{:identifier [\"mary\"]}]}]}\n {:is-a [",
"end": 1593,
"score": 0.8944257497787476,
"start": 1589,
"tag": "NAME",
"value": "mary"
},
{
"context": " [{:identifier [\"mary... | test/isla/test/parser.clj | maryrosecook/islaclj | 38 | (ns isla.test.parser
(:use [isla.parser])
(:use [clojure.test])
(:use [clojure.pprint])
(:require [mrc.utils :as utils]))
(defmulti check-ast (fn [_ expected] (class expected)))
(defmethod check-ast java.util.Map [actual expected]
(def actual-tag (:tag actual))
(is (contains? expected actual-tag)) ;; chec... | 59840 | (ns isla.test.parser
(:use [isla.parser])
(:use [clojure.test])
(:use [clojure.pprint])
(:require [mrc.utils :as utils]))
(defmulti check-ast (fn [_ expected] (class expected)))
(defmethod check-ast java.util.Map [actual expected]
(def actual-tag (:tag actual))
(is (contains? expected actual-tag)) ;; chec... | true | (ns isla.test.parser
(:use [isla.parser])
(:use [clojure.test])
(:use [clojure.pprint])
(:require [mrc.utils :as utils]))
(defmulti check-ast (fn [_ expected] (class expected)))
(defmethod check-ast java.util.Map [actual expected]
(def actual-tag (:tag actual))
(is (contains? expected actual-tag)) ;; chec... |
[
{
"context": "inding]))\n\n;;;\n;;; This code is a modified copy of Zachary Tellman's Proteus library\n;;; (https://github.com/ztellma",
"end": 225,
"score": 0.9998637437820435,
"start": 210,
"tag": "NAME",
"value": "Zachary Tellman"
},
{
"context": "Tellman's Proteus library\n;;; (h... | src/luaclj/proteus.clj | smartrockstars/luaclj | 8 | (ns luaclj.proteus
(:require
[riddley.walk :refer (walk-exprs)]
[riddley.compiler :refer (locals)])
(:import
[clojure.lang
Compiler$LocalBinding]))
;;;
;;; This code is a modified copy of Zachary Tellman's Proteus library
;;; (https://github.com/ztellman/proteus
;;;
(declare transform-let-mutable... | 125120 | (ns luaclj.proteus
(:require
[riddley.walk :refer (walk-exprs)]
[riddley.compiler :refer (locals)])
(:import
[clojure.lang
Compiler$LocalBinding]))
;;;
;;; This code is a modified copy of <NAME>'s Proteus library
;;; (https://github.com/ztellman/proteus
;;;
(declare transform-let-mutable-form)
(... | true | (ns luaclj.proteus
(:require
[riddley.walk :refer (walk-exprs)]
[riddley.compiler :refer (locals)])
(:import
[clojure.lang
Compiler$LocalBinding]))
;;;
;;; This code is a modified copy of PI:NAME:<NAME>END_PI's Proteus library
;;; (https://github.com/ztellman/proteus
;;;
(declare transform-let-mu... |
[
{
"context": " :Username username\n :Passwor",
"end": 4415,
"score": 0.9992349147796631,
"start": 4407,
"tag": "USERNAME",
"value": "username"
},
{
"context": " :Pa... | src/widget/login/core.cljs | alpha-prosoft/edd-core-web | 0 | (ns widget.login.core
(:require [re-frame.fx :as fx]
[clojure.string :as str]
[re-frame.core :as rf]
[edd.events :as edd-events]
[widget.login.i18n :as i18n]))
(defn init
[]
(rf/dispatch [:initialize-login-db])
(rf/dispatch [::edd-events/add-translation i18n/tr])... | 124862 | (ns widget.login.core
(:require [re-frame.fx :as fx]
[clojure.string :as str]
[re-frame.core :as rf]
[edd.events :as edd-events]
[widget.login.i18n :as i18n]))
(defn init
[]
(rf/dispatch [:initialize-login-db])
(rf/dispatch [::edd-events/add-translation i18n/tr])... | true | (ns widget.login.core
(:require [re-frame.fx :as fx]
[clojure.string :as str]
[re-frame.core :as rf]
[edd.events :as edd-events]
[widget.login.i18n :as i18n]))
(defn init
[]
(rf/dispatch [:initialize-login-db])
(rf/dispatch [::edd-events/add-translation i18n/tr])... |
[
{
"context": ":bob :a :2} @(future (q))))\n (is (= {:core :charlie :a :2} @(future (q))))\n (is (= {:core :alic",
"end": 1747,
"score": 0.9258917570114136,
"start": 1740,
"tag": "NAME",
"value": "charlie"
},
{
"context": "rlie :a :2} @(future (q))))\n (is (= {:core ... | test/com/acrolinx/clj_queue_by_stress_test.clj | acrolinx/clj-queue-by | 16 | ;; Copyright 2017-2019 Acrolinx GmbH
;; 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 t... | 92830 | ;; Copyright 2017-2019 Acrolinx GmbH
;; 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 t... | true | ;; Copyright 2017-2019 Acrolinx GmbH
;; 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 t... |
[
{
"context": "))\n\n(deftest no-unreadable-forms\n (is (= {:name \"John Doe\"\n :age 37\n :url {:prone.prep/va",
"end": 1620,
"score": 0.9990686178207397,
"start": 1612,
"tag": "NAME",
"value": "John Doe"
},
{
"context": " (-> (prep-error-page {} {} {:session {... | test/prone/prep_test.clj | timothypratley/prone | 0 | (ns prone.prep-test
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer :all]
[datomic.api :as d]
[prone.prep :refer [prep-error-page prep-debug-page]])
(:import [java.io ByteArrayInputStream]))
(defn prep-frames [frames & [application-na... | 97752 | (ns prone.prep-test
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer :all]
[datomic.api :as d]
[prone.prep :refer [prep-error-page prep-debug-page]])
(:import [java.io ByteArrayInputStream]))
(defn prep-frames [frames & [application-na... | true | (ns prone.prep-test
(:require [clojure.java.io :as io]
[clojure.string :as str]
[clojure.test :refer :all]
[datomic.api :as d]
[prone.prep :refer [prep-error-page prep-debug-page]])
(:import [java.io ByteArrayInputStream]))
(defn prep-frames [frames & [application-na... |
[
{
"context": "rkBench -- Natural deduction\n\n; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 79,
"score": 0.99985671043396,
"start": 65,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | src/lwb/nd/examples/ltl_rules.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing to be ... | 29908 | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2016 <NAME>, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing to be bound by... | true | ; lwb Logic WorkBench -- Natural deduction
; Copyright (c) 2016 PI:NAME:<NAME>END_PI, THM. All rights reserved.
; The use and distribution terms for this software are covered by the
; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php).
; By using this software in any fashion, you are agreeing ... |
[
{
"context": " data ids))))\n\n(def perils\n {:rand_25 {:name \"Tremor\"\n :desc \"25% chance of {:hp} damage t",
"end": 3120,
"score": 0.6791923642158508,
"start": 3114,
"tag": "NAME",
"value": "Tremor"
},
{
"context": "rand)))\n :hp 3}\n :slam {:n... | src/gridom/game.cljs | lxsli/gridom | 0 | (ns gridom.game
(:require [om.core :as om :include-macros true]
[gridom.utils :as utils]))
;; TODO score
;; TODO peril list
;; TODO penalise death (live list)
;; TODO key binds
(def rows-n 5)
(def cols-n 5)
(def board-n (* rows-n cols-n))
(def mana-eff 6)
(def peril-scale 1)
(defn mkbox [[id _v]]
{:i... | 51818 | (ns gridom.game
(:require [om.core :as om :include-macros true]
[gridom.utils :as utils]))
;; TODO score
;; TODO peril list
;; TODO penalise death (live list)
;; TODO key binds
(def rows-n 5)
(def cols-n 5)
(def board-n (* rows-n cols-n))
(def mana-eff 6)
(def peril-scale 1)
(defn mkbox [[id _v]]
{:i... | true | (ns gridom.game
(:require [om.core :as om :include-macros true]
[gridom.utils :as utils]))
;; TODO score
;; TODO peril list
;; TODO penalise death (live list)
;; TODO key binds
(def rows-n 5)
(def cols-n 5)
(def board-n (* rows-n cols-n))
(def mana-eff 6)
(def peril-scale 1)
(defn mkbox [[id _v]]
{:i... |
[
{
"context": "-colls [c1-p2 c2-p2 c3-p2 c4-p2]\n tag-key \"tag1\"\n tag (tags/make-tag {:tag-key tag-key})\n ",
"end": 5378,
"score": 0.996431827545166,
"start": 5374,
"tag": "KEY",
"value": "tag1"
},
{
"context": "l/coll-catalog-item-id \"PROV1\"))\n (let [tag-key \"t... | system-int-test/test/cmr/system_int_test/search/tagging/tag_association_test.clj | daniel-zamora/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.search.tagging.tag-association-test
"This tests associating tags with collections."
(:require
[clojure.test :refer :all]
[cmr.common.util :refer [are2] :as util]
[cmr.mock-echo.client.echo-util :as echo-util]
[cmr.system-int-test.data2.collection :as collection]
[cmr.system-in... | 13329 | (ns cmr.system-int-test.search.tagging.tag-association-test
"This tests associating tags with collections."
(:require
[clojure.test :refer :all]
[cmr.common.util :refer [are2] :as util]
[cmr.mock-echo.client.echo-util :as echo-util]
[cmr.system-int-test.data2.collection :as collection]
[cmr.system-in... | true | (ns cmr.system-int-test.search.tagging.tag-association-test
"This tests associating tags with collections."
(:require
[clojure.test :refer :all]
[cmr.common.util :refer [are2] :as util]
[cmr.mock-echo.client.echo-util :as echo-util]
[cmr.system-int-test.data2.collection :as collection]
[cmr.system-in... |
[
{
"context": ";;;; Copyright 2016 Peter Stephens. All Rights Reserved.\r\n;;;;\r\n;;;; Licensed unde",
"end": 36,
"score": 0.999788224697113,
"start": 22,
"tag": "NAME",
"value": "Peter Stephens"
}
] | src/biblecli/main/utility.cljs | pstephens/kingjames.bible | 23 | ;;;; Copyright 2016 Peter Stephens. All Rights Reserved.
;;;;
;;;; Licensed under the Apache License, Version 2.0 (the "License");
;;;; you may not use this file except in compliance with the License.
;;;; You may obtain a copy of the License at
;;;;
;;;; http://www.apache.org/licenses/LICENSE-2.0
... | 24071 | ;;;; Copyright 2016 <NAME>. All Rights Reserved.
;;;;
;;;; Licensed under the Apache License, Version 2.0 (the "License");
;;;; you may not use this file except in compliance with the License.
;;;; You may obtain a copy of the License at
;;;;
;;;; http://www.apache.org/licenses/LICENSE-2.0
;;;;
;;... | true | ;;;; Copyright 2016 PI:NAME:<NAME>END_PI. All Rights Reserved.
;;;;
;;;; Licensed under the Apache License, Version 2.0 (the "License");
;;;; you may not use this file except in compliance with the License.
;;;; You may obtain a copy of the License at
;;;;
;;;; http://www.apache.org/licenses/LICENSE... |
[
{
"context": ";;\n;;\n;; Copyright 2013-2015 Netflix, Inc.\n;;\n;; Licensed under the Apache License",
"end": 37,
"score": 0.7631281614303589,
"start": 30,
"tag": "NAME",
"value": "Netflix"
}
] | pigpen-core/src/main/clojure/pigpen/core/op.clj | ombagus/Netflix | 327 | ;;
;;
;; Copyright 2013-2015 Netflix, Inc.
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required ... | 2260 | ;;
;;
;; Copyright 2013-2015 <NAME>, 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 b... | true | ;;
;;
;; Copyright 2013-2015 PI:NAME:<NAME>END_PI, 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
;;
;; Unl... |
[
{
"context": "nge\"\n [state side kw new-val delta]\n (let [key (name kw)]\n (system-msg state side\n (str",
"end": 676,
"score": 0.9592305421829224,
"start": 669,
"tag": "KEY",
"value": "name kw"
}
] | src/clj/game/core/change_vals.clj | ouroboros8/netrunner | 0 | (ns game.core.change-vals
(:require
[game.core.agendas :refer [update-all-agenda-points]]
[game.core.effects :refer [register-floating-effect]]
[game.core.engine :refer [trigger-event]]
[game.core.gaining :refer [base-mod-size deduct gain]]
[game.core.hand-size :refer [hand-size update-hand-size]]... | 101470 | (ns game.core.change-vals
(:require
[game.core.agendas :refer [update-all-agenda-points]]
[game.core.effects :refer [register-floating-effect]]
[game.core.engine :refer [trigger-event]]
[game.core.gaining :refer [base-mod-size deduct gain]]
[game.core.hand-size :refer [hand-size update-hand-size]]... | true | (ns game.core.change-vals
(:require
[game.core.agendas :refer [update-all-agenda-points]]
[game.core.effects :refer [register-floating-effect]]
[game.core.engine :refer [trigger-event]]
[game.core.gaining :refer [base-mod-size deduct gain]]
[game.core.hand-size :refer [hand-size update-hand-size]]... |
[
{
"context": "alid, 2) anonymous -\n; a string like \"REMOTE_ADDR=212.92.245.244\" in the response.\n;\n; Produces the file \"proxies.",
"end": 1313,
"score": 0.9997474551200867,
"start": 1299,
"tag": "IP_ADDRESS",
"value": "212.92.245.244"
}
] | data/train/clojure/a09f77e550a0ddc73ee036c5691f34c98996217epa-fetch.clj | harshp8l/deep-learning-lang-detection | 84 |
(require '[com.twinql.clojure.http :as http])
(require '[work.core :as work])
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Exception-free wrapper for clojure.http component.
;
(defn try-get
"Wrapper for the com.twinql.clojure.http component. Returns
either valid clojure.http respons... | 42702 |
(require '[com.twinql.clojure.http :as http])
(require '[work.core :as work])
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Exception-free wrapper for clojure.http component.
;
(defn try-get
"Wrapper for the com.twinql.clojure.http component. Returns
either valid clojure.http respons... | true |
(require '[com.twinql.clojure.http :as http])
(require '[work.core :as work])
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Exception-free wrapper for clojure.http component.
;
(defn try-get
"Wrapper for the com.twinql.clojure.http component. Returns
either valid clojure.http respons... |
[
{
"context": "t/result value))\n\n(def a-user (users/init {:auth \"Foobar\"}))\n\n(facts \"Callback URL should be calculated",
"end": 900,
"score": 0.8162456154823303,
"start": 897,
"tag": "USERNAME",
"value": "Foo"
},
{
"context": "esult value))\n\n(def a-user (users/init {:auth \"F... | test/londonstartup/controllers/auth_test.clj | emeka/londonstartup | 1 | (ns londonstartup.controllers.auth-test
(:require [londonstartup.controllers.auth :as auth]
[londonstartup.environment :as env]
[londonstartup.models.users :as users]
[londonstartup.common.result :as result]
[londonstartup.services.twitter :as twitter]
[lond... | 117743 | (ns londonstartup.controllers.auth-test
(:require [londonstartup.controllers.auth :as auth]
[londonstartup.environment :as env]
[londonstartup.models.users :as users]
[londonstartup.common.result :as result]
[londonstartup.services.twitter :as twitter]
[lond... | true | (ns londonstartup.controllers.auth-test
(:require [londonstartup.controllers.auth :as auth]
[londonstartup.environment :as env]
[londonstartup.models.users :as users]
[londonstartup.common.result :as result]
[londonstartup.services.twitter :as twitter]
[lond... |
[
{
"context": "e format\"\n (trf \"A {a} B {name}\" :a 1 :name \"Sam\") => \"A 1 B Sam\"\n \"accepts a single map as a",
"end": 4238,
"score": 0.8861222267150879,
"start": 4235,
"tag": "NAME",
"value": "Sam"
},
{
"context": " (trf \"A {a} B {name}\" :a 1 :name \"Sam\") => \"... | src/test/com/fulcrologic/fulcro_i18n/i18n_spec.cljc | avisi-apps/fulcro-i18n | 0 | (ns com.fulcrologic.fulcro-i18n.i18n-spec
(:require
[clojure.string :as str]
[fulcro-spec.core :refer [specification behavior provided assertions when-mocking]]
[com.fulcrologic.fulcro-i18n.i18n :as i18n :refer [tr trf trc]]
#?(:cljs
["intl-messageformat" :default IntlMessageFormat])
[com.f... | 8172 | (ns com.fulcrologic.fulcro-i18n.i18n-spec
(:require
[clojure.string :as str]
[fulcro-spec.core :refer [specification behavior provided assertions when-mocking]]
[com.fulcrologic.fulcro-i18n.i18n :as i18n :refer [tr trf trc]]
#?(:cljs
["intl-messageformat" :default IntlMessageFormat])
[com.f... | true | (ns com.fulcrologic.fulcro-i18n.i18n-spec
(:require
[clojure.string :as str]
[fulcro-spec.core :refer [specification behavior provided assertions when-mocking]]
[com.fulcrologic.fulcro-i18n.i18n :as i18n :refer [tr trf trc]]
#?(:cljs
["intl-messageformat" :default IntlMessageFormat])
[com.f... |
[
{
"context": "te false})\n\n(def registration-data\n {\n :email \"test.registration@example.com\"\n :first_name \"Testing\"\n :last_name \"Registra",
"end": 323,
"score": 0.9999232888221741,
"start": 294,
"tag": "EMAIL",
"value": "test.registration@example.com"
},
{
"context":... | test/clj/salava/user/registration_test.clj | Vilikkki/salava | 0 | (ns salava.user.registration-test
(:require [salava.user.db :as db]
[clojure.test :refer :all]
[salava.core.migrator :as migrator]
[salava.core.test-utils :as t]))
(def test-user {:id 1 :role "user" :private false})
(def registration-data
{
:email "test.registration@example.... | 60761 | (ns salava.user.registration-test
(:require [salava.user.db :as db]
[clojure.test :refer :all]
[salava.core.migrator :as migrator]
[salava.core.test-utils :as t]))
(def test-user {:id 1 :role "user" :private false})
(def registration-data
{
:email "<EMAIL>"
:first_name "<... | true | (ns salava.user.registration-test
(:require [salava.user.db :as db]
[clojure.test :refer :all]
[salava.core.migrator :as migrator]
[salava.core.test-utils :as t]))
(def test-user {:id 1 :role "user" :private false})
(def registration-data
{
:email "PI:EMAIL:<EMAIL>END_PI"
... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998126029968262,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/scene_visibility.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 121046 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": " sim-rng)\n\n ;; create a stochastic seq for bob\n bob-arma (arma-seq\n (m",
"end": 14955,
"score": 0.6911351084709167,
"start": 14952,
"tag": "NAME",
"value": "bob"
},
{
"context": " {:seed bob-arma-seed}))\n\n ;; ... | src/main/com/yetanalytics/datasim/timeseries.clj | yetanalytics/datasim | 12 | (ns com.yetanalytics.datasim.timeseries
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as sgen]
;; [incanter.interpolation :as interp]
[com.yetanalytics.datasim.clock :as clock]
[java-time :as t]
[com.yetanalytics.datasim.util.maths :as maths]... | 11720 | (ns com.yetanalytics.datasim.timeseries
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as sgen]
;; [incanter.interpolation :as interp]
[com.yetanalytics.datasim.clock :as clock]
[java-time :as t]
[com.yetanalytics.datasim.util.maths :as maths]... | true | (ns com.yetanalytics.datasim.timeseries
(:require [clojure.spec.alpha :as s]
[clojure.spec.gen.alpha :as sgen]
;; [incanter.interpolation :as interp]
[com.yetanalytics.datasim.clock :as clock]
[java-time :as t]
[com.yetanalytics.datasim.util.maths :as maths]... |
[
{
"context": " {:state false} (sut/adding-person? :person/add [\"Piet\"]))))\n (t/testing \":person/remove should do noth",
"end": 772,
"score": 0.9559964537620544,
"start": 768,
"tag": "NAME",
"value": "Piet"
},
{
"context": "state false} (sut/adding-person? :person/remove [\"Piet\... | test/tfsa/app_state_tests.cljs | SneakyPeet/tax-free-savings-tracker | 0 | (ns tfsa.app-state-tests
(:require [tfsa.app-state :as sut]
[cljs.test :as t :include-macros true]
[tfsa.reconciler :as reconciler]
[tfsa.config :as conf]
[citrus.core :as citrus]
[tfsa.domain :as domain]))
(t/deftest adding-person?-controller
(t/testing... | 101096 | (ns tfsa.app-state-tests
(:require [tfsa.app-state :as sut]
[cljs.test :as t :include-macros true]
[tfsa.reconciler :as reconciler]
[tfsa.config :as conf]
[citrus.core :as citrus]
[tfsa.domain :as domain]))
(t/deftest adding-person?-controller
(t/testing... | true | (ns tfsa.app-state-tests
(:require [tfsa.app-state :as sut]
[cljs.test :as t :include-macros true]
[tfsa.reconciler :as reconciler]
[tfsa.config :as conf]
[citrus.core :as citrus]
[tfsa.domain :as domain]))
(t/deftest adding-person?-controller
(t/testing... |
[
{
"context": "omponent\"\n (let [component-tree (person :tony \"Tony\" [(phone-number 1 \"555-1212\") (phone-number 2 \"12",
"end": 12056,
"score": 0.9967016577720642,
"start": 12052,
"tag": "NAME",
"value": "Tony"
},
{
"context": "er 2 \"123-4555\")])\n sally {:... | src/test/com/fulcrologic/fulcro/algorithms/merge_spec.cljc | mruzekw/fulcro | 1,312 | (ns com.fulcrologic.fulcro.algorithms.merge-spec
(:require
[clojure.test :refer [deftest are]]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[fulcro-spec.core :refer [assertions specification component when-mocking behavior provided]]
[com.fulcrologic.fulcro.algorithms.merge :as merge]
... | 3046 | (ns com.fulcrologic.fulcro.algorithms.merge-spec
(:require
[clojure.test :refer [deftest are]]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[fulcro-spec.core :refer [assertions specification component when-mocking behavior provided]]
[com.fulcrologic.fulcro.algorithms.merge :as merge]
... | true | (ns com.fulcrologic.fulcro.algorithms.merge-spec
(:require
[clojure.test :refer [deftest are]]
[com.fulcrologic.fulcro.components :as comp :refer [defsc]]
[fulcro-spec.core :refer [assertions specification component when-mocking behavior provided]]
[com.fulcrologic.fulcro.algorithms.merge :as merge]
... |
[
{
"context": "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\n;; @ Copyright (c) Michael Leachim ",
"end": 124,
"score": 0.9997689723968506,
"start": 109,
"tag": "NAME",
"value": "Michael Leachim"
},
{
"context": " @\n;; @@@@@@ At 201... | src/wireframe/utils.clj | MichaelLeachim/wireframecss | 1 | ;; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;; @ Copyright (c) Michael Leachim @
;; @ You can find additional information regarding licensing of this work in LICENSE.md @
;; @ You must not remove this notice, or any other... | 110999 | ;; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;; @ Copyright (c) <NAME> @
;; @ You can find additional information regarding licensing of this work in LICENSE.md @
;; @ You must not remove this notice, or any other, from th... | true | ;; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;; @ Copyright (c) PI:NAME:<NAME>END_PI @
;; @ You can find additional information regarding licensing of this work in LICENSE.md @
;; @ You must not remove this notice, or any ... |
[
{
"context": " -- functional string utilities for Clojure\n\n;; by Stuart Sierra, http://stuartsierra.com/\n;; August 19, 2009\n\n;; ",
"end": 82,
"score": 0.9998817443847656,
"start": 69,
"tag": "NAME",
"value": "Stuart Sierra"
},
{
"context": "rtsierra.com/\n;; August 19, 2009\n\n;... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/str_utils2.clj | allertonm/Couverjure | 3 | ;;; str_utils2.clj -- functional string utilities for Clojure
;; by Stuart Sierra, http://stuartsierra.com/
;; August 19, 2009
;; Copyright (c) Stuart Sierra, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/license... | 120697 | ;;; str_utils2.clj -- functional string utilities for Clojure
;; by <NAME>, http://stuartsierra.com/
;; August 19, 2009
;; Copyright (c) <NAME>, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.... | true | ;;; str_utils2.clj -- functional string utilities for Clojure
;; by PI:NAME:<NAME>END_PI, http://stuartsierra.com/
;; August 19, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensour... |
[
{
"context": " :user \"postgres\"\n :password \"pgsql123\"}}\n )",
"end": 1162,
"score": 0.9992742538452148,
"start": 1154,
"tag": "PASSWORD",
"value": "pgsql123"
}
] | project.clj | willianns/clj-restful-todolist | 1 | (defproject clj-restful-todolist "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.10.1"]
... | 8666 | (defproject clj-restful-todolist "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.10.1"]
... | true | (defproject clj-restful-todolist "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.10.1"]
... |
[
{
"context": " \"\"\n \"Game by Scot Brown & Dmitri Sotnikov\"]\n instructions (map-ind",
"end": 2892,
"score": 0.9998763203620911,
"start": 2882,
"tag": "NAME",
"value": "Scot Brown"
},
{
"context": " \"\"\n \"Game ... | src/graviton/ui.cljs | jsdelivrbot/graviton | 19 | (ns graviton.ui
(:require [graviton.engine :as engine]
[graviton.prizes :as prizes]))
(defn text-field [text size]
(-> (js/PIXI.Text. text (js/PIXI.TextStyle.
#js {:fill "#FF00FF"
:fontSize size
:fontF... | 3476 | (ns graviton.ui
(:require [graviton.engine :as engine]
[graviton.prizes :as prizes]))
(defn text-field [text size]
(-> (js/PIXI.Text. text (js/PIXI.TextStyle.
#js {:fill "#FF00FF"
:fontSize size
:fontF... | true | (ns graviton.ui
(:require [graviton.engine :as engine]
[graviton.prizes :as prizes]))
(defn text-field [text size]
(-> (js/PIXI.Text. text (js/PIXI.TextStyle.
#js {:fill "#FF00FF"
:fontSize size
:fontF... |
[
{
"context": "t [path \"path/passed/in\"\n token-passed-in \"fake-token\"\n vault-url \"https://vault.example.am",
"end": 441,
"score": 0.5334453582763672,
"start": 437,
"tag": "PASSWORD",
"value": "fake"
},
{
"context": "th \"path/passed/in\"\n token-passed-in \... | test/vault/secrets/kvv2_test.clj | b-social/vault-clj | 0 | (ns vault.secrets.kvv2-test
(:require
[clj-http.client]
[clojure.test :refer [testing deftest is]]
[vault.client.api-util :as api-util]
[vault.client.http :as http-client]
[vault.client.mock-test :as mock-test]
[vault.core :as vault]
[vault.secrets.kvv2 :as vault-kvv2])
(:import
(clo... | 95163 | (ns vault.secrets.kvv2-test
(:require
[clj-http.client]
[clojure.test :refer [testing deftest is]]
[vault.client.api-util :as api-util]
[vault.client.http :as http-client]
[vault.client.mock-test :as mock-test]
[vault.core :as vault]
[vault.secrets.kvv2 :as vault-kvv2])
(:import
(clo... | true | (ns vault.secrets.kvv2-test
(:require
[clj-http.client]
[clojure.test :refer [testing deftest is]]
[vault.client.api-util :as api-util]
[vault.client.http :as http-client]
[vault.client.mock-test :as mock-test]
[vault.core :as vault]
[vault.secrets.kvv2 :as vault-kvv2])
(:import
(clo... |
[
{
"context": " (is (future? (output-ref step)))\n (link \"Alice\" (:a step))\n (is (not (realized? (output-ref",
"end": 428,
"score": 0.9913868308067322,
"start": 423,
"tag": "NAME",
"value": "Alice"
},
{
"context": "(not (realized? (output-ref step))))\n (link \"Bo... | test/flowing/core_test.clj | stain/flowing-clj | 1 | (ns flowing.core-test
(:require [clojure.test :refer :all]
[flowing.core :refer :all]))
(deftest simple-workflow
(testing "step"
(let [step (step "hello" [a b c] (str "Hello, " a b c))]
(is (= "hello" (step-name step)))
(is (= [:a :b :c] (inputs step)))
(is (ref? (:a step)))
... | 6271 | (ns flowing.core-test
(:require [clojure.test :refer :all]
[flowing.core :refer :all]))
(deftest simple-workflow
(testing "step"
(let [step (step "hello" [a b c] (str "Hello, " a b c))]
(is (= "hello" (step-name step)))
(is (= [:a :b :c] (inputs step)))
(is (ref? (:a step)))
... | true | (ns flowing.core-test
(:require [clojure.test :refer :all]
[flowing.core :refer :all]))
(deftest simple-workflow
(testing "step"
(let [step (step "hello" [a b c] (str "Hello, " a b c))]
(is (= "hello" (step-name step)))
(is (= [:a :b :c] (inputs step)))
(is (ref? (:a step)))
... |
[
{
"context": "r (* polling-interval 2)))))))))\n\n(def version-key \"_version\")\n\n(def export-option-keys\n [\"meta\" \"data_id\" \"g",
"end": 4829,
"score": 0.9933702349662781,
"start": 4820,
"tag": "KEY",
"value": "\"_version"
}
] | src/milia/api/async_export.cljc | onaio/milia | 9 | (ns milia.api.async-export
#?(:cljs (:require-macros [cljs.core.async.macros :refer [go]]))
(:require [chimera.seq :refer [select-values]]
[chimera.string :refer [is-not-null?]]
#?@(:cljs [[goog.string.format]
[cljs.core.async :refer [<! chan put! timeout]]])
... | 77476 | (ns milia.api.async-export
#?(:cljs (:require-macros [cljs.core.async.macros :refer [go]]))
(:require [chimera.seq :refer [select-values]]
[chimera.string :refer [is-not-null?]]
#?@(:cljs [[goog.string.format]
[cljs.core.async :refer [<! chan put! timeout]]])
... | true | (ns milia.api.async-export
#?(:cljs (:require-macros [cljs.core.async.macros :refer [go]]))
(:require [chimera.seq :refer [select-values]]
[chimera.string :refer [is-not-null?]]
#?@(:cljs [[goog.string.format]
[cljs.core.async :refer [<! chan put! timeout]]])
... |
[
{
"context": ")\n(println (format \"name=%s has %.5f\"\n \"Peter\" 5.0)) ;name=Peter has 5.00000",
"end": 271,
"score": 0.9960019588470459,
"start": 266,
"tag": "NAME",
"value": "Peter"
},
{
"context": "name=%s has %.5f\"\n \"Peter\" 5.0)) ;name=Peter has 5.0000... | quickstart-kotlin/src/main/clojure/com/bookislife/jgsk/clojure/_07_string/app.clj | youngzil/quickstart-framework | 6 | ;Literals
(def s "Hello World")
;Multiple Lines
(def text "1, 2, 3
one, two, three
\"x, \"y\", \"z\"")
(println s)
(println text)
;Concatenate
(def ret (str "x" "y"))
(println ret) ;xy
;Template
(def salary 100.1)
(println (format "name=%s has %.5f"
"Peter" 5.0)) ;name=Peter has 5.00000 | 92813 | ;Literals
(def s "Hello World")
;Multiple Lines
(def text "1, 2, 3
one, two, three
\"x, \"y\", \"z\"")
(println s)
(println text)
;Concatenate
(def ret (str "x" "y"))
(println ret) ;xy
;Template
(def salary 100.1)
(println (format "name=%s has %.5f"
"<NAME>" 5.0)) ;name=<NAME> has 5.00000 | true | ;Literals
(def s "Hello World")
;Multiple Lines
(def text "1, 2, 3
one, two, three
\"x, \"y\", \"z\"")
(println s)
(println text)
;Concatenate
(def ret (str "x" "y"))
(println ret) ;xy
;Template
(def salary 100.1)
(println (format "name=%s has %.5f"
"PI:NAME:<NAME>END_PI" 5.0)) ;name=PI:NAME:<NAME>END_P... |
[
{
"context": "d '(:grace-hopper :leslie-lamport :frances-allen :john-mccarthy :barbara-liskov :alonzo-church :ada-lovelace :ala",
"end": 776,
"score": 0.9675511717796326,
"start": 763,
"tag": "NAME",
"value": "john-mccarthy"
},
{
"context": "er :leslie-lamport :frances-allen :john-mc... | test/logical_7in7/core_test.clj | zz-monad-zz/logical-7in7 | 0 | (ns logical-7in7.core-test
(:require [clojure.test :refer :all]
[logical-7in7.core :refer :all]))
(deftest a-test
(testing "This a simple example."
(let [expected '(true)
actual (example)]
(is (= expected actual)))))
(deftest test_easy_1
(testing "easy_1"
(let [expected '(3)
... | 124262 | (ns logical-7in7.core-test
(:require [clojure.test :refer :all]
[logical-7in7.core :refer :all]))
(deftest a-test
(testing "This a simple example."
(let [expected '(true)
actual (example)]
(is (= expected actual)))))
(deftest test_easy_1
(testing "easy_1"
(let [expected '(3)
... | true | (ns logical-7in7.core-test
(:require [clojure.test :refer :all]
[logical-7in7.core :refer :all]))
(deftest a-test
(testing "This a simple example."
(let [expected '(true)
actual (example)]
(is (= expected actual)))))
(deftest test_easy_1
(testing "easy_1"
(let [expected '(3)
... |
[
{
"context": "tion of the Glicko-2 rating algorithm\"\n :author \"Sylvain Ageneau\"\n :url \"https://github.com/ageneau/glicko2\"\n :l",
"end": 127,
"score": 0.9998950958251953,
"start": 112,
"tag": "NAME",
"value": "Sylvain Ageneau"
},
{
"context": "or \"Sylvain Ageneau\"\n :url... | project.clj | ageneau/glicko2 | 1 | (defproject ageneau/glicko2 "0.1.2"
:description "Implementation of the Glicko-2 rating algorithm"
:author "Sylvain Ageneau"
:url "https://github.com/ageneau/glicko2"
:license {:name "BSD 2-Clause \"Simplified\" License"
:url "https://opensource.org/licenses/BSD-2-Clause"
:year 2018
... | 27352 | (defproject ageneau/glicko2 "0.1.2"
:description "Implementation of the Glicko-2 rating algorithm"
:author "<NAME>"
:url "https://github.com/ageneau/glicko2"
:license {:name "BSD 2-Clause \"Simplified\" License"
:url "https://opensource.org/licenses/BSD-2-Clause"
:year 2018
:... | true | (defproject ageneau/glicko2 "0.1.2"
:description "Implementation of the Glicko-2 rating algorithm"
:author "PI:NAME:<NAME>END_PI"
:url "https://github.com/ageneau/glicko2"
:license {:name "BSD 2-Clause \"Simplified\" License"
:url "https://opensource.org/licenses/BSD-2-Clause"
:year 2018... |
[
{
"context": ";; The MIT License (MIT)\n\n;; Copyright (c) 2016 tyf00@aliyun.com, picked from https://github.com/TimeExceed/cellul",
"end": 64,
"score": 0.999901294708252,
"start": 48,
"tag": "EMAIL",
"value": "tyf00@aliyun.com"
},
{
"context": " tyf00@aliyun.com, picked from https:/... | src/cellular/core.cljc | TimeExceed/cellular | 0 | ;; The MIT License (MIT)
;; Copyright (c) 2016 tyf00@aliyun.com, picked from https://github.com/TimeExceed/cellular
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, i... | 9463 | ;; The MIT License (MIT)
;; Copyright (c) 2016 <EMAIL>, picked from https://github.com/TimeExceed/cellular
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restriction, including ... | true | ;; The MIT License (MIT)
;; Copyright (c) 2016 PI:EMAIL:<EMAIL>END_PI, picked from https://github.com/TimeExceed/cellular
;; Permission is hereby granted, free of charge, to any person obtaining a copy
;; of this software and associated documentation files (the "Software"), to deal
;; in the Software without restrict... |
[
{
"context": " NIMBUS-ADMINS [\"admin-user\"]\n ",
"end": 26664,
"score": 0.9898571372032166,
"start": 26654,
"tag": "USERNAME",
"value": "admin-user"
},
{
"context": "\" {TOPOLOGY-MESSAGE-TIMEOUT-SECS 20,... | storm-core/test/clj/org/apache/storm/nimbus_test.clj | qinwang/storm | 0 | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... | 8775 | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... | true | ;; Licensed to the Apache Software Foundation (ASF) under one
;; or more contributor license agreements. See the NOTICE file
;; distributed with this work for additional information
;; regarding copyright ownership. The ASF licenses this file
;; to you under the Apache License, Version 2.0 (the
;; "License"); you may... |
[
{
"context": " id)]\n (hash-map :username (:id usr), :password (:password usr), :roles #{::user})\n nil))\n\n(defn from-clj",
"end": 915,
"score": 0.6364927291870117,
"start": 905,
"tag": "PASSWORD",
"value": "(:password"
},
{
"context": "hash-map :username (:id usr), :password... | src/api/secure.clj | dannicolici/news | 0 | (ns api.secure
(:require [api.core :as api]
[infrastructure.persistence :as db]
[compojure.core :refer :all]
[ring.middleware.defaults :refer [wrap-defaults site-defaults]]
[ring.adapter.jetty :refer [run-jetty]]
[ring.middleware.session :refer [wrap-session... | 100013 | (ns api.secure
(:require [api.core :as api]
[infrastructure.persistence :as db]
[compojure.core :refer :all]
[ring.middleware.defaults :refer [wrap-defaults site-defaults]]
[ring.adapter.jetty :refer [run-jetty]]
[ring.middleware.session :refer [wrap-session... | true | (ns api.secure
(:require [api.core :as api]
[infrastructure.persistence :as db]
[compojure.core :refer :all]
[ring.middleware.defaults :refer [wrap-defaults site-defaults]]
[ring.adapter.jetty :refer [run-jetty]]
[ring.middleware.session :refer [wrap-session... |
[
{
"context": "-------------------------------\n;;\n;;\n;; Author: PLIQUE Guillaume (Yomguithereal)\n;; Version: 0.1\n;;\n(ns clj-fuzz",
"end": 198,
"score": 0.9998354315757751,
"start": 182,
"tag": "NAME",
"value": "PLIQUE Guillaume"
},
{
"context": "------------\n;;\n;;\n;; Au... | src/clj_fuzzy/soundex.cljc | sooheon/clj-fuzzy | 0 | ;; -------------------------------------------------------------------
;; clj-fuzzy Soundex
;; -------------------------------------------------------------------
;;
;;
;; Author: PLIQUE Guillaume (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.soundex
(:require clojure.string)
(:use [clj-fuzzy.helpers :only [... | 50655 | ;; -------------------------------------------------------------------
;; clj-fuzzy Soundex
;; -------------------------------------------------------------------
;;
;;
;; Author: <NAME> (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.soundex
(:require clojure.string)
(:use [clj-fuzzy.helpers :only [clean-non-... | true | ;; -------------------------------------------------------------------
;; clj-fuzzy Soundex
;; -------------------------------------------------------------------
;;
;;
;; Author: PI:NAME:<NAME>END_PI (Yomguithereal)
;; Version: 0.1
;;
(ns clj-fuzzy.soundex
(:require clojure.string)
(:use [clj-fuzzy.helpers :on... |
[
{
"context": " (is (= ((fn [name] (str \"Hello, \" name \"!\")) \"Dave\") \"Hello, Dave!\"))\n (is (= ((fn [name] (str \"H",
"end": 162,
"score": 0.9988808631896973,
"start": 158,
"tag": "NAME",
"value": "Dave"
},
{
"context": "n [name] (str \"Hello, \" name \"!\")) \"Dave\") \... | test/exercises/016_4clojure_test.clj | arturoherrero/4clojure | 0 | (ns exercises.016-4clojure-test
(:require [clojure.test :refer :all]))
(deftest exercise-test
(testing
(is (= ((fn [name] (str "Hello, " name "!")) "Dave") "Hello, Dave!"))
(is (= ((fn [name] (str "Hello, " name "!")) "Jenn") "Hello, Jenn!"))
(is (= ((fn [name] (str "Hello, " name "!")) "Rhea") "Hello,... | 31089 | (ns exercises.016-4clojure-test
(:require [clojure.test :refer :all]))
(deftest exercise-test
(testing
(is (= ((fn [name] (str "Hello, " name "!")) "<NAME>") "Hello, <NAME>!"))
(is (= ((fn [name] (str "Hello, " name "!")) "<NAME>") "Hello, <NAME>!"))
(is (= ((fn [name] (str "Hello, " name "!")) "Rhea")... | true | (ns exercises.016-4clojure-test
(:require [clojure.test :refer :all]))
(deftest exercise-test
(testing
(is (= ((fn [name] (str "Hello, " name "!")) "PI:NAME:<NAME>END_PI") "Hello, PI:NAME:<NAME>END_PI!"))
(is (= ((fn [name] (str "Hello, " name "!")) "PI:NAME:<NAME>END_PI") "Hello, PI:NAME:<NAME>END_PI!"))
... |
[
{
"context": "date-time\" current-time-ms\n \"last-update-user\" \"auth-user\"\n \"owner\" \"test-user\"\n \"previous\" {\"last-upda",
"end": 2568,
"score": 0.8607563972473145,
"start": 2559,
"tag": "USERNAME",
"value": "auth-user"
},
{
"context": "-ms\n \"last-update-user\" ... | token-syncer/integration/token_syncer/basic_test.clj | mokshjawa/waiter | 0 | ;;
;; Copyright (c) Two Sigma Open Source, 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... | 89341 | ;;
;; Copyright (c) Two Sigma Open Source, 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... | true | ;;
;; Copyright (c) Two Sigma Open Source, 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... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.9998135566711426,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 R... | editor/src/clj/editor/sync.clj | cmarincia/defold | 0 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 Ragnar Svensson, Christian Murray
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together wi... | 91429 | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 <NAME>, <NAME>
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, together with FAQs at
;; https... | true | ;; Copyright 2020-2022 The Defold Foundation
;; Copyright 2014-2020 King
;; Copyright 2009-2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
;; Licensed under the Defold License version 1.0 (the "License"); you may not use
;; this file except in compliance with the License.
;;
;; You may obtain a copy of the License, to... |
[
{
"context": "1 2)\n\n (deserialize \"{ \\\"person\\\": { \\\"name\\\": \\\"Garrett\\\" } }\")\n\n (js->clj (deserialize \"{ \\\"person\\\": {",
"end": 1589,
"score": 0.999678373336792,
"start": 1582,
"tag": "NAME",
"value": "Garrett"
},
{
"context": "js->clj (deserialize \"{ \\\"p... | src/main/blink/app/node_wrappers/http.cljs | GHvW/blink | 0 | (ns blink.app.node-wrappers.http
(:require
["https" :as https]
[cljs.core.match :refer-macros [match]]
[cljs.core.async :refer [go chan <! put! >! close! reduce]]))
(defn deserialize
[data]
(.parse js/JSON data))
(defn node-get
([url] (node-get url #js {}))
([url options]
(let [out-chan (chan)]... | 34815 | (ns blink.app.node-wrappers.http
(:require
["https" :as https]
[cljs.core.match :refer-macros [match]]
[cljs.core.async :refer [go chan <! put! >! close! reduce]]))
(defn deserialize
[data]
(.parse js/JSON data))
(defn node-get
([url] (node-get url #js {}))
([url options]
(let [out-chan (chan)]... | true | (ns blink.app.node-wrappers.http
(:require
["https" :as https]
[cljs.core.match :refer-macros [match]]
[cljs.core.async :refer [go chan <! put! >! close! reduce]]))
(defn deserialize
[data]
(.parse js/JSON data))
(defn node-get
([url] (node-get url #js {}))
([url options]
(let [out-chan (chan)]... |
[
{
"context": "ses/MIT\"\n :year 2015\n :key \"mit\"}\n :description \"Serves holojam data to the web ",
"end": 175,
"score": 0.6542733907699585,
"start": 172,
"tag": "KEY",
"value": "mit"
}
] | project.clj | WFT/holojam-playback-server | 0 | (defproject playback-server "0.1.0-SNAPSHOT"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"
:year 2015
:key "mit"}
:description "Serves holojam data to the web playback client."
:dependencies [[org.clojure/clojure "1.7.0"]
[compojure "1... | 32959 | (defproject playback-server "0.1.0-SNAPSHOT"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"
:year 2015
:key "<KEY>"}
:description "Serves holojam data to the web playback client."
:dependencies [[org.clojure/clojure "1.7.0"]
[compojure ... | true | (defproject playback-server "0.1.0-SNAPSHOT"
:license {:name "MIT License"
:url "http://opensource.org/licenses/MIT"
:year 2015
:key "PI:KEY:<KEY>END_PI"}
:description "Serves holojam data to the web playback client."
:dependencies [[org.clojure/clojure "1.7.0"]
... |
[
{
"context": " user2 (:identity req2)\n habit1 {:name \"piano\" :owner_id (parseLong (:id user1))}\n habit",
"end": 526,
"score": 0.9894514083862305,
"start": 521,
"tag": "NAME",
"value": "piano"
}
] | groove-api/test/groove/handlers/groove_test.clj | MrLys/vicissitudes | 1 | (ns groove.handlers.groove-test
(:require [clojure.test :refer :all]
[groove.util.utils :refer [parseLong]]
[groove.test-utils :refer :all]
[groove.db-test-utils :refer :all]
[groove.handlers.groove :as handler]
[groove.bulwark :as blwrk]
[groove... | 10383 | (ns groove.handlers.groove-test
(:require [clojure.test :refer :all]
[groove.util.utils :refer [parseLong]]
[groove.test-utils :refer :all]
[groove.db-test-utils :refer :all]
[groove.handlers.groove :as handler]
[groove.bulwark :as blwrk]
[groove... | true | (ns groove.handlers.groove-test
(:require [clojure.test :refer :all]
[groove.util.utils :refer [parseLong]]
[groove.test-utils :refer :all]
[groove.db-test-utils :refer :all]
[groove.handlers.groove :as handler]
[groove.bulwark :as blwrk]
[groove... |
[
{
"context": "re]\n (str (:name were-creature) \" will try to eat Harry Potter for dinner\"))\n\n(full-moon-behavior {:were-type :h",
"end": 221,
"score": 0.9982450008392334,
"start": 209,
"tag": "NAME",
"value": "Harry Potter"
},
{
"context": "e :hogwarts-professor\n ... | chapter-13.clj | peferron/clojure-brave-true | 1 | ; 1
(defmulti full-moon-behavior
(fn [were-creature] (:were-type were-creature)))
(defmethod full-moon-behavior :hogwarts-professor
[were-creature]
(str (:name were-creature) " will try to eat Harry Potter for dinner"))
(full-moon-behavior {:were-type :hogwarts-professor
:name "Lup... | 79892 | ; 1
(defmulti full-moon-behavior
(fn [were-creature] (:were-type were-creature)))
(defmethod full-moon-behavior :hogwarts-professor
[were-creature]
(str (:name were-creature) " will try to eat <NAME> for dinner"))
(full-moon-behavior {:were-type :hogwarts-professor
:name "<NAME>"})... | true | ; 1
(defmulti full-moon-behavior
(fn [were-creature] (:were-type were-creature)))
(defmethod full-moon-behavior :hogwarts-professor
[were-creature]
(str (:name were-creature) " will try to eat PI:NAME:<NAME>END_PI for dinner"))
(full-moon-behavior {:were-type :hogwarts-professor
:n... |
[
{
"context": "parse-mentor-handle\n [^String mentor-handle]\n ;; karl@foo.com\n (when (and mentor-handle (re-seq #\"@\" mentor-ha",
"end": 726,
"score": 0.9999099373817444,
"start": 714,
"tag": "EMAIL",
"value": "karl@foo.com"
}
] | src/krukow/mentor_match/sheets_parser.clj | krukow/mentor-match | 0 | (ns krukow.mentor-match.sheets-parser
(:require [krukow.mentor-match.google-api :as api]
[clojure.string :as s]))
(defn- spreadsheet-url->id
[spreadsheetUrl]
(let [url-path (.getPath (java.net.URL. spreadsheetUrl))
id-action-segment (last (clojure.string/split url-path #"/spreadsheets/d/"))... | 25124 | (ns krukow.mentor-match.sheets-parser
(:require [krukow.mentor-match.google-api :as api]
[clojure.string :as s]))
(defn- spreadsheet-url->id
[spreadsheetUrl]
(let [url-path (.getPath (java.net.URL. spreadsheetUrl))
id-action-segment (last (clojure.string/split url-path #"/spreadsheets/d/"))... | true | (ns krukow.mentor-match.sheets-parser
(:require [krukow.mentor-match.google-api :as api]
[clojure.string :as s]))
(defn- spreadsheet-url->id
[spreadsheetUrl]
(let [url-path (.getPath (java.net.URL. spreadsheetUrl))
id-action-segment (last (clojure.string/split url-path #"/spreadsheets/d/"))... |
[
{
"context": ") ;; warnings in cheshire.generate\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :date \"2017-12-06\"\n :doc \"Probabilit",
"end": 137,
"score": 0.9344533681869507,
"start": 111,
"tag": "EMAIL",
"value": "wahpenayo at gmail dot com"
}
] | src/main/clojure/zana/prob/measure.clj | wahpenayo/zana | 2 | (set! *warn-on-reflection* true)
(set! *unchecked-math* false) ;; warnings in cheshire.generate
(ns ^{:author "wahpenayo at gmail dot com"
:date "2017-12-06"
:doc "Probability measures over <b>R</b>." }
zana.prob.measure
(:refer-clojure :exclude [every?])
(:require [cheshire.generate]
... | 15471 | (set! *warn-on-reflection* true)
(set! *unchecked-math* false) ;; warnings in cheshire.generate
(ns ^{:author "<EMAIL>"
:date "2017-12-06"
:doc "Probability measures over <b>R</b>." }
zana.prob.measure
(:refer-clojure :exclude [every?])
(:require [cheshire.generate]
[zana.common... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* false) ;; warnings in cheshire.generate
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI"
:date "2017-12-06"
:doc "Probability measures over <b>R</b>." }
zana.prob.measure
(:refer-clojure :exclude [every?])
(:require [cheshire.generate]
... |
[
{
"context": " [c/text-input \"Email\" :email \"enter a email, EX: example@xx.com\" reg-data]\n [c/password-input \"密码\" :passw",
"end": 3801,
"score": 0.9999153017997742,
"start": 3787,
"tag": "EMAIL",
"value": "example@xx.com"
},
{
"context": "-data]\n [c/password-... | src/cljs/soul_talk/register.cljs | yuppieghost/soul-talk | 0 | (ns soul-talk.register
(:require [domina :as dom]
[reagent.core :as reagent :refer [atom]]
[soul-talk.auth-validate :as validate]
[ajax.core :as ajax :refer [POST]]
[reagent.session :as session]
[taoensso.timbre :as log]
[soul-talk.components.com... | 123653 | (ns soul-talk.register
(:require [domina :as dom]
[reagent.core :as reagent :refer [atom]]
[soul-talk.auth-validate :as validate]
[ajax.core :as ajax :refer [POST]]
[reagent.session :as session]
[taoensso.timbre :as log]
[soul-talk.components.com... | true | (ns soul-talk.register
(:require [domina :as dom]
[reagent.core :as reagent :refer [atom]]
[soul-talk.auth-validate :as validate]
[ajax.core :as ajax :refer [POST]]
[reagent.session :as session]
[taoensso.timbre :as log]
[soul-talk.components.com... |
[
{
"context": ">> feed-items\n (rss/channel-xml {:title \"John Jacobsen\"\n :link (str \"http:/",
"end": 2217,
"score": 0.9991579055786133,
"start": 2206,
"tag": "NAME",
"value": "John Jacobs"
},
{
"context": " :descriptio... | src/organa/rss.clj | eigenhombre/organa | 14 | (ns organa.rss
(:require [clj-rss.core :as rss]
[clojure.walk :as walk]
[net.cgrand.enlive-html :as html]
[organa.config :refer [config]]
[organa.html :as h])
(:import [java.time Instant]))
;; FIXME:
(def ^:private target-dir (:target-dir config))
;; FIXME:
(def ^:pr... | 27644 | (ns organa.rss
(:require [clj-rss.core :as rss]
[clojure.walk :as walk]
[net.cgrand.enlive-html :as html]
[organa.config :refer [config]]
[organa.html :as h])
(:import [java.time Instant]))
;; FIXME:
(def ^:private target-dir (:target-dir config))
;; FIXME:
(def ^:pr... | true | (ns organa.rss
(:require [clj-rss.core :as rss]
[clojure.walk :as walk]
[net.cgrand.enlive-html :as html]
[organa.config :refer [config]]
[organa.html :as h])
(:import [java.time Instant]))
;; FIXME:
(def ^:private target-dir (:target-dir config))
;; FIXME:
(def ^:pr... |
[
{
"context": "[{:id 1 :label \"Aldous-Broder\"}\n {:id 2 :label \"Wilson\"}\n {:id 3 :label \"Depth-First Search\"}\n {:id ",
"end": 338,
"score": 0.7845740914344788,
"start": 332,
"tag": "NAME",
"value": "Wilson"
}
] | src/cljs/amaze/config.cljs | brown131/amaze | 1 | (ns amaze.config (:require [reagent.core :as reagent]))
(def debug? ^boolean goog.DEBUG)
(def directions "Maze directions with coordinate deltas. Origin is upper left."
{:north [0 -1] :south [0 1] :east [1 0] :west [-1 0]})
(def maze-algorithms "Maze generation algorithms"
[{:id 1 :label "Aldous-Broder"}
{:i... | 60185 | (ns amaze.config (:require [reagent.core :as reagent]))
(def debug? ^boolean goog.DEBUG)
(def directions "Maze directions with coordinate deltas. Origin is upper left."
{:north [0 -1] :south [0 1] :east [1 0] :west [-1 0]})
(def maze-algorithms "Maze generation algorithms"
[{:id 1 :label "Aldous-Broder"}
{:i... | true | (ns amaze.config (:require [reagent.core :as reagent]))
(def debug? ^boolean goog.DEBUG)
(def directions "Maze directions with coordinate deltas. Origin is upper left."
{:north [0 -1] :south [0 1] :east [1 0] :west [-1 0]})
(def maze-algorithms "Maze generation algorithms"
[{:id 1 :label "Aldous-Broder"}
{:i... |
[
{
"context": "r\n #^{:doc \"Clojure monitor timer\"\n :author \"dennis<xzhuang@avos.com>\"}\n (:import (org.quartz JobDet",
"end": 76,
"score": 0.9933557510375977,
"start": 70,
"tag": "USERNAME",
"value": "dennis"
},
{
"context": ":doc \"Clojure monitor timer\"\n :author \"... | src/clj/monitor/timer.clj | killme2008/clj.monitor | 3 | (ns clj.monitor.timer
#^{:doc "Clojure monitor timer"
:author "dennis<xzhuang@avos.com>"}
(:import (org.quartz JobDetail Scheduler Trigger CronScheduleBuilder JobBuilder TriggerBuilder Job JobDataMap JobExecutionContext)
(org.quartz.impl DirectSchedulerFactory)))
(defn init-scheduler
"Initialize ... | 62896 | (ns clj.monitor.timer
#^{:doc "Clojure monitor timer"
:author "dennis<<EMAIL>>"}
(:import (org.quartz JobDetail Scheduler Trigger CronScheduleBuilder JobBuilder TriggerBuilder Job JobDataMap JobExecutionContext)
(org.quartz.impl DirectSchedulerFactory)))
(defn init-scheduler
"Initialize a quartz ... | true | (ns clj.monitor.timer
#^{:doc "Clojure monitor timer"
:author "dennis<PI:EMAIL:<EMAIL>END_PI>"}
(:import (org.quartz JobDetail Scheduler Trigger CronScheduleBuilder JobBuilder TriggerBuilder Job JobDataMap JobExecutionContext)
(org.quartz.impl DirectSchedulerFactory)))
(defn init-scheduler
"Initi... |
[
{
"context": "document editor.\n;; Copyright 2011-2013, Vixu.com, F.M. (Filip) de Waard <fmw@vixu.com>.\n;;\n;; Licensed under the Apache L",
"end": 125,
"score": 0.9878386855125427,
"start": 104,
"tag": "NAME",
"value": "F.M. (Filip) de Waard"
},
{
"context": "right 2011-2013, Vixu.... | src/cljs/src/views/editor.cljs | fmw/vix | 22 | ;; cljs/src/views/editor.cljs: UI implementation for document editor.
;; Copyright 2011-2013, Vixu.com, F.M. (Filip) de Waard <fmw@vixu.com>.
;;
;; 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 ... | 109143 | ;; cljs/src/views/editor.cljs: UI implementation for document editor.
;; Copyright 2011-2013, Vixu.com, <NAME> <<EMAIL>>.
;;
;; 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... | true | ;; cljs/src/views/editor.cljs: UI implementation for document editor.
;; Copyright 2011-2013, Vixu.com, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>.
;;
;; 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... |
[
{
"context": "0.0,\n :to 100.0000000001}\n {:key \"100 to 250 meters\",\n :from 100.0,\n :t",
"end": 3722,
"score": 0.7861198782920837,
"start": 3720,
"tag": "KEY",
"value": "00"
},
{
"context": " :to 100.0000000001}\n {:key \"100 to 250 me... | search-app/test/cmr/search/test/services/query_execution/facets/facets_v2_results_feature_test.clj | cgokey/Common-Metadata-Repository | 0 | (ns cmr.search.test.services.query-execution.facets.facets-v2-results-feature-test
(:require
[clojure.test :refer :all]
[cmr.common-app.services.search.query-execution :as query-execution]
[cmr.search.services.humanizers.humanizer-range-facet-service :as rfs]
[cmr.search.services.query-execution.facets.fa... | 105042 | (ns cmr.search.test.services.query-execution.facets.facets-v2-results-feature-test
(:require
[clojure.test :refer :all]
[cmr.common-app.services.search.query-execution :as query-execution]
[cmr.search.services.humanizers.humanizer-range-facet-service :as rfs]
[cmr.search.services.query-execution.facets.fa... | true | (ns cmr.search.test.services.query-execution.facets.facets-v2-results-feature-test
(:require
[clojure.test :refer :all]
[cmr.common-app.services.search.query-execution :as query-execution]
[cmr.search.services.humanizers.humanizer-range-facet-service :as rfs]
[cmr.search.services.query-execution.facets.fa... |
[
{
"context": "(ns ^{:author \"Mike Ananev\"}\n org.rssys.vault.util\n (:require [matcho.core",
"end": 26,
"score": 0.9998871684074402,
"start": 15,
"tag": "NAME",
"value": "Mike Ananev"
}
] | src/org/rssys/vault/util.clj | redstarssystems/vault | 0 | (ns ^{:author "Mike Ananev"}
org.rssys.vault.util
(:require [matcho.core :as matcho]))
(defmacro match?
"Match against each pattern and return true if match and false if not"
[x & pattern]
`(let [x# ~x
patterns# [~@pattern]
errors# (apply matcho/match* x# patterns#)]
(empty? errors#)))... | 1285 | (ns ^{:author "<NAME>"}
org.rssys.vault.util
(:require [matcho.core :as matcho]))
(defmacro match?
"Match against each pattern and return true if match and false if not"
[x & pattern]
`(let [x# ~x
patterns# [~@pattern]
errors# (apply matcho/match* x# patterns#)]
(empty? errors#)))
(de... | true | (ns ^{:author "PI:NAME:<NAME>END_PI"}
org.rssys.vault.util
(:require [matcho.core :as matcho]))
(defmacro match?
"Match against each pattern and return true if match and false if not"
[x & pattern]
`(let [x# ~x
patterns# [~@pattern]
errors# (apply matcho/match* x# patterns#)]
(empty? e... |
[
{
"context": "n.\n\n(ns ^{:doc \"The Retry pattern\"\n :author \"Vijay Mathew <vijay@anvetsu.com>\"}\n recoil.retry\n (:requir",
"end": 741,
"score": 0.9998748898506165,
"start": 729,
"tag": "NAME",
"value": "Vijay Mathew"
},
{
"context": " \"The Retry pattern\"\n :auth... | src/recoil/retry.clj | anvetsu/recoil | 0 | ;; Copyright (c) 2018 Anvetsu Technologies. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; MIT License (https://mit-license.org/)
;; which can be found in the file `LICENSE` at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be... | 109190 | ;; Copyright (c) 2018 Anvetsu Technologies. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; MIT License (https://mit-license.org/)
;; which can be found in the file `LICENSE` at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be... | true | ;; Copyright (c) 2018 Anvetsu Technologies. All rights reserved.
;; The use and distribution terms for this software are covered by the
;; MIT License (https://mit-license.org/)
;; which can be found in the file `LICENSE` at the root of this distribution.
;; By using this software in any fashion, you are agreeing to be... |
[
{
"context": "`)\n * `:db-user` (`DB_USER`)\n * `:db-password (`DB_PASSWORD`)\"\n [env]\n (env->config env [[:db-name :databas",
"end": 1755,
"score": 0.6466527581214905,
"start": 1744,
"tag": "PASSWORD",
"value": "DB_PASSWORD"
},
{
"context": "ser :username]\n ... | data/train/clojure/222220058fcfcfe06fcd2ab88a3b15ede9a3c34adatabase.clj | harshp8l/deep-learning-lang-detection | 84 | (ns cdc-util.components.database
"A component to manage (pooled) database connections using HikariCP.
Defaults to using the Oracle Thin driver for connections with a
min/max pool size of 2/20 connections."
(:require [com.stuartsierra.component :as component]
[hikari-cp.core :as hk]
[cdc... | 98340 | (ns cdc-util.components.database
"A component to manage (pooled) database connections using HikariCP.
Defaults to using the Oracle Thin driver for connections with a
min/max pool size of 2/20 connections."
(:require [com.stuartsierra.component :as component]
[hikari-cp.core :as hk]
[cdc... | true | (ns cdc-util.components.database
"A component to manage (pooled) database connections using HikariCP.
Defaults to using the Oracle Thin driver for connections with a
min/max pool size of 2/20 connections."
(:require [com.stuartsierra.component :as component]
[hikari-cp.core :as hk]
[cdc... |
[
{
"context": "ptors\n\n(def session-interceptor\n (let [cookie-key (.getBytes (get-in config [:cookie :key]))\n cookie-na",
"end": 5406,
"score": 0.8126959204673767,
"start": 5396,
"tag": "KEY",
"value": "(.getBytes"
}
] | src/codes/stel/functional_news/handler.clj | stelcodes/functional-news | 4 | (ns codes.stel.functional-news.handler
(:require [reitit.ring :refer [create-resource-handler routes redirect-trailing-slash-handler create-default-handler]]
[reitit.http :as http]
[taoensso.timbre :refer [info debug]]
[reitit.http.coercion :refer [coerce-request-interceptor coerce... | 116879 | (ns codes.stel.functional-news.handler
(:require [reitit.ring :refer [create-resource-handler routes redirect-trailing-slash-handler create-default-handler]]
[reitit.http :as http]
[taoensso.timbre :refer [info debug]]
[reitit.http.coercion :refer [coerce-request-interceptor coerce... | true | (ns codes.stel.functional-news.handler
(:require [reitit.ring :refer [create-resource-handler routes redirect-trailing-slash-handler create-default-handler]]
[reitit.http :as http]
[taoensso.timbre :refer [info debug]]
[reitit.http.coercion :refer [coerce-request-interceptor coerce... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998838305473328,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "omment \n re-core, Copyright 2012 Ronen Narkis, narkisr... | src/re_core/persistency/actions.clj | celestial-ops/core | 1 | (comment
re-core, Copyright 2012 Ronen Narkis, narkisr.com
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... | 116440 | (comment
re-core, Copyright 2012 <NAME>, n<EMAIL>
Licensed under the Apache License,
Version 2.0 (the "License") you may not use this file except in compliance with the License.
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | true | (comment
re-core, Copyright 2012 PI:NAME:<NAME>END_PI, nPI:EMAIL:<EMAIL>END_PI
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 requir... |
[
{
"context": "mplementations\"\n\n (key-factory)\n => (\"DSA\" \"DiffieHellman\" \"EC\" \"RSA\")\n\n (key-factory \"RSA\")\n => j",
"end": 1212,
"score": 0.6353322267532349,
"start": 1210,
"tag": "NAME",
"value": "ie"
},
{
"context": "ementations\"\n\n (key-factory)\n => (\"DSA... | test/hara/security/base/provider_test.clj | zcaudate/hara | 309 | (ns hara.security.base.provider-test
(:use hara.test)
(:require [hara.security.base.provider :refer :all]))
^{:refer hara.security.base.provider/list-providers :added "3.0"}
(comment "list all security providers"
(list-providers)
=> ["Apple" "SUN" "SunEC" "SunJCE" "SunJGSS"
"SunJSSE" "SunPCSC" "SunRsaSi... | 69051 | (ns hara.security.base.provider-test
(:use hara.test)
(:require [hara.security.base.provider :refer :all]))
^{:refer hara.security.base.provider/list-providers :added "3.0"}
(comment "list all security providers"
(list-providers)
=> ["Apple" "SUN" "SunEC" "SunJCE" "SunJGSS"
"SunJSSE" "SunPCSC" "SunRsaSi... | true | (ns hara.security.base.provider-test
(:use hara.test)
(:require [hara.security.base.provider :refer :all]))
^{:refer hara.security.base.provider/list-providers :added "3.0"}
(comment "list all security providers"
(list-providers)
=> ["Apple" "SUN" "SunEC" "SunJCE" "SunJGSS"
"SunJSSE" "SunPCSC" "SunRsaSi... |
[
{
"context": "\n (render \\\"Hello {first-name}!\\\" {:first-name \\\"John\\\"})\n => Hello John!\n\n (render \\\"Hello {[user fi",
"end": 1700,
"score": 0.9991718530654907,
"start": 1696,
"tag": "NAME",
"value": "John"
},
{
"context": "{first-name}!\\\" {:first-name \\\"John\\\"}... | src/tekton_watcher/misc.clj | nubank/tekton-watcher | 3 | (ns tekton-watcher.misc
(:require [clojure.edn :as edn]
[clojure.spec.alpha :as s]
[clojure.string :as string])
(:import java.io.File
java.text.DecimalFormat
[java.time Duration Instant]
java.time.format.DateTimeFormatter
java.time.temporal.Tempora... | 53981 | (ns tekton-watcher.misc
(:require [clojure.edn :as edn]
[clojure.spec.alpha :as s]
[clojure.string :as string])
(:import java.io.File
java.text.DecimalFormat
[java.time Duration Instant]
java.time.format.DateTimeFormatter
java.time.temporal.Tempora... | true | (ns tekton-watcher.misc
(:require [clojure.edn :as edn]
[clojure.spec.alpha :as s]
[clojure.string :as string])
(:import java.io.File
java.text.DecimalFormat
[java.time Duration Instant]
java.time.format.DateTimeFormatter
java.time.temporal.Tempora... |
[
{
"context": " (k/session test-app)\n (steps/register \"existing@user.com\" \"password\")\n (steps/sign-out)\n ",
"end": 2086,
"score": 0.9999158978462219,
"start": 2069,
"tag": "EMAIL",
"value": "existing@user.com"
},
{
"context": ")\n (steps/reg... | test/stonecutter/integration/kerodon/user.clj | d-cent/stonecutter | 39 | (ns stonecutter.integration.kerodon.user
(:require [midje.sweet :refer :all]
[kerodon.core :as k]
[clauth.client :as cl-client]
[stonecutter.email :as email]
[stonecutter.db.storage :as s]
[stonecutter.logging :as l]
[stonecutter.db.user :as user... | 69671 | (ns stonecutter.integration.kerodon.user
(:require [midje.sweet :refer :all]
[kerodon.core :as k]
[clauth.client :as cl-client]
[stonecutter.email :as email]
[stonecutter.db.storage :as s]
[stonecutter.logging :as l]
[stonecutter.db.user :as user... | true | (ns stonecutter.integration.kerodon.user
(:require [midje.sweet :refer :all]
[kerodon.core :as k]
[clauth.client :as cl-client]
[stonecutter.email :as email]
[stonecutter.db.storage :as s]
[stonecutter.logging :as l]
[stonecutter.db.user :as user... |
[
{
"context": "(ns clj-heroku-api.test.core\n ^{:author \"Matthew Burns\"\n :doc \"Unit/Component tests for the functiona",
"end": 55,
"score": 0.9998651742935181,
"start": 42,
"tag": "NAME",
"value": "Matthew Burns"
},
{
"context": "==========================\n(def test-ssh-pub-k... | test/clj_heroku_api/test/core.clj | mateoconfeugo/clj-heroku-api | 0 | (ns clj-heroku-api.test.core
^{:author "Matthew Burns"
:doc "Unit/Component tests for the functionality offered by the Heroku API via this clojure wrapper library"}
(:use [clj-heroku-api.core] ;; Library being tested
[clojure.core])
(:require [expectations :refer [expect]])
(:import [java.lang Exce... | 36782 | (ns clj-heroku-api.test.core
^{:author "<NAME>"
:doc "Unit/Component tests for the functionality offered by the Heroku API via this clojure wrapper library"}
(:use [clj-heroku-api.core] ;; Library being tested
[clojure.core])
(:require [expectations :refer [expect]])
(:import [java.lang Exception])... | true | (ns clj-heroku-api.test.core
^{:author "PI:NAME:<NAME>END_PI"
:doc "Unit/Component tests for the functionality offered by the Heroku API via this clojure wrapper library"}
(:use [clj-heroku-api.core] ;; Library being tested
[clojure.core])
(:require [expectations :refer [expect]])
(:import [java.la... |
[
{
"context": ";; Generic interface for functors\n\n;; by Konrad Hinsen\n;; last updated May 3, 2009\n\n;; Copyright (c) Kon",
"end": 54,
"score": 0.9998754262924194,
"start": 41,
"tag": "NAME",
"value": "Konrad Hinsen"
},
{
"context": "nsen\n;; last updated May 3, 2009\n\n;; Copyrigh... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/generic/functor.clj | allertonm/Couverjure | 3 | ;; Generic interface for functors
;; by Konrad Hinsen
;; last updated May 3, 2009
;; Copyright (c) Konrad Hinsen, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in t... | 64570 | ;; Generic interface for functors
;; by <NAME>
;; last updated May 3, 2009
;; Copyright (c) <NAME>, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can be found in the file epl-v1... | true | ;; Generic interface for functors
;; by PI:NAME:<NAME>END_PI
;; last updated May 3, 2009
;; Copyright (c) PI:NAME:<NAME>END_PI, 2009. All rights reserved. The use
;; and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php)
;; which can... |
[
{
"context": " \"subnet-f929df91\"\n :provisioning-user {:login \"ubuntu\"\n :ssh-key-name ssh-key-nam",
"end": 3140,
"score": 0.9928012490272522,
"start": 3134,
"tag": "USERNAME",
"value": "ubuntu"
},
{
"context": "{:key-id (secret/resolve-secret key-id :pass... | main/src/dda/pallet/commons/aws.clj | DomainDrivenArchitecture/dda-pallet-commons | 2 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | 5869 | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... | true | ; Licensed to the Apache Software Foundation (ASF) under one
; or more contributor license agreements. See the NOTICE file
; distributed with this work for additional information
; regarding copyright ownership. The ASF licenses this file
; to you under the Apache License, Version 2.0 (the
; "License"); you may not use... |
[
{
"context": "e [[zensols.example.sa-tp-eval]].\"\n :author \"Paul Landes\"}\n zensols.example.sa-tp-feature\n (:require [",
"end": 172,
"score": 0.9998868107795715,
"start": 161,
"tag": "NAME",
"value": "Paul Landes"
},
{
"context": "ols.model.eval-classifier :as ec]))\n\n(... | src/clojure/zensols/example/sa_tp_feature.clj | plandes/clj-example-nlp-ml | 13 | (ns ^{:doc "Just like [[zensols.example.sa_feature]] but this shows how to use a
two pass cross validation. See [[zensols.example.sa-tp-eval]]."
:author "Paul Landes"}
zensols.example.sa-tp-feature
(:require [clojure.tools.logging :as log])
(:require [zensols.nlparse.parse :as p]
[zensols.uti... | 41419 | (ns ^{:doc "Just like [[zensols.example.sa_feature]] but this shows how to use a
two pass cross validation. See [[zensols.example.sa-tp-eval]]."
:author "<NAME>"}
zensols.example.sa-tp-feature
(:require [clojure.tools.logging :as log])
(:require [zensols.nlparse.parse :as p]
[zensols.util.str... | true | (ns ^{:doc "Just like [[zensols.example.sa_feature]] but this shows how to use a
two pass cross validation. See [[zensols.example.sa-tp-eval]]."
:author "PI:NAME:<NAME>END_PI"}
zensols.example.sa-tp-feature
(:require [clojure.tools.logging :as log])
(:require [zensols.nlparse.parse :as p]
[ze... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.