Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Phread (0.19 sec)

  1. docs/hotfixes.md

    ```
    commit 4f3317effea38c203c358af9cb5ce3c0e4173976
    Author: Klaus Post <******@****.***>
    Date:   Mon Nov 8 08:41:27 2021 -0800
    
        Close stream on panic (#13605)
    
        Always close streamHTTPResponse on panic on main thread to avoid
        write/flush after response handler has returned.
    ```
    
    ```
    λ git cherry-pick 4f3317effea38c203c358af9cb5ce3c0e4173976
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 14 21:36:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    	fn := z.decommissionCancelers[idx]
    	if fn == nil {
    		// canceling a decommission before it started return an error.
    		return errDecommissionNotStarted
    	}
    
    	defer fn() // cancel any active thread.
    
    	if z.poolMeta.DecommissionCancel(idx) {
    		if err = z.poolMeta.save(ctx, z.serverPools); err != nil {
    			return err
    		}
    		globalNotificationSys.ReloadPoolMeta(ctx)
    	}
    
    	return nil
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  3. cmd/streaming-signature-v4.go

    func (cr *s3ChunkedReader) Read(buf []byte) (n int, err error) {
    	if cr.err != nil {
    		if cr.debug {
    			fmt.Printf("s3ChunkedReader: Returning err: %v (%T)\n", cr.err, cr.err)
    		}
    		return 0, cr.err
    	}
    	defer func() {
    		if err != nil && err != io.EOF {
    			if cr.debug {
    				fmt.Println("Read err:", err)
    			}
    		}
    	}()
    	// First, if there is any unread data, copy it to the client
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  4. cmd/server-rlimit.go

    	return currentKernel < kernel.Version(4, 0, 0)
    }
    
    func setMaxResources(ctx *cli.Context) (err error) {
    	// Set the Go runtime max threads threshold to 90% of kernel setting.
    	sysMaxThreads, err := sys.GetMaxThreads()
    	if err == nil {
    		minioMaxThreads := (sysMaxThreads * 90) / 100
    		// Only set max threads if it is greater than the default one
    		if minioMaxThreads > 10000 {
    			debug.SetMaxThreads(minioMaxThreads)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses.go

    		setCounts = possibleSetCountsWithSymmetry(setCounts, argPatterns)
    
    		if len(setCounts) == 0 {
    			msg := fmt.Sprintf("No symmetric distribution detected with input endpoints provided %s, drives %d cannot be spread symmetrically by any supported erasure set sizes %d", args, commonSize, setSizes)
    			return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    		}
    
    		// Final set size with all the symmetry accounted for.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    	// DNS separator (period), used for bucket name validation.
    	dnsDelimiter = "."
    	// On compressed files bigger than this;
    	compReadAheadSize = 100 << 20
    	// Read this many buffers ahead.
    	compReadAheadBuffers = 5
    	// Size of each buffer.
    	compReadAheadBufSize = 1 << 20
    	// Pad Encrypted+Compressed files to a multiple of this.
    	compPadEncrypted = 256
    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)
  7. cmd/erasure.go

    	// Otherwise same set of buckets get scanned across erasure sets always.
    	// at any given point in time. This allows different buckets to be scanned
    	// in different order per erasure set, this wider spread is needed when
    	// there are lots of buckets with different order of objects in them.
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	permutes := r.Perm(len(buckets))
    	// Add new buckets first
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. cmd/signature-v4.go

    	errMetaCode := checkMetaHeaders(extractedSignedHeaders, r)
    	if errMetaCode != ErrNone {
    		return errMetaCode
    	}
    
    	// If the host which signed the request is slightly ahead in time (by less than globalMaxSkewTime) the
    	// request should still be allowed.
    	if pSignValues.Date.After(UTCNow().Add(globalMaxSkewTime)) {
    		return ErrRequestNotReadyYet
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. internal/disk/stat_windows.go

    	// which is the total amount of space, the total amount of free space, and the total
    	// amount of free space available to the user that is associated with the calling thread.
    	GetDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW")
    
    	// GetDiskFreeSpace - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364935(v=vs.85).aspx
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. internal/ioutil/read_file.go

    )
    
    // ReadFileWithFileInfo reads the named file and returns the contents.
    // A successful call returns err == nil, not err == EOF.
    // Because ReadFile reads the whole file, it does not treat an EOF from Read
    // as an error to be reported.
    func ReadFileWithFileInfo(name string) ([]byte, fs.FileInfo, error) {
    	f, err := OsOpenFile(name, readMode, 0o666)
    	if err != nil {
    		return nil, nil, err
    	}
    	defer f.Close()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 09 18:17:51 GMT 2023
    - 2.3K bytes
    - Viewed (0)
Back to top