Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 313 for stks (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. docs/sts/ldap.md

    ### Response Elements
    
    XML response for this API is similar to [AWS STS AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html#API_AssumeRoleWithWebIdentity_ResponseElements)
    
    ### Errors
    
    XML error response for this API is similar to [AWS STS AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html#API_AssumeRoleWithWebIdentity_Errors)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K 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. cmd/iam-store.go

    		cache.iamUsersMap = newCache.iamUsersMap
    		// For STS policy map, we need to merge the new cache with the existing
    		// cache because the periodic IAM reload is partial. The periodic load
    		// here is to account for STS policy mapping changes that should apply
    		// for service accounts derived from such STS accounts (i.e. LDAP STS
    		// accounts).
    		newCache.iamSTSPolicyMap.Range(func(k string, v MappedPolicy) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go

    		return errs, -1
    	}
    	if s.isResourceRoot {
    		sts = model.WithTypeAndObjectMeta(sts)
    	}
    	activation, optionalOldSelfActivation := s.celActivationFactory(sts, obj, oldObj)
    	for i, compiled := range s.compiledRules {
    		rule := s.uncompiledRules[i]
    		if compiled.Error != nil {
    			errs = append(errs, field.Invalid(fldPath, sts.Type, fmt.Sprintf("rule compile error: %v", compiled.Error)))
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 18:21:31 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. security/pkg/k8s/chiron/utils_test.go

    }
    
    // Get the server port from server.URL (e.g., https://127.0.0.1:36253)
    func getServerPort(server *httptest.Server) (int, error) {
    	strs := strings.Split(server.URL, ":")
    	if len(strs) < 2 {
    		return 0, fmt.Errorf("server.URL is invalid: %v", server.URL)
    	}
    	port, err := strconv.Atoi(strs[len(strs)-1])
    	if err != nil {
    		return 0, fmt.Errorf("error to extract port from URL: %v", server.URL)
    	}
    	return port, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top