- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,654 for writeLn (0.1 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt
internal class ThrottledSink( private val delegate: Sink, private val bytesPerPeriod: Long, private val periodDelayNanos: Long, ) : Sink by delegate { private var bytesWrittenSinceLastDelay = 0L override fun write( source: Buffer, byteCount: Long, ) { var bytesLeft = byteCount while (bytesLeft > 0) { if (bytesWrittenSinceLastDelay == bytesPerPeriod) { flush()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
.github/workflows/invalid_question.yml
name: "Close invalid questions issues" on: schedule: - cron: "*/10 * * * *" permissions: contents: read jobs: stale: permissions: issues: write # for actions/stale to close stale issues pull-requests: write # for actions/stale to close stale PRs runs-on: ubuntu-latest env: ACTIONS_STEP_DEBUG: true steps: - name: Close Stale Issues uses: actions/stale@v8 with:
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Apr 11 02:27:05 UTC 2023 - 1.2K bytes - Viewed (0) -
internal/s3select/jstream/decoder.go
func (kvs KVS) MarshalJSON() ([]byte, error) { b := new(bytes.Buffer) b.Write([]byte("{")) for i, kv := range kvs { b.Write([]byte("\"" + kv.Key + "\"" + ":")) valBuf, err := json.Marshal(kv.Value) if err != nil { return nil, err } b.Write(valBuf) if i < len(kvs)-1 { b.Write([]byte(",")) } } b.Write([]byte("}")) return b.Bytes(), nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 13.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt
@Throws(IOException::class) fun deflate(buffer: Buffer) { require(deflatedBytes.size == 0L) if (noContextTakeover) { deflater.reset() } deflaterSink.write(buffer, buffer.size) deflaterSink.flush() if (deflatedBytes.endsWith(EMPTY_DEFLATE_BLOCK)) { val newSize = deflatedBytes.size - LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/package-info.java
// CHECKSTYLE_OFF: RegexpHeader|LineLength /** * XML reader and writer classes for Maven POM, generated from <code>maven.mdo</code> model. * These classes use * <a href="https://codehaus-plexus.github.io/plexus-utils/apidocs/org/codehaus/plexus/util/xml/pull/package-summary.html">plexus-utils' * XML Pull Parser API</a> for their internal XML handling and
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 750 bytes - Viewed (0) -
android/guava/src/com/google/common/io/package-info.java
* or implied. See the License for the specific language governing permissions and limitations under * the License. */ /** * Utility methods and classes for I/O; for example input streams, output streams, readers, writers, * and files. * * <p>At the core of this package are the Source/Sink types: {@link ByteSource ByteSource}, {@link * CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 23 19:57:03 UTC 2023 - 1.5K bytes - Viewed (0) -
docs/en/docs/tutorial/index.md
<font color="#4E9A06">INFO</font>: Application startup complete. </pre> ``` </div> It is **HIGHLY encouraged** that you write or copy the code, edit it and run it locally. Using it in your editor is what really shows you the benefits of FastAPI, seeing how little code you have to write, all the type checks, autocompletion, etc. --- ## Install FastAPI The first step is to install FastAPI.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 24 21:52:09 UTC 2024 - 6K bytes - Viewed (0) -
tests/test_ws_router.py
assert e.value.code == status.WS_1008_POLICY_VIOLATION # and no error is leaked assert caught == [] def test_depend_err_middleware(): """ Verify that it is possible to write custom WebSocket middleware to catch errors """ @websocket_middleware async def errorhandler(websocket: WebSocket, call_next): try: return await call_next()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 11 19:08:14 UTC 2023 - 7.5K bytes - Viewed (0) -
docs/en/docs/async.md
* the data sent by your program to be received by the client through the network * the contents of a file in the disk to be read by the system and given to your program * the contents your program gave to the system to be written to disk * a remote API operation * a database operation to finish * a database query to return the results * etc.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Aug 28 23:33:37 UTC 2024 - 23.5K bytes - Viewed (0) -
cmd/object-api-errors.go
return errErasureReadQuorum } // InsufficientWriteQuorum storage cannot satisfy quorum for write operation. type InsufficientWriteQuorum GenericError func (e InsufficientWriteQuorum) Error() string { return "Storage resources are insufficient for the write operation " + e.Bucket + "/" + e.Object } // Unwrap the error. func (e InsufficientWriteQuorum) Unwrap() error {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 09 02:05:14 UTC 2024 - 22.1K bytes - Viewed (0)