Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,027 for resc (0.04 sec)

  1. operator/pkg/patch/patch_test.go

    a:
      b:
      - name: n1
        value: v1
      - name: n2
        list: 
        - v1
        - v2
        - v3_regex
      c:
    `
    	tests := []struct {
    		desc    string
    		path    string
    		value   string
    		want    string
    		wantErr string
    	}{
    		{
    			desc:  "ModifyListEntryValue",
    			path:  `a.b.[name:n1].value`,
    			value: `v2`,
    			want: `
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: istio-citadel
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 29 08:32:11 UTC 2022
    - 10.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kubeletconfig/util/files/files_test.go

    	cases := []test{
    		{
    			desc:    "regular file",
    			writes:  []file{{name: "foo", data: "bar"}},
    			expects: []file{{name: "foo", data: "bar"}},
    		},
    		{
    			desc:    "directory",
    			writes:  []file{{name: "foo", mode: os.ModeDir}},
    			expects: []file{{name: "foo", mode: os.ModeDir}},
    		},
    		{
    			desc:    "deep regular file",
    			writes:  []file{{name: "foo/bar", data: "baz"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/listener_test.go

    	tests := []struct {
    		desc       string
    		inFilter   *ListenerFilter
    		inListener *listener.Listener
    		expect     bool
    	}{
    		{
    			desc: "filter-fields-empty",
    			inFilter: &ListenerFilter{
    				Address: "",
    				Port:    0,
    				Type:    "",
    			},
    			inListener: &listener.Listener{},
    			expect:     true,
    		},
    		{
    			desc: "addrs-dont-match",
    			inFilter: &ListenerFilter{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/AsmExtensions.kt

        visitMethodInsn_(Opcodes.INVOKEINTERFACE, owner, name, desc, itf)
    }
    
    
    internal
    fun MethodVisitor.INVOKESTATIC(owner: InternalName, name: String, desc: String) {
        visitMethodInsn_(Opcodes.INVOKESTATIC, owner, name, desc, false)
    }
    
    
    private
    fun MethodVisitor.visitMethodInsn_(opcode: Int, owner: InternalName, name: String, desc: String, itf: Boolean) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. operator/pkg/object/objects_test.go

    		{
    			desc: "NilDest",
    			o1:   &obj1,
    			o2:   nil,
    			want: false,
    		},
    		{
    			desc: "TwoNils",
    			o1:   nil,
    			o2:   nil,
    			want: true,
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.desc, func(t *testing.T) {
    			res := tt.o1.Equal(tt.o2)
    			if res != tt.want {
    				t.Errorf("got %v, want: %v", res, tt.want)
    			}
    		})
    	}
    }
    
    func TestK8sObject_ResolveK8sConflict(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 07:16:46 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  6. operator/pkg/validate/validate_values_test.go

    }
    
    func TestValidateValues(t *testing.T) {
    	tests := []struct {
    		desc     string
    		yamlStr  string
    		wantErrs util.Errors
    	}{
    		{
    			desc: "nil success",
    		},
    		{
    			desc: "StarIPRange",
    			yamlStr: `
    global:
      proxy:
        includeIPRanges: "*"
        excludeIPRanges: "*"
    `,
    		},
    		{
    			desc: "ProxyConfig",
    			yamlStr: `
    global:
      podDNSSearchNamespaces:
      - "my-namespace"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. pilot/pkg/security/trustdomain/util_test.go

    	tests := []struct {
    		desc     string
    		element  string
    		list     []string
    		expected bool
    	}{
    		{
    			desc:     "wildcard",
    			element:  "*",
    			list:     []string{"match-me"},
    			expected: true,
    		},
    		{
    			desc:     "suffix=match",
    			element:  "yo*",
    			list:     []string{"yo", "yolo", "yo-yo"},
    			expected: true,
    		},
    		{
    			desc:     "no-sub",
    			element:  "foo",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 11 04:25:06 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/c/c_test_util.cc

      TF_OperationDescription* desc = TF_NewOperation(graph, "Less", "less_than");
      TF_AddInput(desc, l);
      TF_AddInput(desc, r);
      return TF_FinishOperation(desc, s);
    }
    
    TF_Operation* RandomUniform(TF_Operation* shape, TF_DataType dtype,
                                TF_Graph* graph, TF_Status* s) {
      TF_OperationDescription* desc =
          TF_NewOperation(graph, "RandomUniform", "random_uniform");
      TF_AddInput(desc, {shape, 0});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/mod/rsc.io_needgo1223_v0.0.1.txt

    rsc.io/needgo1223 0.0.1
    written by hand
    
    -- .mod --
    module rsc.io/needgo1223
    go 1.22.3
    
    -- go.mod --
    module rsc.io/needgo1223
    go 1.22.3
    
    -- .info --
    {"Version":"v0.0.1"}
    -- p.go --
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 30 19:11:44 UTC 2023
    - 204 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/mod/rsc.io_panicnil_v1.0.0.txt

    rsc.io/panicnil v1.0.0
    written by hand
    
    -- .mod --
    module rsc.io/panicnil
    -- .info --
    {"Version":"v1.0.0"}
    -- fortune.go --
    package main
    
    func main() {
    	panic(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:55:13 UTC 2023
    - 166 bytes
    - Viewed (0)
Back to top