Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 123 for Heller (0.17 sec)

  1. cmd/metrics-v3-types.go

    		CollectorPath: path,
    		Descriptors:   descriptors,
    		bucketLoader:  loader,
    	}
    	mg.validate()
    	return mg
    }
    
    // AddExtraLabels - adds extra (constant) label KV pairs to the metrics group.
    // This is a helper to initialize the `ExtraLabels` field. The argument is a
    // list of ordered label name and value pairs.
    func (mg *MetricsGroup) AddExtraLabels(labels ...string) {
    	if len(labels)%2 != 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. istioctl/pkg/proxystatus/proxystatus_test.go

    				assert.NoError(t, err)
    			}
    			verifyExecTestOutput(t, XdsStatusCommand(ctx), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. internal/crypto/sse-s3.go

    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    	// - We use a K/V -> There must be no key ID and no KMS data key.
    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  4. cmd/utils.go

    	runtime.SetMutexProfileFraction(0) // Disable until needed
    	runtime.SetBlockProfileRate(0)     // Disable until needed
    }
    
    // Starts a profiler returns nil if profiler is not enabled, caller needs to handle this.
    func startProfiler(profilerType string) (minioProfiler, error) {
    	var prof profilerWrapper
    	prof.ext = "pprof"
    	// Enable profiler and set the name of the file that pkg/pprof
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 31.3K bytes
    - Viewed (0)
  5. internal/config/identity/plugin/config.go

    func (h *metrics) setConnFailure(reqStartTime time.Time) {
    	h.Lock()
    	defer h.Unlock()
    	h.LastCheckFailure = reqStartTime
    }
    
    func (h *metrics) updateLastFullMinute(currReqMinute time.Time) {
    	// Assumes the caller has h.Lock()'ed
    	h.lastFullMinute = h.currentMinute
    	h.currentMinute = serviceRTTMinuteStats{
    		statsTime: currReqMinute,
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  6. internal/logger/target/http/http.go

    // format of a log entry to the configured http endpoint.
    // An internal buffer of logs is maintained but when the
    // buffer is full, new logs are just ignored and an error
    // is returned to the caller.
    type Target struct {
    	totalMessages  int64
    	failedMessages int64
    	status         int32
    
    	// Worker control
    	workers    int64
    	maxWorkers int64
    	// workerStartMu sync.Mutex
    	lastStarted time.Time
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 25 16:44:20 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    			t.Fatalf("Output didn't match for the port protocol: got %s want %s", protocol, tc.expectedProtocol)
    		}
    	}
    }
    
    func verifyExecAndK8sConfigTestCaseTestOutput(t *testing.T, c execAndK8sConfigTestCase) {
    	t.Helper()
    
    	ctx := cli.NewFakeContext(&cli.NewFakeContextOption{
    		Namespace:      c.namespace,
    		IstioNamespace: c.istioNamespace,
    		Results:        c.configDumps,
    	})
    	client, err := ctx.CLIClient()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. utils/utils.go

    package utils
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"strconv"
    	"strings"
    	"unicode"
    )
    
    var gormSourceDir string
    
    func init() {
    	_, file, _, _ := runtime.Caller(0)
    	// compatible solution to get gorm source directory with various operating systems
    	gormSourceDir = sourceDir(file)
    }
    
    func sourceDir(file string) string {
    	dir := filepath.Dir(file)
    	dir = filepath.Dir(dir)
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    		if result != test.expectedResult {
    			t.Fatalf("test %d failed: expected: result=%v, got=%v", i+1, test.expectedResult, result)
    		}
    	}
    }
    
    // TestIsMinioBucketName - Tests isMinioBucketName helper function.
    func TestIsMinioMetaBucketName(t *testing.T) {
    	testCases := []struct {
    		bucket string
    		result bool
    	}{
    		// MinIO meta bucket.
    		{
    			bucket: minioMetaBucket,
    			result: true,
    		},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. src/bufio/bufio_test.go

    }
    
    func (w *teststringwriter) WriteString(s string) (int, error) {
    	w.writeString += s
    	return len(s), nil
    }
    
    func (w *teststringwriter) check(t *testing.T, write, writeString string) {
    	t.Helper()
    	if w.write != write {
    		t.Errorf("write: expected %q, got %q", write, w.write)
    	}
    	if w.writeString != writeString {
    		t.Errorf("writeString: expected %q, got %q", writeString, w.writeString)
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top