Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 16 of 16 for bytebit (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/ko/docs/advanced/stream-data.md

    ### 파일 시뮬레이션 { #simulate-a-file }
    
    이 예시에서는 `io.BytesIO`로 파일을 시뮬레이션합니다. 이는 메모리에서만 존재하지만 파일과 동일한 인터페이스를 제공하는 파일 유사 객체입니다.
    
    예를 들어 실제 파일처럼 내용을 소비하기 위해 순회(iterate)할 수 있습니다.
    
    {* ../../docs_src/stream_data/tutorial002_py310.py ln[1:27] hl[3,12:13,25] *}
    
    /// note | 기술 세부사항
    
    다른 두 변수 `image_base64`와 `binary_image`는 이미지를 Base64로 인코딩한 뒤 바이트로 변환한 것이며, 이를 `io.BytesIO`에 전달합니다.
    
    이 예시에서 하나의 파일 안에 모두 담아, 그대로 복사해 실행할 수 있도록 하기 위한 목적입니다. 🥚
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:56:39 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          sink.writeByte(accumulator.toInt())
        }
      }
    
      fun encodedLength(bytes: ByteString): Int {
        var bitCount = 0L
    
        for (i in 0 until bytes.size) {
          val byteIn = bytes[i] and 0xff
          bitCount += CODE_BIT_COUNTS[byteIn].toLong()
        }
    
        return ((bitCount + 7) shr 3).toInt() // Round up to an even byte.
      }
    
      fun decode(
        source: BufferedSource,
        byteCount: Long,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. tests/test_datastructures.py

        assert testing_file_store
        assert testing_file_store[0].file.closed
    
    
    # For UploadFile coverage, segments copied from Starlette tests
    
    
    @pytest.mark.anyio
    async def test_upload_file():
        stream = io.BytesIO(b"data")
        file = UploadFile(filename="file", file=stream, size=4)
        assert await file.read() == b"data"
        assert file.size == 4
        await file.write(b" and more data!")
        assert await file.read() == b""
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  4. src/bufio/bufio_test.go

    		t.Error("expected error at EOF")
    	} else if err != io.EOF {
    		t.Error("expected EOF; got", err)
    	}
    }
    
    func TestReadWriteRune(t *testing.T) {
    	const NRune = 1000
    	byteBuf := new(bytes.Buffer)
    	w := NewWriter(byteBuf)
    	// Write the runes out using WriteRune
    	buf := make([]byte, utf8.UTFMax)
    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(buf, r)
    		nbytes, err := w.WriteRune(r)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    myspreadshop.dk
    myspreadshop.es
    myspreadshop.fi
    myspreadshop.fr
    myspreadshop.ie
    myspreadshop.it
    myspreadshop.net
    myspreadshop.nl
    myspreadshop.no
    myspreadshop.pl
    myspreadshop.se
    mytabit.co.il
    mytabit.com
    mytis.ru
    mytuleap.com
    myvnc.com
    mywire.org
    mz
    málatvuopmi.no
    mátta-várjjat.no
    målselv.no
    måsøy.no
    māori.nz
    n.bg
    n.se
    n4t.co
    na
    na.it
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 22:00:49 GMT 2025
    - 129.6K bytes
    - Click Count (3)
  6. okhttp/src/androidMain/assets/PublicSuffixDatabase.list

    myspreadshop.dk
    myspreadshop.es
    myspreadshop.fi
    myspreadshop.fr
    myspreadshop.ie
    myspreadshop.it
    myspreadshop.net
    myspreadshop.nl
    myspreadshop.no
    myspreadshop.pl
    myspreadshop.se
    mytabit.co.il
    mytabit.com
    mytis.ru
    mytuleap.com
    myvnc.com
    mywire.org
    mz
    málatvuopmi.no
    mátta-várjjat.no
    målselv.no
    måsøy.no
    māori.nz
    n.bg
    n.se
    n4t.co
    na
    na.it
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Dec 31 14:50:53 GMT 2024
    - 129.6K bytes
    - Click Count (2)
Back to Top