Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for Warner (0.32 sec)

  1. cmd/generic-handlers.go

    		}
    		if stringsHasPrefixFold(key, ReservedMetadataPrefix) {
    			return true
    		}
    	}
    	return false
    }
    
    // isHTTPHeaderSizeTooLarge returns true if the provided
    // header is larger than 8 KB or the user-defined metadata
    // is larger than 2 KB.
    func isHTTPHeaderSizeTooLarge(header http.Header) bool {
    	var size, usersize int
    	for key := range header {
    		length := len(key) + len(header.Get(key))
    		size += length
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/bytes/compare_test.go

    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    	a := make([]byte, maxLength)
    	b := make([]byte, maxLength)
    	// randomish but deterministic data. No 0 or 255.
    	for i := 0; i < maxLength; i++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    	}
    
    	result.UserDefined = cloneMSS(fi.Metadata)
    	return result, nil
    }
    
    // ListObjectParts - lists all previously uploaded parts for a given
    // object and uploadID.  Takes additional input of part-number-marker
    // to indicate where the listing should begin from.
    //
    // Implements S3 compatible ListObjectParts API. The resulting
    // ListPartsInfo structure is marshaled directly into XML and
    // replied back to the client.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  4. src/bufio/scan_test.go

    			break
    		}
    	}
    	if got, want := scanner.Err(), ErrBadReadCount; got != want {
    		t.Errorf("scanner.Err: got %v, want %v", got, want)
    	}
    }
    
    // largeReader returns an invalid count that is larger than the number
    // of bytes requested.
    type largeReader struct{}
    
    func (largeReader) Read(p []byte) (int, error) {
    	return len(p) + 1, nil
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. src/bufio/bufio.go

    // being valid at the next read call. If Peek returns fewer than n bytes, it
    // also returns an error explaining why the read is short. The error is
    // [ErrBufferFull] if n is larger than b's buffer size.
    //
    // Calling Peek prevents a [Reader.UnreadByte] or [Reader.UnreadRune] call from succeeding
    // until the next read operation.
    func (b *Reader) Peek(n int) ([]byte, error) {
    	if n < 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    		case TypeGNULongName, TypeGNULongLink:
    			format.mayOnlyBe(FormatGNU)
    			realname, err := readSpecialFile(tr)
    			if err != nil {
    				return nil, err
    			}
    
    			var p parser
    			switch hdr.Typeflag {
    			case TypeGNULongName:
    				gnuLongName = p.parseString(realname)
    			case TypeGNULongLink:
    				gnuLongLink = p.parseString(realname)
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. cmd/notification.go

    func (sys *NotificationSys) VerifyBinary(ctx context.Context, u *url.URL, sha256Sum []byte, releaseInfo string, bin []byte) []NotificationPeerErr {
    	// FIXME: network calls made in this manner such as one goroutine per node,
    	// can easily eat into the internode bandwidth. This function would be mostly
    	// TX saturating, however there are situations where a RX might also saturate.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  8. cmd/metacache-marker.go

    import (
    	"context"
    	"fmt"
    	"strconv"
    	"strings"
    )
    
    // markerTagVersion is the marker version.
    // Should not need to be updated unless a fundamental change is made to the marker format.
    const markerTagVersion = "v2"
    
    // parseMarker will parse a marker possibly encoded with encodeMarker
    func (o *listPathOptions) parseMarker() {
    	s := o.Marker
    	if !strings.Contains(s, "[minio_cache:"+markerTagVersion) {
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users_test.go

    		c.Fatalf("user must not be allowed to delete")
    	}
    
    	err = client.RemoveObject(ctx, bucket, "some-object", minio.RemoveObjectOptions{})
    	if err != nil {
    		c.Fatal("user must be able to create delete marker")
    	}
    }
    
    func (c *check) mustDownload(ctx context.Context, client *minio.Client, bucket string) {
    	c.Helper()
    	rd, err := client.GetObject(ctx, bucket, "some-object", minio.GetObjectOptions{})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  10. cmd/main.go

    	banner := &strings.Builder{}
    	fmt.Fprintln(banner, color.Bold("%s version %s (commit-id=%s)", c.App.Name, c.App.Version, CommitID))
    	fmt.Fprintln(banner, color.Blue("Runtime:")+color.Bold(" %s %s/%s", runtime.Version(), runtime.GOOS, runtime.GOARCH))
    	fmt.Fprintln(banner, color.Blue("License:")+color.Bold(" GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>"))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top