Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for Holden (0.19 sec)

  1. cni/pkg/plugin/plugin_dryrun_test.go

    			}
    			generatedRules := getRules(generated)
    
    			refreshGoldens(t, tt.golden, generatedRules)
    
    			// Compare generated iptables rule with golden files.
    			golden, err := os.ReadFile(tt.golden)
    			if err != nil {
    				log.Fatalf("Cannot read golden rule file: %v", err)
    			}
    			goldenRules := getRules(golden)
    
    			if len(generatedRules) == 0 {
    				t.Error("Got empty generated rules")
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/metacache-entries_test.go

    n-null-max.dyn.expect-noinput", "src/compress/flate/testdata/huffman-null-max.golden", "src/compress/flate/testdata/huffman-null-max.in", "src/compress/flate/testdata/huffman-null-max.wb.expect", "src/compress/flate/testdata/huffman-null-max.wb.expect-noinput", "src/compress/flate/testdata/huffman-pi.dyn.expect", "src/compress/flate/testdata/huffman-pi.dyn.expect-noinput", "src/compress/flate/testdata/huffman-pi.golden", "src/compress/flate/testdata/huffman-pi.in", "src/compress/flate/testdata/h...
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    				into.addChild(h)
    				// We scanned a folder, optionally send update.
    				f.updateCache.deleteRecursive(h)
    				f.updateCache.copyWithChildren(&f.newCache, h, folder.parent)
    				f.sendUpdate()
    			}
    		}
    
    		// Transfer existing
    		if !into.Compacted {
    			for _, folder := range existingFolders {
    				h := hashPath(folder.name)
    				f.updateCache.copyWithChildren(&f.oldCache, h, folder.parent)
    			}
    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)
  4. cmd/metacache-walk.go

    	Recursive bool
    
    	// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found.
    	ReportNotFound bool
    
    	// FilterPrefix will only return results with given prefix within folder.
    	// Should never contain a slash.
    	FilterPrefix string
    
    	// ForwardTo will forward to the given object path.
    	ForwardTo string
    
    	// Limit the number of returned objects if > 0.
    	Limit int
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. cmd/metacache.go

    		return time.Since(cache.lastUpdate) > 5*time.Minute
    	}
    	return true
    }
    
    // baseDirFromPrefix will return the base directory given an object path.
    // For example an object with name prefix/folder/object.ext will return `prefix/folder/`.
    func baseDirFromPrefix(prefix string) string {
    	b := path.Dir(prefix)
    	if b == "." || b == "./" || b == "/" {
    		b = ""
    	}
    	if !strings.Contains(prefix, slashSeparator) {
    		b = ""
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. internal/config/scanner/help.go

    			Optional:    true,
    			Type:        "int",
    		},
    		config.HelpKV{
    			Key:         ExcessFolders,
    			Description: `alert beyond this many sub-folders per folder in an erasure set` + defaultHelpPostfix(ExcessFolders),
    			Optional:    true,
    			Type:        "int",
    		},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 07:41:53 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. internal/http/response-recorder.go

    		// ... otherwise we return the <GZIP> place holder
    		return gzippedBody
    	}
    	// If there was an error response or body logging is enabled
    	// then we return the body contents
    	if (lrw.LogErrBody && lrw.StatusCode >= http.StatusBadRequest) || lrw.LogAllBody {
    		return lrw.body.Bytes()
    	}
    	// ... otherwise we return the <BLOB> place holder
    	return blobBody
    }
    
    // WriteHeader - writes http status code
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 02 00:13:19 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/shared.go

    	op := []string{"stderr"}
    	opt2 := *opt
    	opt2.OutputPaths = op
    	opt2.ErrorOutputPaths = op
    
    	return log.Configure(&opt2)
    }
    
    func refreshGoldenFiles() bool {
    	ev := os.Getenv("REFRESH_GOLDEN")
    	return ev == "true" || ev == "1"
    }
    
    func kubeBuilderInstalled() bool {
    	ev := os.Getenv("KUBEBUILDER")
    	return ev == "true" || ev == "1"
    }
    
    // Confirm waits for a user to confirm with the supplied message.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. cmd/data-scanner-metric.go

    	// END realtime metrics:
    	scannerMetricLastRealtime
    
    	// Trace only metrics:
    	scannerMetricScanFolder      // Scan a folder on disk, recursively.
    	scannerMetricScanCycle       // Full cycle, cluster global
    	scannerMetricScanBucketDrive // Single bucket on one drive
    	scannerMetricCompactFolder   // Folder compacted.
    
    	// Must be last:
    	scannerMetricLast
    )
    
    // log scanner action.
    // Use for s > scannerMetricStartTrace
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  10. internal/config/scanner/scanner.go

    	// Sleep always or based on incoming S3 requests.
    	IdleMode int32 // 0 => on, 1 => off
    
    	// Alert upon this many excess object versions
    	ExcessVersions int64 // 100
    
    	// Alert upon this many excess sub-folders per folder in an erasure set.
    	ExcessFolders int64 // 50000
    
    	// MaxWait is maximum wait time between operations
    	MaxWait time.Duration
    	// Cycle is the time.Duration between each scanner cycles
    	Cycle time.Duration
    }
    
    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)
Back to top