Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for stringSlice (0.19 sec)

  1. staging/src/k8s.io/api/resource/v1alpha2/namedresources.go

    	StringValue *string `json:"string,omitempty" protobuf:"bytes,5,opt,name=string"`
    	// StringSliceValue is an array of strings.
    	StringSliceValue *NamedResourcesStringSlice `json:"stringSlice,omitempty" protobuf:"bytes,9,rep,name=stringSlice"`
    	// VersionValue is a semantic version according to semver.org spec 2.0.0.
    	VersionValue *string `json:"version,omitempty" protobuf:"bytes,10,opt,name=version"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceSlice.yaml

    namedResources:
      instances:
      - attributes:
        - bool: true
          int: 7
          intSlice:
            ints:
            - 1
          name: nameValue
          quantity: "0"
          string: stringValue
          stringSlice:
            strings:
            - stringsValue
          version: versionValue
        name: nameValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/crypto/tls/bogo_shim_test.go

    	_          = flag.Bool("use-custom-verify-callback", false, "")
    )
    
    type stringSlice []string
    
    func flagStringSlice(name, usage string) *stringSlice {
    	f := &stringSlice{}
    	flag.Var(f, name, usage)
    	return f
    }
    
    func (saf stringSlice) String() string {
    	return strings.Join(saf, ",")
    }
    
    func (saf stringSlice) Set(s string) error {
    	saf = append(saf, s)
    	return nil
    }
    
    func bogoShim() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:25:39 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceSlice.json

                "bool": true,
                "int": 7,
                "intSlice": {
                  "ints": [
                    1
                  ]
                },
                "string": "stringValue",
                "stringSlice": {
                  "strings": [
                    "stringsValue"
                  ]
                },
                "version": "versionValue"
              }
            ]
          }
        ]
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. pkg/apis/resource/namedresources.go

    	// resolves to the corresponding value of the instance under evaluation.
    	// For example:
    	//
    	//    attributes.quantity["a"].isGreaterThan(quantity("0")) &&
    	//    attributes.stringslice["b"].isSorted()
    	Selector string
    }
    
    // NamedResourcesFilter is used in ResourceFilterModel.
    type NamedResourcesFilter struct {
    	// Selector is a CEL expression which must evaluate to true if a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/resource/v1alpha2/generated.proto

      optional NamedResourcesIntSlice intSlice = 8;
    
      // StringValue is a string.
      optional string string = 5;
    
      // StringSliceValue is an array of strings.
      optional NamedResourcesStringSlice stringSlice = 9;
    
      // VersionValue is a semantic version according to semver.org spec 2.0.0.
      optional string version = 10;
    }
    
    // NamedResourcesFilter is used in ResourceFilterModel.
    message NamedResourcesFilter {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 22:07:50 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. internal/logger/logger.go

    		if p < i {
    			data.Swap(p, i)
    		}
    	}
    	return p + 1
    }
    
    // Remove any duplicates and return unique entries.
    func uniqueEntries(paths []string) []string {
    	sort.Strings(paths)
    	n := uniq(sort.StringSlice(paths))
    	return paths[:n]
    }
    
    // Init sets the trimStrings to possible GOPATHs
    // and GOROOT directories. Also append github.com/minio/minio
    // This is done to clean up the filename, when stack trace is
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. cmd/common-main.go

    		}
    		ctxt.MemLimit = mlimit
    	} else {
    		ctxt.MemLimit = memAvailable
    	}
    
    	if memAvailable < ctxt.MemLimit {
    		ctxt.MemLimit = memAvailable
    	}
    
    	ctxt.FTP = ctx.StringSlice("ftp")
    	ctxt.SFTP = ctx.StringSlice("sftp")
    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  9. src/encoding/gob/encoder_test.go

    		nilBoolChannelPtr *chan bool
    		nilStringSlice    []string
    		stringSlice       = make([]string, 1)
    		nilStringSlicePtr *[]string
    	)
    
    	testCases := []struct {
    		value     any
    		mustPanic bool
    	}{
    		{nilStringPtr, true},
    		{intMap, false},
    		{intMapPtr, false},
    		{nilIntMapPtr, true},
    		{zero, false},
    		{nilStringSlice, false},
    		{stringSlice, false},
    		{nilStringSlicePtr, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  10. src/encoding/json/decode_test.go

    	EmptyMap map[string]Small
    	NilMap   map[string]Small
    
    	Slice   []Small
    	SliceP  []*Small
    	PSlice  *[]Small
    	PSliceP *[]*Small
    
    	EmptySlice []Small
    	NilSlice   []Small
    
    	StringSlice []string
    	ByteSlice   []byte
    
    	Small   Small
    	PSmall  *Small
    	PPSmall **Small
    
    	Interface  any
    	PInterface *any
    
    	unexported int
    }
    
    type Small struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
Back to top