Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for behavior (0.06 sec)

  1. src/cmd/addr2line/main.go

    	fmt.Fprintf(w, "\tfile:line\n")
    }
    
    func usage() {
    	printUsage(os.Stderr)
    	os.Exit(2)
    }
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("addr2line: ")
    	counter.Open()
    
    	// pprof expects this behavior when checking for addr2line
    	if len(os.Args) > 1 && os.Args[1] == "--help" {
    		printUsage(os.Stdout)
    		os.Exit(0)
    	}
    
    	flag.Usage = usage
    	flag.Parse()
    	counter.Inc("addr2line/invocations")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cmd/xl-storage_windows_test.go

    				t.Error(err)
    			}
    			fs.Delete(context.Background(), "voldir", test.objName, DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    		})
    	}
    }
    
    // Test to validate xlStorage behavior on windows when a non-final path component is a file.
    func TestUNCPathENOTDIR(t *testing.T) {
    	// Instantiate posix object to manage a disk
    	dir := t.TempDir()
    
    	fs, err := newLocalXLStorage(dir)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. cmd/api-router.go

    // behavior modification via flags.
    //
    // This middleware always calls `collectAPIStats` to collect API stats.
    //
    // The passed in handler function must be a method of `objectAPIHandlers` for
    // the name displayed in logs and trace to be accurate. The name is extracted
    // via reflection.
    //
    // When **no** flags are passed, the behavior is to trace both headers and body,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. internal/config/identity/openid/help.go

    			Optional:    true,
    			Type:        "csv",
    		},
    		config.HelpKV{
    			Key:         Vendor,
    			Description: `Specify vendor type for vendor specific behavior to checking validity of temporary credentials and service accounts on MinIO` + defaultHelpPostfix(Vendor),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ClaimUserinfo,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 23 14:45:27 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. cmd/ftp-server-driver.go

    	objInfo, err := clnt.StatObject(context.Background(), bucket, object, minio.StatObjectOptions{})
    	if err != nil {
    		if minio.ToErrorResponse(err).Code == "NoSuchKey" {
    			// dummy return to satisfy LIST (stat -> list) behavior.
    			return &minioFileInfo{
    				p:     pathClean(object),
    				info:  minio.ObjectInfo{Key: object},
    				isDir: true,
    			}, nil
    		}
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    		}
    	}
    }
    
    // NoncurrentVersionsExpirationLimit returns the number of noncurrent versions
    // to be retained from the first applicable rule per S3 behavior.
    func (lc Lifecycle) NoncurrentVersionsExpirationLimit(obj ObjectOpts) Event {
    	for _, rule := range lc.FilterRules(obj) {
    		if rule.NoncurrentVersionExpiration.NewerNoncurrentVersions == 0 {
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes.go

    	// by the Content-Type header field.
    	ContentEncoding string
    
    	// Date and time at which the object is no longer able to be cached
    	Expires time.Time
    
    	// Cache-Control - Specifies caching behavior along the request/reply chain
    	CacheControl string
    
    	// Specify object storage class
    	StorageClass string
    
    	ReplicationStatusInternal string
    	ReplicationStatus         replication.StatusType
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. internal/s3select/sql/aggregation.go

    		// updated.
    		return nil
    	}
    
    	argVal := val
    	if funcName != aggFnCount {
    		// All aggregation functions, except COUNT require a
    		// numeric argument.
    
    		// Here, we diverge from Amazon S3 behavior by
    		// inferring untyped values are numbers.
    		if !argVal.isNumeric() {
    			if i, ok := argVal.bytesToInt(); ok {
    				argVal.setInt(i)
    			} else if f, ok := argVal.bytesToFloat(); ok {
    				argVal.setFloat(f)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils_test.go

    		shuffledDisks[13] != disks[1] ||
    		shuffledDisks[14] != disks[15] ||
    		shuffledDisks[15] != disks[0] {
    		t.Errorf("shuffleDisks returned incorrect order.")
    	}
    }
    
    // TestEvalDisks tests the behavior of evalDisks
    func TestEvalDisks(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	nDisks := 16
    	disks, err := getRandomDisks(nDisks)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. cmd/api-headers.go

    }
    
    // Use this encodeResponseList() to support control characters
    // this function must be used by only ListObjects() for objects
    // with control characters, this is a specialized extension
    // to support AWS S3 compatible behavior.
    //
    // Do not use this function for anything other than ListObjects()
    // variants, please open a github discussion if you wish to use
    // this in other places.
    func encodeResponseList(response interface{}) []byte {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top