Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 375 for Slice3 (0.09 sec)

  1. pkg/kube/krt/informer_test.go

    	"k8s.io/apimachinery/pkg/watch"
    
    	"istio.io/istio/pkg/config/schema/kubeclient"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/kclient/clienttest"
    	"istio.io/istio/pkg/kube/krt"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestNewInformer(t *testing.T) {
    	c := kube.NewFakeClient()
    	ConfigMaps := krt.NewInformer[*corev1.ConfigMap](c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller.go

    		return nil
    	}
    
    	if service.Spec.Selector == nil {
    		// services without a selector receive no endpoint slices from this controller;
    		// these services will receive endpoint slices that are created out-of-band via the REST API.
    		return nil
    	}
    
    	logger.V(5).Info("About to update endpoint slices for service", "key", key)
    
    	podLabelSelector := labels.Set(service.Spec.Selector).AsSelectorPreValidated()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. testing/internal-architecture-testing/src/main/java/org/gradle/internal/architecture/PackageCycleTest.java

                .collect(Collectors.toSet());
        }
    
        private static final SliceAssignment GRADLE_SLICE_ASSIGNMENT = new SliceAssignment() {
            @Override
            public String getDescription() {
                return "slices matching 'org.gradle.(**)";
            }
    
            @Override
            public SliceIdentifier getIdentifierOf(JavaClass javaClass) {
                if (isInIgnoredPackage(javaClass) || isIgnoredClass(javaClass)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/go/constant/example_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package constant_test
    
    import (
    	"fmt"
    	"go/constant"
    	"go/token"
    	"math"
    	"slices"
    )
    
    func Example_complexNumbers() {
    	// Create the complex number 2.3 + 5i.
    	ar := constant.MakeFloat64(2.3)
    	ai := constant.MakeImag(constant.MakeInt64(5))
    	a := constant.BinaryOp(ar, token.ADD, ai)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/testing/benchmark_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package testing_test
    
    import (
    	"bytes"
    	"cmp"
    	"runtime"
    	"slices"
    	"strings"
    	"sync/atomic"
    	"testing"
    	"text/template"
    	"time"
    )
    
    var prettyPrintTests = []struct {
    	v        float64
    	expected string
    }{
    	{0, "         0 x"},
    	{1234.1, "      1234 x"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. pilot/pkg/trustbundle/trustbundle.go

    import (
    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/spiffe"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // Source is all possible sources of MeshConfig
    type Source int
    
    const (
    	SourceIstioCA Source = iota
    	SourceMeshConfig
    	SourceIstioRA
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs_src/security/tutorial005_py310.py

            "email": "******@****.***",
            "hashed_password": "$2b$12$EixZaYVK1fsbw1ZfbX3OXePaWxn96p36WQoeG6Lruj3vjPGga31lW",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Chains",
            "email": "******@****.***",
            "hashed_password": "$2b$12$gSvqqUPvlXP2tfVFaWK1Be7DlH.PKZbv5H8KnzzVgXXbVxpva.pFm",
            "disabled": True,
        },
    }
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/runtime/pprof/label.go

    // Copyright 2016 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.
    
    package pprof
    
    import (
    	"context"
    	"fmt"
    	"slices"
    	"strings"
    )
    
    type label struct {
    	key   string
    	value string
    }
    
    // LabelSet is a set of labels.
    type LabelSet struct {
    	list []label
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. pkg/kube/kclient/client_test.go

    	retry.UntilOrFail(t, func() bool {
    		events := slices.Filter(tracker.Events(), func(s string) bool {
    			// Ignore the adds
    			return !strings.HasPrefix(s, "add/")
    		})
    		return slices.Equal(events, []string{"delete/selected"}) ||
    			slices.Equal(events, nil)
    	}, retry.Timeout(time.Second*3))
    }
    
    func TestFilter(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"cmp"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"slices"
    	"text/tabwriter"
    
    	"internal/trace/event"
    	"internal/trace/raw"
    )
    
    func init() {
    	flag.Usage = func() {
    		fmt.Fprintf(flag.CommandLine.Output(), "Usage: %s [mode]\n", os.Args[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top