- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 299 for writeLoc (0.19 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt
val uppercaseBody: RequestBody = object : ForwardingRequestBody(request.body) { @Throws(IOException::class) override fun writeTo(sink: BufferedSink) { delegate().writeTo(uppercaseSink(sink).buffer()) } } return request.newBuilder() .method(request.method, uppercaseBody) .build() }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/main/java/org/gradle/api/java/archives/internal/DefaultManifest.java
} return resultManifest; } @Override public org.gradle.api.java.archives.Manifest writeTo(OutputStream outputStream) { writeTo(this, outputStream, contentCharset); return this; } static void writeTo(org.gradle.api.java.archives.Manifest manifest, OutputStream outputStream, String contentCharset) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/report/IncompatibleTypeReferenceReporter.java
node.getTypeDescriptions() ); } public String asString() { StringWriter string = new StringWriter(); writeTo(new PrintWriter(string)); return string.toString(); } public void writeTo(PrintWriter writer) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
Lock readLock = striped.get(key).readLock(); WeakReference<Object> garbage = new WeakReference<>(new Object()); GcFinalization.awaitClear(garbage); Lock writeLock = striped.get(key).writeLock(); readLock.lock(); assertFalse(writeLock.tryLock()); readLock.unlock(); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts. public void testStrongImplementations() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
Lock readLock = striped.get(key).readLock(); WeakReference<Object> garbage = new WeakReference<>(new Object()); GcFinalization.awaitClear(garbage); Lock writeLock = striped.get(key).writeLock(); readLock.lock(); assertFalse(writeLock.tryLock()); readLock.unlock(); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts. public void testStrongImplementations() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 8.4K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy
sectionValue.set('world') Map sectionAttributes = [sectionKey: sectionValue] gradleManifest.attributes(mainAttributes).attributes(sectionAttributes, 'section') when: gradleManifest.writeTo('manifest') then: manifestFile.text.contains('mainKey: hello') manifestFile.text.contains('section') manifestFile.text.contains('sectionKey: world') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/integTest/groovy/org/gradle/caching/internal/BuildCacheBuildOperationsIntegrationTest.groovy
def localCache = new TestBuildCache(file("local-cache")) settingsFile << localCache.localCacheConfiguration() when: remote("throw new ${exceptionType.name}('!')", "writer.writeTo(${NullOutputStream.name}.INSTANCE)") settingsFile << """ buildCache { remote($remoteCacheClass) } """ buildFile << cacheableTask() << """ apply plugin: "base"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 12 08:51:14 UTC 2024 - 14.9K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock.go
// unspecified. // // Closing the file may or may not release the lock promptly. Callers should // ensure that Unlock is always called when Lock succeeds. func Lock(f File) error { return lock(f, writeLock) } // RLock places an advisory read lock on the file, blocking until it can be locked. // // If RLock returns nil, no other process will be able to place a write lock on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 17 02:24:35 UTC 2023 - 2.6K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_other.go
// license that can be found in the LICENSE file. //go:build !unix && !windows package filelock import ( "errors" "io/fs" ) type lockType int8 const ( readLock = iota + 1 writeLock ) func lock(f File, lt lockType) error { return &fs.PathError{ Op: lt.String(), Path: f.Name(), Err: errors.ErrUnsupported, } } func unlock(f File) error { return &fs.PathError{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 17 02:24:35 UTC 2023 - 563 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
) call.execute().use { response -> assertThat(response.body.string()).isEqualTo("abc") val requestBodyOut = requestBody.takeSink() assertFailsWith<IOException> { SlowRequestBody.writeTo(requestBodyOut) } assertFailsWith<IOException> { requestBodyOut.close() } } // Confirm that the connection pool was not corrupted by making another call.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.5K bytes - Viewed (0)