Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for Tstruct (0.51 sec)

  1. pkg/slices/slices_test.go

    			}
    		})
    	}
    }
    
    // nolint: unused
    type myStruct struct {
    	a, b, c, d string
    	n          int
    }
    
    func makeRandomStructs(n int) []*myStruct {
    	rand.Seed(42) // nolint: staticcheck
    	structs := make([]*myStruct, n)
    	for i := 0; i < n; i++ {
    		structs[i] = &myStruct{n: rand.Intn(n)} // nolint: gosec
    	}
    	return structs
    }
    
    const N = 100_000
    
    func BenchmarkSort(b *testing.B) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/peer-authn-disable-port-mtls-strict-in.yaml

    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: disable-strict-mtls
    spec:
      selector:
        matchLabels:
          app: a
      mtls:
        mode: DISABLE
      portLevelMtls:
        9090:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 221 bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/peer-authn-strict-and-disable-port-mtls.yaml

    John Howard <******@****.***> 1709232034 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 223 bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/peer-authn-permissive-port-mtls-strict-in.yaml

    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: permissive-strict-mtls
    spec:
      selector:
        matchLabels:
          app: a
      mtls:
        mode: PERMISSIVE
      portLevelMtls:
        9090:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 227 bytes
    - Viewed (0)
  5. src/slices/sort_benchmark_test.go

    			}
    		})
    	}
    }
    
    type myStruct struct {
    	a, b, c, d string
    	n          int
    }
    
    func BenchmarkBinarySearchFuncStruct(b *testing.B) {
    	for _, size := range []int{16, 32, 64, 128, 512, 1024} {
    		b.Run(fmt.Sprintf("Size%d", size), func(b *testing.B) {
    			structs := make([]*myStruct, size)
    			for i := range structs {
    				structs[i] = &myStruct{n: i}
    			}
    			midpoint := len(structs) / 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/peer-authn-strict-and-permissive-port-mtls-in.yaml

    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: strict-and-permissive-mtls
    spec:
      selector:
        matchLabels:
          app: a
      mtls:
        mode: STRICT
      portLevelMtls:
        9090:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 231 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/decompose.go

    	fnames := []*LocalSlot{} // slots for struct in name
    	t := name.Type
    	n := t.NumFields()
    
    	for i := 0; i < n; i++ {
    		fs := f.SplitStruct(name, i)
    		fnames = append(fnames, fs)
    		// arrays and structs will be decomposed further, so
    		// there's no need to record a name
    		if !fs.Type.IsArray() && !fs.Type.IsStruct() {
    			slots = maybeAppend(f, slots, fs)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  8. pkg/bootstrap/option/convert.go

    	"istio.io/istio/pkg/wellknown"
    )
    
    // TransportSocket wraps UpstreamTLSContext
    type TransportSocket struct {
    	Name        string          `json:"name,omitempty"`
    	TypedConfig *pstruct.Struct `json:"typed_config,omitempty"`
    }
    
    // TCPKeepalive wraps is a thin JSON for xDS proto
    type TCPKeepalive struct {
    	KeepaliveProbes   *wrappers.UInt32Value `json:"keepalive_probes,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 00:35:05 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/alg.go

    }
    
    // IncomparableField returns an incomparable Field of struct Type t, if any.
    func IncomparableField(t *Type) *Field {
    	for _, f := range t.Fields() {
    		if !IsComparable(f.Type) {
    			return f
    		}
    	}
    	return nil
    }
    
    // IsPaddedField reports whether the i'th field of struct type t is followed
    // by padding.
    func IsPaddedField(t *Type, i int) bool {
    	if !t.IsStruct() {
    		base.Fatalf("IsPaddedField called non-struct %v", t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. operator/pkg/validate/validate.go

    	scope.Debugf("validate with path %s, %v (%T)", path, structPtr, structPtr)
    	if structPtr == nil {
    		return nil
    	}
    	if util.IsStruct(structPtr) {
    		scope.Debugf("validate path %s, skipping struct type %T", path, structPtr)
    		return nil
    	}
    	if !util.IsPtr(structPtr) {
    		metrics.CRValidationErrorTotal.Increment()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 12 16:04:15 UTC 2023
    - 7.7K bytes
    - Viewed (0)
Back to top