- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for get_dates (0.12 sec)
-
hack/boilerplate/boilerplate.py
return outfiles def get_dates(): years = datetime.datetime.now().year return "(%s)" % "|".join(str(year) for year in range(2014, years + 1)) def get_regexs(): regexs = {} # Search for "YEAR" which exists in the boilerplate, but shouldn't in the real thing regexs["year"] = re.compile("YEAR") # get_dates return 2014, 2015, 2016, 2017, or 2018 until the current year
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:51 UTC 2024 - 7.2K bytes - Viewed (0) -
tests/test_dependency_security_overrides.py
return "alice", required_scopes.scopes def get_data(): return [1, 2, 3] def get_data_override(): return [3, 4, 5] @app.get("/user") def read_user( user_data: Tuple[str, List[str]] = Security(get_user, scopes=["foo", "bar"]), data: List[int] = Depends(get_data), ): return {"user": user_data[0], "scopes": user_data[1], "data": data}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jun 14 15:54:46 UTC 2020 - 1.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogFileStateProbe.groovy
} DaemonContext getContext() { return context } State getCurrentState() { getStates().last() } List<State> getStates() { def states = new LinkedList<State>() states << Idle log.lines().withCloseable { stream -> stream.forEach {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 15:22:16 UTC 2024 - 2.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/publish/DecoratingPublishArtifact.java
return publishArtifact.getClassifier(); } @Override public File getFile() { return publishArtifact.getFile(); } @Override public Date getDate() { return publishArtifact.getDate(); } @Override public void setName(String name) { this.name = name; } @Override public void setExtension(String extension) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 28 15:32:09 UTC 2022 - 3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/AbstractPublishArtifactTest.groovy
TEST_EXT } protected String getTestType() { TEST_TYPE } protected String getTestClassifier() { TEST_CLASSIFIER } protected Date getDate() { TEST_DATE } protected void assertCommonPropertiesAreSet(PublishArtifact artifact, boolean shouldHaveClassifier) { assert testName == artifact.name assert testType == artifact.type
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 17 11:02:13 UTC 2016 - 1.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
val headers = Headers.Builder() .add("testDate", expected) .build() assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT") assertThat(headers.getDate("testDate")).isEqualTo(Date(0L)) } @Test fun addInstant() { val expected = Instant.ofEpochMilli(0L) val headers = Headers.Builder() .add("Test-Instant", expected) .build()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/FileSystemPublishArtifact.java
return getValue().getClassifier(); } @Override public File getFile() { return fileSystemLocation.getAsFile(); } @Override public Date getDate() { return new Date(); } @Override public TaskDependency getBuildDependencies() { return TaskDependencyInternal.EMPTY; } private ArtifactFile getValue() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/escaping_test.go
{unescaped: "endsWith", escaped: "endsWith"}, {unescaped: "matches", escaped: "matches"}, {unescaped: "duration", escaped: "duration"}, {unescaped: "timestamp", escaped: "timestamp"}, {unescaped: "getDate", escaped: "getDate"}, {unescaped: "getDayOfMonth", escaped: "getDayOfMonth"}, {unescaped: "getDayOfWeek", escaped: "getDayOfWeek"}, {unescaped: "getFullYear", escaped: "getFullYear"}, {unescaped: "getHours", escaped: "getHours"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 6.9K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/date.js
h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils.registerLoadedModule("date"),a.formUtils.addValidator({name:"time",validatorFunction:function(a){if(null===a.match(/^(\d{2}):(\d{2})$/))return!1;var b=parseInt(a.split(":")[0],10),c=parseInt(a.split(":")[1],10);r...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/artifacts/publish/ImmutablePublishArtifact.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 14 07:19:07 UTC 2021 - 2.8K bytes - Viewed (0)