- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 797 for CBytes (0.24 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
} return trailers } override fun flushRequest() { socket.sink.flush() } override fun finishRequest() { socket.sink.flush() } /** Returns bytes of a request header for sending on an HTTP transport. */ fun writeRequest( headers: Headers, requestLine: String, ) { check(state == STATE_IDLE) { "state: $state" }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
assertTrue(size > 112); // Bigger than without contexts assertEquals(0, size % 8); // Should be 8-byte aligned } @Test @DisplayName("Should write bytes to wire format correctly") void testWriteBytesWireFormat() { // Given when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB302);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
cmd/ftp-server-driver.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "context" "crypto/subtle" "errors" "fmt" "io" "net" "net/http" "os" "path" "strings" "time" "github.com/minio/madmin-go/v3" "github.com/minio/minio-go/v7"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.3K bytes - Click Count (0) -
misc/cgo/gmp/gmp.go
// making zero values useful and gmp's decision not to. func (z *Int) doinit() { if z.init { return } z.init = true C.mpz_init(&z.i[0]) } // Bytes returns z's representation as a big-endian byte array. func (z *Int) Bytes() []byte { b := make([]byte, (z.Len()+7)/8) n := C.size_t(len(b)) C.mpz_export(unsafe.Pointer(&b[0]), &n, 1, 1, 1, 0, &z.i[0]) return b[0:n] }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
bf.put("element" + i); } // Calculate expected size based on bitSize() // Header: 1 byte (strategy) + 1 byte (hash functions) + 4 bytes (array length) = 6 bytes // Data: bitSize / 8 bytes long predictedSize = bf.bitSize() / 8 + 6; assertThat(bf.serializedSize()).isEqualTo(predictedSize); // Serialize and measure actual size
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
int result = smbComQueryInformation.writeParameterWordsWireFormat(new byte[0], 0); assertEquals(0, result); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte array byte[] dst = new byte[100]; int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0); // Expected format: buffer format (1 byte) + file name (null-terminated)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/de/docs/tutorial/request-forms-and-files.md
Die Datei- und Formularfelder werden als Formulardaten hochgeladen, und Sie erhalten diese Dateien und Formularfelder. Und Sie können einige der Dateien als `bytes` und einige als `UploadFile` deklarieren. /// warning | Achtung
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 1.7K bytes - Click Count (0) -
docs/en/docs/tutorial/request-forms-and-files.md
{* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *} The files and form fields will be uploaded as form data and you will receive the files and form fields. And you can declare some of the files as `bytes` and some as `UploadFile`. /// warningCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 1.4K bytes - Click Count (0) -
cmd/object-api-utils.go
r, _ := newS2CompressReader(bytes.NewBuffer(data), int64(len(data)), true) b, err := io.ReadAll(r) failOnErr(err) failOnErr(r.Close()) // Decompression reader. s2Reader := s2.NewReader(bytes.NewBuffer(b)) // Apply the skipLen on the decompressed stream. failOnErr(s2Reader.Skip(skip)) got, err := io.ReadAll(s2Reader) failOnErr(err) if !bytes.Equal(got, data[skip:]) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jun 25 15:08:54 GMT 2025 - 37.3K bytes - Click Count (0) -
cmd/bucket-policy-handlers.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "bytes" "encoding/json" "io" "net/http" humanize "github.com/dustin/go-humanize" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/logger" "github.com/minio/mux"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 6.1K bytes - Click Count (0)