Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for stks (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/encoding/xml/xml.go

    	ok   bool
    }
    
    const (
    	stkStart = iota
    	stkNs
    	stkEOF
    )
    
    func (d *Decoder) push(kind int) *stack {
    	s := d.free
    	if s != nil {
    		d.free = s.next
    	} else {
    		s = new(stack)
    	}
    	s.next = d.stk
    	s.kind = kind
    	d.stk = s
    	return s
    }
    
    func (d *Decoder) pop() *stack {
    	s := d.stk
    	if s != nil {
    		d.stk = s.next
    		s.next = d.free
    		d.free = s
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/LegacyWindowsSdkLocatorTest.groovy

            windowsRegistry.getStringValue(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, /SOFTWARE\Microsoft\Microsoft SDKs\Windows\v1/, "InstallationFolder") >> dir1.absolutePath
            windowsRegistry.getStringValue(WindowsRegistry.Key.HKEY_LOCAL_MACHINE, /SOFTWARE\Microsoft\Microsoft SDKs\Windows\v1/, "ProductVersion") >> "7.0"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/list/list.go

    		} else if len(stkj) == 0 {
    			return false
    		}
    		pathi, pathj := stki[len(stki)-1], stkj[len(stkj)-1]
    		return pathi < pathj
    	})
    }
    
    // TrackingWriter tracks the last byte written on every write so
    // we can avoid printing a newline if one was already written or
    // if there is no output at all.
    type TrackingWriter struct {
    	w    *bufio.Writer
    	last byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/HttpMethod.kt

      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
      fun invalidatesCache(method: String): Boolean =
        (
          method == "POST" || method == "PATCH" || method == "PUT" ||
            method == "DELETE" || method == "MOVE"
        )
    
      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
      fun requiresRequestBody(method: String): Boolean =
        (
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top