Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 487 for Slice3 (0.55 sec)

  1. src/go/doc/testdata/issue22856.0.golden

    FILENAMES
    	testdata/issue22856.go
    
    FUNCTIONS
    	// NewPointerSliceOfSlice is not a factory function because slices ...
    	func NewPointerSliceOfSlice() [][]*T
    
    	// NewSlice3 is not a factory function because 3 nested slices of ...
    	func NewSlice3() [][][]T
    
    	// NewSliceOfSlice is not a factory function because slices of a ...
    	func NewSliceOfSlice() [][]T
    
    
    TYPES
    	// 
    	type T struct{}
    
    	// 
    	func New() T
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 16:37:37 UTC 2018
    - 654 bytes
    - Viewed (0)
  2. src/go/doc/testdata/issue22856.2.golden

    FILENAMES
    	testdata/issue22856.go
    
    FUNCTIONS
    	// NewPointerSliceOfSlice is not a factory function because slices ...
    	func NewPointerSliceOfSlice() [][]*T
    
    	// NewSlice3 is not a factory function because 3 nested slices of ...
    	func NewSlice3() [][][]T
    
    	// NewSliceOfSlice is not a factory function because slices of a ...
    	func NewSliceOfSlice() [][]T
    
    
    TYPES
    	// 
    	type T struct{}
    
    	// 
    	func New() T
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 16:37:37 UTC 2018
    - 654 bytes
    - Viewed (0)
  3. api/go1.21.txt

    pkg slices, func Grow[$0 interface{ ~[]$1 }, $1 interface{}]($0, int) $0 #57433
    pkg slices, func Index[$0 interface{ ~[]$1 }, $1 comparable]($0, $1) int #57433
    pkg slices, func IndexFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1) bool) int #57433
    pkg slices, func Insert[$0 interface{ ~[]$1 }, $1 interface{}]($0, int, ...$1) $0 #57433
    pkg slices, func IsSorted[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0) bool #60091
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  4. src/internal/coverage/cformat/fmt_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cformat_test
    
    import (
    	"internal/coverage"
    	"internal/coverage/cformat"
    	"slices"
    	"strings"
    	"testing"
    )
    
    func TestBasics(t *testing.T) {
    	fm := cformat.NewFormatter(coverage.CtrModeAtomic)
    
    	mku := func(stl, enl, nx uint32) coverage.CoverableUnit {
    		return coverage.CoverableUnit{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. src/crypto/tls/key_agreement.go

    func hashForServerKeyExchange(sigType uint8, hashFunc crypto.Hash, version uint16, slices ...[]byte) []byte {
    	if sigType == signatureEd25519 {
    		var signed []byte
    		for _, slice := range slices {
    			signed = append(signed, slice...)
    		}
    		return signed
    	}
    	if version >= VersionTLS12 {
    		h := hashFunc.New()
    		for _, slice := range slices {
    			h.Write(slice)
    		}
    		digest := h.Sum(nil)
    		return digest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. src/go/doc/testdata/issue22856.go

    func NewPointerArray() [1]*T   { return [1]*T{&T{}} }
    
    // NewSliceOfSlice is not a factory function because slices of a slice of
    // type *T are not factory functions of type T.
    func NewSliceOfSlice() [][]T { return []T{[]T{}} }
    
    // NewPointerSliceOfSlice is not a factory function because slices of a
    // slice of type *T are not factory functions of type T.
    func NewPointerSliceOfSlice() [][]*T { return []*T{[]*T{}} }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 12 16:37:37 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  7. pilot/pkg/trustbundle/trustbundle_test.go

    	"crypto/x509"
    	"fmt"
    	"net/http"
    	"net/http/httptest"
    	"os"
    	"path"
    	"sort"
    	"testing"
    	"time"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func readCertFromFile(filename string) string {
    	csrBytes, err := os.ReadFile(filename)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. pkg/kube/krt/krttest/helpers.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package krttest
    
    import (
    	"fmt"
    
    	"istio.io/istio/pkg/kube/krt"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    type MockCollection struct {
    	t      test.Failer
    	inputs []any
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 19:33:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/connections.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    type ConnectionsFilter struct {
    	Namespace string
    	Direction string
    	Raw       bool
    }
    
    func (c *ConfigWriter) PrintConnectionsDump(filter ConnectionsFilter, outputFormat string) error {
    	d := c.ztunnelDump
    	workloads := maps.Values(d.WorkloadState)
    	workloads = slices.SortFunc(workloads, func(a, b WorkloadState) int {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue66064.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build go1.21
    
    package main
    
    import "slices"
    
    func main() {
    	_ = slices.Clone([]string{}) // no error should be reported here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 23:12:40 UTC 2024
    - 309 bytes
    - Viewed (0)
Back to top