Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 118 for unsafe (0.36 sec)

  1. cmd/bucket-replication-stats.go

    		r.mostRecentStats.Stats[bucket] = bs
    	}
    	r.mostRecentStats.Timestamp = UTCNow()
    	r.mostRecentStatsMu.Unlock()
    	return bs
    }
    
    // get the most current of in-memory replication stats  and data usage info from crawler.
    func (r *ReplicationStats) getLatestReplicationStats(bucket string) (s BucketStats) {
    	bucketStats := globalNotificationSys.GetClusterBucketStats(GlobalContext, bucket)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/archive/tar/format.go

    //	Linkname          |   100B | unlimited | unlimited
    //	Size              | uint33 | unlimited |    uint89
    //	Mode              | uint21 |    uint21 |    uint57
    //	Uid/Gid           | uint21 | unlimited |    uint57
    //	Uname/Gname       |    32B | unlimited |       32B
    //	ModTime           | uint33 | unlimited |     int89
    //	AccessTime        |    n/a | unlimited |     int89
    //	ChangeTime        |    n/a | unlimited |     int89
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  3. cmd/api-router.go

    // can be disabled via the corresponding `s3HFlag`.
    //
    // CAUTION: for requests involving large req/resp bodies ensure to pass the
    // `traceHdrsS3HFlag`, otherwise both headers and body will be traced, causing
    // high memory usage!
    func s3APIMiddleware(f http.HandlerFunc, flags ...s3HFlag) http.HandlerFunc {
    	// Collect all flags with bitwise-OR and assign operator
    	var handlerFlags s3HFlag
    	for _, flag := range flags {
    		handlerFlags |= flag
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  4. src/bufio/scan.go

    			s.end -= s.start
    			s.start = 0
    		}
    		// Finally we can read some input. Make sure we don't get stuck with
    		// a misbehaving Reader. Officially we don't need to do this, but let's
    		// be extra careful: Scanner is for safe, simple jobs.
    		for loop := 0; ; {
    			n, err := s.r.Read(s.buf[s.end:len(s.buf)])
    			if n < 0 || len(s.buf)-s.end < n {
    				s.setErr(ErrBadReadCount)
    				break
    			}
    			s.end += n
    			if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    // ObjReaderFn is a function type that takes a reader and returns
    // GetObjectReader and an error. Request headers are passed to provide
    // encryption parameters. cleanupFns allow cleanup funcs to be
    // registered for calling after usage of the reader.
    type ObjReaderFn func(inputReader io.Reader, h http.Header, cleanupFns ...func()) (r *GetObjectReader, err error)
    
    // NewGetObjectReader creates a new GetObjectReader. The cleanUpFns
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  6. src/archive/zip/reader.go

    	end, baseOffset, err := readDirectoryEnd(rdr, size)
    	if err != nil {
    		return err
    	}
    	r.r = rdr
    	r.baseOffset = baseOffset
    	// Since the number of directory records is not validated, it is not
    	// safe to preallocate r.File without first checking that the specified
    	// number of files is reasonable, since a malformed archive may
    	// indicate it contains up to 1 << 128 - 1 files. Since each file has a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    	dialer ContextDialer
    	header http.Header
    
    	handleMsgWg sync.WaitGroup
    
    	// connChange will be signaled whenever State has been updated, or at regular intervals.
    	// Holding the lock allows safe reads of State, and guarantees that changes will be detected.
    	connChange *sync.Cond
    	handlers   *handlers
    
    	remote             *RemoteClient
    	auth               AuthFn
    	clientPingInterval time.Duration
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  8. cmd/site-replication.go

    			if err != nil {
    				return c.annotateErr(configureReplication, err)
    			}
    		}
    		return nil
    	}
    	// all buckets are marked deleted across sites at this point. It should be safe to purge the .minio.sys/buckets/.deleted/<bucket> entry
    	// from disk
    	if deleteOp == Purge {
    		for _, dID := range missingB {
    			peerName := info.Sites[dID].Name
    			if dID == globalDeploymentID() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  9. cmd/data-usage-cache_test.go

    Krishnan Parthasarathi <******@****.***> 1705132268 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/archive/tar/stat_unix.go

    		// (not implemented on that platform, cgo not enabled, etc).
    		if u, ok := userMap.Load(h.Uid); ok {
    			h.Uname = u.(string)
    		} else if u, err := user.LookupId(strconv.Itoa(h.Uid)); err == nil {
    			h.Uname = u.Username
    			userMap.Store(h.Uid, h.Uname)
    		}
    		if g, ok := groupMap.Load(h.Gid); ok {
    			h.Gname = g.(string)
    		} else if g, err := user.LookupGroupId(strconv.Itoa(h.Gid)); err == nil {
    			h.Gname = g.Name
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top