Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 294 for buffers (0.09 seconds)

  1. cmd/bucket-lifecycle.go

    		es.stats.missedExpiryTasks.Add(1)
    	}
    }
    
    // globalExpiryState is the per-node instance which manages all ILM expiry tasks.
    var globalExpiryState *expiryState
    
    // newExpiryState creates an expiryState with buffered channels allocated for
    // each ILM expiry task type.
    func newExpiryState(ctx context.Context, objAPI ObjectLayer, n int) *expiryState {
    	es := &expiryState{
    		ctx:    ctx,
    		objAPI: objAPI,
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  2. lib/fips140/v1.1.0-rc1.zip

    { var acc byte for _, b := range x { acc |= b } return acc == 0 } // isLess reports whether a < b, where a and b are big-endian buffers of the // same length and shorter than 72 bytes. func isLess(a, b []byte) bool { if len(a) != len(b) { panic("crypto/ecdh: internal error: mismatched isLess inputs") } // Copy the values into a fixed-size preallocated little-endian buffer. // 72 bytes is enough for every scalar in this package, and having a fixed // size lets us avoid heap allocations. if len(a) >...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
  3. cmd/storage-rest-server.go

    // streamHTTPResponse has been used.
    // The returned reader contains the payload and must be closed if no error is returned.
    func waitForHTTPStream(respBody io.ReadCloser, w io.Writer) error {
    	var tmp [1]byte
    	// 8K copy buffer, reused for less allocs...
    	bufp := poolBuf8k.Get()
    	buf := *bufp
    	defer poolBuf8k.Put(bufp)
    
    	for {
    		_, err := io.ReadFull(respBody, tmp[:])
    		if err != nil {
    			return err
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  4. lib/fips140/v1.0.0-c2097c7c.zip

    { var acc byte for _, b := range x { acc |= b } return acc == 0 } // isLess reports whether a < b, where a and b are big-endian buffers of the // same length and shorter than 72 bytes. func isLess(a, b []byte) bool { if len(a) != len(b) { panic("crypto/ecdh: internal error: mismatched isLess inputs") } // Copy the values into a fixed-size preallocated little-endian buffer. // 72 bytes is enough for every scalar in this package, and having a fixed // size lets us avoid heap allocations. if len(a) >...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  5. cmd/bucket-handlers_test.go

    		if testCase.expectedContent != nil && !bytes.Equal(testCase.expectedContent, actualContent) {
    			t.Log(string(testCase.expectedContent), string(actualContent))
    			t.Errorf("Test %d : MinIO %s: Object content differs from expected value.", i, instanceType)
    		}
    	}
    
    	// HTTP request to test the case of `objectLayer` being set to `nil`.
    	// There is no need to use an existing bucket or valid input for creating the request,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  6. src/bytes/bytes.go

    		m = Count(s, old)
    	}
    	if m == 0 {
    		// Just return a copy.
    		return append([]byte(nil), s...)
    	}
    	if n < 0 || m < n {
    		n = m
    	}
    
    	// Apply replacements to buffer.
    	t := make([]byte, len(s)+n*(len(new)-len(old)))
    	w := 0
    	start := 0
    	if len(old) > 0 {
    		for range n {
    			j := start + Index(s[start:], old)
    			w += copy(t[w:], s[start:j])
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  7. cmd/bucket-handlers.go

    		reader = part
    
    		possibleShardSize := (r.ContentLength - headerLen)
    		if globalStorageClass.ShouldInline(possibleShardSize, false) { // keep versioned false for this check
    			var b bytes.Buffer
    			n, err := io.Copy(&b, reader)
    			if err != nil {
    				apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    				apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, err)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
  8. api/go1.txt

    pkg bytes, method (*Buffer) ReadString(uint8) (string, error)
    pkg bytes, method (*Buffer) Reset()
    pkg bytes, method (*Buffer) String() string
    pkg bytes, method (*Buffer) Truncate(int)
    pkg bytes, method (*Buffer) UnreadByte() error
    pkg bytes, method (*Buffer) UnreadRune() error
    pkg bytes, method (*Buffer) Write([]uint8) (int, error)
    pkg bytes, method (*Buffer) WriteByte(uint8) error
    pkg bytes, method (*Buffer) WriteRune(int32) (int, error)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  9. cmd/sts-handlers_test.go

        }
    }
    `,
    	}
    	exportContent := map[string][]byte{}
    	for k, v := range exportContentStrings {
    		exportContent[k] = []byte(v)
    	}
    
    	var importContent []byte
    	{
    		var b bytes.Buffer
    		zipWriter := zip.NewWriter(&b)
    		rawDataFn := func(r io.Reader, filename string, sz int) error {
    			header, zerr := zip.FileInfoHeader(dummyFileInfo{
    				name:    filename,
    				size:    int64(sz),
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  10. docs/bucket/notifications/README.md

    ```
    
    MinIO server also supports [NATS Streaming mode](http://nats.io/documentation/streaming/nats-streaming-intro/) that offers additional functionality like `At-least-once-delivery`, and `Publisher rate limiting`. To configure MinIO server to send notifications to NATS Streaming server, update the MinIO server configuration file as follows:
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 84.2K bytes
    - Click Count (0)
Back to Top