- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 2,107 for writeFn (0.11 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt
override fun writeTo(sink: BufferedSink) { val uppercase = uppercase(sink) val bufferedSink = uppercase.buffer() original!!.writeTo(bufferedSink) bufferedSink.emit() } } private fun uppercase(original: BufferedSink): Sink = object : ForwardingSink(original) { override fun write( source: Buffer, byteCount: Long,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 16:11:23 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
// Execute the method int bytesWritten = transaction.writeParameterWordsWireFormat(dst, 0); // Verify the bytes written assertTrue(bytesWritten > 0); // Verify max setup count is written at position 0 assertEquals(2, dst[0]); // Verify reserved bytes assertEquals(0, dst[1]); assertEquals(0, dst[2]);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java
░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░ ░▒▓██▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓███████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░"""; context.writer.accept(banner); if (!context.options().showVersion().orElse(false)) { context.writer.accept(CLIReportingUtils.showVersionMinimal()); } context.writer.accept(""); try (holder) { SimpleSystemRegistryImpl systemRegistry =Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 10.1K bytes - Click Count (0) -
src/bufio/scan_test.go
type slowReader struct { max int buf io.Reader } func (sr *slowReader) Read(p []byte) (n int, err error) { if len(p) > sr.max { p = p[0:sr.max] } return sr.buf.Read(p) } // genLine writes to buf a predictable but non-trivial line of text of length // n, including the terminal newline and an occasional carriage return. // If addNewline is false, the \r and \n are not emitted.Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
packet.questionCount = 1; packet.answerCount = 2; packet.authorityCount = 3; packet.additionalCount = 4; int written = packet.writeHeaderWireFormat(dst, 0); assertEquals(NameServicePacket.HEADER_LENGTH, written); assertEquals((byte) 0x12, dst[0]); // nameTrnId assertEquals((byte) 0x34, dst[1]);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
baos.write(content.length); } else { baos.write(0x82); // length of length = 2 baos.write((content.length >> 8) & 0xFF); baos.write(content.length & 0xFF); } baos.write(content); return baos.toByteArray(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt
Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri May 17 19:14:22 GMT 2024 - 38.5K bytes - Click Count (0) -
cmd/format-erasure.go
} // Marshal and write to disk. formatData, err := json.Marshal(format) if err != nil { return err } tmpFormat := mustGetUUID() // Purge any existing temporary file, okay to ignore errors here. defer disk.Delete(context.TODO(), minioMetaBucket, tmpFormat, DeleteOptions{ Recursive: false, Immediate: false, }) // write to unique file.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 23.1K bytes - Click Count (0) -
clause/clause.go
// ClauseBuilder clause builder, allows to customize how to build clause type ClauseBuilder func(Clause, Builder) type Writer interface { WriteByte(byte) error WriteString(string) (int, error) } // Builder builder interface type Builder interface { Writer WriteQuoted(field interface{}) AddVar(Writer, ...interface{}) AddError(error) error } // Clause type Clause struct { Name string // WHERE
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 1.8K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py
from inline_snapshot import snapshot oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True, scopes={"read": "Read access", "write": "Write access"}, ) async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str: return token app = FastAPI(dependencies=[Depends(get_token)]) @app.get("/") async def root():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.6K bytes - Click Count (0)