Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 313 for stks (0.09 sec)

  1. src/runtime/pprof/mprof_test.go

    		if err != nil {
    			t.Fatalf("failed to parse heap profile: %v", err)
    		}
    		t.Logf("Profile = %v", p)
    
    		stks := stacks(p)
    		for _, test := range tests {
    			if !containsStack(stks, test.stk) {
    				t.Fatalf("No matching stack entry for %q\n\nProfile:\n%v\n", test.stk, p)
    			}
    		}
    
    		if !containsInlinedCall(TestMemoryProfiler, 4<<10) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 16 15:20:22 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  2. src/runtime/metrics_test.go

    					}
    				}
    				stks = append(stks, have)
    				for i, stk := range acceptStacks {
    					if slices.Equal(have, stk) {
    						values[i][0] += s.Value[0]
    						values[i][1] += s.Value[1]
    					}
    				}
    			}
    			for i, stk := range acceptStacks {
    				n += values[i][0]
    				value += values[i][1]
    				t.Logf("stack %v has samples totaling n=%d value=%d", stk, values[i][0], values[i][1])
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    			}
    			t.Logf("Profile = %v", p)
    
    			stks := stacks(p)
    			var stk []string
    			for _, s := range stks {
    				if hasPrefix(s, test.prefix) {
    					stk = s
    					break
    				}
    			}
    			if len(stk) != depth {
    				t.Fatalf("want stack depth = %d, got %d", depth, len(stk))
    			}
    
    			if rootFn, wantFn := stk[depth-1], "runtime/pprof.produceProfileEvents"; rootFn != wantFn {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. cmd/sts-handlers.go

    	return nil
    }
    
    // stsAPIHandlers implements and provides http handlers for AWS STS API.
    type stsAPIHandlers struct{}
    
    // registerSTSRouter - registers AWS STS compatible APIs.
    func registerSTSRouter(router *mux.Router) {
    	// Initialize STS.
    	sts := &stsAPIHandlers{}
    
    	// STS Router
    	stsRouter := router.NewRoute().PathPrefix(SlashSeparator).Subrouter()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. cmd/sts-errors.go

    	},
    	ErrSTSNotInitialized: {
    		Code:           "STSNotInitialized",
    		Description:    "STS API not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSIAMNotInitialized: {
    		Code:           "STSIAMNotInitialized",
    		Description:    "STS IAM not initialized, please try again.",
    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrSTSUpstreamError: {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. cmd/sts-datatypes.go

    	"encoding/xml"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // AssumedRoleUser - The identifiers for the temporary security credentials that
    // the operation returns. Please also see https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumedRoleUser
    type AssumedRoleUser struct {
    	// The ARN of the temporary security credentials that are returned from the
    	// AssumeRole action. For more information about ARNs and how to use them in
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    			AccessKey: "dillon",
    			SecretKey: "dillon-123",
    			Location:  "",
    		},
    	}
    
    	value, err := assumeRole.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    
    	// Check that the LDAP sts cred is actually working.
    	minioClient, err := minio.New(s.endpoint, &minio.Options{
    		Creds:     cr.NewStaticV4(value.AccessKeyID, value.SecretAccessKey, value.SessionToken),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  8. docs/site-replication/gen-oidc-sts-cred.go

    package main
    
    // This programs mocks user interaction against Dex IDP and generates STS
    // credentials. It is for MinIO testing purposes only.
    //
    // Run like:
    //
    // $ MINIO_ENDPOINT=http://localhost:9000 go run gen-oidc-sts-cred.go
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"net/http"
    	"os"
    
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 29 01:27:09 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. src/internal/trace/internal/testgen/go122/trace.go

    // stacks to traces.
    func (g *Generation) Stack(stk []trace.StackFrame) uint64 {
    	if len(stk) == 0 {
    		return 0
    	}
    	if len(stk) > 32 {
    		panic("stack too big for test")
    	}
    	var stkc stack
    	copy(stkc.stk[:], stk)
    	stkc.len = len(stk)
    	if id, ok := g.stacks[stkc]; ok {
    		return id
    	}
    	id := uint64(len(g.stacks) + 1)
    	g.stacks[stkc] = id
    	return id
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. docs/sts/assume-role.md

    ### Response Elements
    
    XML response for this API is similar to [AWS STS AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#API_AssumeRole_ResponseElements)
    
    ### Errors
    
    XML error response for this API is similar to [AWS STS AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html#API_AssumeRole_Errors)
    
    ## Sample `POST` Request
    
    ```
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 7.1K bytes
    - Viewed (0)
Back to top