- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 98 for sameFile (0.2 sec)
-
src/net/http/cookie_test.go
}, { &Cookie{Name: "cookie-12", Value: "samesite-default", SameSite: SameSiteDefaultMode}, "cookie-12=samesite-default", }, { &Cookie{Name: "cookie-13", Value: "samesite-lax", SameSite: SameSiteLaxMode}, "cookie-13=samesite-lax; SameSite=Lax", }, { &Cookie{Name: "cookie-14", Value: "samesite-strict", SameSite: SameSiteStrictMode}, "cookie-14=samesite-strict; SameSite=Strict", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 26.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy
def someFile = parentDir.file("directory/somefile.txt").createFile() when: allowFileSystemAccess(true) def snapshot = read(someFile) then: assertIsFileSnapshot(snapshot, someFile) when: allowFileSystemAccess(false) fileSystemAccess.write([someFile.absolutePath]) { someFile << "Updated" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 10K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
this.secure = true } fun httpOnly() = apply { this.httpOnly = true } fun sameSite(sameSite: String) = apply { require(sameSite.trim() == sameSite) { "sameSite is not trimmed" } this.sameSite = sameSite } fun build(): Cookie { return Cookie( name ?: throw NullPointerException("builder.name == null"),
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:12:05 UTC 2024 - 23.1K bytes - Viewed (0) -
platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/plugins/DistributionPluginIntegrationTest.groovy
} def createTarTaskForCustomDistribution() { when: buildFile << """ apply plugin:'distribution' distributions { custom{ contents { from { "someFile" } } } } """ then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 20 21:03:51 UTC 2023 - 13.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
} @Test fun emptySameSite() { assertThat(parse(url, "a=b; SameSite=")!!.sameSite).isEqualTo("") assertThat(parse(url, "a=b; SameSite= ")!!.sameSite).isEqualTo("") assertThat(parse(url, "a=b; SameSite=\r\t \n")!!.sameSite).isEqualTo("") } @Test fun spaceInSameSite() { assertThat(parse(url, "a=b; SameSite=a b")!!.sameSite).isEqualTo("a b") }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
src/net/http/cookie.go
} switch lowerAttr { case "samesite": lowerVal, ascii := ascii.ToLower(val) if !ascii { c.SameSite = SameSiteDefaultMode continue } switch lowerVal { case "lax": c.SameSite = SameSiteLaxMode case "strict": c.SameSite = SameSiteStrictMode case "none": c.SameSite = SameSiteNoneMode default: c.SameSite = SameSiteDefaultMode } continue
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/ClassMethodNameStackTraceSpecTest.groovy
spec.isSatisfiedBy(new StackTraceElement("ClassName", "methodName", "SomeFile.java", 42)) spec.isSatisfiedBy(new StackTraceElement('ClassName$1$1$1', "methodName", "SomeFile.kt", 42)) spec.isSatisfiedBy(new StackTraceElement("ClassName", "otherMethodName", "SomeFile.java", 42)) !spec.isSatisfiedBy(new StackTraceElement('ClassName1$1', "otherMethodName", "SomeFile.java", 42))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_race_install_cgo.txt
if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } if err := json.NewEncoder(os.Stdout).Encode(info.ModTime()); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } } -- sametime/sametime.go -- package main import ( "encoding/json" "fmt" "os" "time" ) func main() { var t1 time.Time b1, err := os.ReadFile(os.Args[1]) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 27 14:03:15 UTC 2021 - 1.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecActionFactoryTest.groovy
.withInstantiator(instantiator.decorateLenient()) .withObjectFactory(TestUtil.objectFactory()) .build() def javaexec() { File testFile = tmpDir.file("someFile") List files = ClasspathUtil.getClasspath(getClass().classLoader).asFiles when: ExecResult result = factory.javaexec { spec -> spec.classpath(files as Object[])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 15 17:11:21 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy
cacheEntries[2].assertExists() deletedFiles == [cacheEntries[1]] } def "can delete directories"() { given: def cacheEntry = cacheDir.file("subDir").createFile("somefile") cacheEntry.text = "delete me" when: cleanupAction(finder([cacheEntry.parentFile]), { true }) .clean(cleanableStore, progressMonitor) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.4K bytes - Viewed (0)