Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 1,057 for Bytes (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

         *
         * @param buffer the buffer to read into
         * @param remoteAddress remote memory address
         * @param remoteKey remote access key
         * @param length number of bytes to read
         * @return number of bytes read
         * @throws IOException if operation fails
         */
        public int rdmaRead(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException {
            if (!isRdmaConnected()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt

        assertFailsWith<IndexOutOfBoundsException> {
          operator.write(0, buffer, 4L)
        }
      }
    
      private fun randomByteString(byteCount: Int): ByteString {
        val bytes = ByteArray(byteCount)
        Random(0).nextBytes(bytes)
        return ByteString.of(*bytes)
      }
    
      private fun snapshot(): ByteString {
        randomAccessFile!!.getChannel().force(false)
        val source = file!!.source().buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    	}
    
    	object := "object"
    	data := bytes.Repeat([]byte("a"), smallFileThreshold*32)
    	z := obj.(*erasureServerPools)
    
    	erasureDisks, err := z.GetDisks(0, 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for i, test := range testCases {
    		t.Run(fmt.Sprintf("case-%d", i), func(t *testing.T) {
    			_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), ObjectOptions{})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/hash/ChecksumHashFunction.java

          this.checksum = checkNotNull(checksum);
        }
    
        @Override
        protected void update(byte b) {
          checksum.update(b);
        }
    
        @Override
        protected void update(byte[] bytes, int off, int len) {
          checksum.update(bytes, off, len);
        }
    
        @Override
        @J2ObjCIncompatible
        protected void update(ByteBuffer b) {
          if (!ChecksumMethodHandles.updateByteBuffer(checksum, b)) {
            super.update(b);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2Constants.java

     *
     * @author mbechler
     */
    public final class Smb2Constants {
    
        /**
         *
         */
        private Smb2Constants() {
        }
    
        /**
         * SMB2 header length in bytes
         */
        public static final int SMB2_HEADER_LENGTH = 64;
    
        /**
         * SMB2 negotiate flag indicating signing is enabled
         */
        public static final int SMB2_NEGOTIATE_SIGNING_ENABLED = 0x0001;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/cmd/addr2line/addr2line_test.go

    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type3Message.java

                    + (lmResponseBytes == null ? "null" : "<" + lmResponseBytes.length + " bytes>") + ",ntResponse="
                    + (ntResponseBytes == null ? "null" : "<" + ntResponseBytes.length + " bytes>") + ",sessionKey="
                    + (sessionKeyBytes == null ? "null" : "<" + sessionKeyBytes.length + " bytes>") + ",flags=0x"
                    + jcifs.util.Hexdump.toHexString(getFlags(), 8) + "]";
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  8. cmd/metrics.go

    			"Total number of internode bytes received by current MinIO server instance",
    			nil, nil),
    		prometheus.CounterValue,
    		float64(connStats.internodeInputBytes),
    	)
    
    	// Network Sent/Received Bytes (Outbound)
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(s3Namespace, "tx", "bytes_total"),
    			"Total number of s3 bytes sent by current MinIO server instance",
    			nil, nil),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

         *
         * @return true if the response has a body (either as bytes or file), false otherwise
         */
        public boolean hasResponseBody() {
            return responseBodyBytes != null || responseBodyFile != null;
        }
    
        /**
         * Gets the response body as an InputStream.
         * If the response body is stored as bytes, returns a ByteArrayInputStream.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/request-files.md

    파일들은 "폼 데이터"의 형태로 업로드 됩니다.
    
    *경로 작동 함수*의 매개변수를 `bytes` 로 선언하는 경우 **FastAPI**는 파일을 읽고 `bytes` 형태의 내용을 전달합니다.
    
    이것은 전체 내용이 메모리에 저장된다는 것을 의미한다는 걸 염두하기 바랍니다. 이는 작은 크기의 파일들에 적합합니다.
    
    어떤 경우에는 `UploadFile` 을 사용하는 것이 더 유리합니다.
    
    ## `File` 매개변수와  `UploadFile`
    
    `File` 매개변수를 `UploadFile` 타입으로 정의합니다:
    
    {* ../../docs_src/request_files/tutorial001.py hl[12] *}
    
    `UploadFile` 을 사용하는 것은 `bytes` 과 비교해 다음과 같은 장점이 있습니다:
    
    * "스풀 파일"을 사용합니다.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top