- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 1,117 for SOURCE (0.04 sec)
-
guava-tests/test/com/google/common/io/ByteSinkTest.java
// ensure stream was closed IF it was opened (depends on implementation whether or not it's // opened at all if source.newInputStream() throws). assertTrue( "stream not closed when copying from source with option: " + option, !okSink.wasStreamOpened() || okSink.wasStreamClosed()); } } public void testClosesOnErrors_whenWriteThrows() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/sftp-server-driver.go
"user": user, "cmd": s.Method, "param": s.Filepath, "source": source, }, } } func (m *sftpMetrics) log(s *sftp.Request, user string) func(sz int64, err error) { startTime := time.Now() source := getSource(2) return func(sz int64, err error) { globalTrace.Publish(sftpTrace(s, startTime, source, user, err, sz)) } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Feb 10 16:35:49 UTC 2025 - 11.6K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
* **Java source compatibility** is the ability to upgrade Java uses of OkHttp 3.x to 4.x without changing `.java` files. * **Kotlin source compatibility** is the ability to upgrade Kotlin uses of OkHttp 3.x to 4.x without changing `.kt` files. With a few small exceptions (below), OkHttp 4.x is both binary- and Java source-compatible with
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
object : ForwardingSink(sink) { private var totalBytesWritten: Long = 0 private var completed = false override fun write( source: Buffer, byteCount: Long, ) { super.write(source, byteCount) totalBytesWritten += byteCount progressListener.update(totalBytesWritten, contentLength(), completed) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (0) -
docs/ru/docs/how-to/configure-swagger-ui.md
# Настройка Swagger UI { #configure-swagger-ui } Вы можете настроить дополнительные <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/" class="external-link" target="_blank">параметры Swagger UI</a>. Чтобы настроить их, передайте аргумент `swagger_ui_parameters` при создании объекта приложения `FastAPI()` или в функцию `get_swagger_ui_html()`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} else { throw new UnknownElementException(nextElements, e); } } private E transferElement(Stack<E> source, Stack<E> destination) { if (source.isEmpty()) { throw PermittedMetaException.NSEE; } destination.push(source.pop()); stackWithLastReturnedElementAtTop = destination; return destination.peek(); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
cmd/ftp-server-driver.go
"param": s.Param, "login": fmt.Sprintf("%t", s.Sess.IsLogin()), "source": source, }, } } func (m *ftpMetrics) log(s *ftp.Context, paths ...string) func(sz int64, err error) { startTime := time.Now() source := getSource(2) return func(sz int64, err error) { globalTrace.Publish(ftpTrace(s, startTime, source, strings.Join(paths, " "), err, sz)) } } // Stat implements ftpDriver
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
call.execute().use { response -> val requestBody = (call.request().body as AsyncRequestBody?)!!.takeSink() requestBody.writeUtf8("request A\n") requestBody.flush() val responseBody = response.body.source() assertThat(responseBody.readUtf8Line()) .isEqualTo("response B") requestBody.writeUtf8("request C\n") requestBody.flush() assertThat(responseBody.readUtf8Line())
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 25.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt
val javaNetSocket: Socket, ) : Closeable, BufferedSocket { private val delegate = javaNetSocket.asOkioSocket() private val closedLatch = CountDownLatch(2) override val source: BufferedSource = object : ForwardingSource(delegate.source) { private var closed = false override fun close() { if (closed) return try { super.close() } finally {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
int tmp = 0; byte[] target = new byte[n]; for (int i = 0; i < reps; i++) { StringReader source = new StringReader(decodingInputs[i & INPUTS_MASK]); InputStream decodingStream = encoding.encoding.decodingStream(source); decodingStream.read(target); decodingStream.close(); tmp += target[0]; } return tmp; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0)