Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,271 for Range (0.06 sec)

  1. internal/event/rules_test.go

    		{"images/*", "jpg", "images/*jpg"},
    		{"images/", "*jpg", "images/*jpg"},
    		{"images/*", "*jpg", "images/*jpg"},
    		{"201*/images/", "jpg", "201*/images/*jpg"},
    	}
    
    	for i, testCase := range testCases {
    		result := NewPattern(testCase.prefix, testCase.suffix)
    
    		if result != testCase.expectedResult {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.expectedResult, result)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    				t.Fatalf("Failed to getLatestFileInfo %v", err)
    			}
    
    			for j := range partsMetadata {
    				if errs[j] != nil {
    					t.Fatalf("expected error to be nil: %s", errs[j])
    				}
    				partsMetadata[j].ModTime = test.modTimes[j]
    			}
    
    			tamperedIndex := -1
    			switch test._tamperBackend {
    			case deletePart:
    				for index, err := range test.errs {
    					if err != nil {
    						continue
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    			if disk == nil {
    				for i := range objects {
    					delObjErrs[index][i] = errDiskNotFound
    				}
    				return
    			}
    			errs := disk.DeleteVersions(ctx, bucket, dedupVersions, DeleteOptions{})
    			for i, err := range errs {
    				if err == nil {
    					continue
    				}
    				for _, v := range dedupVersions[i].Versions {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    				}
    				tagMap = t.ToMap()
    			}
    			for _, kv := range r.Flags.Filter.Tags {
    				for t, v := range tagMap {
    					if kv.Match(BatchJobKV{Key: t, Value: v}) {
    						return true
    					}
    				}
    			}
    
    			// None of the provided tags filter match skip the object
    			return false
    		}
    
    		for _, kv := range r.Flags.Filter.Metadata {
    			for k, v := range oi.UserDefined {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers_test.go

    	}
    
    	// Body is always valid - we do not test JSON decoding.
    	body := `{"recursive": false, "dryRun": true, "remove": false, "scanMode": 0}`
    
    	// Test all combinations!
    	for pIdx, params := range qParamsArr {
    		for vIdx, vars := range varsArr {
    			_, err := extractHealInitParams(vars, params, bytes.NewReader([]byte(body)))
    			isErrCase := false
    			if pIdx < 4 || vIdx < 1 {
    				isErrCase = true
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		uint32_t rid;
    		uint32_t sid_index;
    	} LsarTranslatedSid;
    
    	typedef struct {
    		[range(0,1000)] uint32_t count;
    		[size_is(count)] LsarTranslatedSid *sids;
    	} LsarTransSidArray;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarTrustInformation;
    
    	typedef struct {
    		[range(0,1000)] uint32_t count;
    		[size_is(count)] LsarTrustInformation *domains;
    		uint32_t max_count;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		uint32_t rid;
    		uint32_t sid_index;
    	} LsarTranslatedSid;
    
    	typedef struct {
    		[range(0,1000)] uint32_t count;
    		[size_is(count)] LsarTranslatedSid *sids;
    	} LsarTransSidArray;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarTrustInformation;
    
    	typedef struct {
    		[range(0,1000)] uint32_t count;
    		[size_is(count)] LsarTrustInformation *domains;
    		uint32_t max_count;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  8. cmd/format-erasure_test.go

    	for i, format := range formats {
    		if format == nil {
    			continue
    		}
    		h := sha256.New()
    		for _, set := range format.Erasure.Sets {
    			for _, diskID := range set {
    				h.Write([]byte(diskID))
    			}
    		}
    		formatHashes[i] = hex.EncodeToString(h.Sum(nil))
    	}
    
    	formatCountMap := make(map[string]int)
    	for _, hash := range formatHashes {
    		if hash == "" {
    			continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. cmd/endpoint-ellipses_test.go

    		serverAddr string
    		args       []string
    		success    bool
    	}{
    		// Invalid input.
    		{"", []string{}, false},
    		// Range cannot be negative.
    		{":9000", []string{"/export1{-1...1}"}, false},
    		// Range cannot start bigger than end.
    		{":9000", []string{"/export1{64...1}"}, false},
    		// Range can only be numeric.
    		{":9000", []string{"/export1{a...z}"}, false},
    		// Duplicate disks not allowed.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. internal/crypto/header_test.go

    		if len(h) != len(metadata) {
    			return false
    		}
    		for k := range h {
    			if _, ok := metadata[k]; !ok {
    				return false
    			}
    		}
    		return true
    	}
    
    	for i, test := range removeSensitiveHeadersTests {
    		metadata := make(map[string]string, len(test.Header))
    		for k := range test.Header {
    			metadata[k] = "" // set metadata key - we don't care about the value
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
Back to top