Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for niddle (0.2 sec)

  1. misc/go_android_exec/exitcode_test.go

    	"testing"
    )
    
    func TestExitCodeFilter(t *testing.T) {
    	// Write text to the filter one character at a time.
    	var out strings.Builder
    	f, exitStr := newExitCodeFilter(&out)
    	// Embed a "fake" exit code in the middle to check that we don't get caught on it.
    	pre := "abc" + exitStr + "123def"
    	text := pre + exitStr + `1`
    	for i := 0; i < len(text); i++ {
    		_, err := f.Write([]byte{text[i]})
    		if err != nil {
    			t.Fatal(err)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. internal/config/scanner/scanner.go

    	"github.com/minio/pkg/v2/env"
    )
    
    // Compression environment variables
    const (
    	Speed    = "speed"
    	EnvSpeed = "MINIO_SCANNER_SPEED"
    
    	IdleSpeed    = "idle_speed"
    	EnvIdleSpeed = "MINIO_SCANNER_IDLE_SPEED"
    
    	ExcessVersions    = "alert_excess_versions"
    	EnvExcessVersions = "MINIO_SCANNER_ALERT_EXCESS_VERSIONS"
    
    	ExcessFolders    = "alert_excess_folders"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/tokenizer.go

    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    		return true
    	case '\u2215': // Represents the slash in runtime/debug.setGCPercent. U+2215 '∕' division slash
    		return true
    	}
    	// Digits are OK only after the first character.
    	return i > 0 && unicode.IsDigit(ch)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  4. cmd/server-main.go

    		EnvVar: "MINIO_SHUTDOWN_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "idle-timeout",
    		Value:  xhttp.DefaultIdleTimeout,
    		Usage:  "idle timeout is the maximum amount of time to wait for the next request when keep-alive are enabled",
    		EnvVar: "MINIO_IDLE_TIMEOUT",
    		Hidden: true,
    	},
    	cli.DurationFlag{
    		Name:   "read-header-timeout",
    		Value:  xhttp.DefaultReadHeaderTimeout,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 33K bytes
    - Viewed (1)
  5. internal/http/dial_linux.go

    			// "Set TCP_QUICKACK. If you find a case where that makes things worse, let me know."
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_QUICKACK, 1)
    
    			// The time (in seconds) the connection needs to remain idle before
    			// TCP starts sending keepalive probes
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, 15)
    
    			// Number of probes.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Jun 07 16:53:05 GMT 2023
    - 4.4K bytes
    - Viewed (3)
  6. cmd/data-scanner.go

    	scannerCycle                         = uatomic.NewDuration(dataScannerStartDelay)
    	scannerIdleMode                      = uatomic.NewInt32(0) // default is throttled when idle
    	scannerExcessObjectVersions          = uatomic.NewInt64(100)
    	scannerExcessObjectVersionsTotalSize = uatomic.NewInt64(1024 * 1024 * 1024 * 1024) // 1 TB
    	scannerExcessFolders                 = uatomic.NewInt64(50000)
    )
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    				"bytes=1-",
    				// Read first half of object
    				fmt.Sprintf("bytes=%d-%d", 0, objLen/2),
    				// Read last half of object
    				fmt.Sprintf("bytes=-%d", objLen/2),
    				// Read middle half of object
    				fmt.Sprintf("bytes=%d-%d", objLen/4, objLen*3/4),
    				// Read 100MiB of the object from the beginning
    				fmt.Sprintf("bytes=%d-%d", 0, 100*humanize.MiByte),
    				// Read 100MiB of the object from the end
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  8. src/bytes/example_test.go

    }
    
    func ExampleCompare_search() {
    	// Binary search to find a matching byte slice.
    	var needle []byte
    	var haystack [][]byte // Assume sorted
    	i := sort.Search(len(haystack), func(i int) bool {
    		// Return haystack[i] >= needle.
    		return bytes.Compare(haystack[i], needle) >= 0
    	})
    	if i < len(haystack) && bytes.Equal(haystack[i], needle) {
    		// Found it!
    	}
    }
    
    func ExampleContains() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  9. cmd/metrics-v3-system-cpu.go

    import (
    	"context"
    	"math"
    )
    
    const (
    	sysCPUAvgIdle   = "avg_idle"
    	sysCPUAvgIOWait = "avg_iowait"
    	sysCPULoad      = "load"
    	sysCPULoadPerc  = "load_perc"
    	sysCPUNice      = "nice"
    	sysCPUSteal     = "steal"
    	sysCPUSystem    = "system"
    	sysCPUUser      = "user"
    )
    
    var (
    	sysCPUAvgIdleMD   = NewGaugeMD(sysCPUAvgIdle, "Average CPU idle time")
    	sysCPUAvgIOWaitMD = NewGaugeMD(sysCPUAvgIOWait, "Average CPU IOWait time")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    				if ts != nil {
    					tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    					cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    					updateResourceMetrics(cpuSubsystem, cpuUser, cpuUserVal, labels, false)
    					cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    					updateResourceMetrics(cpuSubsystem, cpuSystem, cpuSystemVal, labels, false)
    					cpuIdleVal := math.Round(ts.Idle/tot*100*100) / 100
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
Back to top