Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for sS (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/fmt/scan.go

    // syntax error.
    func (s *ss) mustReadRune() (r rune) {
    	r = s.getRune()
    	if r == eof {
    		s.error(io.ErrUnexpectedEOF)
    	}
    	return
    }
    
    func (s *ss) UnreadRune() error {
    	s.rs.UnreadRune()
    	s.atEOF = false
    	s.count--
    	return nil
    }
    
    func (s *ss) error(err error) {
    	panic(scanError{err})
    }
    
    func (s *ss) errorString(err string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  5. src/internal/reflectlite/swapper.go

    	if hasPtr {
    		if size == goarch.PtrSize {
    			ps := *(*[]unsafe.Pointer)(v.ptr)
    			return func(i, j int) { ps[i], ps[j] = ps[j], ps[i] }
    		}
    		if typ.Kind() == String {
    			ss := *(*[]string)(v.ptr)
    			return func(i, j int) { ss[i], ss[j] = ss[j], ss[i] }
    		}
    	} else {
    		switch size {
    		case 8:
    			is := *(*[]int64)(v.ptr)
    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		case 4:
    			is := *(*[]int32)(v.ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	}
    
    	ss = append(ss, "Locations")
    	for _, l := range p.Location {
    		ss = append(ss, l.string())
    	}
    
    	ss = append(ss, "Mappings")
    	for _, m := range p.Mapping {
    		ss = append(ss, m.string())
    	}
    
    	return strings.Join(ss, "\n") + "\n"
    }
    
    // string dumps a text representation of a mapping. Intended mainly
    // for debugging purposes.
    func (m *Mapping) string() string {
    	bits := ""
    	if m.HasFunctions {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/reflect/swapper.go

    	if hasPtr {
    		if size == goarch.PtrSize {
    			ps := *(*[]unsafe.Pointer)(v.ptr)
    			return func(i, j int) { ps[i], ps[j] = ps[j], ps[i] }
    		}
    		if typ.Kind() == abi.String {
    			ss := *(*[]string)(v.ptr)
    			return func(i, j int) { ss[i], ss[j] = ss[j], ss[i] }
    		}
    	} else {
    		switch size {
    		case 8:
    			is := *(*[]int64)(v.ptr)
    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		case 4:
    			is := *(*[]int32)(v.ptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/validation_test.go

    			schema := tt.input.OpenAPIV3Schema
    			ss, err := structuralschema.NewStructural(schema)
    			if err != nil {
    				t.Errorf("unexpected error: %v", err)
    			}
    
    			f := NewRootObjectFunc().WithTypeMeta(metav1.TypeMeta{APIVersion: "validation/v1", Kind: "Validation"})
    
    			// cost budget is large enough to pass all validation rules
    			allErrs, err, _ := validate(ctx, field.NewPath("test"), ss, ss, f, false, false, 10)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. pkg/apis/apps/validation/validation_test.go

    	return func(ss *apps.StatefulSet) {
    		if ss.ObjectMeta.Labels == nil {
    			ss.ObjectMeta.Labels = map[string]string{}
    		}
    		ss.ObjectMeta.Labels[key] = value
    	}
    }
    
    func tweakAnnotations(key string, value string) statefulSetTweak {
    	return func(ss *apps.StatefulSet) {
    		if ss.ObjectMeta.Annotations == nil {
    			ss.ObjectMeta.Annotations = map[string]string{}
    		}
    		ss.ObjectMeta.Annotations[key] = value
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  10. src/slices/slices_test.go

    		b.Run(c.name, func(b *testing.B) {
    			ss := make([]int, 0, 64)
    			for k := 0; k < b.N; k++ {
    				ss = ss[:0]
    				ss = append(ss, c.s...)
    				_ = Compact(ss)
    			}
    		})
    	}
    }
    
    func BenchmarkCompact_Large(b *testing.B) {
    	type Large [16]int
    	const N = 1024
    
    	b.Run("all_dup", func(b *testing.B) {
    		ss := make([]Large, N)
    		b.ResetTimer()
    		for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top