Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of about 10,000 for spring (0.2 sec)

  1. pkg/test/framework/components/gcemetadata/kube.go

    			return nil, err
    		}
    		c.address = net.JoinHostPort(lb, fmt.Sprint(svc.Spec.Ports[0].Port))
    		c.addressVM = net.JoinHostPort(lb, fmt.Sprint(svc.Spec.Ports[1].Port))
    	} else {
    		c.address = net.JoinHostPort(svc.Spec.ClusterIP, fmt.Sprint(svc.Spec.Ports[0].Port))
    		c.addressVM = net.JoinHostPort(svc.Spec.ClusterIP, fmt.Sprint(svc.Spec.Ports[1].Port))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 22:47:52 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/crypto/ecdsa/ecdsa.go

    	randutil.MaybeReadByte(rand)
    
    	if boring.Enabled && rand == boring.RandReader {
    		b, err := boringPrivateKey(priv)
    		if err != nil {
    			return nil, err
    		}
    		return boring.SignMarshalECDSA(b, hash)
    	}
    	boring.UnreachableExceptTests()
    
    	csprng, err := mixedCSPRNG(rand, priv, hash)
    	if err != nil {
    		return nil, err
    	}
    
    	if sig, err := signAsm(priv, csprng, hash); err != errNoAsm {
    		return sig, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. pkg/kube/version_test.go

    			cl := NewFakeClientWithVersion(fmt.Sprint(tt.clusterVersion))
    			if got := IsLessThanVersion(cl, tt.minorVersion); got != tt.want {
    				t.Errorf("IsLessThanVersion() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func TestGetVersionAsInt(t *testing.T) {
    	tests := []struct {
    		name       string
    		major      string
    		minor      string
    		want       int
    		gitVersion string
    	}{
    		{
    			name:  "1.22",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    	defaultGateway.Annotations = map[string]string{ControllerVersionAnnotation: fmt.Sprint(1)}
    	gws.Update(defaultGateway)
    	expectReconciled()
    	assert.Equal(t, assert.ChannelHasItem(t, writes), buildPatch(ControllerVersion))
    	assert.ChannelIsEmpty(t, writes)
    	// Test fake doesn't actual do Apply, so manually do this
    	defaultGateway.Annotations = map[string]string{ControllerVersionAnnotation: fmt.Sprint(ControllerVersion)}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. pkg/bootstrap/instance.go

    	return outputFilePath, err
    }
    
    func configFile(config string, templateFile string) string {
    	suffix := "json"
    	// Envoy will interpret the file extension to determine the type. We should detect yaml inputs
    	if strings.HasSuffix(templateFile, ".yaml.tmpl") || strings.HasSuffix(templateFile, ".yaml") {
    		suffix = "yaml"
    	}
    	return path.Join(config, fmt.Sprintf(EnvoyFileTemplate, suffix))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. pkg/controller/daemon/util/daemonset_util_test.go

    	badGeneration := pointer.Int64(12350)
    	hash := "55555"
    	labels := map[string]string{extensions.DaemonSetTemplateGenerationKey: fmt.Sprint(*templateGeneration), extensions.DefaultDaemonSetUniqueLabelKey: hash}
    	labelsNoHash := map[string]string{extensions.DaemonSetTemplateGenerationKey: fmt.Sprint(*templateGeneration)}
    	tests := []struct {
    		test               string
    		templateGeneration *int64
    		pod                *v1.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. src/expvar/expvar_test.go

    	}
    
    	// colors.String() should be '{"red":3, "blue":4}',
    	// though the order of red and blue could vary.
    	s := colors.String()
    	var j any
    	err := json.Unmarshal([]byte(s), &j)
    	if err != nil {
    		t.Errorf("colors.String() isn't valid JSON: %v", err)
    	}
    	m, ok := j.(map[string]any)
    	if !ok {
    		t.Error("colors.String() didn't produce a map.")
    	}
    	red := m["red"]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/runtime/env_posix.go

    // Update the C environment if cgo is loaded.
    func setenv_c(k string, v string) {
    	if _cgo_setenv == nil {
    		return
    	}
    	arg := [2]unsafe.Pointer{cstring(k), cstring(v)}
    	asmcgocall(_cgo_setenv, unsafe.Pointer(&arg))
    }
    
    // Update the C environment if cgo is loaded.
    func unsetenv_c(k string) {
    	if _cgo_unsetenv == nil {
    		return
    	}
    	arg := [1]unsafe.Pointer{cstring(k)}
    	asmcgocall(_cgo_unsetenv, unsafe.Pointer(&arg))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/config.go

    	Focus        string  `json:"focus,omitempty"`
    	Ignore       string  `json:"ignore,omitempty"`
    	PruneFrom    string  `json:"prune_from,omitempty"`
    	Hide         string  `json:"hide,omitempty"`
    	Show         string  `json:"show,omitempty"`
    	ShowFrom     string  `json:"show_from,omitempty"`
    	TagFocus     string  `json:"tagfocus,omitempty"`
    	TagIgnore    string  `json:"tagignore,omitempty"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    	rb.InsertRuleV4(command, chain, table, position, params...)
    	rb.InsertRuleV6(command, chain, table, position, params...)
    	return rb
    }
    
    // nolint lll
    func (rb *IptablesRuleBuilder) insertInternal(ipt *[]*Rule, command log.Command, chain string, table string, position int, params ...string) *IptablesRuleBuilder {
    	rules := params
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top