Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 951 - 960 of 1,459 for BytesX (0.05 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/LoggingOutputStream.java

     */
    public abstract class LoggingOutputStream extends OutputStream {
        /** The starting length of the buffer */
        private static final int DEFAULT_BUFFER_LENGTH = 4096;
    
        /** The buffer of bytes sent to the stream */
        private byte[] buffer = new byte[DEFAULT_BUFFER_LENGTH];
    
        /** Offset of the start of unwritten data in the buffer */
        private int start = 0;
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  2. src/archive/tar/tar_test.go

    						b.Errorf("unexpected Close error: %v", err)
    					}
    				}
    			})
    		}
    	})
    
    	b.Run("Reader", func(b *testing.B) {
    		for _, v := range vectors {
    			var buf bytes.Buffer
    			var r bytes.Reader
    
    			// Write the archive to a byte buffer.
    			tw := NewWriter(&buf)
    			for _, file := range v.files {
    				tw.WriteHeader(file.hdr)
    				tw.Write(file.body)
    			}
    			tw.Close()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jul 25 00:25:45 GMT 2024
    - 23.9K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` doit recevoir des `bytes` ou une `str` ne contenant que des caractères ASCII (ceux de l'anglais), ce qui signifie qu'elle ne fonctionnerait pas avec des caractères comme `á`, comme dans `Sebastián`.
    
    Pour gérer cela, nous convertissons d'abord `username` et `password` en `bytes` en les encodant en UTF-8.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  4. cmd/bucket-lifecycle_test.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"
    	"net/http"
    	"testing"
    	"time"
    
    	"github.com/minio/minio/internal/bucket/lifecycle"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // TestParseRestoreObjStatus tests parseRestoreObjStatus
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Click Count (0)
  5. cmd/xl-storage-format-v2_gen.go

    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ChecksumAlgo(zb0001)
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z ChecksumAlgo) Msgsize() (s int) {
    	s = msgp.Uint8Size
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *ErasureAlgo) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 55.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putLong(524288L); // Actual free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length);
    
                // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/FileEntry.java

         *
         * @return the last modified time in milliseconds since epoch
         */
        long lastModified();
    
        /**
         * Gets the file size.
         *
         * @return the file size in bytes
         */
        long length();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 881 bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/request-forms-and-files.md

    {* ../../docs_src/request_forms_and_files/tutorial001_an_py310.py hl[10:12] *}
    
    Файли та поля форми будуть завантажені як формові дані, і ви отримаєте файли та поля форми.
    
    Ви також можете оголосити деякі файли як `bytes`, а деякі як `UploadFile`.
    
    /// warning | Попередження
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  9. docs/pt/docs/advanced/security/http-basic-auth.md

    O `secrets.compare_digest()` necessita receber `bytes` ou `str` que possuem apenas caracteres ASCII (os em inglês). Isso significa que não funcionaria com caracteres como o `á`, como em `Sebastián`.
    
    Para lidar com isso, primeiramente nós convertemos o `username` e o `password` para `bytes`, codificando-os com UTF-8.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. docs/uk/docs/advanced/stream-data.md

    Це також означає, що з `StreamingResponse` у вас є свобода і відповідальність формувати та кодувати байти даних саме так, як їх потрібно надіслати, незалежно від анотацій типів. 🤓
    
    ### Потік байтів { #stream-bytes }
    
    Один з основних сценаріїв - передавати потоком `bytes` замість строк; це, звісно, підтримується.
    
    {* ../../docs_src/stream_data/tutorial001_py310.py ln[44:47] hl[47] *}
    
    ## Користувацький `PNGStreamingResponse` { #a-custom-pngstreamingresponse }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:25:54 GMT 2026
    - 8.5K bytes
    - Click Count (0)
Back to Top