Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 91 for stks (0.04 sec)

  1. docs/sts/client-grants.go

    	Expiry      int    `json:"expires_in"`
    }
    
    var (
    	stsEndpoint  string
    	idpEndpoint  string
    	clientID     string
    	clientSecret string
    )
    
    func init() {
    	flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint")
    	flag.StringVar(&idpEndpoint, "idp-ep", "http://localhost:8080/auth/realms/minio/protocol/openid-connect/token", "IDP token endpoint")
    	flag.StringVar(&clientID, "cid", "", "Client ID")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/maplist.go

    // keyedItems. If the provided schema is _not_ an array with x-kubernetes-list-type=map, returns an
    // empty mapList.
    func makeMapList(sts *schema.Structural, items []interface{}) (rv common.MapList) {
    	return common.MakeMapList(&model.Structural{Structural: sts}, items)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 07 02:56:51 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. src/slices/sort_test.go

    	Sort(data)
    	if !IsSorted(data) {
    		t.Errorf("sorted %v", float64s)
    		t.Errorf("   got %v", data)
    	}
    }
    
    func TestSortStringSlice(t *testing.T) {
    	data := Clone(strs[:])
    	Sort(data)
    	if !IsSorted(data) {
    		t.Errorf("sorted %v", strs)
    		t.Errorf("   got %v", data)
    	}
    }
    
    func TestSortLarge_Random(t *testing.T) {
    	n := 1000000
    	if testing.Short() {
    		n /= 100
    	}
    	data := make([]int, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/runtime/runtime_unix_test.go

    			for atomic.LoadUint32(&stop) == 0 {
    				syscall.Close(-1)
    			}
    			wg.Done()
    		}()
    	}
    
    	max := 10000
    	if testing.Short() {
    		max = 100
    	}
    	stk := make([]runtime.StackRecord, 128)
    	for n := 0; n < max; n++ {
    		_, ok := runtime.GoroutineProfile(stk)
    		if !ok {
    			t.Fatalf("GoroutineProfile failed")
    		}
    	}
    
    	// If the program didn't crash, we passed.
    	atomic.StoreUint32(&stop, 1)
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/trace/viewer.go

    	"time"
    )
    
    // viewerFrames returns the frames of the stack of ev. The given frame slice is
    // used to store the frames to reduce allocations.
    func viewerFrames(stk trace.Stack) []*trace.Frame {
    	var frames []*trace.Frame
    	stk.Frames(func(f trace.StackFrame) bool {
    		frames = append(frames, &trace.Frame{
    			PC:   f.PC,
    			Fn:   f.Func,
    			File: f.File,
    			Line: int(f.Line),
    		})
    		return true
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/separate-openapi-schemas.md

    ## Do not Separate Schemas
    
    Now, there are some cases where you might want to have the **same schema for input and output**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. src/runtime/os_dragonfly.go

    	})
    }
    
    func lwp_start(uintptr)
    
    // May run with m.p==nil, so write barriers are not allowed.
    //
    //go:nowritebarrier
    func newosproc(mp *m) {
    	stk := unsafe.Pointer(mp.g0.stack.hi)
    	if false {
    		print("newosproc stk=", stk, " m=", mp, " g=", mp.g0, " lwp_start=", abi.FuncPCABI0(lwp_start), " id=", mp.id, " ostk=", &mp, "\n")
    	}
    
    	var oset sigset
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. docs/en/docs/reference/security/index.md

    There are multiple tools that you can use to create those dependables, and they get integrated into OpenAPI so they are shown in the automatic docs UI, they can be used by automatically generated clients and SDKs, etc.
    
    You can import them from `fastapi.security`:
    
    ```python
    from fastapi.security import (
        APIKeyCookie,
        APIKeyHeader,
        APIKeyQuery,
        HTTPAuthorizationCredentials,
        HTTPBasic,
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. docs/sts/casdoor.md

    ```
    $ go run docs/sts/web-identity.go -cid account -csec 072e7f00-4289-469c-9ab2-bbe843c7f5a8  -config-ep "http://CASDOOR_ENDPOINT/.well-known/openid-configuration" -port 8888
    2018/12/26 17:49:36 listening on http://localhost:8888/
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 6.6K bytes
    - Viewed (0)
  10. callbacks.go

    	c.replace = true
    	c.processor.callbacks = append(c.processor.callbacks, c)
    	return c.processor.compile()
    }
    
    // getRIndex get right index from string slice
    func getRIndex(strs []string, str string) int {
    	for i := len(strs) - 1; i >= 0; i-- {
    		if strs[i] == str {
    			return i
    		}
    	}
    	return -1
    }
    
    func sortCallbacks(cs []*callback) (fns []func(*DB), err error) {
    	var (
    		names, sorted []string
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top