Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 296 for Ss (0.09 sec)

  1. pkg/util/tolerations/tolerations.go

    	if t.Effect != ss.Effect && ss.Effect != "" {
    		return false
    	}
    
    	if ss.Effect == api.TaintEffectNoExecute {
    		if ss.TolerationSeconds != nil {
    			if t.TolerationSeconds == nil ||
    				*t.TolerationSeconds > *ss.TolerationSeconds {
    				return false
    			}
    		}
    	}
    
    	switch ss.Operator {
    	case api.TolerationOpEqual, "": // empty operator means Equal
    		return t.Operator == api.TolerationOpEqual && t.Value == ss.Value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  2. test/ken/complit.go

    type	M	map[int]int
    type	S	struct{ a,b,c int };
    type	SS	struct{ aa,bb,cc S };
    type	SA	struct{ a,b,c [3]int };
    type	SC	struct{ a,b,c []int };
    type	SM	struct{ a,b,c M };
    
    func
    main() {
    	test("s.a", s.a);
    	test("s.b", s.b);
    	test("s.c", s.c);
    
    	test("ss.aa.a", ss.aa.a);
    	test("ss.aa.b", ss.aa.b);
    	test("ss.aa.c", ss.aa.c);
    
    	test("ss.bb.a", ss.bb.a);
    	test("ss.bb.b", ss.bb.b);
    	test("ss.bb.c", ss.bb.c);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.3K bytes
    - Viewed (0)
  3. test/typeparam/issue51303.go

    	IntersectSS(x, y)
    }
    
    type list[E any] interface {
    	~[]E
    	Equal(x, y E) bool
    }
    
    // ss is a set of sets
    type ss[E comparable, T []E] []T
    
    func (ss[E, T]) Equal(a, b T) bool {
    	return SetEq(a, b)
    }
    
    func IntersectSS[E comparable](x, y [][]E) [][]E {
    	return IntersectT[[]E, ss[E, []E]](ss[E, []E](x), ss[E, []E](y))
    }
    
    func IntersectT[E any, L list[E]](x, y L) L {
    	var z L
    outer:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  4. pkg/registry/apps/statefulset/strategy_test.go

    	}
    
    	errs := Strategy.Validate(ctx, ss)
    	if len(errs) != 0 {
    		t.Errorf("Strategy.Validate(%v) returned error: %v", ss, errs)
    	}
    
    	if ss.Generation != 1 {
    		t.Errorf("Generation = %v, want = 1 for StatefulSet: %v", ss.Generation, ss)
    	}
    
    	// Validate that the ordinals field is retained when StatefulSetStartOridnal is disabled.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  5. src/sort/sort_slices_benchmark_test.go

    }
    
    func TestStructSorts(t *testing.T) {
    	ss := makeRandomStructs(200)
    	ss2 := make([]*myStruct, len(ss))
    	for i := range ss {
    		ss2[i] = &myStruct{n: ss[i].n}
    	}
    
    	Sort(ss)
    	slices.SortFunc(ss2, func(a, b *myStruct) int { return a.n - b.n })
    
    	for i := range ss {
    		if *ss[i] != *ss2[i] {
    			t.Fatalf("ints2 mismatch at %d; %v != %v", i, *ss[i], *ss2[i])
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 22:59:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/crypto/tls/ticket.go

    		ss.verifiedChains = append(ss.verifiedChains, chain)
    	}
    	if ss.EarlyData {
    		var alpn []byte
    		if !readUint8LengthPrefixed(&s, &alpn) {
    			return nil, errors.New("tls: invalid session encoding")
    		}
    		ss.alpnProtocol = string(alpn)
    	}
    	if isClient := typ == 2; !isClient {
    		if !s.Empty() {
    			return nil, errors.New("tls: invalid session encoding")
    		}
    		return ss, nil
    	}
    	ss.isClient = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/internal/profile/profile.go

    // for debugging purposes.
    func (p *Profile) String() string {
    
    	ss := make([]string, 0, len(p.Sample)+len(p.Mapping)+len(p.Location))
    	if pt := p.PeriodType; pt != nil {
    		ss = append(ss, fmt.Sprintf("PeriodType: %s %s", pt.Type, pt.Unit))
    	}
    	ss = append(ss, fmt.Sprintf("Period: %d", p.Period))
    	if p.TimeNanos != 0 {
    		ss = append(ss, fmt.Sprintf("Time: %v", time.Unix(0, p.TimeNanos)))
    	}
    	if p.DurationNanos != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. pilot/pkg/xds/debug_test.go

    		} else {
    			errorHandler = t.Logf
    		}
    		for _, ss := range gotStatus {
    			if ss.ProxyID == nodeID {
    				if ss.ProxyVersion == "" {
    					errorHandler("ProxyVersion should always be set for %v", nodeID)
    				}
    				if (ss.ClusterSent != "") != wantSent {
    					errorHandler("wanted ClusterSent set %v got %v for %v", wantSent, ss.ClusterSent, nodeID)
    				}
    				if (ss.ClusterAcked != "") != wantAcked {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

      ss << "\nprune_unused_nodes: " << prune_unused_nodes;
      ss << "\nconvert_legacy_fed_inputs: " << convert_legacy_fed_inputs;
      ss << "\ngraph_as_function: " << graph_as_function;
      ss << "\nupgrade_legacy: " << upgrade_legacy;
      ss << "\nrestrict_functionalization_to_compiled_nodes: "
         << restrict_functionalization_to_compiled_nodes;
      ss << "\nenable_shape_inference: " << enable_shape_inference;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/seat_seconds_test.go

    func TestSeatSecondsString(t *testing.T) {
    	testCases := []struct {
    		ss          SeatSeconds
    		expectFloat float64
    		expectStr   string
    	}{
    		{ss: SeatSeconds(1), expectFloat: 1.0 / ssScale, expectStr: "0.00000001ss"},
    		{ss: SeatSeconds(ssScale - 1), expectFloat: (ssScale - 1) / ssScale, expectStr: "0.99999999ss"},
    		{ss: 0, expectFloat: 0, expectStr: "0.00000000ss"},
    		{ss: SeatsTimesDuration(1, time.Second), expectFloat: 1, expectStr: "1.00000000ss"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 29 20:20:16 UTC 2021
    - 2.5K bytes
    - Viewed (0)
Back to top