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": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"John Alan McDonald\" :date \"2016-12-19\" }\n \n taiga.scripts.debu",
"end": 105,
"score": 0.9998777508735657,
"start": 87,
"tag": "NAME",
"value": "John Alan McDonald"
}
] | src/scripts/clojure/taiga/scripts/debug/moves.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "John Alan McDonald" :date "2016-12-19" }
taiga.scripts.debug.moves
(:require [clojure.pprint :as pp]
[taiga.split.object.categorical.move :as move]))
;;-------------------------------------------------------... | 121791 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<NAME>" :date "2016-12-19" }
taiga.scripts.debug.moves
(:require [clojure.pprint :as pp]
[taiga.split.object.categorical.move :as move]))
;;-------------------------------------------------------------------... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:NAME:<NAME>END_PI" :date "2016-12-19" }
taiga.scripts.debug.moves
(:require [clojure.pprint :as pp]
[taiga.split.object.categorical.move :as move]))
;;-----------------------------------------------------... |
[
{
"context": "> any?] => :strohm/subscription-key]\n (let [key (random-uuid)\n watch-fn (fn [_key _ref old new]\n ",
"end": 1488,
"score": 0.9323384165763855,
"start": 1477,
"tag": "KEY",
"value": "random-uuid"
}
] | Strohm/src/strohm_native/flow.cljs | svdo/strohm | 0 | (ns strohm-native.flow
(:require [com.fulcrologic.guardrails.core :refer [=> >defn]]
[strohm-native.impl.flow :as impl]
[strohm-native.log :as log]
[strohm-native.spec]
[strohm-native.tx :refer [send-props!]]
[strohm-native.utils :as utils])
(:require-macr... | 20724 | (ns strohm-native.flow
(:require [com.fulcrologic.guardrails.core :refer [=> >defn]]
[strohm-native.impl.flow :as impl]
[strohm-native.log :as log]
[strohm-native.spec]
[strohm-native.tx :refer [send-props!]]
[strohm-native.utils :as utils])
(:require-macr... | true | (ns strohm-native.flow
(:require [com.fulcrologic.guardrails.core :refer [=> >defn]]
[strohm-native.impl.flow :as impl]
[strohm-native.log :as log]
[strohm-native.spec]
[strohm-native.tx :refer [send-props!]]
[strohm-native.utils :as utils])
(:require-macr... |
[
{
"context": "; SPDX-FileCopyrightText: 2021 Orcro Ltd. team@orcro.co.uk \n; \n; SPDX-License-Identifier: Apache-2.0\n\n(ns we",
"end": 58,
"score": 0.9999291896820068,
"start": 42,
"tag": "EMAIL",
"value": "team@orcro.co.uk"
}
] | test/urltester/core_test.clj | Orcro/urltester | 1 | ; SPDX-FileCopyrightText: 2021 Orcro Ltd. team@orcro.co.uk
;
; SPDX-License-Identifier: Apache-2.0
(ns webtester.core-test
(:require [clojure.test :refer :all]
[webtester.core :refer :all]))
(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
| 78245 | ; SPDX-FileCopyrightText: 2021 Orcro Ltd. <EMAIL>
;
; SPDX-License-Identifier: Apache-2.0
(ns webtester.core-test
(:require [clojure.test :refer :all]
[webtester.core :refer :all]))
(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
| true | ; SPDX-FileCopyrightText: 2021 Orcro Ltd. PI:EMAIL:<EMAIL>END_PI
;
; SPDX-License-Identifier: Apache-2.0
(ns webtester.core-test
(:require [clojure.test :refer :all]
[webtester.core :refer :all]))
(deftest a-test
(testing "FIXME, I fail."
(is (= 0 1))))
|
[
{
"context": "; Copyright 2015 Zalando SE\n;\n; Licensed under the Apache License, Version",
"end": 24,
"score": 0.7190762162208557,
"start": 17,
"tag": "NAME",
"value": "Zalando"
},
{
"context": " :db-user \"postgres\"\n :db-password \"postgres\"\n :db-init-sql \"... | src/org/zalando/stups/kio/sql.clj | maxim-tschumak/kio | 0 | ; Copyright 2015 Zalando SE
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, so... | 33383 | ; Copyright 2015 <NAME> SE
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, sof... | true | ; Copyright 2015 PI:NAME:<NAME>END_PI SE
;
; Licensed under the Apache License, Version 2.0 (the "License")
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to i... |
[
{
"context": "es.clj -- Unit tests of Incanter functions \n\n;; by David Edgar Liebke http://incanter.org\n;; March 12, 2009\n\n;; Copyrig",
"end": 82,
"score": 0.9998895525932312,
"start": 64,
"tag": "NAME",
"value": "David Edgar Liebke"
},
{
"context": "//incanter.org\n;; March 12,... | data/clojure/e3e953e4b71bf7dd74337d7840f7b559_io_tests.clj | maxim5/code-inspector | 5 |
;;; test-cases.clj -- Unit tests of Incanter functions
;; by David Edgar Liebke http://incanter.org
;; March 12, 2009
;; Copyright (c) David Edgar Liebke, 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/... | 11086 |
;;; test-cases.clj -- Unit tests of Incanter functions
;; by <NAME> http://incanter.org
;; March 12, 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)
;; whic... | true |
;;; test-cases.clj -- Unit tests of Incanter functions
;; by PI:NAME:<NAME>END_PI http://incanter.org
;; March 12, 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/licen... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.bixby.cons.con1\n",
"end": 597,
"score": 0.9998562932014465,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/main/clojure/czlab/bixby/cons/con1.clj | llnek/skaro | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 57644 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": " \"\" (Process.Run \"ganache-cli\" [\"-d\" \"-f\" \"http://192.168.1.4:8545\" \">\" \"_\"])))\n\n(def test\n (Chain\n \"one spl",
"end": 210,
"score": 0.9000473618507385,
"start": 199,
"tag": "IP_ADDRESS",
"value": "192.168.1.4"
},
{
"context": "0)\n ; setup our no... | tests/test.clj | fragcolor-xyz/chainblocks-web3 | 0 | (import "../target/debug/web3.dll")
(import "../target/debug/libweb3.dylib")
(def Root (Node))
(def ganache
(Chain
"run-ganache"
:Looped
"" (Process.Run "ganache-cli" ["-d" "-f" "http://192.168.1.4:8545" ">" "_"])))
(def test
(Chain
"one split test"
:Looped
; wait ganache
(Pause 2.0)
; se... | 63284 | (import "../target/debug/web3.dll")
(import "../target/debug/libweb3.dylib")
(def Root (Node))
(def ganache
(Chain
"run-ganache"
:Looped
"" (Process.Run "ganache-cli" ["-d" "-f" "http://192.168.1.4:8545" ">" "_"])))
(def test
(Chain
"one split test"
:Looped
; wait ganache
(Pause 2.0)
; se... | true | (import "../target/debug/web3.dll")
(import "../target/debug/libweb3.dylib")
(def Root (Node))
(def ganache
(Chain
"run-ganache"
:Looped
"" (Process.Run "ganache-cli" ["-d" "-f" "http://192.168.1.4:8545" ">" "_"])))
(def test
(Chain
"one split test"
:Looped
; wait ganache
(Pause 2.0)
; se... |
[
{
"context": ";;;;;;;;;;;;;;;;;;;;;;;;;;;\n;; Copyright (c) 2008, J. Bester\n;; All rights reserved.\n;;\n;; Redistribution and ",
"end": 247,
"score": 0.9998881816864014,
"start": 238,
"tag": "NAME",
"value": "J. Bester"
},
{
"context": "cal formula to prefix expressions\"\n :a... | datastore/src/org/mobileink/migae/infix.clj | mobileink/migae | 0 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; File : infix.clj
;; Function : Infix Math library
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Copyright (c) 2008, J. Bester
;; All rights reserved.
;;
;; Redistribution and use in source and binar... | 62979 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; File : infix.clj
;; Function : Infix Math library
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Copyright (c) 2008, <NAME>
;; All rights reserved.
;;
;; Redistribution and use in source and binary f... | true | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; File : infix.clj
;; Function : Infix Math library
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Copyright (c) 2008, PI:NAME:<NAME>END_PI
;; All rights reserved.
;;
;; Redistribution and use in sourc... |
[
{
"context": "ftest test-encrypted-kv-store\n (let [passwords [\"test1\" \"test2\" \"test3\"]\n processed-passwords (ma",
"end": 3011,
"score": 0.9937761425971985,
"start": 3006,
"tag": "PASSWORD",
"value": "test1"
},
{
"context": "st-encrypted-kv-store\n (let [passwords [\"... | waiter/test/waiter/kv_test.clj | twosigmajab/waiter | 1 | ;;
;; 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... | 7114 | ;;
;; 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": "(ns simple-re-fancoil.event)\n\n;; -- Domino 2 - Event Handlers ---------------------------",
"end": 39,
"score": 0.5517191886901855,
"start": 36,
"tag": "NAME",
"value": "Dom"
}
] | examples/simple/src/simple_re_fancoil/event.cljs | itarck/re-fancoil | 0 | (ns simple-re-fancoil.event)
;; -- Domino 2 - Event Handlers -----------------------------------------------
(def event-db-chains
{:initialize ;; usage: (dispatch [:initialize])
[(fn [_db _] ;; the two parameters are not important here, so use _
{:time (js/Date.) ... | 37166 | (ns simple-re-fancoil.event)
;; -- <NAME>ino 2 - Event Handlers -----------------------------------------------
(def event-db-chains
{:initialize ;; usage: (dispatch [:initialize])
[(fn [_db _] ;; the two parameters are not important here, so use _
{:time (js/Date.) ... | true | (ns simple-re-fancoil.event)
;; -- PI:NAME:<NAME>END_PIino 2 - Event Handlers -----------------------------------------------
(def event-db-chains
{:initialize ;; usage: (dispatch [:initialize])
[(fn [_db _] ;; the two parameters are not important here, so use _
{:time... |
[
{
"context": "t (double (rationalize (double x))).\"\n :author \"palisades dot lakes at gmail dot com\"\n :since \"2017-04-14\"\n :version \"2017-05-24\"}",
"end": 291,
"score": 0.9868735671043396,
"start": 255,
"tag": "EMAIL",
"value": "palisades dot lakes at gmail dot com"
}
] | src/scripts/clojure/palisades/lakes/elements/scripts/numbers/ratio.clj | palisades-lakes/les-elemens | 0 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.ratio
{:doc "Test (double (rationalize (double x)))."
:author "palisades dot lakes at gmail dot com"
:since "2017-04-14"
:... | 62677 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.ratio
{:doc "Test (double (rationalize (double x)))."
:author "<EMAIL>"
:since "2017-04-14"
:version "2017-05-24"}
#_... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
;;----------------------------------------------------------------
(ns palisades.lakes.elements.scripts.numbers.ratio
{:doc "Test (double (rationalize (double x)))."
:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-04-14"
:version "2017-... |
[
{
"context": "(\n ; Context map\n {}\n\n \"0\"\n \"noll\"\n (number 0)\n\n \"1\"\n \"en\"\n \"ett\"\n (number 1)\n",
"end": 37,
"score": 0.9996630549430847,
"start": 33,
"tag": "NAME",
"value": "noll"
},
{
"context": "t map\n {}\n\n \"0\"\n \"noll\"\n (number 0)\n\n \"1... | resources/languages/sv/corpus/numbers.clj | guivn/duckling | 922 | (
; Context map
{}
"0"
"noll"
(number 0)
"1"
"en"
"ett"
(number 1)
"2"
"två"
"ett par"
(number 2)
"7"
"sju"
(number 7)
"14"
"fjorton"
(number 14)
"16"
"sexton"
(number 16)
"17"
"sjutton"
(number 17)
"18"
"arton"
(number 18)
"20"
"tjugo"
(number 20)
... | 115720 | (
; Context map
{}
"0"
"<NAME>"
(number 0)
"1"
"<NAME>"
"<NAME>"
(number 1)
"2"
"<NAME>"
"<NAME> par"
(number 2)
"7"
"<NAME>"
(number 7)
"14"
"<NAME>"
(number 14)
"16"
"<NAME>"
(number 16)
"17"
"<NAME>"
(number 17)
"18"
"<NAME>"
(number 18)
"20"
"<NAM... | true | (
; Context map
{}
"0"
"PI:NAME:<NAME>END_PI"
(number 0)
"1"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
(number 1)
"2"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI par"
(number 2)
"7"
"PI:NAME:<NAME>END_PI"
(number 7)
"14"
"PI:NAME:<NAME>END_PI"
(number 14)
"16"
"PI:NA... |
[
{
"context": "e/literal\n;; :term/value \"Robert\"\n;; :term/datatype {:type",
"end": 2247,
"score": 0.9996514320373535,
"start": 2241,
"tag": "NAME",
"value": "Robert"
}
] | src/test/rdf/quad_test.cljs | kubelt/kubelt | 0 | (ns rdf.quad-test
"Test the implementation of RDF/cljs quads."
(:require
[cljs.test :as t :refer [deftest is use-fixtures]])
(:require
["rdf-data-factory" :refer
[Quad]])
(:require
[com.kubelt.lib.rdf.quad :as rdf.quad]))
;; TODO rename to reflect namespace where RDF store quads are
;; implemented... | 108320 | (ns rdf.quad-test
"Test the implementation of RDF/cljs quads."
(:require
[cljs.test :as t :refer [deftest is use-fixtures]])
(:require
["rdf-data-factory" :refer
[Quad]])
(:require
[com.kubelt.lib.rdf.quad :as rdf.quad]))
;; TODO rename to reflect namespace where RDF store quads are
;; implemented... | true | (ns rdf.quad-test
"Test the implementation of RDF/cljs quads."
(:require
[cljs.test :as t :refer [deftest is use-fixtures]])
(:require
["rdf-data-factory" :refer
[Quad]])
(:require
[com.kubelt.lib.rdf.quad :as rdf.quad]))
;; TODO rename to reflect namespace where RDF store quads are
;; implemented... |
[
{
"context": "defn mapify\n \"Return a seq of maps like {:name \\\"Edward Cullen\\\" :glitter-index 10}\"\n [rows]\n (map (fn [unmapp",
"end": 441,
"score": 0.9998137354850769,
"start": 428,
"tag": "NAME",
"value": "Edward Cullen"
}
] | fwpd/src/fwpd/core.clj | kraii/randomic-clojure | 0 | (ns fwpd.core
(:require [clojure.string :as str]))
(def filename "suspects.csv")
(def vamp-keys [:name :glitter-index])
(defn str->int
[str]
(Integer. str))
(def conversions {:name identity :glitter-index str->int})
(defn convert
[vamp-key value]
((get conversions vamp-key) value))
(defn parse
[string... | 38828 | (ns fwpd.core
(:require [clojure.string :as str]))
(def filename "suspects.csv")
(def vamp-keys [:name :glitter-index])
(defn str->int
[str]
(Integer. str))
(def conversions {:name identity :glitter-index str->int})
(defn convert
[vamp-key value]
((get conversions vamp-key) value))
(defn parse
[string... | true | (ns fwpd.core
(:require [clojure.string :as str]))
(def filename "suspects.csv")
(def vamp-keys [:name :glitter-index])
(defn str->int
[str]
(Integer. str))
(def conversions {:name identity :glitter-index str->int})
(defn convert
[vamp-key value]
((get conversions vamp-key) value))
(defn parse
[string... |
[
{
"context": "hemas.\"\n\n :url\n \"https://github.com/rutledgepaulv/schema-conformer\"\n\n :license\n {:name \"MIT Licen",
"end": 213,
"score": 0.606751561164856,
"start": 212,
"tag": "USERNAME",
"value": "v"
},
{
"context": "ddition\n [:developers\n [:developer\n [:name \... | project.clj | RutledgePaulV/schema-conformer | 0 | (defproject org.clojars.rutledgepaulv/schema-conformer "0.1.4-SNAPSHOT"
:description
"A library for configurable conforming of data according to prismatic schemas."
:url
"https://github.com/rutledgepaulv/schema-conformer"
:license
{:name "MIT License" :url "http://opensource.org/licenses/MIT" :year 2020 ... | 77790 | (defproject org.clojars.rutledgepaulv/schema-conformer "0.1.4-SNAPSHOT"
:description
"A library for configurable conforming of data according to prismatic schemas."
:url
"https://github.com/rutledgepaulv/schema-conformer"
:license
{:name "MIT License" :url "http://opensource.org/licenses/MIT" :year 2020 ... | true | (defproject org.clojars.rutledgepaulv/schema-conformer "0.1.4-SNAPSHOT"
:description
"A library for configurable conforming of data according to prismatic schemas."
:url
"https://github.com/rutledgepaulv/schema-conformer"
:license
{:name "MIT License" :url "http://opensource.org/licenses/MIT" :year 2020 ... |
[
{
"context": " :key-password (env :keystore-password \"changeit\")\n :truststore (env :trus",
"end": 2255,
"score": 0.9987053871154785,
"start": 2247,
"tag": "PASSWORD",
"value": "changeit"
},
{
"context": " :trust-password (env :truststore-pas... | bai-bff/src/bai_bff/services/endpoints.clj | gavinmbell/benchmark-ai-1 | 6 | ;; Copyright 2019 Amazon.com, Inc. or its affiliates. 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.
;; A copy of the License is located at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; or ... | 98297 | ;; Copyright 2019 Amazon.com, Inc. or its affiliates. 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.
;; A copy of the License is located at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; or ... | true | ;; Copyright 2019 Amazon.com, Inc. or its affiliates. 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.
;; A copy of the License is located at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; or ... |
[
{
"context": "a\" 10 \"2017-02-18\" \"2017-02-28\")\n(addStudent \"1\" \"Saurabh\" 26 \"male\" 1000 \"B5\")\n(addStudent \"1\" \"Mayank\" 24",
"end": 1621,
"score": 0.9997202754020691,
"start": 1614,
"tag": "NAME",
"value": "Saurabh"
},
{
"context": "\" \"Saurabh\" 26 \"male\" 1000 \... | src/projectv/core.clj | geekskool/ashram-courses-clojure | 0 | (ns projectv.core
(:gen-class))
(require '[clojure.java.io :as io])
(require '[clojure.data.json :as json])
(def course (atom {}))
(def file-path "data.json")
(defn addCourse
[id coursename duration start end]
(let [thiscourse {"name" coursename,
"duration" duration,
... | 41967 | (ns projectv.core
(:gen-class))
(require '[clojure.java.io :as io])
(require '[clojure.data.json :as json])
(def course (atom {}))
(def file-path "data.json")
(defn addCourse
[id coursename duration start end]
(let [thiscourse {"name" coursename,
"duration" duration,
... | true | (ns projectv.core
(:gen-class))
(require '[clojure.java.io :as io])
(require '[clojure.data.json :as json])
(def course (atom {}))
(def file-path "data.json")
(defn addCourse
[id coursename duration start end]
(let [thiscourse {"name" coursename,
"duration" duration,
... |
[
{
"context": " {:offset \"-04:00\" :zone \"America/St_Kitts\"}\n {:offset \"-04:00\" :zone \"Am",
"end": 13212,
"score": 0.9995940923690796,
"start": 13207,
"tag": "NAME",
"value": "Kitts"
},
{
"context": " {:offset \"+13:00\" :zone \"Antarctica... | src/datasim_ui/timezone.cljs | yetanalytics/datasim-ui | 2 | (ns datasim-ui.timezone)
(def timezones [{:offset "Z" :zone "Africa/Abidjan"}
{:offset "Z" :zone "Africa/Accra"}
{:offset "+03:00" :zone "Africa/Addis_Ababa"}
{:offset "+01:00" :zone "Africa/Algiers"}
{:offset "+03:00" :zone "Africa/Asmara... | 3224 | (ns datasim-ui.timezone)
(def timezones [{:offset "Z" :zone "Africa/Abidjan"}
{:offset "Z" :zone "Africa/Accra"}
{:offset "+03:00" :zone "Africa/Addis_Ababa"}
{:offset "+01:00" :zone "Africa/Algiers"}
{:offset "+03:00" :zone "Africa/Asmara... | true | (ns datasim-ui.timezone)
(def timezones [{:offset "Z" :zone "Africa/Abidjan"}
{:offset "Z" :zone "Africa/Accra"}
{:offset "+03:00" :zone "Africa/Addis_Ababa"}
{:offset "+01:00" :zone "Africa/Algiers"}
{:offset "+03:00" :zone "Africa/Asmara... |
[
{
"context": "-------------------------------\n;;\n;;\n;; Author: PLIQUE Guillaume (Yomguithereal)\n;; Version: 0.1\n;; Source: ht",
"end": 202,
"score": 0.9998476505279541,
"start": 186,
"tag": "NAME",
"value": "PLIQUE Guillaume"
},
{
"context": "------------\n;;\n;;\n;; Aut... | src/clj_fuzzy/levenshtein.cljc | sooheon/clj-fuzzy | 222 | ;; -------------------------------------------------------------------
;; clj-fuzzy Levenshtein
;; -------------------------------------------------------------------
;;
;;
;; Author: PLIQUE Guillaume (Yomguithereal)
;; Version: 0.1
;; Source: https://gist.github.com/vishnuvyas/958488
;;
(ns clj-fuzzy.levenshtein... | 61604 | ;; -------------------------------------------------------------------
;; clj-fuzzy Levenshtein
;; -------------------------------------------------------------------
;;
;;
;; Author: <NAME> (Yomguithereal)
;; Version: 0.1
;; Source: https://gist.github.com/vishnuvyas/958488
;;
(ns clj-fuzzy.levenshtein)
(defn- ... | true | ;; -------------------------------------------------------------------
;; clj-fuzzy Levenshtein
;; -------------------------------------------------------------------
;;
;;
;; Author: PI:NAME:<NAME>END_PI (Yomguithereal)
;; Version: 0.1
;; Source: https://gist.github.com/vishnuvyas/958488
;;
(ns clj-fuzzy.levensh... |
[
{
"context": ";; Copyright 2021 Zane Littrell\n;;\n;; Licensed under the Apache License, Version ",
"end": 31,
"score": 0.9998682141304016,
"start": 18,
"tag": "NAME",
"value": "Zane Littrell"
}
] | src/app/cells.cljc | CapitalistLepton/nomenclature | 0 | ;; Copyright 2021 Zane Littrell
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to i... | 109040 | ;; Copyright 2021 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writi... | true | ;; Copyright 2021 PI:NAME:<NAME>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 required by applicable law or agre... |
[
{
"context": "E FOR LANGUAGES WITH OVERLOADING AND SUBTYPING\" by Geoffrey Smith\n ;; https://users.cs.fiu.edu/~smithg/papers/thes",
"end": 6095,
"score": 0.9998338222503662,
"start": 6081,
"tag": "NAME",
"value": "Geoffrey Smith"
},
{
"context": " by Geoffrey Smith\n ;; https://us... | test/erp12/schema_inference/schema_test.cljc | erp12/schema-inference | 12 | (ns erp12.schema-inference.schema-test
(:require [clojure.test :refer [deftest is testing]]
[erp12.schema-inference.schema :refer :all]
[clojure.core.match :refer [match]]))
(deftest free-type-vars-test
(is (= #{'t1} (free-type-vars '[:s-var t1])))
(is (= #{} (free-type-vars int?)))
(is... | 94865 | (ns erp12.schema-inference.schema-test
(:require [clojure.test :refer [deftest is testing]]
[erp12.schema-inference.schema :refer :all]
[clojure.core.match :refer [match]]))
(deftest free-type-vars-test
(is (= #{'t1} (free-type-vars '[:s-var t1])))
(is (= #{} (free-type-vars int?)))
(is... | true | (ns erp12.schema-inference.schema-test
(:require [clojure.test :refer [deftest is testing]]
[erp12.schema-inference.schema :refer :all]
[clojure.core.match :refer [match]]))
(deftest free-type-vars-test
(is (= #{'t1} (free-type-vars '[:s-var t1])))
(is (= #{} (free-type-vars int?)))
(is... |
[
{
"context": " :name \"jonas\"}})))\n (is (nil? (schema-checker {:somethi",
"end": 5584,
"score": 0.982818603515625,
"start": 5579,
"tag": "NAME",
"value": "jonas"
},
{
"context": " :name \"jon... | test/prismatic_graphql/core_test.clj | nubank/prismatic-graphql | 1 | (ns prismatic-graphql.core-test
(:require [clojure.test :refer :all]
[prismatic-graphql.core :as core]
[clojure.java.io :as io]
[matcher-combinators.test :refer [match?]]
[schema.core :as s])
(:import [schema.core ConditionalSchema]))
(defn load-query [query-name]
... | 113995 | (ns prismatic-graphql.core-test
(:require [clojure.test :refer :all]
[prismatic-graphql.core :as core]
[clojure.java.io :as io]
[matcher-combinators.test :refer [match?]]
[schema.core :as s])
(:import [schema.core ConditionalSchema]))
(defn load-query [query-name]
... | true | (ns prismatic-graphql.core-test
(:require [clojure.test :refer :all]
[prismatic-graphql.core :as core]
[clojure.java.io :as io]
[matcher-combinators.test :refer [match?]]
[schema.core :as s])
(:import [schema.core ConditionalSchema]))
(defn load-query [query-name]
... |
[
{
"context": "ere-expr \"length > 3 AND height < 4.5 OR name = \\\"Pete\\\"\") \n {:left {:left {:comparison [:length ",
"end": 3302,
"score": 0.7826464176177979,
"start": 3301,
"tag": "NAME",
"value": "P"
},
{
"context": " :op :OR\n :right {:comparison [:name := \"Pete\... | test/qu/test/query/parser.clj | marcesher/qu | 325 | (ns qu.test.query.parser
(:require [clojure.test :refer :all]
[qu.test-util :refer :all]
[protoflex.parse :as p]
[qu.query.parser :refer :all]
[clj-time.core :as time]))
(defmacro has-parse-error [& body]
`(try
~@body
(is false)
(catch Exce... | 100773 | (ns qu.test.query.parser
(:require [clojure.test :refer :all]
[qu.test-util :refer :all]
[protoflex.parse :as p]
[qu.query.parser :refer :all]
[clj-time.core :as time]))
(defmacro has-parse-error [& body]
`(try
~@body
(is false)
(catch Exce... | true | (ns qu.test.query.parser
(:require [clojure.test :refer :all]
[qu.test-util :refer :all]
[protoflex.parse :as p]
[qu.query.parser :refer :all]
[clj-time.core :as time]))
(defmacro has-parse-error [& body]
`(try
~@body
(is false)
(catch Exce... |
[
{
"context": " 8]\n [\"Krua Siri\" 9]\n ",
"end": 958,
"score": 0.6199544072151184,
"start": 956,
"tag": "NAME",
"value": "ru"
},
{
"context": "i\" 9]\n [\"Fred 62\... | c#-metabase/test/metabase/query_processor_test/fields_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.query-processor-test.fields-test
"Tests for the `:fields` clause."
(:require [clojure.test :refer :all]
[metabase.query-processor-test :as qp.test]
[metabase.test :as mt]))
(deftest fields-clause-test
(mt/test-drivers (mt/normal-drivers)
(testing (str "Test that we can re... | 107940 | (ns metabase.query-processor-test.fields-test
"Tests for the `:fields` clause."
(:require [clojure.test :refer :all]
[metabase.query-processor-test :as qp.test]
[metabase.test :as mt]))
(deftest fields-clause-test
(mt/test-drivers (mt/normal-drivers)
(testing (str "Test that we can re... | true | (ns metabase.query-processor-test.fields-test
"Tests for the `:fields` clause."
(:require [clojure.test :refer :all]
[metabase.query-processor-test :as qp.test]
[metabase.test :as mt]))
(deftest fields-clause-test
(mt/test-drivers (mt/normal-drivers)
(testing (str "Test that we can re... |
[
{
"context": "cro network\n NetworkRoot\n {})\n\n(s/def ::name #{\"Arnold\" \"Bea\" \"Dude\" \"Girl\"})\n\n(mutations/defmutation se",
"end": 8638,
"score": 0.9995992183685303,
"start": 8632,
"tag": "NAME",
"value": "Arnold"
},
{
"context": "rk\n NetworkRoot\n {})\n\n(s/def ::nam... | devcards/fulcro/inspect/ui/network_cards.cljs | Lokeh/fulcro-inspect | 67 | (ns fulcro.inspect.ui.network-cards
(:require
[devcards.core :refer-macros [defcard]]
[fulcro-css.css :as css]
[fulcro.client.cards :refer-macros [defcard-fulcro]]
[fulcro.inspect.ui.network :as network]
[fulcro.client.primitives :as fp]
[fulcro.client.network :as f.network]
[fulcro.client... | 76891 | (ns fulcro.inspect.ui.network-cards
(:require
[devcards.core :refer-macros [defcard]]
[fulcro-css.css :as css]
[fulcro.client.cards :refer-macros [defcard-fulcro]]
[fulcro.inspect.ui.network :as network]
[fulcro.client.primitives :as fp]
[fulcro.client.network :as f.network]
[fulcro.client... | true | (ns fulcro.inspect.ui.network-cards
(:require
[devcards.core :refer-macros [defcard]]
[fulcro-css.css :as css]
[fulcro.client.cards :refer-macros [defcard-fulcro]]
[fulcro.inspect.ui.network :as network]
[fulcro.client.primitives :as fp]
[fulcro.client.network :as f.network]
[fulcro.client... |
[
{
"context": "--------------------\n;; File cps.clj\n;; Written by Chris Frisz\n;; \n;; Created 10 Apr 2012\n;; Last modified 5 Oc",
"end": 114,
"score": 0.9998207092285156,
"start": 103,
"tag": "NAME",
"value": "Chris Frisz"
}
] | test/ctco/test/cps.clj | cjfrisz/clojure-tco | 64 | ;;----------------------------------------------------------------------
;; File cps.clj
;; Written by Chris Frisz
;;
;; Created 10 Apr 2012
;; Last modified 5 Oct 2012
;;
;; Testing for the CPSer in the record+protocol'd version of the TCO
;; compiler.
;;-------------------------------------------------------------... | 23834 | ;;----------------------------------------------------------------------
;; File cps.clj
;; Written by <NAME>
;;
;; Created 10 Apr 2012
;; Last modified 5 Oct 2012
;;
;; Testing for the CPSer in the record+protocol'd version of the TCO
;; compiler.
;;------------------------------------------------------------------... | true | ;;----------------------------------------------------------------------
;; File cps.clj
;; Written by PI:NAME:<NAME>END_PI
;;
;; Created 10 Apr 2012
;; Last modified 5 Oct 2012
;;
;; Testing for the CPSer in the record+protocol'd version of the TCO
;; compiler.
;;----------------------------------------------------... |
[
{
"context": " ;;\n;; Author: Jon Anthony ",
"end": 2076,
"score": 0.9998542070388794,
"start": 2065,
"tag": "NAME",
"value": "Jon Anthony"
}
] | src/edu/bc/log4clj.clj | jsa-aerial/gaisr | 1 | ;;--------------------------------------------------------------------------;;
;; ;;
;; L O G 4 C L J ;;
;; ;;
;; ... | 68362 | ;;--------------------------------------------------------------------------;;
;; ;;
;; L O G 4 C L J ;;
;; ;;
;; ... | true | ;;--------------------------------------------------------------------------;;
;; ;;
;; L O G 4 C L J ;;
;; ;;
;; ... |
[
{
"context": "l\" \n {:home-active \"active\"\n :title-tag \"Charlton Austin's Blog Technical Dazed And Confused Home Page\"\n ",
"end": 915,
"score": 0.9993864893913269,
"start": 900,
"tag": "NAME",
"value": "Charlton Austin"
},
{
"context": "/render \n \"home.html\" \... | src/clj/blog/routes/home.clj | charltonaustin/blog | 0 | (ns blog.routes.home
(:require [blog.layout :as layout]
[blog.db.core :as db]
[compojure.core :refer [defroutes GET]]
[ring.util.http-response :as response]
[clojure.java.io :as io]
[clojure.string :as str]
[blog.helpers.core :refer [get-publishe... | 29796 | (ns blog.routes.home
(:require [blog.layout :as layout]
[blog.db.core :as db]
[compojure.core :refer [defroutes GET]]
[ring.util.http-response :as response]
[clojure.java.io :as io]
[clojure.string :as str]
[blog.helpers.core :refer [get-publishe... | true | (ns blog.routes.home
(:require [blog.layout :as layout]
[blog.db.core :as db]
[compojure.core :refer [defroutes GET]]
[ring.util.http-response :as response]
[clojure.java.io :as io]
[clojure.string :as str]
[blog.helpers.core :refer [get-publishe... |
[
{
"context": "me name})\n\n(println \"Patient 1: \" (new-patient 1 \"Victor\"))\n\n(defn gte-zero? [x] (>= x 0))\n(def MoneyValue",
"end": 475,
"score": 0.998145341873169,
"start": 469,
"tag": "NAME",
"value": "Victor"
},
{
"context": "rintln \"Request 1: \" (new-request (new-patient... | hospital_schema/src/hospital_schema/class3.clj | vgeorgo/courses-alura-clojure | 0 | (ns hospital-schema.class3
(:use clojure.pprint)
(:require [schema.core :as s]))
; Forces an error if the schema is not followed
(s/set-fn-validation! true)
; Just a shortcut because we are using in more than one place
(def PosInt (s/pred pos-int? 'positive-integer))
(def Patient
"Schema of a patient"
{:id P... | 36588 | (ns hospital-schema.class3
(:use clojure.pprint)
(:require [schema.core :as s]))
; Forces an error if the schema is not followed
(s/set-fn-validation! true)
; Just a shortcut because we are using in more than one place
(def PosInt (s/pred pos-int? 'positive-integer))
(def Patient
"Schema of a patient"
{:id P... | true | (ns hospital-schema.class3
(:use clojure.pprint)
(:require [schema.core :as s]))
; Forces an error if the schema is not followed
(s/set-fn-validation! true)
; Just a shortcut because we are using in more than one place
(def PosInt (s/pred pos-int? 'positive-integer))
(def Patient
"Schema of a patient"
{:id P... |
[
{
"context": "{}))\n; Command Operation generators\n(def people [\"Damaris\" \"Liyam\" \"Wye\" \"Isbelle\" \"Rebexa\" \"Aebby\"])\n(def ",
"end": 539,
"score": 0.9997914433479309,
"start": 532,
"tag": "NAME",
"value": "Damaris"
},
{
"context": "mand Operation generators\n(def people ... | src/madison/test/friendship.clj | spinningtopsofdoom/property-test-madison-clojure | 0 | (ns madison.test.friendship
(:require [clojure.string :as string]
[clojure.pprint :as pprint]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
[clojure.test.check :as tc]))
(defn create-friendship-db []
(atom {}))
; Querying Helper Met... | 62271 | (ns madison.test.friendship
(:require [clojure.string :as string]
[clojure.pprint :as pprint]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
[clojure.test.check :as tc]))
(defn create-friendship-db []
(atom {}))
; Querying Helper Met... | true | (ns madison.test.friendship
(:require [clojure.string :as string]
[clojure.pprint :as pprint]
[clojure.test.check.generators :as gen]
[clojure.test.check.properties :as prop]
[clojure.test.check :as tc]))
(defn create-friendship-db []
(atom {}))
; Querying Helper Met... |
[
{
"context": "reset! users [])\n (swap! users conj {:last-name \"last\",\n :first-name \"first\",\n ",
"end": 347,
"score": 0.9981572031974792,
"start": 343,
"tag": "NAME",
"value": "last"
},
{
"context": "st-name \"last\",\n :first-name \... | test/user_storage_app/handler_test.clj | briangorman/record-storage | 0 | (ns user-storage-app.handler-test
(:require [clojure.test :refer :all]
[ring.mock.request :as mock]
[user-storage-app.handler :refer :all]
[user-storage-app.db :refer [users]]
[cheshire.core :refer [parse-string]]))
(defn db-fixture
[f]
(reset! users [])
(swap! u... | 1548 | (ns user-storage-app.handler-test
(:require [clojure.test :refer :all]
[ring.mock.request :as mock]
[user-storage-app.handler :refer :all]
[user-storage-app.db :refer [users]]
[cheshire.core :refer [parse-string]]))
(defn db-fixture
[f]
(reset! users [])
(swap! u... | true | (ns user-storage-app.handler-test
(:require [clojure.test :refer :all]
[ring.mock.request :as mock]
[user-storage-app.handler :refer :all]
[user-storage-app.db :refer [users]]
[cheshire.core :refer [parse-string]]))
(defn db-fixture
[f]
(reset! users [])
(swap! u... |
[
{
"context": "WORK:\n;;\n;; * Why did we have to do all this?\n;; Ben Vandgrift has a nice explanation at:\n;; \"Clojure: 'Hello ",
"end": 6783,
"score": 0.9998632669448853,
"start": 6770,
"tag": "NAME",
"value": "Ben Vandgrift"
}
] | src/clojure_by_example/ex07_boldly_go.clj | madhuri5279/clojure-by-example | 122 | (ns clojure-by-example.ex07-boldly-go)
;; EX07: Lesson Goals
;;
;; - Quickly see how to start and architect your own project.
;; - namespaces, dependencies, project structuring etc...
;;
;; - To be able to run your project as a binary (jar) like this:
;;
;; java -jar ./path/to/the_library_jarfile.jar "arg1" "arg2"... | 54684 | (ns clojure-by-example.ex07-boldly-go)
;; EX07: Lesson Goals
;;
;; - Quickly see how to start and architect your own project.
;; - namespaces, dependencies, project structuring etc...
;;
;; - To be able to run your project as a binary (jar) like this:
;;
;; java -jar ./path/to/the_library_jarfile.jar "arg1" "arg2"... | true | (ns clojure-by-example.ex07-boldly-go)
;; EX07: Lesson Goals
;;
;; - Quickly see how to start and architect your own project.
;; - namespaces, dependencies, project structuring etc...
;;
;; - To be able to run your project as a binary (jar) like this:
;;
;; java -jar ./path/to/the_library_jarfile.jar "arg1" "arg2"... |
[
{
"context": "dra-backed object storage\"\n :maintainer {:email \"Pierre-Yves Ritschard <pyr@spootnik.org>\"}\n :url \"http://pithos.io\"\n ",
"end": 139,
"score": 0.9998764395713806,
"start": 118,
"tag": "NAME",
"value": "Pierre-Yves Ritschard"
},
{
"context": "ge\"\n :maintaine... | project.clj | exoscale/pithos | 222 | (defproject io.pithos/pithos "0.7.6-SNAPSHOT"
:description "cassandra-backed object storage"
:maintainer {:email "Pierre-Yves Ritschard <pyr@spootnik.org>"}
:url "http://pithos.io"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:aot :all
:main i... | 38100 | (defproject io.pithos/pithos "0.7.6-SNAPSHOT"
:description "cassandra-backed object storage"
:maintainer {:email "<NAME> <<EMAIL>>"}
:url "http://pithos.io"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:aot :all
:main io.pithos
:jvm-opts ["-... | true | (defproject io.pithos/pithos "0.7.6-SNAPSHOT"
:description "cassandra-backed object storage"
:maintainer {:email "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"}
:url "http://pithos.io"
:license {:name "Apache License, Version 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0"}
:aot :all
:m... |
[
{
"context": "! *unchecked-math* :warn-on-boxed)\n(ns ^{:author \"wahpenayo at gmail dot com\" \n :since \"2017-11-10\"\n :date \"2017-11-",
"end": 113,
"score": 0.822047233581543,
"start": 87,
"tag": "EMAIL",
"value": "wahpenayo at gmail dot com"
}
] | src/scripts/clojure/taiga/scripts/quantiles/data.clj | wahpenayo/taiga | 4 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "wahpenayo at gmail dot com"
:since "2017-11-10"
:date "2017-11-15"
:doc "Generate data for mean regression training,
probability measure regression training,
and test."}
taiga.scrip... | 71846 | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "<EMAIL>"
:since "2017-11-10"
:date "2017-11-15"
:doc "Generate data for mean regression training,
probability measure regression training,
and test."}
taiga.scripts.quantiles.data
... | true | (set! *warn-on-reflection* true)
(set! *unchecked-math* :warn-on-boxed)
(ns ^{:author "PI:EMAIL:<EMAIL>END_PI"
:since "2017-11-10"
:date "2017-11-15"
:doc "Generate data for mean regression training,
probability measure regression training,
and test."}
taiga.scripts.q... |
[
{
"context": "ocker-api.util :as util]))\n(def param-map {:name \"kim\", :age 20, :password \"helloworld\"})\n\n(expect \"htt",
"end": 198,
"score": 0.5256458520889282,
"start": 195,
"tag": "USERNAME",
"value": "kim"
},
{
"context": "\n(def param-map {:name \"kim\", :age 20, :passwor... | test/clojure_docker_api/core_test.clj | joshua-jin/clojure-docker-api | 1 | (ns clojure-docker-api.core-test
(:require [expectations :refer :all]
[clojure-docker-api.core :as api-core]
[clojure-docker-api.util :as util]))
(def param-map {:name "kim", :age 20, :password "helloworld"})
(expect "http://www.google.com/" (util/wrap-url "http://www.google.com"))
(expect "h... | 8665 | (ns clojure-docker-api.core-test
(:require [expectations :refer :all]
[clojure-docker-api.core :as api-core]
[clojure-docker-api.util :as util]))
(def param-map {:name "kim", :age 20, :password "<PASSWORD>"})
(expect "http://www.google.com/" (util/wrap-url "http://www.google.com"))
(expect "h... | true | (ns clojure-docker-api.core-test
(:require [expectations :refer :all]
[clojure-docker-api.core :as api-core]
[clojure-docker-api.util :as util]))
(def param-map {:name "kim", :age 20, :password "PI:PASSWORD:<PASSWORD>END_PI"})
(expect "http://www.google.com/" (util/wrap-url "http://www.google... |
[
{
"context": ";;;;;;;;;;\n; change to your api key\n(def API-KEY \"b25b959554ed76058ac220b7b2e0a026\")\n;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;",
"end": 686,
"score": 0.9996797442436218,
"start": 654,
"tag": "KEY",
"value": "b25b959554ed76058ac220b7b2e0a026"
},
{
"context": "... | src/bieberscore/core.clj | dgorissen/bieberscore | 1 | "Analyzing lyrical complexity, a toy example for learning clojure"
(ns bieberscore.core
(:require [clj-http.client :as client]
[clojure.xml :as xml]
[clojure.zip :as zip]
[net.cgrand.enlive-html :as html]
[stemmers.core]
)
(:use clojure.pprint)
(:use clo... | 101534 | "Analyzing lyrical complexity, a toy example for learning clojure"
(ns bieberscore.core
(:require [clj-http.client :as client]
[clojure.xml :as xml]
[clojure.zip :as zip]
[net.cgrand.enlive-html :as html]
[stemmers.core]
)
(:use clojure.pprint)
(:use clo... | true | "Analyzing lyrical complexity, a toy example for learning clojure"
(ns bieberscore.core
(:require [clj-http.client :as client]
[clojure.xml :as xml]
[clojure.zip :as zip]
[net.cgrand.enlive-html :as html]
[stemmers.core]
)
(:use clojure.pprint)
(:use clo... |
[
{
"context": ";; Copyright (c) Stephen C. Gilardi. All rights reserved. The use and\n;; distributi",
"end": 36,
"score": 0.9998877048492432,
"start": 18,
"tag": "NAME",
"value": "Stephen C. Gilardi"
},
{
"context": "lardi (gmail)\n;; 17 May 2008\n\n(ns \n #^{:author \"Stephen C.... | ThirdParty/clojure-contrib-1.1.0/src/clojure/contrib/def.clj | allertonm/Couverjure | 3 | ;; Copyright (c) Stephen C. Gilardi. 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-v10.html at the root of this distribution. By
;; using this softwar... | 89465 | ;; Copyright (c) <NAME>. 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-v10.html at the root of this distribution. By
;; using this software in any fas... | true | ;; Copyright (c) PI:NAME:<NAME>END_PI. 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-v10.html at the root of this distribution. By
;; using this softw... |
[
{
"context": ")\n\n(deftest application-api-test\n (let [api-key \"42\"\n user-id \"alice\"\n another-user \"al",
"end": 419,
"score": 0.9986184239387512,
"start": 417,
"tag": "KEY",
"value": "42"
},
{
"context": "on-api-test\n (let [api-key \"42\"\n user-id \"... | test/clj/rems/test/api/application.clj | JerryTraskelin/rems | 0 | (ns ^:integration rems.test.api.application
(:require [clojure.string :as str]
[clojure.test :refer :all]
[rems.handler :refer [app]]
[rems.test.api :refer :all]
[rems.test.tempura :refer [fake-tempura-fixture]]
[ring.mock.request :refer :all]))
(use-fixtur... | 61831 | (ns ^:integration rems.test.api.application
(:require [clojure.string :as str]
[clojure.test :refer :all]
[rems.handler :refer [app]]
[rems.test.api :refer :all]
[rems.test.tempura :refer [fake-tempura-fixture]]
[ring.mock.request :refer :all]))
(use-fixtur... | true | (ns ^:integration rems.test.api.application
(:require [clojure.string :as str]
[clojure.test :refer :all]
[rems.handler :refer [app]]
[rems.test.api :refer :all]
[rems.test.tempura :refer [fake-tempura-fixture]]
[ring.mock.request :refer :all]))
(use-fixtur... |
[
{
"context": " :port 27017\n :name \"netrunner\"}\n :web/app (ig/ref :mongodb/connection)\n :we",
"end": 951,
"score": 0.9830710887908936,
"start": 942,
"tag": "USERNAME",
"value": "netrunner"
},
{
"context": " {} (:cards fmt))))\n\n(defmethod ig... | src/clj/web/system.clj | kjchiu/netrunner | 0 | (ns web.system
(:require
[web.config :refer [frontend-version server-mode]]
[clj-time.format :as f]
[game.cards.agendas]
[game.cards.assets]
[game.cards.basic]
[game.cards.events]
[game.cards.hardware]
[game.cards.ice]
[game.cards.identities]
[game.cards.operations]
[game.c... | 38125 | (ns web.system
(:require
[web.config :refer [frontend-version server-mode]]
[clj-time.format :as f]
[game.cards.agendas]
[game.cards.assets]
[game.cards.basic]
[game.cards.events]
[game.cards.hardware]
[game.cards.ice]
[game.cards.identities]
[game.cards.operations]
[game.c... | true | (ns web.system
(:require
[web.config :refer [frontend-version server-mode]]
[clj-time.format :as f]
[game.cards.agendas]
[game.cards.assets]
[game.cards.basic]
[game.cards.events]
[game.cards.hardware]
[game.cards.ice]
[game.cards.identities]
[game.cards.operations]
[game.c... |
[
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narkisr.com\n Licensed under the Apache License",
"end": 49,
"score": 0.9998816251754761,
"start": 37,
"tag": "NAME",
"value": "Ronen Narkis"
},
{
"context": "(comment \n re-core, Copyright 2012 Ronen Narkis, narki... | src/es/systems.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... | 12915 | (comment
re-core, Copyright 2012 <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.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... | true | (comment
re-core, Copyright 2012 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 License at http://www.apache.org/licenses/LICENSE-2.0
Unless require... |
[
{
"context": "euler.net>\n;; Problem: 1\n;; Solution: 3\n;; Author: Sean Broderick <hakutsuru@mac.com>\n;; Date: 2015-06-09\n\n\n(def th",
"end": 98,
"score": 0.9998761415481567,
"start": 84,
"tag": "NAME",
"value": "Sean Broderick"
},
{
"context": "blem: 1\n;; Solution: 3\n;; Author... | solutions/clojure/pe_001_03.clj | hakutsuru/euler_001 | 0 | ;; Project Euler <https://projecteuler.net>
;; Problem: 1
;; Solution: 3
;; Author: Sean Broderick <hakutsuru@mac.com>
;; Date: 2015-06-09
(def threshold (Integer/parseInt (second *command-line-args*)))
;; whole-number summation
;; ((n^2)/2) + (n/2)
(defn summation_to_number [x]
(quot (+ (* x x) x) 2))
(def sum03... | 110926 | ;; Project Euler <https://projecteuler.net>
;; Problem: 1
;; Solution: 3
;; Author: <NAME> <<EMAIL>>
;; Date: 2015-06-09
(def threshold (Integer/parseInt (second *command-line-args*)))
;; whole-number summation
;; ((n^2)/2) + (n/2)
(defn summation_to_number [x]
(quot (+ (* x x) x) 2))
(def sum03
(* 3 (summation... | true | ;; Project Euler <https://projecteuler.net>
;; Problem: 1
;; Solution: 3
;; Author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
;; Date: 2015-06-09
(def threshold (Integer/parseInt (second *command-line-args*)))
;; whole-number summation
;; ((n^2)/2) + (n/2)
(defn summation_to_number [x]
(quot (+ (* x x) x) 2))
... |
[
{
"context": "nt-longest-path input-graph)\n (let [node-name \"Author\"\n og-nodes (ug/nodes input-graph)\n ",
"end": 2397,
"score": 0.9990679621696472,
"start": 2391,
"tag": "NAME",
"value": "Author"
}
] | 2015/day13/src/day13/main.clj | Anatolij-Grigorjev/AdventOfCode | 0 | (ns day13.main
(:require [aoc-commons.core :refer :all])
(:require [clojure.string :as str])
(:require [ubergraph.core :as ug]))
(defn word-sign [word]
(case word
"gain" 1
"lose" -1))
(defn items-pairs-ring [col]
(let [start-finish-pairs (partition 2 1 col)
first-node ((comp first first) sta... | 7987 | (ns day13.main
(:require [aoc-commons.core :refer :all])
(:require [clojure.string :as str])
(:require [ubergraph.core :as ug]))
(defn word-sign [word]
(case word
"gain" 1
"lose" -1))
(defn items-pairs-ring [col]
(let [start-finish-pairs (partition 2 1 col)
first-node ((comp first first) sta... | true | (ns day13.main
(:require [aoc-commons.core :refer :all])
(:require [clojure.string :as str])
(:require [ubergraph.core :as ug]))
(defn word-sign [word]
(case word
"gain" 1
"lose" -1))
(defn items-pairs-ring [col]
(let [start-finish-pairs (partition 2 1 col)
first-node ((comp first first) sta... |
[
{
"context": ":id 1 :name \"root\" :expanded true} [{:id 2 :name \"Herlev\" :expanded true} [{:id 3 :name \"Akut\" :expanded f",
"end": 1810,
"score": 0.9994907975196838,
"start": 1804,
"tag": "NAME",
"value": "Herlev"
},
{
"context": "d 2 :name \"Herlev\" :expanded true} [{:id 3 :na... | src/cljs/reframe_test/handlers.cljs | jargon/ts-admin | 0 | (ns reframe-test.handlers
(:require [re-frame.core :as re-frame]
[reframe-test.db :as db]
[clojure.zip :as zip]))
(defn- edit-group-node [zipper id edit-fn & args]
(let [match? (fn [loc] (and (not (zip/branch? loc))
(= (:id (zip/node loc)) id)))]
(loo... | 22000 | (ns reframe-test.handlers
(:require [re-frame.core :as re-frame]
[reframe-test.db :as db]
[clojure.zip :as zip]))
(defn- edit-group-node [zipper id edit-fn & args]
(let [match? (fn [loc] (and (not (zip/branch? loc))
(= (:id (zip/node loc)) id)))]
(loo... | true | (ns reframe-test.handlers
(:require [re-frame.core :as re-frame]
[reframe-test.db :as db]
[clojure.zip :as zip]))
(defn- edit-group-node [zipper id edit-fn & args]
(let [match? (fn [loc] (and (not (zip/branch? loc))
(= (:id (zip/node loc)) id)))]
(loo... |
[
{
"context": " \"postgresql\"\n :subname \"//127.0.0.1:5432/hugtest\"\n :user \"hugt",
"end": 797,
"score": 0.9996014833450317,
"start": 788,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": ".0.1:5432/hugtest\"\n ... | hugsql-core/test/hugsql/core_test.clj | bwalex/hugsql | 0 | (ns hugsql.core-test
(:require [clojure.test :refer :all]
[hugsql.core :as hugsql]
[hugsql.adapter]
[hugsql.adapter.clojure-java-jdbc :as cjj-adapter]
[hugsql.adapter.clojure-jdbc :as cj-adapter]
[clojure.java.io :as io])
(:import [clojure.lang ExceptionIn... | 10703 | (ns hugsql.core-test
(:require [clojure.test :refer :all]
[hugsql.core :as hugsql]
[hugsql.adapter]
[hugsql.adapter.clojure-java-jdbc :as cjj-adapter]
[hugsql.adapter.clojure-jdbc :as cj-adapter]
[clojure.java.io :as io])
(:import [clojure.lang ExceptionIn... | true | (ns hugsql.core-test
(:require [clojure.test :refer :all]
[hugsql.core :as hugsql]
[hugsql.adapter]
[hugsql.adapter.clojure-java-jdbc :as cjj-adapter]
[hugsql.adapter.clojure-jdbc :as cj-adapter]
[clojure.java.io :as io])
(:import [clojure.lang ExceptionIn... |
[
{
"context": ";;\n;; Copyright © 2020 Sam Ritchie.\n;; This work is based on the Scmutils system of ",
"end": 34,
"score": 0.9998284578323364,
"start": 23,
"tag": "NAME",
"value": "Sam Ritchie"
}
] | test/numerical/interpolate/richardson_test.cljc | dynamic-notebook/functional-numerics | 4 | ;;
;; Copyright © 2020 Sam Ritchie.
;; This work is based on the Scmutils system of MIT/GNU Scheme:
;; Copyright © 2002 Massachusetts Institute of Technology
;;
;; This is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software F... | 47843 | ;;
;; Copyright © 2020 <NAME>.
;; This work is based on the Scmutils system of MIT/GNU Scheme:
;; Copyright © 2002 Massachusetts Institute of Technology
;;
;; This is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Founda... | true | ;;
;; Copyright © 2020 PI:NAME:<NAME>END_PI.
;; This work is based on the Scmutils system of MIT/GNU Scheme:
;; Copyright © 2002 Massachusetts Institute of Technology
;;
;; This is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free S... |
[
{
"context": "ted-topic\n (let [test-db (reagent/atom {:name \"Lean Caffeine\"\n :persistent {:t",
"end": 377,
"score": 0.940699577331543,
"start": 364,
"tag": "NAME",
"value": "Lean Caffeine"
},
{
"context": "-by-sorting\n (let [test-db (reagent/a... | test/cljs/lean_discussion/subs_test.cljs | ericstewart/lean-discussion | 3 | (ns lean-discussion.subs-test
(:require [cljs.test :refer-macros [deftest testing is]]
[reagent.debug :refer-macros [dbg println log]]
[reagent.core :as reagent]
[lean-discussion.subs :as subs])
(:require-macros [reagent.ratom :refer [reaction]]))
(deftest test-handler-sorted-to... | 123104 | (ns lean-discussion.subs-test
(:require [cljs.test :refer-macros [deftest testing is]]
[reagent.debug :refer-macros [dbg println log]]
[reagent.core :as reagent]
[lean-discussion.subs :as subs])
(:require-macros [reagent.ratom :refer [reaction]]))
(deftest test-handler-sorted-to... | true | (ns lean-discussion.subs-test
(:require [cljs.test :refer-macros [deftest testing is]]
[reagent.debug :refer-macros [dbg println log]]
[reagent.core :as reagent]
[lean-discussion.subs :as subs])
(:require-macros [reagent.ratom :refer [reaction]]))
(deftest test-handler-sorted-to... |
[
{
"context": "iss \"https://rems.example/\"\n :sub \"user@example.com\"\n :iat (clj-time.coerce/to-epoch \"",
"end": 503,
"score": 0.999904453754425,
"start": 487,
"tag": "EMAIL",
"value": "user@example.com"
},
{
"context": " \"urn:1234\" :start (time/da... | test/clj/rems/test_ga4gh.clj | tjb/rems | 31 | (ns rems.test-ga4gh
(:require [clj-time.coerce]
[clj-time.core :as time]
[clojure.test :refer :all]
[rems.config :refer [env]]
[rems.ga4gh :as ga4gh]
[rems.testing-util :refer [with-fixed-time]]))
(deftest test-entitlement->visa-claims
(with-redefs [env {... | 70335 | (ns rems.test-ga4gh
(:require [clj-time.coerce]
[clj-time.core :as time]
[clojure.test :refer :all]
[rems.config :refer [env]]
[rems.ga4gh :as ga4gh]
[rems.testing-util :refer [with-fixed-time]]))
(deftest test-entitlement->visa-claims
(with-redefs [env {... | true | (ns rems.test-ga4gh
(:require [clj-time.coerce]
[clj-time.core :as time]
[clojure.test :refer :all]
[rems.config :refer [env]]
[rems.ga4gh :as ga4gh]
[rems.testing-util :refer [with-fixed-time]]))
(deftest test-entitlement->visa-claims
(with-redefs [env {... |
[
{
"context": ";; Copyright 2014-2020 King\n;; Copyright 2009-2014 Ragnar Svensson, Christian Murray\n;; Licensed under the Defold Li",
"end": 111,
"score": 0.99981290102005,
"start": 96,
"tag": "NAME",
"value": "Ragnar Svensson"
},
{
"context": "-2020 King\n;; Copyright 2009-2014 Rag... | editor/src/clj/editor/resource_io.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... | 1255 | ;; 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": ";; Copyright 2018 Chris Rink\n;;\n;; Licensed under the Apache License, Version ",
"end": 28,
"score": 0.9998573660850525,
"start": 18,
"tag": "NAME",
"value": "Chris Rink"
}
] | src/clojure/slackbot/database/migrations.clj | chrisrink10/slackbot-clj | 0 | ;; Copyright 2018 Chris Rink
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in w... | 32520 | ;; Copyright 2018 <NAME>
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writi... | true | ;; Copyright 2018 PI:NAME:<NAME>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 required by applicable law or agre... |
[
{
"context": ";;\n;; Common utilities and functions\n;; @author Antonio Garrote\n;;\n\n(ns #^{:author \"Antonio Garrote <antoniogarro",
"end": 63,
"score": 0.9998929500579834,
"start": 48,
"tag": "NAME",
"value": "Antonio Garrote"
},
{
"context": "ns\n;; @author Antonio Garrote\n;;\n... | src/clj_ml/utils.clj | yogsototh/clj-ml | 114 | ;;
;; Common utilities and functions
;; @author Antonio Garrote
;;
(ns #^{:author "Antonio Garrote <antoniogarrote@gmail.com>"
:skip-wiki true}
clj-ml.utils
(:import (java.io ObjectOutputStream ByteArrayOutputStream
ByteArrayInputStream ObjectInputStream
FileOutputStr... | 63395 | ;;
;; Common utilities and functions
;; @author <NAME>
;;
(ns #^{:author "<NAME> <<EMAIL>>"
:skip-wiki true}
clj-ml.utils
(:import (java.io ObjectOutputStream ByteArrayOutputStream
ByteArrayInputStream ObjectInputStream
FileOutputStream FileInputStream)
(ja... | true | ;;
;; Common utilities and functions
;; @author PI:NAME:<NAME>END_PI
;;
(ns #^{:author "PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>"
:skip-wiki true}
clj-ml.utils
(:import (java.io ObjectOutputStream ByteArrayOutputStream
ByteArrayInputStream ObjectInputStream
FileO... |
[
{
"context": "tched prefix\")\n (is (nil? (#'s3/key->id nil \"x1040123abcd\"))\n \"should return nil for non-hex key\")",
"end": 3748,
"score": 0.9279553890228271,
"start": 3736,
"tag": "KEY",
"value": "x1040123abcd"
},
{
"context": "tName \"test-bucket\")\n ... | test/blocks/store/s3_test.clj | greglook/blocks-s3 | 13 | (ns blocks.store.s3-test
(:require
[blocks.core :as block]
[blocks.store :as store]
[blocks.store.s3 :as s3 :refer [s3-block-store]]
[blocks.store.tests :as tests]
[clojure.test :refer [deftest testing is]]
[com.stuartsierra.component :as component]
[multiformats.hash :as multihash])
(:i... | 10023 | (ns blocks.store.s3-test
(:require
[blocks.core :as block]
[blocks.store :as store]
[blocks.store.s3 :as s3 :refer [s3-block-store]]
[blocks.store.tests :as tests]
[clojure.test :refer [deftest testing is]]
[com.stuartsierra.component :as component]
[multiformats.hash :as multihash])
(:i... | true | (ns blocks.store.s3-test
(:require
[blocks.core :as block]
[blocks.store :as store]
[blocks.store.s3 :as s3 :refer [s3-block-store]]
[blocks.store.tests :as tests]
[clojure.test :refer [deftest testing is]]
[com.stuartsierra.component :as component]
[multiformats.hash :as multihash])
(:i... |
[
{
"context": "unctions to midi->cps conversion.\"\n :author \"Jeff Rose & Sam Aaron\"}\n\n overtone.sc.machinery.ugen.speci",
"end": 304,
"score": 0.9998847842216492,
"start": 295,
"tag": "NAME",
"value": "Jeff Rose"
},
{
"context": " midi->cps conversion.\"\n :author \"Je... | src/overtone/sc/machinery/ugen/special_ops.clj | josephwilk/overtone | 1 | (ns
^{:doc "Metadata regarding the various functionalities of the unary and binary ugens. These ugens are different to typical ugens in that they receive an 'opcode' as a parameter which defines its behviour - ranging from addition to trig functions to midi->cps conversion."
:author "Jeff Rose & Sam Aaron"}
... | 57529 | (ns
^{:doc "Metadata regarding the various functionalities of the unary and binary ugens. These ugens are different to typical ugens in that they receive an 'opcode' as a parameter which defines its behviour - ranging from addition to trig functions to midi->cps conversion."
:author "<NAME> & <NAME>"}
over... | true | (ns
^{:doc "Metadata regarding the various functionalities of the unary and binary ugens. These ugens are different to typical ugens in that they receive an 'opcode' as a parameter which defines its behviour - ranging from addition to trig functions to midi->cps conversion."
:author "PI:NAME:<NAME>END_PI & PI... |
[
{
"context": " (dosync\n (person-arrives-ref-set! hospital \"victor\")\n (person-arrives-ref-set! hospital \"alessa",
"end": 904,
"score": 0.9288738965988159,
"start": 898,
"tag": "NAME",
"value": "victor"
},
{
"context": "victor\")\n (person-arrives-ref-set! hospital ... | hospital/src/hospital/class6.clj | vgeorgo/courses-alura-clojure | 0 | (ns hospital.class6
(:use [clojure pprint])
(:require [hospital.model :as h.model]
[hospital.logic :as h.logic]))
(defn person-arrives-ref-set!
"Update the queue with set-ref, need to run inside transaction"
[hospital, person]
(let [queue (get hospital :waiting)]
(ref-set queue (h.logic/perso... | 96909 | (ns hospital.class6
(:use [clojure pprint])
(:require [hospital.model :as h.model]
[hospital.logic :as h.logic]))
(defn person-arrives-ref-set!
"Update the queue with set-ref, need to run inside transaction"
[hospital, person]
(let [queue (get hospital :waiting)]
(ref-set queue (h.logic/perso... | true | (ns hospital.class6
(:use [clojure pprint])
(:require [hospital.model :as h.model]
[hospital.logic :as h.logic]))
(defn person-arrives-ref-set!
"Update the queue with set-ref, need to run inside transaction"
[hospital, person]
(let [queue (get hospital :waiting)]
(ref-set queue (h.logic/perso... |
[
{
"context": "e paper A Neural Algorithm of Artistic Style\n ;;by Leon A. Gatys, Alexander S. Ecker, and Matthias Bethge\n\n(def co",
"end": 1592,
"score": 0.9998940229415894,
"start": 1579,
"tag": "NAME",
"value": "Leon A. Gatys"
},
{
"context": "l Algorithm of Artistic Style\n ;;by... | contrib/clojure-package/examples/neural-style/src/neural_style/core.clj | Vikas-kum/incubator-mxnet | 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 ... | 115995 | ;;
;; 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": "(ns river.seq\n\n ^{\n :author \"Roman Gonzalez\"\n }\n\n (:refer-clojure :exclude\n [take take-w",
"end": 47,
"score": 0.9998700022697449,
"start": 33,
"tag": "NAME",
"value": "Roman Gonzalez"
}
] | data/train/clojure/4d3b3c402ee856fecd18bb8107b2ee03b747ae6bseq.clj | harshp8l/deep-learning-lang-detection | 84 | (ns river.seq
^{
:author "Roman Gonzalez"
}
(:refer-clojure :exclude
[take take-while drop drop-while reduce first peek])
(:require [clojure.core :as core])
(:use river.core))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; ## Utility Functions
;;
;;;;;;;;;;;;;;;;;;;;... | 43525 | (ns river.seq
^{
:author "<NAME>"
}
(:refer-clojure :exclude
[take take-while drop drop-while reduce first peek])
(:require [clojure.core :as core])
(:use river.core))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; ## Utility Functions
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;... | true | (ns river.seq
^{
:author "PI:NAME:<NAME>END_PI"
}
(:refer-clojure :exclude
[take take-while drop drop-while reduce first peek])
(:require [clojure.core :as core])
(:use river.core))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; ## Utility Functions
;;
;;;;;;;;;;;;;;... |
[
{
"context": "as response]))\n\n(defpage \"/\" []\n (layout/layout \"Brian Jesse\"\n [:div.wrapper\n [:div.title.hidden-phone",
"end": 317,
"score": 0.9993941783905029,
"start": 306,
"tag": "NAME",
"value": "Brian Jesse"
},
{
"context": "n10\n [:div.row\n ... | data/clojure/379e8c764374a7ed930ba76227c3b8ab_index.clj | maxim5/code-inspector | 5 | (ns it354.views.index
(:use [noir.core :only [defpage defpartial]]
[hiccup.core :only [html]])
(:require [it354.views.layout :as layout]
[it354.views.utils :as utils]
[it354.models.db :as db]
[noir.response :as response]))
(defpage "/" []
(layout/layout "Brian Jesse"
... | 109944 | (ns it354.views.index
(:use [noir.core :only [defpage defpartial]]
[hiccup.core :only [html]])
(:require [it354.views.layout :as layout]
[it354.views.utils :as utils]
[it354.models.db :as db]
[noir.response :as response]))
(defpage "/" []
(layout/layout "<NAME>"
[:... | true | (ns it354.views.index
(:use [noir.core :only [defpage defpartial]]
[hiccup.core :only [html]])
(:require [it354.views.layout :as layout]
[it354.views.utils :as utils]
[it354.models.db :as db]
[noir.response :as response]))
(defpage "/" []
(layout/layout "PI:NAME:<NAME>... |
[
{
"context": "ir REGISTRATION\n \"sip:rkd@example.com\"))))))\n\n(deftest no-authtype-avp-test\n (testing ",
"end": 1250,
"score": 0.999873697757721,
"start": 1235,
"tag": "EMAIL",
"value": "rkd@example.com"
},
{
"context": "te-mock-lir nil\n ... | test/org/leafhss/hss/cx_lir_test.clj | rkday/leafhss | 1 | (ns org.leafhss.hss.cx-lir-test
(:require [clojure.test :refer :all]
[org.leafhss.hss.cx :refer :all]
[org.leafhss.hss.data :as data]
[org.leafhss.hss.testdata :refer :all]
[org.leafhss.hss.common-test :refer :all]
[org.leafhss.hss.constants :refer :all]
... | 32349 | (ns org.leafhss.hss.cx-lir-test
(:require [clojure.test :refer :all]
[org.leafhss.hss.cx :refer :all]
[org.leafhss.hss.data :as data]
[org.leafhss.hss.testdata :refer :all]
[org.leafhss.hss.common-test :refer :all]
[org.leafhss.hss.constants :refer :all]
... | true | (ns org.leafhss.hss.cx-lir-test
(:require [clojure.test :refer :all]
[org.leafhss.hss.cx :refer :all]
[org.leafhss.hss.data :as data]
[org.leafhss.hss.testdata :refer :all]
[org.leafhss.hss.common-test :refer :all]
[org.leafhss.hss.constants :refer :all]
... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.basal.io\n\n \"Use",
"end": 597,
"score": 0.9998567700386047,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
},
{
"context": ";;;;;;;;;;\n#_\n(def sample\n {:q... | src/main/clojure/czlab/basal/io.clj | llnek/xlib | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 87599 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": "ameters\n\n id 1\n source-key \"claronte:test:source\"\n backup-key \"claronte:test:backup\"\n ",
"end": 477,
"score": 0.9985193014144897,
"start": 457,
"tag": "KEY",
"value": "claronte:test:source"
},
{
"context": "ey \"claronte:test:s... | test/claronte/transport/fetcher/redis/fetcher_test.clj | jordillonch/claronte | 1 | (ns claronte.transport.fetcher.redis.fetcher-test
(:require [clojure.test :refer :all]
[taoensso.carmine :as car :refer (wcar)]
[claronte.config.claronte-config :refer :all]
[claronte.transport.fetcher.redis.fetcher :refer :all]))
(deftest fetch-and-confirm-one-message-test
(tes... | 56035 | (ns claronte.transport.fetcher.redis.fetcher-test
(:require [clojure.test :refer :all]
[taoensso.carmine :as car :refer (wcar)]
[claronte.config.claronte-config :refer :all]
[claronte.transport.fetcher.redis.fetcher :refer :all]))
(deftest fetch-and-confirm-one-message-test
(tes... | true | (ns claronte.transport.fetcher.redis.fetcher-test
(:require [clojure.test :refer :all]
[taoensso.carmine :as car :refer (wcar)]
[claronte.config.claronte-config :refer :all]
[claronte.transport.fetcher.redis.fetcher :refer :all]))
(deftest fetch-and-confirm-one-message-test
(tes... |
[
{
"context": "ns 'Transfer from xx2181 NetBank'\"\n (is (= [\"stuart\" [\"contribution\"]] (jja/classify \"savings\" \"Trans",
"end": 664,
"score": 0.5846269130706787,
"start": 660,
"tag": "NAME",
"value": "uart"
},
{
"context": "and the description mentions Alanna\"\n (is (= [... | test/jjAgglomerator/classifier_test.clj | s5b/jjAgglomerator | 0 | (ns jjAgglomerator.classifier-test
(:require [clojure.test :refer :all]
[jjAgglomerator.classifier :refer :all :as jja]))
(def negative-amount (BigDecimal. "-67.23"))
(def positive-amount (BigDecimal. "+413.87"))
(deftest classify-transactions-from-savings
(testing "Given the account is savings, the a... | 101656 | (ns jjAgglomerator.classifier-test
(:require [clojure.test :refer :all]
[jjAgglomerator.classifier :refer :all :as jja]))
(def negative-amount (BigDecimal. "-67.23"))
(def positive-amount (BigDecimal. "+413.87"))
(deftest classify-transactions-from-savings
(testing "Given the account is savings, the a... | true | (ns jjAgglomerator.classifier-test
(:require [clojure.test :refer :all]
[jjAgglomerator.classifier :refer :all :as jja]))
(def negative-amount (BigDecimal. "-67.23"))
(def positive-amount (BigDecimal. "+413.87"))
(deftest classify-transactions-from-savings
(testing "Given the account is savings, the a... |
[
{
"context": " (tags/make-tag {:tag-key \"gov.nasa.eosdis\"})\n tag-colls)]\n (index/w",
"end": 6778,
"score": 0.5212878584861755,
"start": 6778,
"tag": "KEY",
"value": ""
}
] | system-int-test/test/cmr/system_int_test/search/collection_directory_pages_test.clj | mschmele/Common-Metadata-Repository | 0 | (ns cmr.system-int-test.search.collection-directory-pages-test
"This tests a running CMR site's directory links at all levels: top-most,
eosdis, and provider."
(:require
[clj-http.client :as client]
[clojure.string :as string]
[clojure.test :refer :all]
[cmr.mock-echo.client.echo-util :as e]
[cmr.s... | 40897 | (ns cmr.system-int-test.search.collection-directory-pages-test
"This tests a running CMR site's directory links at all levels: top-most,
eosdis, and provider."
(:require
[clj-http.client :as client]
[clojure.string :as string]
[clojure.test :refer :all]
[cmr.mock-echo.client.echo-util :as e]
[cmr.s... | true | (ns cmr.system-int-test.search.collection-directory-pages-test
"This tests a running CMR site's directory links at all levels: top-most,
eosdis, and provider."
(:require
[clj-http.client :as client]
[clojure.string :as string]
[clojure.test :refer :all]
[cmr.mock-echo.client.echo-util :as e]
[cmr.s... |
[
{
"context": "nge\"\n [state side kw new-val delta]\n (let [key (name kw)]\n (system-msg state side\n (str",
"end": 2508,
"score": 0.993195116519928,
"start": 2501,
"tag": "KEY",
"value": "name kw"
}
] | src/clj/game/core/actions.clj | nathanj/netrunner | 0 | (in-ns 'game.core)
;; These functions are called by main.clj in response to commands sent by users.
(declare available-mu card-str can-rez? can-advance? corp-install effect-as-handler
enforce-msg gain-agenda-point get-remote-names get-run-ices jack-out move
name-zone play-instant purge resolve-selec... | 39996 | (in-ns 'game.core)
;; These functions are called by main.clj in response to commands sent by users.
(declare available-mu card-str can-rez? can-advance? corp-install effect-as-handler
enforce-msg gain-agenda-point get-remote-names get-run-ices jack-out move
name-zone play-instant purge resolve-selec... | true | (in-ns 'game.core)
;; These functions are called by main.clj in response to commands sent by users.
(declare available-mu card-str can-rez? can-advance? corp-install effect-as-handler
enforce-msg gain-agenda-point get-remote-names get-run-ices jack-out move
name-zone play-instant purge resolve-selec... |
[
{
"context": "ozilla.org/MPL/2.0/.\n;;\n;; Copyright (c) 2016-2022 Andrey Antukh <niwi@niwi.nz>\n\n(ns user\n (:require\n [clojure.",
"end": 245,
"score": 0.9998846054077148,
"start": 232,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": ".0/.\n;;\n;; Copyright (c) 2016-202... | test/user.clj | updcon/buddy-core | 0 | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016-2022 Andrey Antukh <niwi@niwi.nz>
(ns user
(:require
[clojure.spec.alpha :as s]
[clo... | 47508 | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016-2022 <NAME> <<EMAIL>>
(ns user
(:require
[clojure.spec.alpha :as s]
[clojure.tools.n... | true | ;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) 2016-2022 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
(ns user
(:require
[clojure.spec.alp... |
[
{
"context": "ector 1 2 3 4))\n(defn mapify [] (hash-map \"name\" \"Alexander\" \"class\" \"Intro to Clojure\"))\n(defn setify [] (ha",
"end": 479,
"score": 0.9994388818740845,
"start": 470,
"tag": "NAME",
"value": "Alexander"
},
{
"context": "contains? m :name) (= (str/lower-case (:... | src/clojure_intro_examples/simple_functions.clj | leftofnull/clojure_intro_examples | 0 | (ns clojure-intro-examples.simple-functions
(:require [clojure.string :as str]
[clojure.core.async :as a
:refer [>! <! >!! <!! go chan buffer close!
thread alts! alts!! timeout]]))
(defn string-concat
[data]
(str "Hello " data " ... | 28400 | (ns clojure-intro-examples.simple-functions
(:require [clojure.string :as str]
[clojure.core.async :as a
:refer [>! <! >!! <!! go chan buffer close!
thread alts! alts!! timeout]]))
(defn string-concat
[data]
(str "Hello " data " ... | true | (ns clojure-intro-examples.simple-functions
(:require [clojure.string :as str]
[clojure.core.async :as a
:refer [>! <! >!! <!! go chan buffer close!
thread alts! alts!! timeout]]))
(defn string-concat
[data]
(str "Hello " data " ... |
[
{
"context": ";-\n; Copyright 2014-2015 © Meikel Brandmeyer.\n; All rights reserved.\n;\n; Licensed under the EU",
"end": 44,
"score": 0.999875545501709,
"start": 27,
"tag": "NAME",
"value": "Meikel Brandmeyer"
}
] | src/main/clojure/hay/stack.clj | pinky-editor/hay | 2 | ;-
; Copyright 2014-2015 © Meikel Brandmeyer.
; All rights reserved.
;
; Licensed under the EUPL V.1.1 (cf. file EUPL-1.1 distributed with the
; source code.) Translations in other european languages available at
; https://joinup.ec.europa.eu/software/page/eupl.
;
; Alternatively, you may choose to use the software und... | 98681 | ;-
; Copyright 2014-2015 © <NAME>.
; All rights reserved.
;
; Licensed under the EUPL V.1.1 (cf. file EUPL-1.1 distributed with the
; source code.) Translations in other european languages available at
; https://joinup.ec.europa.eu/software/page/eupl.
;
; Alternatively, you may choose to use the software under the MIT ... | true | ;-
; Copyright 2014-2015 © PI:NAME:<NAME>END_PI.
; All rights reserved.
;
; Licensed under the EUPL V.1.1 (cf. file EUPL-1.1 distributed with the
; source code.) Translations in other european languages available at
; https://joinup.ec.europa.eu/software/page/eupl.
;
; Alternatively, you may choose to use the software ... |
[
{
"context": "short mail-address\n (is (pattern/valid-email? \"a@abc.jp\"))\n ;; valid mail-address\n (is (pattern/val",
"end": 563,
"score": 0.9991899728775024,
"start": 555,
"tag": "EMAIL",
"value": "a@abc.jp"
},
{
"context": "valid mail-address\n (is (pattern/valid-ema... | test/proton/pattern_test.cljc | iku000888/proton | 0 | (ns proton.pattern-test
(:require #?(:clj [clojure.test :refer [deftest is testing]]
:cljs [cljs.test :refer-macros [deftest is testing]])
[proton.pattern :as pattern]))
(deftest pattern-test
(testing "valid-email?"
(is (not (pattern/valid-email? nil)))
;; empty
(is (not (pa... | 79177 | (ns proton.pattern-test
(:require #?(:clj [clojure.test :refer [deftest is testing]]
:cljs [cljs.test :refer-macros [deftest is testing]])
[proton.pattern :as pattern]))
(deftest pattern-test
(testing "valid-email?"
(is (not (pattern/valid-email? nil)))
;; empty
(is (not (pa... | true | (ns proton.pattern-test
(:require #?(:clj [clojure.test :refer [deftest is testing]]
:cljs [cljs.test :refer-macros [deftest is testing]])
[proton.pattern :as pattern]))
(deftest pattern-test
(testing "valid-email?"
(is (not (pattern/valid-email? nil)))
;; empty
(is (not (pa... |
[
{
"context": "e) (hour 4 false) false)) :form :part-of-day)\n\n \"domattina\"\n [#\"(?i)domattina\"]\n (assoc (intersect (cycle-",
"end": 12401,
"score": 0.9769982695579529,
"start": 12392,
"tag": "NAME",
"value": "domattina"
},
{
"context": "lse)) :form :part-of-day)\n\n \"domat... | resources/languages/it/rules/time.clj | sebastianmika/duckling | 0 | (
;; generic
"two time tokens in a row"
[(dim :time #(not (:latent %))) (dim :time #(not (:latent %)))] ; sequence of two tokens with a time dimension
(intersect %1 %2)
; same thing, with "de" in between like "domingo de la semana pasada"
"two time tokens separated by `di`"
[(dim :time #(not (:latent %)... | 43803 | (
;; generic
"two time tokens in a row"
[(dim :time #(not (:latent %))) (dim :time #(not (:latent %)))] ; sequence of two tokens with a time dimension
(intersect %1 %2)
; same thing, with "de" in between like "domingo de la semana pasada"
"two time tokens separated by `di`"
[(dim :time #(not (:latent %)... | true | (
;; generic
"two time tokens in a row"
[(dim :time #(not (:latent %))) (dim :time #(not (:latent %)))] ; sequence of two tokens with a time dimension
(intersect %1 %2)
; same thing, with "de" in between like "domingo de la semana pasada"
"two time tokens separated by `di`"
[(dim :time #(not (:latent %)... |
[
{
"context": "tString config \"user\" nil \"email\") \"\")]\n {:name name\n :email email}))\n\n(defn set-user-info! [git-o",
"end": 4369,
"score": 0.9359599351882935,
"start": 4365,
"tag": "NAME",
"value": "name"
}
] | editor/src/clj/editor/git.clj | Krzlfx/defold | 2 | ;; Copyright 2020 The Defold Foundation
;; 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://www.defold.com/license
;;
;; Unless required by applicable law or a... | 1360 | ;; Copyright 2020 The Defold Foundation
;; 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://www.defold.com/license
;;
;; Unless required by applicable law or a... | true | ;; Copyright 2020 The Defold Foundation
;; 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://www.defold.com/license
;;
;; Unless required by applicable law or a... |
[
{
"context": "sitions.auto-dubstep\n (:use [overtone.live]))\n\n;; Dan Stowells' Dubstep Synth:\n;; SClang version:\n;;\n;;s.waitFor",
"end": 90,
"score": 0.9982900619506836,
"start": 78,
"tag": "NAME",
"value": "Dan Stowells"
}
] | src/overtone/examples/compositions/auto_dubstep.clj | ABaldwinHunter/overtone | 3,870 | (ns overtone.examples.compositions.auto-dubstep
(:use [overtone.live]))
;; Dan Stowells' Dubstep Synth:
;; SClang version:
;;
;;s.waitForBoot{Ndef(\a).play;Ndef(\a,
;;{
;;var trig, freq, notes, wob, sweep, kickenv, kick, snare, swr, syn, bpm, x;
;;x = MouseX.kr(1, 4);
;;
;;
;;// START HERE:
;;
;;bpm = 120;
;;
;;note... | 118266 | (ns overtone.examples.compositions.auto-dubstep
(:use [overtone.live]))
;; <NAME>' Dubstep Synth:
;; SClang version:
;;
;;s.waitForBoot{Ndef(\a).play;Ndef(\a,
;;{
;;var trig, freq, notes, wob, sweep, kickenv, kick, snare, swr, syn, bpm, x;
;;x = MouseX.kr(1, 4);
;;
;;
;;// START HERE:
;;
;;bpm = 120;
;;
;;notes = [4... | true | (ns overtone.examples.compositions.auto-dubstep
(:use [overtone.live]))
;; PI:NAME:<NAME>END_PI' Dubstep Synth:
;; SClang version:
;;
;;s.waitForBoot{Ndef(\a).play;Ndef(\a,
;;{
;;var trig, freq, notes, wob, sweep, kickenv, kick, snare, swr, syn, bpm, x;
;;x = MouseX.kr(1, 4);
;;
;;
;;// START HERE:
;;
;;bpm = 120;
;... |
[
{
"context": "om/foaf/0.1/\"}\n {:foaf/firstName \"Pablo\"\n :foaf/surname \"Picasso\"})\n ",
"end": 2458,
"score": 0.9985531568527222,
"start": 2453,
"tag": "NAME",
"value": "Pablo"
},
{
"context": "irstName \"Pablo\"\n :foaf/surn... | crux-test/test/crux/kafka_test.clj | Antonelli712/crux | 0 | (ns crux.kafka-test
(:require [clojure.test :as t]
[clojure.java.io :as io]
[crux.io :as cio]
[clojure.tools.logging :as log]
[crux.db :as db]
[crux.index :as idx]
[crux.fixtures.kafka :as fk]
[crux.object-store :as os]
[c... | 107490 | (ns crux.kafka-test
(:require [clojure.test :as t]
[clojure.java.io :as io]
[crux.io :as cio]
[clojure.tools.logging :as log]
[crux.db :as db]
[crux.index :as idx]
[crux.fixtures.kafka :as fk]
[crux.object-store :as os]
[c... | true | (ns crux.kafka-test
(:require [clojure.test :as t]
[clojure.java.io :as io]
[crux.io :as cio]
[clojure.tools.logging :as log]
[crux.db :as db]
[crux.index :as idx]
[crux.fixtures.kafka :as fk]
[crux.object-store :as os]
[c... |
[
{
"context": "nterface to TweeboParser\n;;;;\n;;;; @copyright 2020 Dennis Drown et l'Université du Québec à Montréal\n;;;; -------",
"end": 390,
"score": 0.9998774528503418,
"start": 378,
"tag": "NAME",
"value": "Dennis Drown"
}
] | apps/say_sila/priv/fnode/say/src/say/tweebo.clj | dendrown/say_sila | 0 | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Say... | 91178 | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Say... | true | ;;;; -------------------------------------------------------------------------
;;;;
;;;; _/_/_/ _/_/_/ _/ _/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/ _/ _/ _/_/_/_/
;;;; _/ _/ _/ _/ _/
;;;; _/_/_/ _/_/_/ _/_/_/_/ _/ _/
;;;;
;;;; Say... |
[
{
"context": "put-wrapper\"}\n [:input {:type \"text\" :name \"username\"\n :placeholder \"Write your usernam",
"end": 1963,
"score": 0.9059932827949524,
"start": 1955,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\n [username, password]\n (when (and... | examples/website-ssl/src/website/handlers.clj | source-c/catacumba | 212 | (ns website.handlers
(:require [clojure.java.io :as io]
[hiccup.page :as hc]
[catacumba.core :as ct]
[catacumba.handlers :as hs]
[catacumba.handlers.auth :as auth]
[catacumba.http :as http]))
;; A function that renders the basic html layout
;; for all page... | 20526 | (ns website.handlers
(:require [clojure.java.io :as io]
[hiccup.page :as hc]
[catacumba.core :as ct]
[catacumba.handlers :as hs]
[catacumba.handlers.auth :as auth]
[catacumba.http :as http]))
;; A function that renders the basic html layout
;; for all page... | true | (ns website.handlers
(:require [clojure.java.io :as io]
[hiccup.page :as hc]
[catacumba.core :as ct]
[catacumba.handlers :as hs]
[catacumba.handlers.auth :as auth]
[catacumba.http :as http]))
;; A function that renders the basic html layout
;; for all page... |
[
{
"context": ";; Copyright (C) 2011, Jozef Wagner. All rights reserved. \n\n(ns dredd.app\n \"App mana",
"end": 35,
"score": 0.999862015247345,
"start": 23,
"tag": "NAME",
"value": "Jozef Wagner"
}
] | data/train/clojure/11eb9fd0737e0121ee7a3bbb36990555aca366e8app.clj | harshp8l/deep-learning-lang-detection | 84 | ;; Copyright (C) 2011, Jozef Wagner. All rights reserved.
(ns dredd.app
"App management"
(:use compojure.core
ring.util.response
[hiccup core page-helpers form-helpers]
[incanter core excel])
(:require [compojure.route :as route]
[compojure.handler :as handler]
[d... | 123793 | ;; Copyright (C) 2011, <NAME>. All rights reserved.
(ns dredd.app
"App management"
(:use compojure.core
ring.util.response
[hiccup core page-helpers form-helpers]
[incanter core excel])
(:require [compojure.route :as route]
[compojure.handler :as handler]
[dredd.l... | true | ;; Copyright (C) 2011, PI:NAME:<NAME>END_PI. All rights reserved.
(ns dredd.app
"App management"
(:use compojure.core
ring.util.response
[hiccup core page-helpers form-helpers]
[incanter core excel])
(:require [compojure.route :as route]
[compojure.handler :as handler]
... |
[
{
"context": "========================\n; Copyright (C) 2021-2022 Radislav (Radicchio) Golubtsov\n;\n; (See the LICENSE file at the top o",
"end": 547,
"score": 0.9645174741744995,
"start": 528,
"tag": "NAME",
"value": "Radislav (Radicchio"
},
{
"context": "===\n; Copyright (C) 2021-... | src/com/transroutownish/proto/bus/controller.clj | rgolubtsov/transroutownish-proto-bus-clojure | 0 | ;
; src/com/transroutownish/proto/bus/controller.clj
; =============================================================================
; Urban bus routing microservice prototype (Clojure port). Version 0.15.1
; =============================================================================
; A daemon written in Clojure, de... | 42410 | ;
; src/com/transroutownish/proto/bus/controller.clj
; =============================================================================
; Urban bus routing microservice prototype (Clojure port). Version 0.15.1
; =============================================================================
; A daemon written in Clojure, de... | true | ;
; src/com/transroutownish/proto/bus/controller.clj
; =============================================================================
; Urban bus routing microservice prototype (Clojure port). Version 0.15.1
; =============================================================================
; A daemon written in Clojure, de... |
[
{
"context": "st \":\" port \"/\" db)\n :user user\n :password password}))\n\n(defn spec\n []\n (parse-config (cfg/database",
"end": 722,
"score": 0.9986326098442078,
"start": 714,
"tag": "PASSWORD",
"value": "password"
}
] | src/kulu_backend/db.clj | vkrmis/kulu-backend | 3 | (ns kulu-backend.db
(:require [clj-time.coerce :as time-convert]
[clj-time.core :as time]
[clojure.java.jdbc :as j]
[kulu-backend.config :as cfg]
[kulu-backend.utils.api :as api-utils]
[clojure.tools.logging :as log])
(:import [com.jolbox.bonecp BoneCPData... | 45983 | (ns kulu-backend.db
(:require [clj-time.coerce :as time-convert]
[clj-time.core :as time]
[clojure.java.jdbc :as j]
[kulu-backend.config :as cfg]
[kulu-backend.utils.api :as api-utils]
[clojure.tools.logging :as log])
(:import [com.jolbox.bonecp BoneCPData... | true | (ns kulu-backend.db
(:require [clj-time.coerce :as time-convert]
[clj-time.core :as time]
[clojure.java.jdbc :as j]
[kulu-backend.config :as cfg]
[kulu-backend.utils.api :as api-utils]
[clojure.tools.logging :as log])
(:import [com.jolbox.bonecp BoneCPData... |
[
{
"context": "s causal.core\n \"The core Cause API.\"\n {:author \"Chris Smothers\"}\n (:refer-clojure :exclude [list map merge])\n ",
"end": 66,
"score": 0.9998811483383179,
"start": 52,
"tag": "NAME",
"value": "Chris Smothers"
}
] | src/causal/core.cljc | smothers/causal-tree | 114 | (ns causal.core
"The core Cause API."
{:author "Chris Smothers"}
(:refer-clojure :exclude [list map merge])
(:require [causal.collections.shared :as s]
[causal.util :refer [redef] :refer-macros [redef]]
[causal.protocols :as proto]
[causal.collections.list :as c.list]
... | 33957 | (ns causal.core
"The core Cause API."
{:author "<NAME>"}
(:refer-clojure :exclude [list map merge])
(:require [causal.collections.shared :as s]
[causal.util :refer [redef] :refer-macros [redef]]
[causal.protocols :as proto]
[causal.collections.list :as c.list]
[ca... | true | (ns causal.core
"The core Cause API."
{:author "PI:NAME:<NAME>END_PI"}
(:refer-clojure :exclude [list map merge])
(:require [causal.collections.shared :as s]
[causal.util :refer [redef] :refer-macros [redef]]
[causal.protocols :as proto]
[causal.collections.list :as c.list]
... |
[
{
"context": " for clojure projects.\"\n :url \"http://github.com/iotemplates/clojure-web-ring\"\n :license {:name \"Apache Licen",
"end": 139,
"score": 0.999549150466919,
"start": 128,
"tag": "USERNAME",
"value": "iotemplates"
},
{
"context": "0\"\n :year 2020\n ... | project.clj | iotemplates/clojure-web-ring | 0 | (defproject clojure-web-ring "0.1.0-SNAPSHOT"
:description "A basic template for clojure projects."
:url "http://github.com/iotemplates/clojure-web-ring"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2020
:key "apache-2.0"}
:dep... | 119252 | (defproject clojure-web-ring "0.1.0-SNAPSHOT"
:description "A basic template for clojure projects."
:url "http://github.com/iotemplates/clojure-web-ring"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2020
:key "apache-<KEY>"}
:d... | true | (defproject clojure-web-ring "0.1.0-SNAPSHOT"
:description "A basic template for clojure projects."
:url "http://github.com/iotemplates/clojure-web-ring"
:license {:name "Apache License 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"
:year 2020
:key "apache-PI:KEY:<KEY>... |
[
{
"context": "***********\n\n(def BC_Fiume_Flumendosa\n {:bacino \"Fiume Flumendosa\"\n :name nil\n :monte [{:name :F09\n ",
"end": 8622,
"score": 0.9934422969818115,
"start": 8606,
"tag": "NAME",
"value": "Fiume Flumendosa"
}
] | src/bacidro/core.clj | laingit/bacidro | 0 | (ns bacidro.core
(:require
[clojure.pprint :as pp]
[bacidro.db-access :as my-db-access]
[bacidro.db-access :as my-db-file]))
(defn- find-loop [table-obj]
(let [find-parent (fn [id]
(let [parent (get-in table-obj [id :valle])]
parent))
run (fn trova... | 112374 | (ns bacidro.core
(:require
[clojure.pprint :as pp]
[bacidro.db-access :as my-db-access]
[bacidro.db-access :as my-db-file]))
(defn- find-loop [table-obj]
(let [find-parent (fn [id]
(let [parent (get-in table-obj [id :valle])]
parent))
run (fn trova... | true | (ns bacidro.core
(:require
[clojure.pprint :as pp]
[bacidro.db-access :as my-db-access]
[bacidro.db-access :as my-db-file]))
(defn- find-loop [table-obj]
(let [find-parent (fn [id]
(let [parent (get-in table-obj [id :valle])]
parent))
run (fn trova... |
[
{
"context": "rends for a single name > (view-births-by-name [\"Harry\"]) ;\n;; To view trends for multiple names > (vi",
"end": 5665,
"score": 0.9998371601104736,
"start": 5660,
"tag": "NAME",
"value": "Harry"
},
{
"context": "rends for multiple names > (view-births-by-name [\"Ha... | src/hello_bitly/baby_names.clj | phoenix2082/punter | 2 | (ns hello-bitly.baby_names
(:gen-class)
(:import (java.lang.Double)
(java.text.DecimalFormat)
(org.jfree.chart StandardChartTheme)
(org.jfree.chart.plot DefaultDrawingSupplier)
(java.awt Color)
(java.io ByteArrayOutputStream
ByteArrayInputS... | 3828 | (ns hello-bitly.baby_names
(:gen-class)
(:import (java.lang.Double)
(java.text.DecimalFormat)
(org.jfree.chart StandardChartTheme)
(org.jfree.chart.plot DefaultDrawingSupplier)
(java.awt Color)
(java.io ByteArrayOutputStream
ByteArrayInputS... | true | (ns hello-bitly.baby_names
(:gen-class)
(:import (java.lang.Double)
(java.text.DecimalFormat)
(org.jfree.chart StandardChartTheme)
(org.jfree.chart.plot DefaultDrawingSupplier)
(java.awt Color)
(java.io ByteArrayOutputStream
ByteArrayInputS... |
[
{
"context": "an instance of record\n(def terminator (Customer. \"Arny\" \"T2\" \"AT2@skynet.com\" 111110011 :CORP\n ",
"end": 451,
"score": 0.9980975389480591,
"start": 447,
"tag": "NAME",
"value": "Arny"
},
{
"context": "of record\n(def terminator (Customer. \"Arny\" \"T2\... | src/clojuretryout/domainmodelling/defrecordExmple.clj | mshiray/clojuretryout | 0 | ;define namespace
(ns com.clojuretryout.domainmodelling)
;define enum type with keyword
{:RETAIL 0 , :CORP 1}
;defining composite data types as records
;TODO: Move it to separate file
(defrecord Address [street city state zip])
;; => com.clojuretryout.domainmodelling.Address
(defrecord Customer [fname lname email ph... | 69986 | ;define namespace
(ns com.clojuretryout.domainmodelling)
;define enum type with keyword
{:RETAIL 0 , :CORP 1}
;defining composite data types as records
;TODO: Move it to separate file
(defrecord Address [street city state zip])
;; => com.clojuretryout.domainmodelling.Address
(defrecord Customer [fname lname email ph... | true | ;define namespace
(ns com.clojuretryout.domainmodelling)
;define enum type with keyword
{:RETAIL 0 , :CORP 1}
;defining composite data types as records
;TODO: Move it to separate file
(defrecord Address [street city state zip])
;; => com.clojuretryout.domainmodelling.Address
(defrecord Customer [fname lname email ph... |
[
{
"context": "; Copyright (C) 2014, 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)\n; Re",
"end": 44,
"score": 0.9998025298118591,
"start": 31,
"tag": "NAME",
"value": "Thomas Schank"
},
{
"context": "; Copyright (C) 2014, 2015 Dr. Thomas Schank (DrTom@schank.ch... | test/json_roa/ring_middleware/request_test.clj | json-roa/json-roa_clj-utils | 0 | ; Copyright (C) 2014, 2015 Dr. Thomas Schank (DrTom@schank.ch, Thomas.Schank@algocon.ch)
; Released under the MIT license.
(ns json-roa.ring-middleware.request-test
(:require
[cheshire.core :as cheshire]
[clj-logging-config.log4j :as logging-config]
[clojure.data.json :as json]
[clojure.tools.loggi... | 85537 | ; Copyright (C) 2014, 2015 Dr. <NAME> (<EMAIL>, <EMAIL>)
; Released under the MIT license.
(ns json-roa.ring-middleware.request-test
(:require
[cheshire.core :as cheshire]
[clj-logging-config.log4j :as logging-config]
[clojure.data.json :as json]
[clojure.tools.logging :as logging]
[json-roa.ri... | true | ; Copyright (C) 2014, 2015 Dr. PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI, PI:EMAIL:<EMAIL>END_PI)
; Released under the MIT license.
(ns json-roa.ring-middleware.request-test
(:require
[cheshire.core :as cheshire]
[clj-logging-config.log4j :as logging-config]
[clojure.data.json :as json]
[clojure... |
[
{
"context": " \"keyserver.ubuntu.com\"\n \"E56151BF\")\n (debian/install {:mesos mesos-version\n ",
"end": 1911,
"score": 0.7058489918708801,
"start": 1903,
"tag": "KEY",
"value": "E56151BF"
}
] | flink-jepsen/src/jepsen/flink/mesos.clj | YCjia/flink | 1 | ;; 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... | 40067 | ;; 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": "uri \"\" INVALID\n :uri 0 INVALID\n :email \"name@google.com\" \"name@google.com\"\n :email \"http://google.co",
"end": 617,
"score": 0.9998713731765747,
"start": 602,
"tag": "EMAIL",
"value": "name@google.com"
},
{
"context": " :uri 0 INVALID\n :e... | test/tableschema_clj/types/string_test.clj | frictionlessdata/tableschema-clj | 6 | (ns tableschema-clj.types.string-test
(:require [tableschema-clj.types.string :refer :all]
[clojure.spec.gen.alpha :as gen]
[clojure.spec.alpha :as s]
[clojure.test :refer :all]))
(defonce INVALID :clojure.spec.alpha/invalid)
(deftest test-cast-string
(are [format value result]... | 48922 | (ns tableschema-clj.types.string-test
(:require [tableschema-clj.types.string :refer :all]
[clojure.spec.gen.alpha :as gen]
[clojure.spec.alpha :as s]
[clojure.test :refer :all]))
(defonce INVALID :clojure.spec.alpha/invalid)
(deftest test-cast-string
(are [format value result]... | true | (ns tableschema-clj.types.string-test
(:require [tableschema-clj.types.string :refer :all]
[clojure.spec.gen.alpha :as gen]
[clojure.spec.alpha :as s]
[clojure.test :refer :all]))
(defonce INVALID :clojure.spec.alpha/invalid)
(deftest test-cast-string
(are [format value result]... |
[
{
"context": ".0.html\"\n :year 2013\n :key \"apache-2.0\"\n :author \"stylefruits GmbH\"}\n :url \"",
"end": 245,
"score": 0.9752136468887329,
"start": 235,
"tag": "KEY",
"value": "apache-2.0"
},
{
"context": " :key \"apache-2.0\"\n ... | project.clj | liftoffio/gniazdo | 0 | (defproject stylefruits/gniazdo "1.1.4"
:description "A WebSocket client for Clojure"
:license {:name "Apache License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:year 2013
:key "apache-2.0"
:author "stylefruits GmbH"}
:url "https://github.com/stylef... | 63647 | (defproject stylefruits/gniazdo "1.1.4"
:description "A WebSocket client for Clojure"
:license {:name "Apache License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:year 2013
:key "<KEY>"
:author "style<EMAIL>"}
:url "https://github.com/stylefruits/gni... | true | (defproject stylefruits/gniazdo "1.1.4"
:description "A WebSocket client for Clojure"
:license {:name "Apache License 2.0"
:url "http://www.apache.org/licenses/LICENSE-2.0.html"
:year 2013
:key "PI:KEY:<KEY>END_PI"
:author "stylePI:EMAIL:<EMAIL>END_PI"}
:url "https:... |
[
{
"context": "xamples\"\n (is (= 357 (d/decode-boarding-pass \"FBFBBFFRLR\")))\n (is (= 567 (d/decode-boarding-pass \"BFFFB",
"end": 194,
"score": 0.9573792219161987,
"start": 185,
"tag": "PASSWORD",
"value": "BFBBFFRLR"
},
{
"context": "FRLR\")))\n (is (= 567 (d/decode-boar... | test/advent/2020/test_day5.clj | skazhy/advent | 0 | (ns advent.2020.test-day5
(:require [clojure.test :refer :all]
[advent.2020.day5 :as d]))
(deftest puzzle1
(testing "Examples"
(is (= 357 (d/decode-boarding-pass "FBFBBFFRLR")))
(is (= 567 (d/decode-boarding-pass "BFFFBBFRRR")))
(is (= 119 (d/decode-boarding-pass "FFFBBBFRRR")))
(is (= ... | 12406 | (ns advent.2020.test-day5
(:require [clojure.test :refer :all]
[advent.2020.day5 :as d]))
(deftest puzzle1
(testing "Examples"
(is (= 357 (d/decode-boarding-pass "F<PASSWORD>")))
(is (= 567 (d/decode-boarding-pass "B<PASSWORD>")))
(is (= 119 (d/decode-boarding-pass "FFF<PASSWORD>")))
(i... | true | (ns advent.2020.test-day5
(:require [clojure.test :refer :all]
[advent.2020.day5 :as d]))
(deftest puzzle1
(testing "Examples"
(is (= 357 (d/decode-boarding-pass "FPI:PASSWORD:<PASSWORD>END_PI")))
(is (= 567 (d/decode-boarding-pass "BPI:PASSWORD:<PASSWORD>END_PI")))
(is (= 119 (d/decode-boa... |
[
{
"context": "teger/parseInt max)\n :ch (nth ch 0)\n :password password}\n ))\n\n(defn read-database [filename]\n (with-ope",
"end": 252,
"score": 0.9916467070579529,
"start": 244,
"tag": "PASSWORD",
"value": "password"
}
] | src/main/clojure/day2.clj | wmichaelshirk/2020-Advent-of-Code | 0 | (ns day2
(:require [clojure.java.io :as io]))
(defn parse-line [line]
(let [[_ min max ch password] (re-matches #"(\d+)-(\d+) (\w): (\w+)" line)]
{:min (Integer/parseInt min)
:max (Integer/parseInt max)
:ch (nth ch 0)
:password password}
))
(defn read-database [filename]
(with-open [rdr (io/reader ... | 25178 | (ns day2
(:require [clojure.java.io :as io]))
(defn parse-line [line]
(let [[_ min max ch password] (re-matches #"(\d+)-(\d+) (\w): (\w+)" line)]
{:min (Integer/parseInt min)
:max (Integer/parseInt max)
:ch (nth ch 0)
:password <PASSWORD>}
))
(defn read-database [filename]
(with-open [rdr (io/reade... | true | (ns day2
(:require [clojure.java.io :as io]))
(defn parse-line [line]
(let [[_ min max ch password] (re-matches #"(\d+)-(\d+) (\w): (\w+)" line)]
{:min (Integer/parseInt min)
:max (Integer/parseInt max)
:ch (nth ch 0)
:password PI:PASSWORD:<PASSWORD>END_PI}
))
(defn read-database [filename]
(with-o... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998664855957031,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": "tice, or any other, from this software.\n\n; Author: Frantisek Sodomka, Robert ... | src/test/clojure/palisades/lakes/test/p2/core.clj | palisades-lakes/collection-experiments | 0 | ; Copyright (c) Rich Hickey. 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-v10.html at the root of this distribution.
; By using this software in any ... | 52889 | ; Copyright (c) <NAME>. 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-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. 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-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": "- Natural deduction -- tests\n\n; Copyright (c) 2016 Burkhardt Renz, THM. All rights reserved.\n; The use and distribu",
"end": 88,
"score": 0.9998692870140076,
"start": 74,
"tag": "NAME",
"value": "Burkhardt Renz"
}
] | test/lwb/nd/roths_prop_test.clj | esb-lwb/lwb | 22 | ; lwb Logic WorkBench -- Natural deduction -- tests
; 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 agreei... | 62563 | ; lwb Logic WorkBench -- Natural deduction -- tests
; 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... | true | ; lwb Logic WorkBench -- Natural deduction -- tests
; 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 ... |
[
{
"context": "r substantial portions of the Software.\n\n; Author: Jeremy Kelley <jeremy.kelley@hp.com> @nod\n\n\n;;; Parses cef type",
"end": 702,
"score": 0.999894380569458,
"start": 689,
"tag": "NAME",
"value": "Jeremy Kelley"
},
{
"context": "rtions of the Software.\n\n; Author: ... | src/cefp/cefp.clj | hpsec/cefp | 4 | ; (c) Copyright 2013 Hewlett-Packard Development Company, L.P.
; Licensed under the MIT License.
; 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 lim... | 16950 | ; (c) Copyright 2013 Hewlett-Packard Development Company, L.P.
; Licensed under the MIT License.
; 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 lim... | true | ; (c) Copyright 2013 Hewlett-Packard Development Company, L.P.
; Licensed under the MIT License.
; 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 lim... |
[
{
"context": "; Copyright (c) Rich Hickey. All rights reserved.\n; The use and distributio",
"end": 29,
"score": 0.9998151063919067,
"start": 18,
"tag": "NAME",
"value": "Rich Hickey"
},
{
"context": ", even\n;; in advanced compilation. See CLJS-1853 - António Monteiro\n;; (def ^... | docs/js/compiled/out/cljs/pprint.cljs | kazesberger/git-ws-deck | 0 | ; Copyright (c) Rich Hickey. 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-v10.html at the root of this distribution.
; By using this software in any ... | 11392 | ; Copyright (c) <NAME>. 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-v10.html at the root of this distribution.
; By using this software in any fashi... | true | ; Copyright (c) PI:NAME:<NAME>END_PI. 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-v10.html at the root of this distribution.
; By using this softwar... |
[
{
"context": " #fhir/code\"text/cql\"\n :data #fhir/base64Binary\"bGlicmFyeSBSZXRyaWV2ZQp1c2luZyBGSElSIHZlcnNpb24gJzQuMC4wJwppbmNsdWRlIEZISVJIZWxwZXJzIHZlcnNpb24gJzQuMC4wJwoKY29udGV4dCBQYXRpZW50CgpkZWZpbmUgSW5Jbml0aWFsUG9wdWxhdGlvbjoKICB0cnVlCgpkZWZpbmUgR2VuZGVyOgogIFBhdGllbnQuZ2VuZGVyCg==\"})\n\n\n(deftest h... | modules/operation-measure-evaluate-measure/test/blaze/fhir/operation/evaluate_measure/handler/impl_test.clj | sencode/blaze | 1 | (ns blaze.fhir.operation.evaluate-measure.handler.impl-test
(:require
[blaze.db.api-stub :refer [mem-node-with]]
[blaze.executors :as ex]
[blaze.fhir.operation.evaluate-measure.handler.impl :refer [handler]]
[blaze.fhir.spec.type :as type]
[blaze.log]
[blaze.luid :refer [luid]]
[clojure.sp... | 17965 | (ns blaze.fhir.operation.evaluate-measure.handler.impl-test
(:require
[blaze.db.api-stub :refer [mem-node-with]]
[blaze.executors :as ex]
[blaze.fhir.operation.evaluate-measure.handler.impl :refer [handler]]
[blaze.fhir.spec.type :as type]
[blaze.log]
[blaze.luid :refer [luid]]
[clojure.sp... | true | (ns blaze.fhir.operation.evaluate-measure.handler.impl-test
(:require
[blaze.db.api-stub :refer [mem-node-with]]
[blaze.executors :as ex]
[blaze.fhir.operation.evaluate-measure.handler.impl :refer [handler]]
[blaze.fhir.spec.type :as type]
[blaze.log]
[blaze.luid :refer [luid]]
[clojure.sp... |
[
{
"context": ":as i]))\n\n;;\n;; Functor\n;;\n\n(def pirates [{:name \"Jack Sparrow\" :born 1700 :died 1740 :ship \"Black Pearl\"}\n ",
"end": 272,
"score": 0.9998675584793091,
"start": 260,
"tag": "NAME",
"value": "Jack Sparrow"
},
{
"context": "d 1740 :ship \"Black Pearl\"}\n ... | Appendix/library-design/src/library_design/option.clj | srufle/Hands-On-Reactive-Programming-with-Clojure-Second-Edition | 15 | (ns library-design.option
(:require [uncomplicate.fluokitten.protocols :as fkp]
[uncomplicate.fluokitten.core :as fkc]
[uncomplicate.fluokitten.jvm :as fkj]
[imminent.core :as i]))
;;
;; Functor
;;
(def pirates [{:name "Jack Sparrow" :born 1700 :died 1740 :ship "Black Pearl"}
... | 106792 | (ns library-design.option
(:require [uncomplicate.fluokitten.protocols :as fkp]
[uncomplicate.fluokitten.core :as fkc]
[uncomplicate.fluokitten.jvm :as fkj]
[imminent.core :as i]))
;;
;; Functor
;;
(def pirates [{:name "<NAME>" :born 1700 :died 1740 :ship "Black Pearl"}
... | true | (ns library-design.option
(:require [uncomplicate.fluokitten.protocols :as fkp]
[uncomplicate.fluokitten.core :as fkc]
[uncomplicate.fluokitten.jvm :as fkj]
[imminent.core :as i]))
;;
;; Functor
;;
(def pirates [{:name "PI:NAME:<NAME>END_PI" :born 1700 :died 1740 :ship "Black ... |
[
{
"context": ".\"\n [topic add-response & {:keys [key] :or {key \"resource-id\"}}]\n (try\n (when (= 201 (:status add-response",
"end": 319,
"score": 0.8984360694885254,
"start": 308,
"tag": "KEY",
"value": "resource-id"
},
{
"context": "ce-id {})\n msg-key (if (= key... | code/src/sixsq/nuvla/server/util/kafka_crud.clj | 0xbase12/api-server | 6 | (ns sixsq.nuvla.server.util.kafka-crud
(:require
[clojure.tools.logging :as log]
[sixsq.nuvla.db.impl :as db]
[sixsq.nuvla.server.util.kafka :as ka]))
(defn publish-on-add
"Publish to a `topic` based on result of add response `add-response`."
[topic add-response & {:keys [key] :or {key "resource-id"... | 49537 | (ns sixsq.nuvla.server.util.kafka-crud
(:require
[clojure.tools.logging :as log]
[sixsq.nuvla.db.impl :as db]
[sixsq.nuvla.server.util.kafka :as ka]))
(defn publish-on-add
"Publish to a `topic` based on result of add response `add-response`."
[topic add-response & {:keys [key] :or {key "<KEY>"}}]
... | true | (ns sixsq.nuvla.server.util.kafka-crud
(:require
[clojure.tools.logging :as log]
[sixsq.nuvla.db.impl :as db]
[sixsq.nuvla.server.util.kafka :as ka]))
(defn publish-on-add
"Publish to a `topic` based on result of add response `add-response`."
[topic add-response & {:keys [key] :or {key "PI:KEY:<KEY>... |
[
{
"context": "uth\n {:repo s/Str\n :username s/Str\n :password s/Str})\n\n(def Clojure\n {(s/optional-key :signing-gpg-k",
"end": 1118,
"score": 0.9827537536621094,
"start": 1113,
"tag": "PASSWORD",
"value": "s/Str"
},
{
"context": "\"755\"\n :url \"https://raw.githubusercon... | main/src/dda/pallet/dda_managed_ide/infra/clojure.clj | DomainDrivenArchitecture/dda-managed-ide | 10 | ; 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... | 39137 | ; 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": "ame,email)\n values('Sam Campos de Milho','sammilhoso@email.com')\"])\n\n (match? [#:addre",
"end": 1020,
"score": 0.9998976588249207,
"start": 1001,
"tag": "NAME",
"value": "Sam Campos de Milho"
},
{
"context": " valu... | test/integration/parenthesin/database_test.clj | parenthesin/microservice-boilerplate-malli | 4 | (ns integration.parenthesin.database-test
(:require [clojure.test :refer [use-fixtures]]
[integration.parenthesin.util :as util]
[integration.parenthesin.util.database :as util.database]
[parenthesin.utils :as u]
[state-flow.api :refer [defflow]]
[state-flow... | 50353 | (ns integration.parenthesin.database-test
(:require [clojure.test :refer [use-fixtures]]
[integration.parenthesin.util :as util]
[integration.parenthesin.util.database :as util.database]
[parenthesin.utils :as u]
[state-flow.api :refer [defflow]]
[state-flow... | true | (ns integration.parenthesin.database-test
(:require [clojure.test :refer [use-fixtures]]
[integration.parenthesin.util :as util]
[integration.parenthesin.util.database :as util.database]
[parenthesin.utils :as u]
[state-flow.api :refer [defflow]]
[state-flow... |
[
{
"context": " Websocket support for Clojure\n\n;;; Copyright 2015 Chris Hapgood\n\n;;; Licensed under the Apache License, Version 2",
"end": 112,
"score": 0.9998866319656372,
"start": 99,
"tag": "NAME",
"value": "Chris Hapgood"
},
{
"context": "Client Websocket Extensions- Clojure\"... | src/clj/http/async/client/websocket.clj | slipset/http.async.client | 116 | ;;; ## websocket.clj -- Asynchronous HTTP Client Websocket support for Clojure
;;; Copyright 2015 Chris Hapgood
;;; 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.or... | 105174 | ;;; ## websocket.clj -- Asynchronous HTTP Client Websocket support for Clojure
;;; Copyright 2015 <NAME>
;;; 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/licen... | true | ;;; ## websocket.clj -- Asynchronous HTTP Client Websocket support for Clojure
;;; Copyright 2015 PI:NAME:<NAME>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.ap... |
[
{
"context": "ns under the License.\n;;\n;; Copyright © 2013-2022, Kenneth Leung. All rights reserved.\n\n(ns czlab.test.basal.meta\n",
"end": 597,
"score": 0.999852180480957,
"start": 584,
"tag": "NAME",
"value": "Kenneth Leung"
}
] | src/test/clojure/czlab/test/basal/meta.clj | llnek/xlib | 0 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | 48364 | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... | true | ;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; http://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed ... |
[
{
"context": " Map\n; Date: March 17, 2016.\n; Authors:\n; A01371743 Luis Eduardo Ballinas Aguilar\n;------------------",
"end": 147,
"score": 0.9917981624603271,
"start": 138,
"tag": "USERNAME",
"value": "A01371743"
},
{
"context": "e: March 17, 2016.\n; Authors:\n; ... | 4clojure/problem_118.clj | lu15v/TC2006 | 0 | ;----------------------------------------------------------
; Problem 118: Re-implement Map
; Date: March 17, 2016.
; Authors:
; A01371743 Luis Eduardo Ballinas Aguilar
;----------------------------------------------------------
(use 'clojure.test)
(def problem118
(fn [f x]
(if(empty? x)
nil
... | 62962 | ;----------------------------------------------------------
; Problem 118: Re-implement Map
; Date: March 17, 2016.
; Authors:
; A01371743 <NAME>
;----------------------------------------------------------
(use 'clojure.test)
(def problem118
(fn [f x]
(if(empty? x)
nil
(lazy-seq (cons (f (f... | true | ;----------------------------------------------------------
; Problem 118: Re-implement Map
; Date: March 17, 2016.
; Authors:
; A01371743 PI:NAME:<NAME>END_PI
;----------------------------------------------------------
(use 'clojure.test)
(def problem118
(fn [f x]
(if(empty? x)
nil
(lazy-s... |
[
{
"context": ".0646 -165.374 3 1.5 4 3 2 1]\n [2 \"Stout Burgers & Beers\" 11 34.0996 -118.329 2 2.0 11 2 1 1]\n ",
"end": 5742,
"score": 0.7142825126647949,
"start": 5721,
"tag": "NAME",
"value": "Stout Burgers & Beers"
}
] | c#-metabase/test/metabase/transforms/core_test.clj | hanakhry/Crime_Admin | 0 | (ns metabase.transforms.core-test
(:require [clojure.test :refer :all]
[medley.core :as m]
[metabase.domain-entities.core :as de]
[metabase.domain-entities.specs :as de.specs]
[metabase.models.card :as card :refer [Card]]
[metabase.models.collection :refer [... | 35691 | (ns metabase.transforms.core-test
(:require [clojure.test :refer :all]
[medley.core :as m]
[metabase.domain-entities.core :as de]
[metabase.domain-entities.specs :as de.specs]
[metabase.models.card :as card :refer [Card]]
[metabase.models.collection :refer [... | true | (ns metabase.transforms.core-test
(:require [clojure.test :refer :all]
[medley.core :as m]
[metabase.domain-entities.core :as de]
[metabase.domain-entities.specs :as de.specs]
[metabase.models.card :as card :refer [Card]]
[metabase.models.collection :refer [... |
[
{
"context": "r-id app)))))))\n\n(comment\n (get-handled-reviews \"bob\")\n (get-handled-reviews \"carl\"))\n\n(defn- check-f",
"end": 14489,
"score": 0.9545735716819763,
"start": 14486,
"tag": "NAME",
"value": "bob"
},
{
"context": "et-handled-reviews \"bob\")\n (get-handled-revi... | src/clj/rems/db/applications.clj | secureb2share/secureb2share-rems | 0 | (ns rems.db.applications
"Query functions for forms and applications."
(:require [cheshire.core :as cheshire]
[clj-time.coerce :as time-coerce]
[clj-time.core :as time]
[clojure.set :refer [difference union]]
[clojure.test :refer [deftest is]]
[cprop.tools... | 22501 | (ns rems.db.applications
"Query functions for forms and applications."
(:require [cheshire.core :as cheshire]
[clj-time.coerce :as time-coerce]
[clj-time.core :as time]
[clojure.set :refer [difference union]]
[clojure.test :refer [deftest is]]
[cprop.tools... | true | (ns rems.db.applications
"Query functions for forms and applications."
(:require [cheshire.core :as cheshire]
[clj-time.coerce :as time-coerce]
[clj-time.core :as time]
[clojure.set :refer [difference union]]
[clojure.test :refer [deftest is]]
[cprop.tools... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.